enum InvalidUrlError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
ILLEGAL_CHARACTERS
|
The URL contains invalid characters.
|
INVALID_FORMAT
|
The format of the URL is not allowed. This could occur for a number of
reasons. For example, if an invalid scheme is specified (like "ftp://")
or if a port is specified when not required, or if a query was specified
when not required.
|
INSECURE_SCHEME
|
URL contains insecure scheme.
|
NO_SCHEME
|
The URL does not contain a scheme.
|
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."],[],["The provided content outlines various services related to ad management, including Adjustment, CDN Configuration, Company, Content, Creative, and others. Each service has an associated `InvalidUrlError.Reason`, indicating potential issues with URLs. Possible error reasons include `ILLEGAL_CHARACTERS`, `INVALID_FORMAT`, `INSECURE_SCHEME`, and `NO_SCHEME`. The namespace for these services is defined as `https://www.google.com/apis/ads/publisher/v202502`. An `UNKNOWN` error is returned when the error value is not available.\n"],null,["# enum InvalidUrlError.Reason (v202502)\n\n**Service** \n[AdjustmentService](/ad-manager/api/reference/v202502/AdjustmentService.InvalidUrlError.Reason) [CdnConfigurationService](/ad-manager/api/reference/v202502/CdnConfigurationService.InvalidUrlError.Reason) [CompanyService](/ad-manager/api/reference/v202502/CompanyService.InvalidUrlError.Reason) [ContentService](/ad-manager/api/reference/v202502/ContentService.InvalidUrlError.Reason) [CreativeService](/ad-manager/api/reference/v202502/CreativeService.InvalidUrlError.Reason) [CreativeSetService](/ad-manager/api/reference/v202502/CreativeSetService.InvalidUrlError.Reason) [CreativeTemplateService](/ad-manager/api/reference/v202502/CreativeTemplateService.InvalidUrlError.Reason) [ForecastService](/ad-manager/api/reference/v202502/ForecastService.InvalidUrlError.Reason) [InventoryService](/ad-manager/api/reference/v202502/InventoryService.InvalidUrlError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.InvalidUrlError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.InvalidUrlError.Reason) **LineItemTemplateService** [LiveStreamEventService](/ad-manager/api/reference/v202502/LiveStreamEventService.InvalidUrlError.Reason) [NativeStyleService](/ad-manager/api/reference/v202502/NativeStyleService.InvalidUrlError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.InvalidUrlError.Reason) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.InvalidUrlError.Reason) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.InvalidUrlError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.InvalidUrlError.Reason) **Dependencies** \n[InvalidUrlError](/ad-manager/api/reference/v202502/LineItemTemplateService.InvalidUrlError) \n▼\n**InvalidUrlError.Reason**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|----------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `ILLEGAL_CHARACTERS` | The URL contains invalid characters. |\n| `INVALID_FORMAT` | The format of the URL is not allowed. This could occur for a number of reasons. For example, if an invalid scheme is specified (like \"ftp://\") or if a port is specified when not required, or if a query was specified when not required. |\n| `INSECURE_SCHEME` | URL contains insecure scheme. |\n| `NO_SCHEME` | The URL does not contain a scheme. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]