type SavedQuery (v202508)

  • SavedQuery represents the selection criteria for running a report, dependent on SavedQueryPage within the ReportService.

  • It has fields for ID, name, and a ReportQuery representing the selection criteria.

  • A field isCompatibleWithApiVersion indicates if the saved query is compatible with the current API version, which determines if the ReportQuery field is non-null.

A saved ReportQuery representing the selection criteria for running a report.


Namespace
https://www.google.com/apis/ads/publisher/v202508

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.