Share your feedback about the Google Ads (AdWords) API. Take the 2021 AdWords API and Google Ads API Annual Survey.

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_ON_ALLOWLIST

The developer token is not on the allow-list.

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.