type SiteError (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
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."],[],["The core content outlines the `SiteService` within the `CompanyService`, detailing its error hierarchy. `ApiError` is the base, with numerous specific error types inherited, including `AdSenseAccountError`, `AuthenticationError`, `SiteError`, among others. `SiteError` has a 'reason' field associated with various enumerations such as `INVALID_CHILD_NETWORK_CODE`, `CANNOT_ARCHIVE_SITE_WITH_SUBSITES`, and `UNKNOWN`, which are used to define the cause of the error. The namespace for these services and errors is provided.\n"],null,["# type SiteError (v202502)\n\n**Service** \n[CompanyService](/ad-manager/api/reference/v202502/CompanyService.SiteError) **SiteService** **Inheritance** \n[ApiError](/ad-manager/api/reference/v202502/SiteService.ApiError) \n▼\n[AdSenseAccountError](/ad-manager/api/reference/v202502/SiteService.AdSenseAccountError) [ApiVersionError](/ad-manager/api/reference/v202502/SiteService.ApiVersionError) [AuthenticationError](/ad-manager/api/reference/v202502/SiteService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202502/SiteService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202502/SiteService.CommonError) [EntityLimitReachedError](/ad-manager/api/reference/v202502/SiteService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202502/SiteService.FeatureError) [InternalApiError](/ad-manager/api/reference/v202502/SiteService.InternalApiError) [NotNullError](/ad-manager/api/reference/v202502/SiteService.NotNullError) [NullError](/ad-manager/api/reference/v202502/SiteService.NullError) [ParseError](/ad-manager/api/reference/v202502/SiteService.ParseError) [PermissionError](/ad-manager/api/reference/v202502/SiteService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202502/SiteService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202502/SiteService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202502/SiteService.QuotaError) [RequiredCollectionError](/ad-manager/api/reference/v202502/SiteService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202502/SiteService.RequiredError) [ServerError](/ad-manager/api/reference/v202502/SiteService.ServerError) **SiteError** [StatementError](/ad-manager/api/reference/v202502/SiteService.StatementError) [StringFormatError](/ad-manager/api/reference/v202502/SiteService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202502/SiteService.StringLengthError) [UrlError](/ad-manager/api/reference/v202502/SiteService.UrlError)\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Field ----- ||\n|-------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` \u003cbr /\u003e |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202502/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/v202502/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 |"]]