Hi, Are you getting USER_PERMISSION_DENIED <https://developers.google.com/adwords/api/docs/common-errors#AuthorizationError.USER_PERMISSION_DENIED> error? If so, it means that there is no link between the manager account authenticated in the request and the client account specified in the headers. The points listed below should be helpful for you:
1. The test and production accounts cannot interact in any way, you may not use a test account under your existing production manager account. The test manager hierarchy and production manager hierarchy can be maintained separately. Please check here <https://developers.google.com/adwords/api/docs/guides/accounts-overview#test_accounts> for more details. 2. A developer token can be used to target *any* AdWords account. If the developer token is having test access, you will not be able to make calls against test accounts. If the developer token is approved, you will be able to make calls against the product accounts as well. To use a developer token while making calls against an account, it is not required for that account to be linked with the MCC owning the token. 3. Assuming that the production accounts and test accounts are in two different hierarchies, 3.1) To make calls against the Production MCC or any of the production client accounts in that hierarchy, you can use the client credentials (client Id, client secret) and OAuth tokens (access token, refresh token) owned by an admin user on the production MCC account. It is important to make sure that the authorization code was generated (after accepting the prompt manually) by the user having access to the production MCC account. 3.2) To make calls against the Test MCC or any of the test client accounts in that hierarchy, you can use the client credentials (client Id, client secret) and OAuth tokens (access token, refresh token) owned by an admin user on the test MCC account. It is important to make sure that the authorization code was generated (after accepting the prompt manually) by the user having access to the test MCC account. Please check the guide <https://developers.google.com/adwords/api/docs/guides/first-api-call#set_up_oauth2_authentication> to setup the OAuth for more details. Please give this a try and let me know if you are still facing issues. If yes, could you write back with the SOAP logs, the client customer Id of the target account and the email Id authenticating the API call? Thanks, Sreelakshmi, AdWords API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/87b7d576-b1eb-4783-9797-8e25ef06d31e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.