Google Ads Scripts updating default search version to v5
Monday, September 14, 2020
Starting September 29, 2020, the default version for all search queries and report queries that use Google Ads Query Language (GAQL) will be updated from v4 to v5. If you're manually specifying a version for your queries, nothing will change. If you haven't already migrated to the new beta search feature, then this doesn't affect you.
Support for v5 is available if you want to opt in sooner. You can modify your code to set an explicit version using:
Support for v5 is available if you want to opt in sooner. You can modify your code to set an explicit version using:
var report = AdsApp.search(query, { apiVersion: 'v5' });See the Google Ads API release notes for a complete list of changes in v5. Some highlights for reporting include:
- Fetching stats for entity types not explicitly supported by the API, such as Discovery campaigns
- Improved policy summary fields for ads with more selectable options