AI-generated Key Takeaways
-
InvalidEmailError is caused by providing an invalid email address for an email attribute.
-
This error is part of a hierarchy of errors, inheriting from ApiError.
-
Several services, including CompanyService, ContactService, NetworkService, OrderService, PublisherQueryLanguageService, and UserService, can return an InvalidEmailError.
-
Details about the error can be found in the inherited fields such as
fieldPath,trigger, anderrorString, as well as thereasonfield specific to InvalidEmailError. -
Possible reasons for the InvalidEmailError include an invalid email format or an unknown reason.
Caused by supplying a value for an email attribute that is not a valid email address.
- Namespace
-
https://www.google.com/apis/ads/publisher/v202508
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.

