type SiteError (v202411)

  • This documentation details the SiteError object within the Google Ad Manager API.

  • SiteError objects are returned when an error occurs during operations related to websites (Sites) in Ad Manager.

  • The reason field provides specific information about the cause of the error, with predefined values like INVALID_CHILD_NETWORK_CODE or CANNOT_ARCHIVE_SITE_WITH_SUBSITES.

  • SiteError inherits from ApiError, which includes fields for identifying the location and nature of the error, such as fieldPath and errorString.

  • Developers can use the information provided by the SiteError object to troubleshoot and resolve issues encountered while managing sites through the API.


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

Field

ApiError (inherited)

fieldPath

xsd:string

fieldPathElements

FieldPathElement[]

trigger

xsd:string

errorString

xsd:string

SiteError

reason

SiteError.Reason


Enumerations
INVALID_CHILD_NETWORK_CODE
CANNOT_ARCHIVE_SITE_WITH_SUBSITES
INVALID_URL_FOR_SITE
MULTIPLE_UPDATES_FOR_SAME_SITE
TOO_MANY_SITES_PER_REVIEW_REQUEST
TOO_MANY_REVIEW_REQUESTS_FOR_SITE
INVALID_APPROVAL_STATUS_FOR_REVIEW
UNKNOWN