type SiteError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
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 inherits from \u003ccode\u003eApiError\u003c/code\u003e and includes fields like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt introduces a specific \u003ccode\u003ereason\u003c/code\u003e field with an enumeration of potential error causes related to site operations.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this API is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202408\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use this information to understand and handle errors encountered while managing sites within their Ad Manager network.\u003c/p\u003e\n"]]],["The `SiteService` uses `ApiError` as a base for inheritance, encompassing various specific error types like `AdSenseAccountError`, `AuthenticationError`, and others. It defines `SiteError` with a `reason` field, which is an enumeration. The `SiteError.Reason` enumerations include reasons such as `INVALID_CHILD_NETWORK_CODE`, `CANNOT_ARCHIVE_SITE_WITH_SUBSITES`, `INVALID_URL_FOR_SITE` and `UNKNOWN` among others. The `ApiError` has `fieldPath`, `fieldPathElements`, `trigger`, and `errorString` fields.\n"],null,["# type SiteError (v202408)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202408/CompanyService.SiteError) **SiteService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/SiteService.ApiError) \n▼\n[AdSenseAccountError](/ad-manager/api/reference/v202408/SiteService.AdSenseAccountError) [ApiVersionError](/ad-manager/api/reference/v202408/SiteService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202408/SiteService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/SiteService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/SiteService.CommonError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/SiteService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/SiteService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202408/SiteService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202408/SiteService.NotNullError) [NullError](/ad-manager/api/reference/v202408/SiteService.NullError) [ParseError](/ad-manager/api/reference/v202408/SiteService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/SiteService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/SiteService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/SiteService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/SiteService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202408/SiteService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/SiteService.RequiredError) [ServerError](/ad-manager/api/reference/v202408/SiteService.ServerError) **SiteError** [StatementError](/ad-manager/api/reference/v202408/SiteService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/SiteService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/SiteService.StringLengthError) [UrlError](/ad-manager/api/reference/v202408/SiteService.UrlError)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/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/v202408/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 |"]]