AuthorizationError

Enum describing possible authorization errors.

Enums

UNSPECIFIED

Enum unspecified.

UNKNOWN

The received error code is not known in this version.

USER_PERMISSION_DENIED

User doesn't have permission to access customer. Note: If you're accessing a client customer, the manager's customer ID must be set in the login-customer-id header. Learn more at https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid

DEVELOPER_TOKEN_NOT_WHITELISTED

The developer token is not whitelisted.

DEVELOPER_TOKEN_PROHIBITED

The developer token is not allowed with the project sent in the request.

PROJECT_DISABLED

The Google Cloud project sent in the request does not have permission to access the api.

AUTHORIZATION_ERROR

Authorization of the client failed.

ACTION_NOT_PERMITTED

The user does not have permission to perform this action (e.g., ADD, UPDATE, REMOVE) on the resource or call a method.

INCOMPLETE_SIGNUP

Signup not complete.

CUSTOMER_NOT_ENABLED

The customer can't be used because it isn't enabled.

MISSING_TOS

The developer must sign the terms of service. They can be found here: ads.google.com/aw/apicenter

DEVELOPER_TOKEN_NOT_APPROVED

The developer token is not approved. Non-approved developer tokens can only be used with test accounts.

INVALID_LOGIN_CUSTOMER_ID_SERVING_CUSTOMER_ID_COMBINATION

The login customer specified does not have access to the account specified, so the request is invalid.