Setting Up Google Ads for OAuth

Step 1: Create a Google Ads App

  1. Sign in to Google Ads Manager Account: Visit the Google Ads Manager Account Page and create a new Google Ads Manager Account .

  1. Create New Project: Click on “My Projects” > “New Project”.
  2. Enter Project Details: Provide a name for your project (e.g., “valmi.io”) and click “Create”.
  3. Enable Google Ads API: In the dashboard, navigate to “APIs & Services” > “Library”. Search for “Google Ads API” and enable it for your project.

Step 2: Obtain Developer Token

  1. Request Developer Token: To obtain a developer token, visit the Google Ads Developer Token Instructions.
  2. Copy Developer Token: Once you receive the developer token, copy it for use in valmi.io.
  1. OAuth Consent Screen: In the Google Cloud Console, navigate to “APIs & Services” > “OAuth consent screen”.

  1. User Type: Choose the appropriate user type for your application (Internal or External).
  2. Application Name: Enter the name of your application (e.g., “valmi.io”).
  3. Scopes: Add the required OAuth scopes for your integration:
    • https://www.googleapis.com/auth/userinfo.profile
    • https://www.googleapis.com/auth/userinfo.email
    • https://www.googleapis.com/auth/adwords
  4. Authorized Domains: Add your application’s domain to the authorized domains list.
  5. Save: Click “Save” to save the OAuth consent screen settings.

Step 4: Create OAuth Client ID

  1. Credentials: In the Google Cloud Console, navigate to “APIs & Services” > “Credentials”.
  2. Create Credentials: Click “Create credentials” > “OAuth client ID”.

  1. Application Type: Select “Web application” as the application type.
  2. Authorized Redirect URIs: Add the redirect URI where Google will send users after authorization. Use the following format: https://your-host/api/oauth2/redirect/google.

  1. Save: Click “Save” to create the OAuth client ID.
  2. Copy Client ID and Client Secret: Your Client ID and Client Secret will be displayed. Copy them for use in valmi.io.

Step 5: Configure Google Ads OAuth in valmi.io

  1. Access Configuration: In your application, navigate to the sidebar and select “CONFIGURE APPS”.

  1. Select Google Ads OAuth Application: Find the Google Ads OAuth application from the list of available applications and select it.

  1. Enter Credentials: Provide the Google Client ID, Client Secret, and Developer Token that you obtained earlier into the input fields.

  1. Save Configuration: Click “Save” or “Update” to save the configuration.