Trong tập này, chúng ta sẽ khám phá khả năng tương thích của trường trong Ngôn ngữ truy vấn Google Ads (GAQL) và giải thích lý do một số phân đoạn, chỉ số và tài nguyên nhất định có thể hoặc không thể hiển thị trong cùng một truy vấn GAQL. Tập này được xây dựng dựa trên các tập trước trong danh sách phát GAQL để minh hoạ cách sử dụng GoogleAdsFieldService để xác định các trường có thể chọn lẫn nhau. Sau đó, chúng ta sẽ chuyển sự chú ý sang Trình tạo truy vấn Google Ads, một công cụ tương tác, dựa trên trình duyệt trong trang web tài liệu API Google Ads và giải thích cách sử dụng công cụ này để dễ dàng xác định khả năng tương thích của trường và tạo các truy vấn GAQL.
Xác thực truy vấn GAQL: Khả năng tương thích của trường
Trừ phi có lưu ý khác, nội dung của trang này được cấp phép theo Giấy phép ghi nhận tác giả 4.0 của Creative Commons và các mẫu mã lập trình được cấp phép theo Giấy phép Apache 2.0. Để biết thông tin chi tiết, vui lòng tham khảo Chính sách trang web của Google Developers. Java là nhãn hiệu đã đăng ký của Oracle và/hoặc các đơn vị liên kết với Oracle.
Cập nhật lần gần đây nhất: 2025-08-21 UTC.
[null,null,["Cập nhật lần gần đây nhất: 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"]]