ในตอนนี้ เราจะมาดูความเข้ากันได้ของช่องในคําค้นหา Google Ads (GAQL) และจะอธิบายว่าทําไมกลุ่ม เมตริก และทรัพยากรบางรายการจึงแสดงในการค้นหา GAQL เดียวกันไม่ได้ ตอนนี้เป็นตอนของตอนก่อนหน้านี้ในเพลย์ลิสต์ GAQL เพื่อสาธิตวิธีใช้ GoogleAdsFieldService เพื่อตัดสินว่าช่องใดบ้างที่เลือกเทียบกันได้ จากนั้นเราจะเปลี่ยนความสนใจไปที่เครื่องมือสร้างคําค้นหาของ Google Ads ซึ่งเป็นเครื่องมือแบบอิงตามเบราว์เซอร์ที่ทํางานบนเว็บไซต์ของ Google Ads API และอธิบายวิธีใช้เครื่องมือนี้เพื่อระบุความเข้ากันได้ของช่อง และสร้างคําค้นหา GAQL อย่างง่ายดาย
การตรวจสอบคำค้นหา GAQL: ความเข้ากันได้ของฟิลด์
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers 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"]]