enum InvalidPhoneNumberError.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 |
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."],[],["The core content details the `InvalidPhoneNumberError` within the Google Ad Manager API (v202502), specifically within `CreativeService` and related dependencies like `CreativeSetService` and `LineItemCreativeAssociationService`. This error occurs when a phone number is invalid, and it specifies the reason via the `InvalidPhoneNumberError.Reason` enumeration. The possible reasons are `INVALID_FORMAT` (phone number is invalid), `TOO_SHORT` (phone number is too short), or `UNKNOWN` (value not exposed by the API version). The namespace of the API is provided.\n"],null,["# enum InvalidPhoneNumberError.Reason (v202502)\n\n**Service** \n**CreativeService** [CreativeSetService](/ad-manager/api/reference/v202502/CreativeSetService.InvalidPhoneNumberError.Reason) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202502/LineItemCreativeAssociationService.InvalidPhoneNumberError.Reason) **Dependencies** \n[InvalidPhoneNumberError](/ad-manager/api/reference/v202502/CreativeService.InvalidPhoneNumberError) \n▼\n**InvalidPhoneNumberError.Reason**\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202502`\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. |"]]