TDV Adapter for Google Campaign Manager

Build 21.0.8137

Creating a Custom OAuth App

When to Create a Custom OAuth App

User Account Authentication

You might want to create a custom OAuth app to change the information displayed when users log into the Google Campaign Manager OAuth endpoint to grant permissions to the adapter.

Service Account Authentication

You need to create an OAuth app in the service account flow.

Create an OAuth App for User Account Authentication

Follow the procedure below to register an app and obtain the OAuthClientId and OAuthClientSecret.

Create a Custom OAuth App: Desktop

  1. Log into the Google API Console and open a project. Select the API Manager from the main menu.
  2. Click Credentials -> Create Credentials -> OAuth Client Id. Click Other.
  3. Click Library -> DCM/DFA Reporting And Trafficking API -> Enable API.

Create an OAuth App for Service Account Authentication

To obtain the necessary authentication properties, follow the steps below to create an OAuth application and generate a private key:

  1. Log into the Google API Console and open a project. Select the API Manager from the main menu.
  2. Click Create Credentials -> Service Account Key.
  3. In the Service Account menu, select New Service Account or select an existing service account.
  4. If you are creating a new service account, additionally select one or more roles. You can assign primitive roles at the project level in the IAM and Admin section; other roles enable you to further customize access to Google APIs.
  5. In the Key Type section, select the P12 key type.
  6. Create the app to download the key pair. The private key's password is displayed: Set this in OAuthJWTCertPassword.
  7. In the service accounts section, click Manage Service Accounts and set OAuthJWTIssuer to the email address displayed in the service account Id field.

Copyright (c) 2022 CData Software, Inc. - All rights reserved.
Build 21.0.8137