The AdWords API is no longer available. Use the Google Ads API instead.

enum AuthenticationError.Reason (v201809)

The single reason for the authentication failure.


Namespace
https://adwords.google.com/api/adwords/cm/v201809
Enumeration Description
AUTHENTICATION_FAILED Authentication of the request failed.
CLIENT_CUSTOMER_ID_IS_REQUIRED Client Customer Id is required if CustomerIdMode is set to CLIENT_EXTERNAL_CUSTOMER_ID. Starting version V201409 ClientCustomerId will be required for all requests except for CustomerService.get
CLIENT_EMAIL_REQUIRED Client Email is required if CustomerIdMode is set to CLIENT_EXTERNAL_EMAIL_FIELD.
CLIENT_CUSTOMER_ID_INVALID Client customer Id is not a number.
CLIENT_EMAIL_INVALID Client customer Id is not a number.
CLIENT_EMAIL_FAILED_TO_AUTHENTICATE Client email is not a valid customer email.
CUSTOMER_NOT_FOUND No customer found for the customer id provided in the header.
GOOGLE_ACCOUNT_DELETED Client's Google Account is deleted.
FAILED_TO_AUTHENTICATE_GOOGLE_ACCOUNT problem occurred during Google account authentication.
GOOGLE_ACCOUNT_USER_AND_ADS_USER_MISMATCH The user in the google account login token does not match the UserId in the cookie.
NOT_ADS_USER User in the cookie is not a valid Ads user.
OAUTH_TOKEN_INVALID Oauth token in the header is not valid.
OAUTH_TOKEN_EXPIRED Oauth token in the header has expired.
OAUTH_TOKEN_DISABLED Oauth token in the header has been disabled.
OAUTH_TOKEN_REVOKED Oauth token in the header has been revoked.
OAUTH_TOKEN_HEADER_INVALID Oauth token HTTP header is malformed.
USER_ID_INVALID User Id in the header is not a valid id.