Google Ads Integration - Web SDK
For integrating with Google Ads, we recommend using the direct method with Web SDK instead of the redirect method. Utilize the advertiser's link in the tracking template field within Google Ads to seamlessly track conversions in Offer18 with Web SDK. This approach enhances accuracy and efficiency in monitoring your ad performance.
Create Campaign
Create Offer Using Advertiser's Link in Offer18
Fetch Affiliate Tracking URL or Impression URL and remove the Affiliate ID
(&a=0000)
Use this URL in Web SDK
Create Campaign at Google Ads
Sign in to Google Ads Account
Click on "+ NEW CAMPAIGN" to create a new campaign
Select Campaign Objective Like - Sales, Leads, Website traffic, etc.
Define Campaign Name, Targeting, and budget
Define ad groups and keywords
Create ads » Ad URL Options
Place Advertiser URL in "Tracking Template"
Add URL Suffix (If any)
Go to "Save ad"
Advertiser Side Integration
When setting up the integration on the advertiser's side, configure WebSDK using the data Tracking link.
To start tracking with Offer18's web SDK, one needs to add a script tag in the website.
Placement : Header (All Pages)
Track Clicks
To track clicks using the SDK, add the following code to your script.
Placement : Header (All Pages)
trackingURL (Mandatory) : Replace
<YOUR-TRACKING-LINK>
with the Tracking URL without Affiliate IDkeymapping : Replace
<YOUR-PARAMETER-KEY>
with the parameter key which was used in Google Ads to pass Affiliate ID
Track Impressions
To track Impression using the SDK, add the following code to your script.
Placement : Header (All Pages)
impressionURL (Mandatory) : Replace
<YOUR-TRACKING-LINK>
with the Impression URL without Affiliate IDkeymapping : Replace
<YOUR-PARAMETER-KEY>
with the parameter key which was used in Google Ads to pass Affiliate ID
Track Conversions
Advertiser must add the following code snippet into all landing pages except Order confirmation / Order Success (Thank you) page.
Placement : Thank you Page/Order Success Page (One Page)
Click the link below to know more about Offer18's Web SDK
Web SDKLast updated