Skip to main content Setting Up Google Ads for OAuth
Step 1: Create a Google Ads App
Sign in to Google Ads Manager Account : Visit the Google Ads Manager Account Page and create a new Google Ads Manager Account .
Create New Project : Click on “My Projects” > “New Project”.
Enter Project Details : Provide a name for your project (e.g., “valmi.io”) and click “Create”.
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
Request Developer Token : To obtain a developer token, visit the Google Ads Developer Token Instructions .
Copy Developer Token : Once you receive the developer token, copy it for use in valmi.io.
OAuth Consent Screen : In the Google Cloud Console, navigate to “APIs & Services” > “OAuth consent screen”.
User Type : Choose the appropriate user type for your application (Internal or External).
Application Name : Enter the name of your application (e.g., “valmi.io”).
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
Authorized Domains : Add your application’s domain to the authorized domains list.
Save : Click “Save” to save the OAuth consent screen settings.
Step 4: Create OAuth Client ID
Credentials : In the Google Cloud Console, navigate to “APIs & Services” > “Credentials”.
Create Credentials : Click “Create credentials” > “OAuth client ID”.
Application Type : Select “Web application” as the application type.
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
.
Save : Click “Save” to create the OAuth client ID.
Copy Client ID and Client Secret : Your Client ID and Client Secret will be displayed. Copy them for use in valmi.io.
Access Configuration : In your application, navigate to the sidebar and select “CONFIGURE APPS”.
Select Google Ads OAuth Application : Find the Google Ads OAuth application from the list of available applications and select it.
Enter Credentials : Provide the Google Client ID, Client Secret, and Developer Token that you obtained earlier into the input fields.
Save Configuration : Click “Save” or “Update” to save the configuration.