In this episode, we’ll explore field compatibility in the Google Ads Query Language (GAQL) and explain why certain segments, metrics, and resources can or cannot be present in the same GAQL query. This episode builds upon prior episodes in the GAQL playlist to demonstrate how to use the GoogleAdsFieldService to determine which fields are selectable with each other. We’ll then flip our attention to the Google Ads Query Builder, an interactive, browser-based tool in the Google Ads API documentation site, and explain how to use this tool to easily determine field compatibility and build GAQL queries.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2022-09-01 UTC.