type SavedQuery (v202505)

  • SavedQuery represents the selection criteria for running a report, specifically a saved ReportQuery.

  • It includes fields such as id, name, the reportQuery itself, and an indicator of compatibility with the current API version.

  • The reportQuery field is non-null only if the saved query is compatible with the API version.

  • Incompatibility arises if the saved query uses reporting features from the UI that are not available in the ReportQuery entity.

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.