Re: AuthorizationError.USER_PERMISSION_DENIED
Hi,
You can follow the instructions provided here to link your Manager account to the client account. You can also use AdWords API to do this as described here. But in this case, you would need the OAuth credentials of the client account as well as the Manager account. Once your Manager account is linked to the client account being targeted in the request, you'll be able to use the OAuth credentials of your Manager account to authorize requests to the client account by specifying the clientCustomerId in the request header.
Regards,
Shwetha, AdWords API Team
.
Common Errors
This page lists common errors and provides tips on preventing and handling them. For further support, visit our forum. We've grouped the errors into these categories:
- Entities
- Errors related to AdWords API entities such as campaigns, ads, or ad groups.
- Authentication/Authorization
- OAuth and general authentication/authorization errors.
- Miscellaneous
- General errors such as exceeding limits or missing specifications.
Categories
Entities
Accounts
NotWhitelistedError.CUSTOMER_ADS_API_REJECTOperationAccessDenied.ADD_OPERATION_NOT_PERMITTEDOperationAccessDenied.MUTATE_ACTION_NOT_PERMITTED_FOR_CLIENTQuotaCheckError.ACCOUNT_DELINQUENTQuotaCheckError.ACCOUNT_INACCESSIBLEQuotaCheckError.TERMS_AND_CONDITIONS_NOT_SIGNEDQuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVEDQuotaCheckError.INCOMPLETE_SIGNUPQuotaCheckError.INVALID_TOKEN_HEADERQuotaCheckError.MONTHLY_BUDGET_REACHED
Campaigns
Ad groups
Ads
AdError.CANNOT_USE_AD_SUBCLASS_FOR_OPERATORAdError.INVALID_INPUTAdError.LINE_TOO_WIDEAdGroupAdError.AD_GROUP_AD_LABEL_ALREADY_EXISTSAdGroupAdError.CANNOT_OPERATE_ON_DELETED_ADGROUPADAdPolicyError
Budget orders
Budgets
BudgetError.MONEY_AMOUNT_LESS_THAN_CURRENCY_MINIMUM_CPCBudgetError.NON_MULTIPLE_OF_MINIMUM_CURRENCY_UNIT
Bids
BiddingErrors.BID_TOO_HIGH_FOR_DAILY_BUDGETBiddingErrors.BID_TOO_MANY_FRACTIONAL_DIGITSBiddingErrors.BID_TOO_BIG
Criteria
AdGroupCriterionError.INVALID_KEYWORD_TEXTCriterionError.AD_SCHEDULE_EXCEEDED_INTERVALS_PER_DAY_LIMITCriterionError.KEYWORD_HAS_INVALID_CHARSPolicyViolationErrorCriterionPolicyError
Feeds and extensions
CampaignFeedError.FEED_ALREADY_EXISTS_FOR_PLACEHOLDER_TYPECampaignFeedError.CANNOT_ADD_ALREADY_EXISTING_CAMPAIGN_FEEDFeedItemError.CANNOT_OPERATE_ON_DELETED_FEED_ITEM
Conversions
ConversionTrackingError.DUPLICATE_NAMEOfflineConversionError.EXPIRED_CLICKOfflineConversionError.INVALID_CONVERSION_TYPEOfflineConversionError.TOO_RECENT_CLICKOfflineConversionError.UNAUTHORIZED_USER
Reports
AuthenticationError.CLIENT_CUSTOMER_ID_INVALIDQueryError.INVALID_WHERE_CLAUSEQueryError.PARSING_FAILEDReportDefinitionError.CUSTOMER_SERVING_TYPE_REPORT_MISMATCHReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORTReportInfoError.INVALID_USER_ID_IN_HEADERRequestError.INVALID_INPUT
Authentication/Authorization
Authentication
AuthenticationError.CLIENT_CUSTOMER_ID_IS_REQUIREDAuthenticationError.CUSTOMER_NOT_FOUNDAuthenticationError.GOOGLE_ACCOUNT_COOKIE_INVALIDAuthenticationError.NOT_ADS_USERAuthenticationError.OAUTH_TOKEN_INVALID
Authorization
Miscellaneous
Redundancy
Missing/invalid specifications
EntityNotFound.INVALID_IDNotEmptyError.EMPTY_LISTRangeError.TOO_LOWRequiredError.REQUIREDSelectorError.INVALID_FIELD_NAMESelectorError.INVALID_PREDICATE_VALUESelectorError.MISSING_PREDICATE_VALUES
Limit exceeded
CustomerSyncError.TOO_MANY_CHANGESQuotaCheckError.QUOTA_EXCEEDEDRateExceededError.RATE_EXCEEDEDSizeLimitError.RESPONSE_SIZE_LIMIT_EXCEEDED
No comments:
Post a Comment