Google Has Just Announced Beta Support for a New Search Method in Google Ads Scripts
https://ads-developers.googleblog.comGoogle has just announced beta support for a new search method in Google Ads scripts. This method is backed by the Google Ads API and supports most queries supported by that API. Please see the documentation page for the AdsApp.search
method for more information.
Additionally, they are adding beta support for the Google Ads Query Language to their existing AdsApp.report
method. When using the report method, Google Ads scripts will automatically determine the correct reporting engine (either AdWords API or Google Ads API) to use based on the FROM
clause in your query.
The key difference between the report
and search
methods is in how the results are returned.
- The
report
method will return aReport
object, as it always has. Each row will be a map of column names to values. - The
search
method will return an iterator of rows, and each row will be analogous to aGoogleAdsRow
in the Google Ads API.