# Google Ads Affiliate Marketing

> Master Google Ads for affiliate marketing with AnyTrack. Learn to set up conversion tracking, integrate Impact Network, and optimize campaigns using Google Conversion API.

<Image align="center" src={readmeAsset1} />

1. Sign up for an AnyTrack account on AnyTrack.io

2. Log into your account

3. Add your website in the AnyTrack dashboard by clicking "Add New Site" and entering your website's domain and name

4. Install the AnyTrack Tracking Tag provided after adding your website 

```javascript
<!-- AnyTrack Tracking Code -->
< script > ! function(e, t, n, s, a) {
  (a = t.createElement(n)).async = !0, a.src =
    "https://assets.anytrack.io/xxx.js", (t = t
      .getElementsByTagName(n)[0]).parentNode.insertBefore(a, t), e[
      s] = e[s] || function() {
      (e[s].q = e[s].q || []).push(arguments)
    }
}(window, document, "script", "AnyTrack"); < /script>
< !-- End AnyTrack Tracking Code -->
```

5. Install the code on your website in the head section of your HTML

6. Connect Google Ads: In the AnyTrack dashboard, go to **Ad Pixels** → **Google Ads**, authenticate with your Google Ads account, select the Google Tag, and enable the `Conversion API`

7. Map conversion events with Google Conversion Goals

8. Copy the recommended UTM Tracking template from the Ads Integration Tab

9. In your Google Ads account settings, paste the UTM Tracking template in the URL tracking field

> 📘 **Good to know:**
>
> If you are currently running ads, you'll start seeing your campaign data showing up in your AnyTrack dashboard.

### Impact Affiliate Network Guidelines

1. In the AnyTrack dashboard, go to **Affiliate Networks** and click **Add New Network**

2. Search for **Impact** and click Install

3. Once installed, you'll receive a unique postback URL

> 📘 **Good**
>
> Once the network is added, you'll be given a unique postback URL that should look like this:
>
> ```http Impact Postback URL
> https://t1.anytrack.io/xxxxx/collect/impact?ActionTrackerName={ActionTrackerName}&CampaignId={CampaignId}&CampaignName={CampaignName}&MediaPartnerId={MediaPartnerId}&MediaPartnerName={MediaPartnerName}&SubId1={SubId1}&SubId2={SubId2}&SubId3={SubId3}&AdId={AdId}&ActionTrackerId={ActionTrackerId}&ActionId={ActionId}&Amount={Amount}&Currency={Currency}&Payout={Payout}&EventDate={EventDate}&Status={Status}&StatusDetail={StatusDetail}&LandingPageUrl={LandingPageUrl}&SharedId={SharedId}&PromoCode={PromoCode}&RefCustomerCountry={RefCustomerCountry}
> ```

4. Log into your Impact affiliate account and navigate to the **Tracking** section

5. Find the Postback settings, paste the postback URL, and save

For additional details, see the [Impact Integration](/docs/impact) guide.

## Send Conversions to Google Ads Conversion API

### Option 1: Use an existing conversion goal

1. In the AnyTrack dashboard, go to **Integrations**

2. Click **Google Ads** and connect your Google Ads account

3. Enable the `Conversion API`

4. Update the [conversion mapping](/docs/event-mapping) for the conversion goal you want to track

5. Save your settings

### Option 2: Create a new conversion goal

<Embed url="https://scribehow.com/embed/Create_a_Conversion_Action_in_Google_Ads_for_Affiliate_Link_Marketers__rkr-Z4ziTba5-88QiaC-6g" provider="scribehow.com" href="https://scribehow.com/embed/Create_a_Conversion_Action_in_Google_Ads_for_Affiliate_Link_Marketers__rkr-Z4ziTba5-88QiaC-6g" typeOfEmbed="iframe" height="640px" width="100%" iframe="true" title="undefined" />

## Enhanced Conversions for Affiliate Marketers

Enhanced Conversions require customer data that most affiliate networks don't provide. If your network sends this data, AnyTrack forwards it to Google Ads for Enhanced Conversions activation. However, this is uncommon in affiliate marketing. Disable Enhanced Conversions if this data is unavailable.
