enum CdnConfigurationError.Reason (v202411)

  • The CdnConfigurationError.Reason enumeration outlines potential errors encountered when configuring Content Delivery Networks (CDNs) in Google Ad Manager.

  • These errors range from invalid URL formats and delivery settings to restrictions on archiving configurations currently used by active content or live streams.

  • Specific error reasons include issues like URLs containing schemes, invalid delivery setting names, and unsupported security policies.

  • It also includes a catch-all "UNKNOWN" reason for errors not explicitly defined in the current API version.

  • Developers should consult this enumeration to understand and resolve CDN configuration issues within their Ad Manager integrations.

The reasons for the CdnConfigurationError.


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