type AuthenticationError (v202411)
Stay organized with collections
Save and categorize content based on your preferences.
An error for an exception that occurred when authenticating.
- 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
|
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)}.
|
trigger
|
xsd:string
The data that caused the error.
|
errorString
|
xsd:string
A simple string representation of the error and reason.
|
AuthenticationError
|
reason
|
AuthenticationError.Reason
Enumerations
-
AMBIGUOUS_SOAP_REQUEST_HEADER
- The SOAP message contains a request header with an ambiguous definition of the authentication
header fields. This means either the
authToken and oAuthToken fields were
both null or both were specified. Exactly one value should be specified with each request.
-
INVALID_EMAIL
- The login provided is invalid.
-
AUTHENTICATION_FAILED
- Tried to authenticate with provided information, but failed.
-
INVALID_OAUTH_SIGNATURE
- The OAuth provided is invalid.
-
INVALID_SERVICE
- The specified service to use was not recognized.
-
MISSING_SOAP_REQUEST_HEADER
- The SOAP message is missing a request header with an
authToken and optional networkCode .
-
MISSING_AUTHENTICATION_HTTP_HEADER
- The HTTP request is missing a request header with an
authToken
-
MISSING_AUTHENTICATION
- The request is missing an
authToken
-
NETWORK_API_ACCESS_DISABLED
- The network does not have API access enabled.
-
NO_NETWORKS_TO_ACCESS
- The user is not associated with any network.
-
NETWORK_NOT_FOUND
- No network for the given
networkCode was found.
-
NETWORK_CODE_REQUIRED
- The user has access to more than one network, but did not provide a
networkCode .
-
CONNECTION_ERROR
- An error happened on the server side during connection to authentication service.
-
GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK
- The user tried to create a test network using an account that already is associated with a
network.
-
UNDER_INVESTIGATION
- The account is blocked and under investigation by the collections team. Please contact Google
for more information.
-
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\u003eThis documentation details the \u003ccode\u003eAuthenticationError\u003c/code\u003e in Google Ad Manager's API.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eAuthenticationError\u003c/code\u003e arises when there's an issue during the authentication process, like invalid credentials or missing headers.\u003c/p\u003e\n"],["\u003cp\u003eThis error encompasses several reasons, ranging from ambiguous SOAP headers to disabled network API access, all detailed in the provided table.\u003c/p\u003e\n"],["\u003cp\u003eThe table outlines the error's namespace, inheritance hierarchy, and fields such as \u003ccode\u003efieldPath\u003c/code\u003e, \u003ccode\u003etrigger\u003c/code\u003e, and \u003ccode\u003eerrorString\u003c/code\u003e alongside the \u003ccode\u003eAuthenticationError\u003c/code\u003e specific \u003ccode\u003ereason\u003c/code\u003e field and its potential values.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should refer to the \u003ccode\u003ereason\u003c/code\u003e field within the \u003ccode\u003eAuthenticationError\u003c/code\u003e to pinpoint the cause of the authentication failure and take corrective action.\u003c/p\u003e\n"]]],["This document details various services and error types within an ad management API, version 202411. It lists numerous services like `AdRuleService`, `AdjustmentService`, `CreativeService`, and `ReportService`. These manage different aspects of ads, content, and users. The `AuthenticationError` is elaborated, listing reasons like `INVALID_EMAIL`, `AUTHENTICATION_FAILED`, and `MISSING_AUTHENTICATION`, alongside the `ApiError` with `fieldPath` and `errorString`.\n"],null,[]]