Skip to main content

Google Ads

Justtrack supports the following UA automation and optimization features, which need to be set up individually:

  • Cost Integration
  • Bid Management
  • Campaign Management (creation and adjustments of attributes and targeting options)
  • Creative Management

Cost integration, bid management, and campaign management

The required credentials need to be entered in the Management Section of Google Ads credentials page.

You need to do 3 main things to be able to see all the data in justtrack and use all automation features:

  1. Enable the Google Ads API
  2. Use Google's OAuth 2.0 Authentication flow to get the required credentials
  3. Enter developer token and app IDs

Enable the Google Ads API

If the API isn't enabled yet, please navigate to this URL (exchange the project ID with your project id) and enable the API.

Navigate to APIs & Services, then Enable APIs & Services. Search for Google Ads API and select it. Then click Enable.

Get the required OAuth credentials

To retrieve the required credentials and enter them in the justtrack network credentials tab, please follow these steps:

  1. Go to: https://console.cloud.google.com/apis/credentials to create an "OAuth client ID" of type "Web application".
  2. Use the redirect URIand turn this into a refresh token with AdWords API scope here:
    Click the gear icon and enable "Use your own OAuth credentials". Enter your client ID and client secret from the first step and click "close". On the left side below step 1 expand "AdWords API".
  3. Now tick the entry "https://www.googleapis.com/auth/adwords" and click "Authorize APIs".
    On the Google consent screen choose the account that has access to your ad campaigns. You should now have landed back in the OAuth2 Playground and an "Authorization code" should be filled into the Step 2 "Authorization code" field. Click "Exchange authorization code for tokens" to fetch the refresh token. Copy the refresh token.
info

The Grant Type needs to be refresh_token.

Provide additional credentials

Additionally, you need to enter a Developer Token to be able to use these features. You can get it by navigating to Tools & Settings in the Google Ads dashboard. Then click API Center.

The Login Customer ID is needed if your access to the customer account is through a manager account. This attribute must be set to the customer ID of the manager account. You can find the ID when you click Help in the Google Ads dashboard.

As a last step, please navigate to the apps section of justtrack and enter the ClientCustomerId for your apps. It's needed to use justtrack's bid manager. This attribute can be found in your Google Ads Account right next to the selected app:

Your app with the relevant id

If you open the dropdown, you will see the ids for other apps in your account.

warning

Bid adjustments or campaign adjustments can't be done for apps where this attribute isn't set. You will receive a notification in case it's missing.