Before you begin
Google Ads is an online advertising program where you can create online ads to reach people interested in the products and services that you offer.
There are different ways to launch campaigns in Google Ads through Affise:
Parallel tracking
Direct link tracking
Regular link tracking
🔎 With this integration, you can only get conversions on the Affise end. To send conversions back to Google Ads, use the Affise <-> Zapier <-> Google Ads integration.
⚠️ You may get an alert from Google Ads indicating that you are using an uncertified click tracker. While Affise is undergoing the certification process, please use your custom tracking domain on Affise and individually certify it.
Parallel tracking
Parallel tracking is an alternative to common tracking, which aims, according to Google, at speeding the load time.
Set up Google Ads campaign
Log in to your Google Ads account.
Click the Settings tab.
Click the campaign link for the settings you want to edit.
Click the Overview tab, and then click the Edit icon.
Сlick Edit campaign.
Open the Ads section. Click the Edit icon to see the detailed Ads settings.
Insert the advertiser tracking URL (for example, offer landing page) into the Final URL field.
Go to Ad URL options.
S2S parallel tracking on Affise
In the case of S2S parallel integration, affiliates should set up a tracking link on their side.
Once the system tracked {gclid} via the Affise tracking link and recorded it in Affise as ref_id, you need to receive it back via the advertiser postback:
https://offers-rocketcompany.affise.com/postback?ref_id={gclid}
or
https://offers-rocketcompany.affise.com/postback?clickid={clickid}
🔎 If Affise clickid value is already associated with {gclid}, you can avoid receiving both of them via an advertiser postback. Affise can fetch the gclid value through the recorded clickid value, and vice versa.
Pixel parallel tracking on Affise
For pixel integration, your advertiser needs to set up an image, JS, or iFrame pixel on the success page. This helps retrieve the click ID value for a conversion on Affise.
In addition to the common pixel setup, your advertiser is to set up the JS script on the landing page.
Direct link tracking
This method allows you to track clicks when they reach your landing page. You don't need to have clicks via the Affise tracking link.
The method uses Affise JavaScript (Direct) to remove the traditional redirect that comes with a tracking link. This improves the user experience and allows affiliates to promote through channels that prohibit third-party links.
Google Ads settings
The beginning of the integration is the same as for parallel tracking. Follow steps 1 - 6 of the guide, and then do the following:
Insert the advertiser tracking URL (the landing page) into the Final URL field.
Add the pid parameter with the pid value instead of the {pid} macro to the link.
Pixel integration settings on Affise
In Offers > a certain offer > Postbacks, take the JavaScript (Direct) pixel.
Set the first code on the offer landing page after the opening
<body>
tag.Put the pid={pid} parameter to the URL of the landing page (enter the affiliate pid instead of {pid} macro to define an affiliate). Since you don't use an Affise tracking link, the system determines the affiliate at this stage.
<script language="javascript" type="text/javascript">async function cid(){let e=new URLSearchParams(window.location.search).get("pid");return null===e?null:fetch("https://rocketcompany.g2afse.com/click?pid=4"+e+"&offer_id=144281&format=json").then(e=>e.json())}function sc(e){let c=new Date;c.setTime(c.getTime()+(365*24*60*60*1000)),document.cookie="affclick="+e+";expires="+c.toUTCString()+";path=/",localStorage.setItem("affclick",e)}(async()=>{const e=await cid();null!==e&&sc(e.clickid)})();</script>
Set the second code on the offer success (thank you) page.
<!--Offer Conversion: offer name -->
<script language="javascript" type="text/javascript">var afoffer_id = 144281;</script>
<script language="javascript" type="text/javascript" src="https://rocketcompany.g2afse.com/track.js"></script>
<!-- End Offer Conversion -->
Regular link tracking
This is the fastest and easiest way to set up Google Ads tracking. It only requires an Affise tracking link in the Final URL.
Google Ads settings
The beginning of the integration is the same as for parallel tracking. Follow steps 1 - 6 of the guide, and then do the following:
Insert an Affise tracking link into the Final URL field.
⚠️The tracking link you insert into the Final URL field should have a custom tracking domain.
Please contact the Affise Customer Support team regarding all raised questions via the e-mail: [email protected].