type SavedQuery (v202505)
Stay organized with collections
Save and categorize content based on your preferences.
A saved ReportQuery representing the selection criteria for running a report.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202505
Field
|
id
|
xsd:long
The ID of the saved query.
|
name
|
xsd:string
The name of the saved query.
|
reportQuery
|
ReportQuery
The ReportQuery representing the selection criteria for the saved query. This will be
non-null if and only if SavedQuery.isCompatibleWithApiVersion is true .
|
isCompatibleWithApiVersion
|
xsd:boolean
Whether or not the saved query is compatible with the current API version. This will be true if and only if SavedQuery.reportQuery is non-null. A saved query will be
incompatible with the API if it uses columns, dimensions, or other reporting features from the
UI that are not available in the ReportQuery entity.
|
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-06 UTC.
[null,null,["Last updated 2025-08-06 UTC."],[],[],null,["# type SavedQuery (v202505)\n\n**Service** \n**ReportService** **Dependencies** \n[SavedQueryPage](/ad-manager/api/reference/v202505/ReportService.SavedQueryPage) \n▼\n**SavedQuery**\n\nA saved [ReportQuery](/ad-manager/api/reference/v202505/ReportService.ReportQuery) representing the selection criteria for running a report.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202505`\n\n| Field ----- ||\n|----------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### `id` | ` `xsd:`long` The ID of the saved query. |\n| ### `name` | ` `xsd:`string` The name of the saved query. |\n| ### `reportQuery` | ` `[ReportQuery](/ad-manager/api/reference/v202505/ReportService.ReportQuery)` ` The [ReportQuery](/ad-manager/api/reference/v202505/ReportService.ReportQuery) representing the selection criteria for the saved query. This will be non-null if and only if [SavedQuery.isCompatibleWithApiVersion](/ad-manager/api/reference/v202505/ReportService.SavedQuery#isCompatibleWithApiVersion) is `true`. |\n| ### `isCompatibleWithApiVersion` | ` `xsd:`boolean` Whether or not the saved query is compatible with the current API version. This will be `true` if and only if [SavedQuery.reportQuery](/ad-manager/api/reference/v202505/ReportService.SavedQuery#reportQuery) is non-null. A saved query will be incompatible with the API if it uses columns, dimensions, or other reporting features from the UI that are not available in the [ReportQuery](/ad-manager/api/reference/v202505/ReportService.ReportQuery) entity. |"]]