API Integrations

Google Ads

Google Ads is an advertising service by Google for businesses wanting to display ads on Google and its advertising network. The Google Ads program enables businesses to set a budget for advertising and only pay when people click the ads. The ad service is primarily focused on keywords.

The main thing here is that you do not need to use parallel tracking if you run Campaigns with landing pages.

Setting up the tracking

1. Add Google Ads as a traffic source in RedTrack.

Go to the traffic sources in your RedTrack account -> New -> search for Google Ads.

2. All the essential parameters are already filled in, so no need to change anything.
You can only remove the macros you don’t want/need to use here.

The blocked (greyed) parameters cannot be changed as these parameters are required for Google-RedTrack API integration. Leave it as is and do not change the parameters later in the tracking template.

3. Integrate Google with RedTrack.

Once you save the source template, the “Connect” button becomes active. Since it is a complex API integration, we need to get permission to integrate from Google first. Press connect and follow the steps after (it will ask you to verify your ad account, give RedTrack all the required permissions).

Once done, you will be redirected back to your RedTrack account settings. This means Google Ads accept the integration, and you can proceed with adding your account ID:

Add your Google Ads Customer ID  (consisting of 10 digits and can be found in the upper right corner of your Google Ads account).

The account you’re connecting must be the same account from where you run your Google Ads Campaigns. The integration will not work if you connect the Google Ads manager account while running campaigns from sub-accounts.

After you save the changes, you are set.

The green “Active” button means the integration is active.

The full API integration gives you the following benefits:

  • Sending conversion data back to Google
  • Synchronize costs.
  • Pause: campaign, placement, creative
  • Create automated rules

Google takes the conversion data every 4 hours. The statistics for conversions which are passed from RedTrack will appear in your Google Ads account within approximately 24 hours, due to the architecture of Google.

Conversion data is taken with the UTC time zone.\

If you want to receive different conversion events separately in Google Ads (the same as in RedTrack), enable the “Types split” option. It will be sending your conversion types to Google Ads automatically.

4. Create a campaign in RedTrack.

Now that we have the traffic source in place, it is time to set up a new campaign. Here is more information on how you can do this.

Important! Use only a custom tracking domain and no-redirect tracking with Google.

5. Your no-redirect script will be generated automatically and include all the supported macros.  Copy the script and add it script to your landing page code. More information on no-redirect tracking is available here.

6. Set the tracking in your Google Ads account.

Go to All Campaigns → Settings → Select Campaign → Additional settings → Campaign URL options ->  Put additional parameters to the Tracking template field -> add {lpurl}?your tracking parameters from the campaign separated by “&.”

Example: if this is your tracking lin

https://club.rdtk.io/5d7773ff335fda000146234568?sub1={lpurl}&sub2={keyword}&sub3={matchtype}&sub4={adgroupid}&sub5={creative}&sub6={campaignid}&sub7={device}&sub8={adposition}&sub9={network}&sub10={placement}&ref_id={gclid}

You need to put those parameters to your tracking template:

{lpurl}?sub1={lpurl}&sub2={keyword}&sub3={matchtype}&sub4={adgroupid}&sub5={creative}&sub6={campaignid}&sub7={device}&sub8={adposition}&sub9={network}&sub10={placement}&ref_id={gclid}

Go to Ads & extensions  → edit for the target one → put the Final URL here (your Final URL is your LP URL you are using in RedTrack):

Use only a custom tracking domain with Google Ads.

7. API Integration Conditional postbacks:

In case you want to send the particular conversion types to Google, in your campaign settings go to the Integration postback field -> choose the types needed:

8. Set the automation and enjoy!

Related Articles