enum RequiredNumberError.Reason (v202502)
Stay organized with collections
Save and categorize content based on your preferences.
Describes reasons for a number to be invalid.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202502
Enumeration |
Description |
REQUIRED
|
|
TOO_LARGE
|
|
TOO_SMALL
|
|
TOO_LARGE_WITH_DETAILS
|
|
TOO_SMALL_WITH_DETAILS
|
|
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 lists various services like AdRuleService, CompanyService, and ForecastService, alongside their associated API links. It details the `RequiredNumberError` dependency and its `Reason` enumeration. This error indicates when a provided number is invalid. Reasons for invalidity include `REQUIRED`, `TOO_LARGE`, `TOO_SMALL`, with variants providing details, and `UNKNOWN` for values not exposed by the API version. The namespace for these services is specified.\n"],null,["# enum RequiredNumberError.Reason (v202502)\n\n**Service** \n[AdRuleService](/ad-manager/api/reference/v202502/AdRuleService.RequiredNumberError.Reason) [CompanyService](/ad-manager/api/reference/v202502/CompanyService.RequiredNumberError.Reason) [ContentService](/ad-manager/api/reference/v202502/ContentService.RequiredNumberError.Reason) [CreativeService](/ad-manager/api/reference/v202502/CreativeService.RequiredNumberError.Reason) [CreativeSetService](/ad-manager/api/reference/v202502/CreativeSetService.RequiredNumberError.Reason) [CreativeTemplateService](/ad-manager/api/reference/v202502/CreativeTemplateService.RequiredNumberError.Reason) **ForecastService** [InventoryService](/ad-manager/api/reference/v202502/InventoryService.RequiredNumberError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.RequiredNumberError.Reason) [LineItemService](/ad-manager/api/reference/v202502/LineItemService.RequiredNumberError.Reason) [LineItemTemplateService](/ad-manager/api/reference/v202502/LineItemTemplateService.RequiredNumberError.Reason) [LiveStreamEventService](/ad-manager/api/reference/v202502/LiveStreamEventService.RequiredNumberError.Reason) [NetworkService](/ad-manager/api/reference/v202502/NetworkService.RequiredNumberError.Reason) [OrderService](/ad-manager/api/reference/v202502/OrderService.RequiredNumberError.Reason) [ProposalLineItemService](/ad-manager/api/reference/v202502/ProposalLineItemService.RequiredNumberError.Reason) [ProposalService](/ad-manager/api/reference/v202502/ProposalService.RequiredNumberError.Reason) [PublisherQueryLanguageService](/ad-manager/api/reference/v202502/PublisherQueryLanguageService.RequiredNumberError.Reason) [YieldGroupService](/ad-manager/api/reference/v202502/YieldGroupService.RequiredNumberError.Reason) **Dependencies** \n[RequiredNumberError](/ad-manager/api/reference/v202502/ForecastService.RequiredNumberError) \n▼\n**RequiredNumberError.Reason**\n\nDescribes reasons for a number to be invalid.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\n\n| Enumeration | Description |\n|--------------------------|-------------------------------------------------------------------------------------|\n| `REQUIRED` | |\n| `TOO_LARGE` | |\n| `TOO_SMALL` | |\n| `TOO_LARGE_WITH_DETAILS` | |\n| `TOO_SMALL_WITH_DETAILS` | |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]