A parsed copy of the field path. For example, the field path "operations[1].operand"
corresponds to this list: {FieldPathElement(field = "operations", index = 1),
FieldPathElement(field = "operand", index = null)}.
trigger
xsd:string
The data that caused the error.
errorString
xsd:string
A simple string representation of the error and reason.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eInvalidPhoneNumberError\u003c/code\u003e object in Google Ad Manager's Creative Service API highlights errors related to phone numbers.\u003c/p\u003e\n"],["\u003cp\u003eThis error typically arises due to invalid phone number formats, numbers being too short, or other unknown issues.\u003c/p\u003e\n"],["\u003cp\u003eThe error object provides details such as the error reason (e.g., \u003ccode\u003eINVALID_FORMAT\u003c/code\u003e, \u003ccode\u003eTOO_SHORT\u003c/code\u003e, \u003ccode\u003eUNKNOWN\u003c/code\u003e), field path, and error message.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eInvalidPhoneNumberError\u003c/code\u003e inherits properties from \u003ccode\u003eApiError\u003c/code\u003e like \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003efieldPathElements\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e for comprehensive error reporting.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these details to identify and resolve issues with phone numbers in their Ad Manager creatives or related operations.\u003c/p\u003e\n"]]],["The content outlines error types related to the `CreativeService` in the ad manager API, version v202408. It details `CreativeSetService` and `LineItemCreativeAssociationService` and various errors that inherit from `ApiError`, including `InvalidPhoneNumberError`. This error is caused by the field path, the error trigger and the error string. `InvalidPhoneNumberError` reasons are: `INVALID_FORMAT`, `TOO_SHORT`, and `UNKNOWN`, which indicate issues with phone number formatting or length. It also provides a namespace.\n"],null,["# type InvalidPhoneNumberError (v202408)\n\n**Service** \n**CreativeService** [CreativeSetService](/ad-manager/api/reference/v202408/CreativeSetService.InvalidPhoneNumberError) [LineItemCreativeAssociationService](/ad-manager/api/reference/v202408/LineItemCreativeAssociationService.InvalidPhoneNumberError) **Inheritance** \n[ApiError](/ad-manager/api/reference/v202408/CreativeService.ApiError) \n▼\n[ApiVersionError](/ad-manager/api/reference/v202408/CreativeService.ApiVersionError) [AssetError](/ad-manager/api/reference/v202408/CreativeService.AssetError) [AuthenticationError](/ad-manager/api/reference/v202408/CreativeService.AuthenticationError) [CollectionSizeError](/ad-manager/api/reference/v202408/CreativeService.CollectionSizeError) [CommonError](/ad-manager/api/reference/v202408/CreativeService.CommonError) [CreativeAssetMacroError](/ad-manager/api/reference/v202408/CreativeService.CreativeAssetMacroError) [CreativeError](/ad-manager/api/reference/v202408/CreativeService.CreativeError) [CreativeSetError](/ad-manager/api/reference/v202408/CreativeService.CreativeSetError) [CreativeTemplateError](/ad-manager/api/reference/v202408/CreativeService.CreativeTemplateError) [CreativeTemplateOperationError](/ad-manager/api/reference/v202408/CreativeService.CreativeTemplateOperationError) [CustomCreativeError](/ad-manager/api/reference/v202408/CreativeService.CustomCreativeError) [CustomFieldValueError](/ad-manager/api/reference/v202408/CreativeService.CustomFieldValueError) [EntityLimitReachedError](/ad-manager/api/reference/v202408/CreativeService.EntityLimitReachedError) [FeatureError](/ad-manager/api/reference/v202408/CreativeService.FeatureError) [FileError](/ad-manager/api/reference/v202408/CreativeService.FileError) [HtmlBundleProcessorError](/ad-manager/api/reference/v202408/CreativeService.HtmlBundleProcessorError) [ImageError](/ad-manager/api/reference/v202408/CreativeService.ImageError) [InternalApiError](/ad-manager/api/reference/v202408/CreativeService.InternalApiError) **InvalidPhoneNumberError** [InvalidUrlError](/ad-manager/api/reference/v202408/CreativeService.InvalidUrlError) [LabelEntityAssociationError](/ad-manager/api/reference/v202408/CreativeService.LabelEntityAssociationError) [LineItemCreativeAssociation...](/ad-manager/api/reference/v202408/CreativeService.LineItemCreativeAssociationError \"LineItemCreativeAssociationError\") [NotNullError](/ad-manager/api/reference/v202408/CreativeService.NotNullError) [NullError](/ad-manager/api/reference/v202408/CreativeService.NullError) [ParseError](/ad-manager/api/reference/v202408/CreativeService.ParseError) [PermissionError](/ad-manager/api/reference/v202408/CreativeService.PermissionError) [PublisherQueryLanguageConte...](/ad-manager/api/reference/v202408/CreativeService.PublisherQueryLanguageContextError \"PublisherQueryLanguageContextError\") [PublisherQueryLanguageSynta...](/ad-manager/api/reference/v202408/CreativeService.PublisherQueryLanguageSyntaxError \"PublisherQueryLanguageSyntaxError\") [QuotaError](/ad-manager/api/reference/v202408/CreativeService.QuotaError) [RangeError](/ad-manager/api/reference/v202408/CreativeService.RangeError) [RequiredCollectionError](/ad-manager/api/reference/v202408/CreativeService.RequiredCollectionError) [RequiredError](/ad-manager/api/reference/v202408/CreativeService.RequiredError) [RequiredNumberError](/ad-manager/api/reference/v202408/CreativeService.RequiredNumberError) [RequiredSizeError](/ad-manager/api/reference/v202408/CreativeService.RequiredSizeError) [RichMediaStudioCreativeError](/ad-manager/api/reference/v202408/CreativeService.RichMediaStudioCreativeError) [ServerError](/ad-manager/api/reference/v202408/CreativeService.ServerError) [SetTopBoxCreativeError](/ad-manager/api/reference/v202408/CreativeService.SetTopBoxCreativeError) [StatementError](/ad-manager/api/reference/v202408/CreativeService.StatementError) [StringFormatError](/ad-manager/api/reference/v202408/CreativeService.StringFormatError) [StringLengthError](/ad-manager/api/reference/v202408/CreativeService.StringLengthError) [SwiffyConversionError](/ad-manager/api/reference/v202408/CreativeService.SwiffyConversionError) [TemplateInstantiatedCreativ...](/ad-manager/api/reference/v202408/CreativeService.TemplateInstantiatedCreativeError \"TemplateInstantiatedCreativeError\") [TranscodingError](/ad-manager/api/reference/v202408/CreativeService.TranscodingError) [TypeError](/ad-manager/api/reference/v202408/CreativeService.TypeError) [UniqueError](/ad-manager/api/reference/v202408/CreativeService.UniqueError)\n\nLists all errors associated with phone numbers.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202408`\n\n| Field ----- ||\n|-------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| **`ApiError` (inherited)** ||\n| ### `fieldPath` | ` `xsd:`string` The OGNL field path to identify cause of error. |\n| ### `fieldPathElements` | ` `[FieldPathElement](/ad-manager/api/reference/v202408/CreativeService.FieldPathElement)`[]` A parsed copy of the field path. For example, the field path \"operations\\[1\\].operand\" corresponds to this list: {FieldPathElement(field = \"operations\", index = 1), FieldPathElement(field = \"operand\", index = null)}. |\n| ### `trigger` | ` `xsd:`string` The data that caused the error. |\n| ### `errorString` | ` `xsd:`string` A simple string representation of the error and reason. |\n| **`InvalidPhoneNumberError`** ||\n| ### `reason` | ` `[InvalidPhoneNumberError.Reason](/ad-manager/api/reference/v202408/CreativeService.InvalidPhoneNumberError.Reason)` ` *** ** * ** *** **Enumerations** `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. \u003cbr /\u003e |"]]