1. Go to Google Cloud Console
Open →2. Create new project
Click on the project selector → "New project"
Name: AgenciaSpark Ads
3. Wait for it to be created
Takes a few seconds. You'll receive a notification.
1. Go to API library
In the menu → APIs & services → Library
2. Search "Google Ads API"
In the search bar type: Google Ads API
3. Enable
Click "Enable" → Wait for it to activate
1. Go to Credentials
APIs & services → Credentials
2. Configure consent screen
If first time → "Configure consent screen"
• Type: External
• Name: AgenciaSpark Dashboard
• Support email: contacto@agenciaspark.cl
3. Create OAuth credentials
Credentials → Create credentials → OAuth client ID
• Type: Web application
• Name: AgenciaSpark Ads Client
• Redirect URIs: https://developers.google.com/oauthplayground
4. Save credentials
⚠️ Important: Copy the Client ID and Client Secret
1. Return to OAuth consent screen
In Google Cloud Console → APIs & services → OAuth consent screen
2. Add test users
In the "Test users" section → Click "+ ADD USERS"
3. Add your email
• Enter your Google email (the one you'll use to connect)
• Click "Save"
⚠️ Important: Only emails on this list can authorize your app while it's in "Testing" mode
1. Go to OAuth Playground
Open →2. Configure OAuth Playground
Click on the ⚙️ (top right)
• Check: "Use your own OAuth credentials"
• Paste your Client ID and Client Secret
• Click "Close"
3. Select scope
In Step 1, find and select:
https://www.googleapis.com/auth/adwords
Click "Authorize APIs"
4. Authorize
Sign in with the email you added as a test user
Grant access when prompted
5. Get tokens
In Step 2 → Click "Exchange authorization code for tokens"
✓ Copy the Refresh token (starts with 1//...)
1. Go to Google Ads
Open →2. Open API Center
Click on the wrench icon 🔧 (top right)
Under "SETUP" → Click "API Center"
3. Request API access
If it's your first time, complete the form:
• What you'll use the API for: "Metrics dashboard for clients"
• Website URL: your-domain.com (optional)
Click "Submit"
4. Copy Developer Token
Once approved (may be immediate), you'll see:
Developer Token: AbCdEf1234567890...
✓ Copy and save it
⚠️ Note: In "test mode" it will only work with test accounts. To use with real accounts, request "Basic" access (may take several days).
1. From the Google Ads Dashboard
In the upper right corner, you'll see something like:
Account: Client Name | 123-456-7890
2. Copy the number
✓ Copy the number (without dashes): 1234567890
Done! You now have all the necessary credentials. You can go back to the dashboard and configure Google Ads.