How to work with production MCC account and Test MCC account

37 views
Skip to first unread message

ht.kz...@gmail.com

unread,
Jul 20, 2015, 3:16:55 PM7/20/15
to adwor...@googlegroups.com
Hello. This is my first attempt to work with adWords API. 
I have hard time understandind how to get accounts list, companies list from test account. My developer token still not approved. So i tried to do something through test MCC account.
I have
- developerToken (not approved)
- prod MCC Account 
- test MCC Account
- And adwords account bound with prod MCC Account
So I have:
- developerToken = "*"
- clientCustomerId = "*" here is my test MCC accounts client id
- client_id  (oauth2 prod)
- client_secret  (oauth2 prod)
- refresh_token
After recived refresh_token i tried to run example script GetCampaigns.php and recived "No campaigns were found.". 
In my test MCC account i created new AdWords account and campaign, and still "No campaigns were found.".
Maybe its my mistake and I missed something? 
Can I somehow get the structure of prod MCC account in test MCC account or I need to create it my Own?
Thanks


Anthony Madrigal

unread,
Jul 20, 2015, 3:48:05 PM7/20/15
to adwor...@googlegroups.com, ht.kz...@gmail.com
Hello,

ManagedCustomerService and CustomerService can be used to obtain information on your accounts under the MCC account. 

Your clientCustomerId should be the ID of one of your AdWords (client) accounts. Try putting in the CID of the AdWords account you created the campaign for. This should result in returning the campaign for that account.

Please let me know if you have any other questions.

Regards,
Anthony
AdWords API Team
Reply all
Reply to author
Forward
0 new messages