google-ads
Installation
SKILL.md
Prerequisites
- Connect Google Ads in Zero at Settings → Connectors → Google Ads.
- Requests require both
GOOGLE_ADS_TOKEN(OAuth access token) andGOOGLE_ADS_DEVELOPER_TOKEN(API developer token). - If using a manager (MCC) account, set
GOOGLE_ADS_LOGIN_CUSTOMER_IDto the manager account ID. - All customer IDs should be in the format
1234567890(no hyphens). - Google Data Manager requests require the Google Ads connector to have the
https://www.googleapis.com/auth/datamanagerOAuth scope.
Troubleshooting
If requests fail, run zero doctor check-connector --env-name GOOGLE_ADS_TOKEN or zero doctor check-connector --url https://googleads.googleapis.com/v24/customers/1234567890/googleAds:search --method POST
For Data Manager calls, use zero doctor check-connector --url https://datamanager.googleapis.com/v1/requestStatus:retrieve --method GET --env-name GOOGLE_ADS_TOKEN.
Authentication
Every request requires these headers: