Google Ads API v20
JSON →Provides full access to the Google Ads API v20. Requires OAuth2 or Service Account credentials for configuration.
Install
pip install -e Tools · 5
- list_accounts List all Google Ads accounts accessible with the current credentials.
- create_campaign Create a new campaign with specified parameters such as customer_id, name, budget_amount, and campaign_type.
- get_campaign_performance Retrieve campaign performance metrics for a given customer_id and date_range.
- run_gaql_query Execute a custom GAQL query to retrieve specific data from Google Ads.
- add_negative_keywords Add negative keywords to a Performance Max campaign for a given customer_id and campaign_id.
Environment variables
GOOGLE_ADS_CLIENT_IDGOOGLE_ADS_CLIENT_SECRETGOOGLE_ADS_REFRESH_TOKENGOOGLE_ADS_DEVELOPER_TOKENGOOGLE_ADS_LOGIN_CUSTOMER_ID
★ 11 GitHub stars