In the Google Ads Query Language (GAQL), segmenting a reporting query can serve numerous purposes including data selection and providing implicit GROUP BY functionality. In this episode we’ll describe the effects of adding segments to your GAQL queries.
Segmentation in the Google Ads Query Language (GAQL)
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 2025-08-20 UTC.
[null,null,["Last updated 2025-08-20 UTC."],[[["\u003cp\u003eGAQL segments allow for refining data selection within reporting queries.\u003c/p\u003e\n"],["\u003cp\u003eUtilizing segments in GAQL provides an implicit grouping of data, similar to a "GROUP BY" clause in SQL.\u003c/p\u003e\n"],["\u003cp\u003eThis episode focuses on demonstrating how adding segments to your queries affects the results.\u003c/p\u003e\n"]]],[],null,["# Segmentation in the Google Ads Query Language (GAQL)\n\nIn the Google Ads Query Language (GAQL), segmenting a reporting query can serve\nnumerous purposes including data selection and providing implicit GROUP BY\nfunctionality. In this episode we'll describe the effects of adding segments to\nyour GAQL queries.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]