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.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to