Google Ads API
APICreate and manage Google Ads campaigns, budgets and performance reports
- Access
- OAuth 2.0 and Cloud project access
About
Google Ads API lets applications create and update campaigns and budgets, manage ad resources, and query campaign performance with Google Ads Query Language. API access is tied to an approved Google Cloud project and uses OAuth 2.0 credentials.
What you can do with it
- Create and update Google Ads campaigns and their budgets
- Query campaign clicks, impressions and spend with Google Ads Query Language
- Automate account reporting across accessible Google Ads customers
Get started
- Enable Google Ads API access for a Google Cloud project
- Authorize a user or service account with OAuth 2.0
- Query an accessible customer ID or mutate campaign resources
Example
curl -X POST "https://googleads.googleapis.com/v25/customers/$CUSTOMER_ID/googleAds:search" \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"query":"SELECT campaign.id, campaign.name, campaign.status FROM campaign"}'Details
- Hosting
- Hosted service
- Available in
- Worldwide
- Official SDKs
- Java, C#, PHP, Python, Ruby
- MCP server
- Local
- Works with
- Google Ads