В этом выпуске мы рассмотрим совместимость полей в языке запросов Google Реклама (GAQL) и объясним, почему определенные сегменты, показатели и ресурсы могут или не могут присутствовать в одном и том же запросе GAQL. Этот эпизод основан на предыдущих эпизодах плейлиста GAQL и демонстрирует, как использовать GoogleAdsFieldService для определения того, какие поля можно выбирать друг с другом. Затем мы обратим наше внимание на Google Ads Query Builder, интерактивный браузерный инструмент на сайте документации Google Ads API, и объясним, как использовать этот инструмент, чтобы легко определять совместимость полей и создавать запросы GAQL.
Проверка запроса GAQL: совместимость полей
Если не указано иное, контент на этой странице предоставляется по лицензии Creative Commons "С указанием авторства 4.0", а примеры кода – по лицензии Apache 2.0. Подробнее об этом написано в правилах сайта. Java – это зарегистрированный товарный знак корпорации Oracle и ее аффилированных лиц.
Последнее обновление: 2025-08-21 UTC.
[null,null,["Последнее обновление: 2025-08-21 UTC."],[[["\u003cp\u003eThis episode focuses on understanding field compatibility within Google Ads Query Language (GAQL) queries, explaining why some segments, metrics, and resources can't be combined.\u003c/p\u003e\n"],["\u003cp\u003eIt builds on previous GAQL episodes and shows how to leverage the GoogleAdsFieldService to identify compatible fields for queries.\u003c/p\u003e\n"],["\u003cp\u003eThe episode also introduces the Google Ads Query Builder, a tool for easily checking field compatibility and constructing GAQL queries within the Google Ads API documentation.\u003c/p\u003e\n"]]],[],null,["# GAQL Query Validation: Field Compatibility\n\nIn this episode, we'll explore field compatibility in the Google Ads Query\nLanguage (GAQL) and explain why certain segments, metrics, and resources can or\ncannot be present in the same GAQL query. This episode builds upon prior\nepisodes in the GAQL playlist to demonstrate how to use the\nGoogleAdsFieldService to determine which fields are selectable with each other.\nWe'll then flip our attention to the Google Ads Query Builder, an interactive,\nbrowser-based tool in the Google Ads API documentation site, and explain how to\nuse this tool to easily determine field compatibility and build GAQL queries.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]