AI-generated Key Takeaways
-
InvalidEmailError is a type of ApiError that occurs when an invalid email address is provided for an email attribute in various services like CompanyService, ContactService, NetworkService, OrderService, PublisherQueryLanguageService, and UserService.
-
This error can be caused by an invalid format for the email address, as indicated by the
INVALID_FORMATreason, or the reason might be unknown depending on the API version. -
InvalidEmailError inherits fields from ApiError such as
fieldPath,fieldPathElements,trigger, anderrorStringwhich provide details about the specific error instance.
Caused by supplying a value for an email attribute that is not a valid email address.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202411
Field
ApiError
(inherited) fieldPath
xsd:
string
The OGNL field path to identify cause of error.
fieldPathElements
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.
InvalidEmailError
reason
Enumerations
-
INVALID_FORMAT - The value is not a valid email address.
-
UNKNOWN - The value returned if the actual value is not exposed by the requested API version.

