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 content outlines various services and their associated errors within an API, specifically focusing on `RequiredNumberError`. Services listed include AdRule, Company, Content, Creative, CreativeSet, and others. These services encounter `RequiredNumberError` due to invalid numerical values. The `RequiredNumberError.Reason` namespace lists possible reasons: `REQUIRED`, `TOO_LARGE`, `TOO_SMALL`, `TOO_LARGE_WITH_DETAILS`, `TOO_SMALL_WITH_DETAILS`, and `UNKNOWN`, the values describes if the number is missing, too large or too small.\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](/ad-manager/api/reference/v202502/ForecastService.RequiredNumberError.Reason) [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** [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/LiveStreamEventService.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. |"]]