enum InvalidPhoneNumberError.Reason (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Enumeration |
Description |
INVALID_FORMAT
|
The phone number is invalid.
|
TOO_SHORT
|
The phone number is too short.
|
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\u003e\u003ccode\u003eInvalidPhoneNumberError.Reason\u003c/code\u003e defines reasons for phone number errors in Google Ad Manager API.\u003c/p\u003e\n"],["\u003cp\u003ePossible reasons include invalid format, short length, or an unknown issue.\u003c/p\u003e\n"],["\u003cp\u003eThis enumeration is part of the \u003ccode\u003eLineItemCreativeAssociationService\u003c/code\u003e and other services.\u003c/p\u003e\n"],["\u003cp\u003eThe namespace for this enumeration is \u003ccode\u003ehttps://www.google.com/apis/ads/publisher/v202411\u003c/code\u003e.\u003c/p\u003e\n"]]],["The core content defines the `InvalidPhoneNumberError.Reason` enumeration within the Google Ad Manager API (v202411). This error reason is used by `CreativeService`, `CreativeSetService`, and `LineItemCreativeAssociationService`. The enumeration specifies three possible reasons for an invalid phone number: `INVALID_FORMAT`, meaning the format is incorrect; `TOO_SHORT`, indicating insufficient digits; and `UNKNOWN`, for cases where the API version doesn't expose the actual reason. The namespace for these definitions is provided.\n"],null,["# enum InvalidPhoneNumberError.Reason (v202411)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202411/CreativeService.InvalidPhoneNumberError.Reason) [CreativeSetService](/ad-manager/api/reference/v202411/CreativeSetService.InvalidPhoneNumberError.Reason) **LineItemCreativeAssociation...** **Dependencies** \n[InvalidPhoneNumberError](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.InvalidPhoneNumberError) \n▼\n**InvalidPhoneNumberError.Reason**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|------------------|-------------------------------------------------------------------------------------|\n| `INVALID_FORMAT` | The phone number is invalid. |\n| `TOO_SHORT` | The phone number is too short. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]