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\u003eThe \u003ccode\u003eInvalidPhoneNumberError\u003c/code\u003e object, within the Google Ad Manager API, indicates issues with phone number formats during operations like creative or creative set management.\u003c/p\u003e\n"],["\u003cp\u003eIt uses the \u003ccode\u003eReason\u003c/code\u003e enumeration to specify the nature of the error, such as format issues, length problems, or unspecified reasons.\u003c/p\u003e\n"],["\u003cp\u003ePossible \u003ccode\u003eReason\u003c/code\u003e values include \u003ccode\u003eINVALID_FORMAT\u003c/code\u003e, \u003ccode\u003eTOO_SHORT\u003c/code\u003e, and \u003ccode\u003eUNKNOWN\u003c/code\u003e, offering insights into the invalid phone number issue.\u003c/p\u003e\n"]]],["The core content details the `InvalidPhoneNumberError` within the context of the `CreativeService`, `CreativeSetService`, and `LineItemCreativeAssociationService`. This error, found in the `v202411` API version, specifies three potential reasons: `INVALID_FORMAT`, indicating an invalid phone number format; `TOO_SHORT`, indicating insufficient digits; and `UNKNOWN`, for unexposed API values. The namespace for these services and errors is `https://www.google.com/apis/ads/publisher/v202411`.\n"],null,["# enum InvalidPhoneNumberError.Reason (v202411)\n\n**Service** \n[CreativeService](/ad-manager/api/reference/v202411/CreativeService.InvalidPhoneNumberError.Reason) **CreativeSetService** [LineItemCreativeAssociationService](/ad-manager/api/reference/v202411/LineItemCreativeAssociationService.InvalidPhoneNumberError.Reason) **Dependencies** \n[InvalidPhoneNumberError](/ad-manager/api/reference/v202411/CreativeSetService.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. |"]]