enum CdnConfigurationError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
Service
CdnConfigurationService
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.
|
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\u003eCdnConfigurationError.Reason\u003c/code\u003e enumeration outlines potential errors encountered when configuring Content Delivery Networks (CDNs) in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThese errors range from invalid URL formats and delivery settings to restrictions on archiving configurations currently used by active content or live streams.\u003c/p\u003e\n"],["\u003cp\u003eSpecific error reasons include issues like URLs containing schemes, invalid delivery setting names, and unsupported security policies.\u003c/p\u003e\n"],["\u003cp\u003eIt also includes a catch-all "UNKNOWN" reason for errors not explicitly defined in the current API version.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should consult this enumeration to understand and resolve CDN configuration issues within their Ad Manager integrations.\u003c/p\u003e\n"]]],["The core content defines the `CdnConfigurationError.Reason` enumeration within the `CdnConfigurationService`. It outlines potential errors, including URLs not containing schemes (`URL_SHOULD_NOT_CONTAIN_SCHEME`) and invalid delivery setting names (`INVALID_DELIVERY_LOCATION_NAMES`). Additionally, it specifies that a CDN configuration can't be archived if used by active content sources or live streams (`CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_CONTENT_SOURCES`, `CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_LIVE_STREAMS`). Unsupported security policy types and unknown errors are also covered.\n"],null,["# enum CdnConfigurationError.Reason (v202411)\n\n**Service** \n**CdnConfigurationService** **Dependencies** \n[CdnConfigurationError](/ad-manager/api/reference/v202411/CdnConfigurationService.CdnConfigurationError) \n▼\n**CdnConfigurationError.Reason**\n\nThe reasons for the [CdnConfigurationError](/ad-manager/api/reference/v202411/CdnConfigurationService.CdnConfigurationError).\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|----------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------|\n| `URL_SHOULD_NOT_CONTAIN_SCHEME` | URL prefixes should not contain schemes. |\n| `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. |\n| `CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_CONTENT_SOURCES` | A CDN configuration cannot be archived if it is used by active content sources. |\n| `CANNOT_ARCHIVE_IF_USED_BY_ACTIVE_LIVE_STREAMS` | A CDN configuration cannot be archived if it is used by active live streams. |\n| `UNSUPPORTED_SECURITY_POLICY_TYPE` | The security policy type is not supported for the current settings. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]