Today, we’re announcing the v21 release of the Google Ads API . To use some of the v21 features, you must upgrade your client libraries and client code. All the updated client libraries and code examples have been published.
As previously announced , we are also releasing minor versions v20.1 and v19.2 of the Google Ads API.
VIDEO
Here are some of the key features in this release:
We have added a new field named contains_eu_political_advertising
for the Campaign
object. Use this field to self-declare whether your campaign contains political advertising content targeted towards the European Union. If this field is set to true
, the campaign will no longer serve in the EU starting September 23, 2025 . This feature is also released in versions v20_1 and v19_2 of the API so you can start using this feature immediately without upgrading to the latest version of the API. See our blog post to learn more.
A new view campaign_search_term_view
aggregates search term data at the campaign level and exposes search term data for Performance Max campaigns. We encourage you to migrate from search_term_view
to campaign_search_term_view
if you are interested in fetching search term data for Performance Max campaigns.
Brand guidelines will automatically be enabled on new campaigns.
You can now use the ai_max_setting.enable_ai_max
field of the Campaign
object to enable AI Max for Search campaigns. Google Ads AI Max is a suite of AI-powered features for standard Search campaigns designed to increase conversions and reach. It works by using machine learning to expand keyword targeting, dynamically generate ad creatives based on user intent, and send users to the most relevant landing pages on your website. Refer to our blog post to learn more. A new view ai_max_search_term_ad_combination_view
exposes search term data for AI Max for Search campaigns. We plan to launch a consolidated version of this view including data from other campaign types in a future API version.
We are allowing Terms & Service, QR codes, and various other barcodes to be added to PromotionAssets.
Where can I learn more?
The following resources can help you get started:
If you have any questions or need additional help, contact us via the forum .
- Anash P. Oommen , Google Ads API Team