type CdnConfigurationError (v202502)

  • CdnConfigurationService is a service that deals with errors related to CdnConfigurations.

  • This service lists various types of errors that can occur, such as authentication errors, quota errors, and permission errors.

  • Key fields include fieldPath, fieldPathElements, trigger, and errorString for detailing the error.

  • Specific CdnConfigurationError reasons are provided, such as invalid URL schemes and issues with delivery location names.

  • Errors can occur if a CDN configuration is used by active content sources or live streams when attempting to archive it.

Errors associated with CdnConfigurations.


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

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.