type SiteError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- 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
|
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."],[[["\u003cp\u003eThis documentation details the \u003ccode\u003eSiteError\u003c/code\u003e object within the Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSiteError\u003c/code\u003e objects are returned when an error occurs during operations related to websites (Sites) in Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field provides specific information about the cause of the error, with predefined values like \u003ccode\u003eINVALID_CHILD_NETWORK_CODE\u003c/code\u003e or \u003ccode\u003eCANNOT_ARCHIVE_SITE_WITH_SUBSITES\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eSiteError\u003c/code\u003e inherits from \u003ccode\u003eApiError\u003c/code\u003e, which includes fields for identifying the location and nature of the error, such as \u003ccode\u003efieldPath\u003c/code\u003e and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the information provided by the \u003ccode\u003eSiteError\u003c/code\u003e object to troubleshoot and resolve issues encountered while managing sites through the API.\u003c/p\u003e\n"]]],[],null,["# type SiteError (v202411)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202411/CompanyService.SiteError) **SiteService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202411/SiteService.ApiError) \n▼\n[AdSenseAccountError](/ad-manager/api/reference/v202411/SiteService.AdSenseAccountError) [ApiVersionError](/ad-manager/api/reference/v202411/SiteService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202411/SiteService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202411/SiteService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202411/SiteService.CommonError) [EntityLimitReachedError](/ad-manager/api/reference/v202411/SiteService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202411/SiteService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202411/SiteService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202411/SiteService.NotNullError) [NullError](/ad-manager/api/reference/v202411/SiteService.NullError) [ParseError](/ad-manager/api/reference/v202411/SiteService.ParseError) [PermissionError](/ad-manager/api/reference/v202411/SiteService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202411/SiteService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202411/SiteService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202411/SiteService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202411/SiteService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202411/SiteService.RequiredError) [ServerError](/ad-manager/api/reference/v202411/SiteService.ServerError) **SiteError** [StatementError](/ad-manager/api/reference/v202411/SiteService.StatementError) [StringFormatError](/ad-manager/api/reference/v202411/SiteService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202411/SiteService.StringLengthError) [UrlError](/ad-manager/api/reference/v202411/SiteService.UrlError)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Field ----- ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202411/SiteService.FieldPathElement)`[]` \u003cbr /\u003e |\n| ### `trigger` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `errorString` | ` `xsd:`string` \u003cbr /\u003e |\n| **`SiteError`** ||\n| ### `reason` | ` `[SiteError.Reason](/ad-manager/api/reference/v202411/SiteService.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` : \u003cbr /\u003e |"]]