type CdnConfigurationError (v202408)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CdnConfigurationService
Errors associated with CdnConfigurations.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202408
Field
|
ApiError (inherited)
|
fieldPath
|
xsd:string
The OGNL field path to identify cause of error.
|
fieldPathElements
|
FieldPathElement[]
A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
CdnConfigurationError
|
reason
|
CdnConfigurationError.Reason
The error reason represented by an enum.
Enumerations
-
URL_SHOULD_NOT_CONTAIN_SCHEME
- URL prefixes should not contain schemes.
-
INVALID_DELIVERY_LOCATION_NAMES
- Invalid delivery setting name. Names for new delivery settings must be null or empty. Names
for existing delivery settings cannot be modified.
-
CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_CONTENT_SOURCES
- A CDN configuration cannot be archived if it is used by active content sources.
-
CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_LIVE_STREAMS
- A CDN configuration cannot be archived if it is used by active live streams.
-
UNSUPPORTED_SECURITY_POLICY_TYPE
- The security policy type is not supported for the current settings.
-
UNKNOWN
- The value returned if the actual value is not exposed by the requested API version.
|
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\u003eThe \u003ccode\u003eCdnConfigurationService\u003c/code\u003e handles errors related to Content Delivery Network (CDN) configurations in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eCdnConfigurationError\u003c/code\u003e is a specific error type within this service, indicating issues with CDN settings.\u003c/p\u003e\n"],["\u003cp\u003eErrors can arise from various reasons, such as invalid URLs, unsupported security policies, or attempting to archive configurations in use.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ereason\u003c/code\u003e field provides further detail about the specific cause of the \u003ccode\u003eCdnConfigurationError\u003c/code\u003e, using an enum to represent different error scenarios.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use the provided error information, including \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e, to diagnose and address CDN configuration issues.\u003c/p\u003e\n"]]],["The `CdnConfigurationService` manages errors related to CDN configurations. It inherits from `ApiError` and lists specific error types like `ApiVersionError`, `AuthenticationError`, and `CdnConfigurationError`. `ApiError` includes details on the error's cause, `fieldPath`, `trigger`, and a descriptive `errorString`. `CdnConfigurationError` specifies `reason`, such as invalid URLs, incorrect delivery setting names, or conflicts with active content, with an `UNKNOWN` value for unexposed errors. The namespace is provided.\n"],null,[]]