enum CdnConfigurationError.Reason (v202505)

  • CdnConfigurationError.Reason lists potential reasons for the CdnConfigurationError.

  • Reasons include invalid URL schemes, issues with delivery location names, and inability to archive if actively used.

  • Unsupported security policy types can also trigger a CdnConfigurationError.

  • An 'UNKNOWN' reason indicates the actual value is not exposed in the current API version.

The reasons for the CdnConfigurationError.


Namespace
https://www.google.com/apis/ads/publisher/v202505
Enumeration Description
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.