Google Ads API
APICreate and manage Google Ads campaigns, budgets and performance reports
- Erişim
- OAuth 2.0 and Cloud project access
Hakkında
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.
Neler yapabilirsin
- 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
Başlarken
- 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
Örnek kod
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"}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- Resmi SDK'lar
- Java, C#, PHP, Python, Ruby
- MCP sunucusu
- Yerel sunucu
- Entegrasyonlar
- Google Ads