AI-generated Key Takeaways
-
ReportError.Reasonis an enumeration defining the reasons for report errors within the ReportService. -
Reasons for report errors include issues with user permissions, invalid or incompatible report query parameters like dimensions, attributes, columns, dates, and date ranges, and system-level issues such as failure to store a report or a requested report not existing.
-
Specific error reasons address access control for viewing different components of a report, invalid inputs for report generation, and inconsistencies between chosen report settings.
-
The
DEFAULTreason is used when the error reason is not explicitly defined among the existing options, andUNKNOWNindicates a value not exposed by the requested API version.
The reasons for report error.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
DEFAULT
ReportError
when the reason is not among any already defined.REPORT_ACCESS_NOT_ALLOWED
DIMENSION_VIEW_NOT_ALLOWED
ATTRIBUTE_VIEW_NOT_ALLOWED
COLUMN_VIEW_NOT_ALLOWED
REPORT_QUERY_TOO_LONG
INVALID_OPERATION_FOR_REPORT_STATE
INVALID_DIMENSIONS
INVALID_ATTRIBUTES
INVALID_CMS_METADATA_DIMENSIONS
CmsMetadataKeyDimension
. There are
three reasons for this error. - ReportQuery.dimensions contains Dimension.CONTENT_CMS_METADATA , but ReportQuery.cmsMetadataKeyIds is empty.
- ReportQuery.cmsMetadataKeyIds is non-empty, but ReportQuery.dimensions does not contain Dimension.CONTENT_CMS_METADATA .
- The ReportQuery.cmsMetadataKeyIds specified along with the Dimension.CONTENT_CMS_METADATA are not valid, i.e., these IDs are not reportable cms metadata key defined by the publisher.
INVALID_COLUMNS
INVALID_DIMENSION_FILTERS
DimensionFilter
objects specified.INVALID_DATE
END_DATE_TIME_NOT_AFTER_START_TIME
START_DATE_MORE_THAN_THREE_YEARS_AGO
ATTRIBUTES_NOT_SUPPORTED_FOR_REQUEST
COLUMNS_NOT_SUPPORTED_FOR_REQUESTED_DIMENSIONS
- Not all Column objects requested are supported for the given set of Dimension objects.
- The report's date range is not compatible with the given set of Column objects.
- The report's TimeZoneType is not compatible with the given set of Column and Dimension objects (version 201802 and later).
- The report's currency is not compatible with the given set of Column objects.
DATE_RANGE_NOT_SUPPORTED_FOR_REQUESTED_REPORT
TIME_ZONE_TYPE_NOT_SUPPORTED_FOR_REQUESTED_REPORT
CURRENCY_CODE_NOT_SUPPORTED_FOR_REQUESTED_REPORT
FAILED_TO_STORE_REPORT
REPORT_NOT_FOUND
SR_CANNOT_RUN_REPORT_IN_ANOTHER_NETWORK
AD_UNIT_VIEW_NOT_SUPPORTED_FOR_REQUESTED_REPORT
REPORT_FIELD_TEMPORARILY_DISABLED
UNKNOWN

