MCC test account confusion, account works but client account gives USER_PERMISSION_DENIED

97 views
Skip to first unread message

mcc-...@necromium.com

unread,
Feb 28, 2014, 1:01:15 AM2/28/14
to adwor...@googlegroups.com
Here are the steps I followed using the API docs.  My platform is PHP

1)  Create MCC account (live)
2)  Linked live AdWords account to live MCC account (Success)
3)  Requested Developer token on live account (in pending status)
4)  Filled out Developer form via e-mail sent to me for live account
5)  Created MCC Test account (test)
6)  Created Oauth2 tokens/clients for Live and Test accounts (Success)
7)  Modified my auth.ini file using the Test OAuth2 data
8)  Ran the GetCampaigns.php in the examples folder, results:  "No campaigns were found."

At this point, everything for the test account is "working" in the sense that I can auth, but I have no campaigns (as expected), however I do have several campaigns running on my live/production account, which is linked to my live/production MCC account.

So, I assumed that the GetCampaigns.php is checking the root level Test MCC account and thus why it didn't find any campaigns.

So I modified my auth.ini file to include the clientCustomerId of the client's ID under my production MCC, and now I get: An error has occurred: [AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']   when attempting to run the GetCampaigns.php

So this tells me that it's trying to use the clientCustomerId but failing.  I then thought that maybe I have to link my live accounts to my Test MCC account so I can view the data, but the Test MCC interface won't allow me to do that.  If I try to link the accounts I get an error:  The manager cannot create more client accounts.

My understanding was that the MCC Test account could review live data, but any submissions made wouldn't go to the live environment.

Is this not the case?   How can I view my live production campaigns, via my test account so that I can dev/test code and make sure it's working before we push it live (our live environment would use a different auth.ini that has our production Oauth2 info, correct?).

Thanks for your assistance.

Ray Tsang (AdWords API Team)

unread,
Mar 4, 2014, 2:44:53 PM3/4/14
to adwor...@googlegroups.com
Hi,

You won't be able to access live accounts while your developer token is pending approval.  You can only access test accounts when using a developer token that is pending approval.

Please see our test account guide for more detail.

Thanks!

Ray

Mevin Babu

unread,
Jun 20, 2017, 11:08:24 AM6/20/17
to AdWords API Forum
So does this mean, we have to create another Test account and then link it to the Test Manager Account to test API ? 

And also, Is this test account going to be another Test Manager account, because, I don't see any way to create a Test Account, which is not a manager

Shwetha Vastrad (AdWords API Team)

unread,
Jun 26, 2017, 4:36:01 PM6/26/17
to AdWords API Forum
Hi Mevin, 

Could you please create a new forum thread since this thread is very old? 

Thanks,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages