[Agency} Getting your own Google Ads API Tag credentials for your clients
This Google Ads Tag is still in beta and it's only used upon request.
Get the Developer Token from AdPage or Google
In order to send data to the Google Ads API you need to get permission from Google. In our AdPage Manager account we have permission to send data. This means we can add your Google Ads account to AdPage's Manager account OR you can request your own Developer Token.
To add your Google Ads account to AdPage Manager account, please send a support request to support@adpage.io .
If you want to use AdPage's API key please only follow the step to send a support request.
To request your own Google Ads token go to API Centrum in your own Manager Account and request API access:
The following parameters we need to setup the Google Ads API by using your own API key
Google Ads Client ID
Google Ads Client Secret
Google Ads Refresh Token
Google Ads Developer Token
Below you'll find the steps you need to do in order to get above parameters.
1. Setting up the Consent Screen
2. Make sure the consent screen is for Testing (1) , External (2), and add Test users (3). Those test users should be the manager of the Google Ads Account:
Create oAuth client ID from Credentials
3. Getting the Client Secret and Client ID from Google Cloud
Client Secret and Client ID should be taken from oauthclient on Google cloud console. https://console.cloud.google.com/apis/credentials/oauthclient/20915223132-a3n1ve21u8iba4p25gl580muhvccqmda.apps.googleusercontent.com?authuser=1&project=multisite-v2
4. Getting Operating Customer ID
This should be the Id of Google Ads accout to which conversion events should be uploaded without dashes.
5. Get the API refresh token
This should be generated for each Google Account that will upload the data. It can be generated on https://developers.google.com/oauthplayground/
To do this follow the steps:
Navigate to https://developers.google.com/oauthplayground/
Choose the scope from the list.
Click on gear icon in the top right corner
Put a tick to use your own OAuth credentials and enter client ID and secret ID from the app on Google cloud console
Click Authorize APIs
Choose Google Account that has access to the Google Ads account you want to upload conversion events to
Authorize the App to access your account.
On OAuth 2.0 Playground click exchange authorization code for tokens
Copy refresh token and put it into the tag configuration
After succesfully adding your Google Ads account to AdPage Manager account, we can start implementing the Google Ads tag:
Go to Google Ads and select Import conversions
Click on Import clicks through API
Add name, name of event, and how to measure the conversions.
Also turn on enhanced conversions.
Create an API key in AdPage Tagging dashboard
Get the Developer Token from AdPage or Google
In order to send data to the Google Ads API you need to get permission from Google. In our AdPage Manager account we have permission to send data. This means we can add your Google Ads account to AdPage's Manager account OR you can request your own Developer Token.
To add your Google Ads account to AdPage Manager account, please send a support request to support@adpage.io .
If you want to use AdPage's API key please only follow the step to send a support request.
To request your own Google Ads token go to API Centrum in your own Manager Account and request API access:
The following parameters we need to setup the Google Ads API by using your own API key
Google Ads Client ID
Google Ads Client Secret
Google Ads Refresh Token
Google Ads Developer Token
Below you'll find the steps you need to do in order to get above parameters.
1. Setting up the Consent Screen
2. Make sure the consent screen is for Testing (1) , External (2), and add Test users (3). Those test users should be the manager of the Google Ads Account:
Create oAuth client ID from Credentials
3. Getting the Client Secret and Client ID from Google Cloud
Client Secret and Client ID should be taken from oauthclient on Google cloud console. https://console.cloud.google.com/apis/credentials/oauthclient/20915223132-a3n1ve21u8iba4p25gl580muhvccqmda.apps.googleusercontent.com?authuser=1&project=multisite-v2
4. Getting Operating Customer ID
This should be the Id of Google Ads accout to which conversion events should be uploaded without dashes.
5. Get the API refresh token
This should be generated for each Google Account that will upload the data. It can be generated on https://developers.google.com/oauthplayground/
To do this follow the steps:
Navigate to https://developers.google.com/oauthplayground/
Choose the scope from the list.
Click on gear icon in the top right corner
Put a tick to use your own OAuth credentials and enter client ID and secret ID from the app on Google cloud console
Click Authorize APIs
Choose Google Account that has access to the Google Ads account you want to upload conversion events to
Authorize the App to access your account.
On OAuth 2.0 Playground click exchange authorization code for tokens
Copy refresh token and put it into the tag configuration
After succesfully adding your Google Ads account to AdPage Manager account, we can start implementing the Google Ads tag:
Go to Google Ads and select Import conversions
Click on Import clicks through API
Add name, name of event, and how to measure the conversions.
Also turn on enhanced conversions.
Create an API key in AdPage Tagging dashboard
Updated on: 09/10/2024
Thank you!