Retrieved 0 campaigns java adwords api library v201409

12 views
Skip to first unread message

Vince NexonM

unread,
Feb 5, 2015, 5:55:15 PM2/5/15
to adwor...@googlegroups.com
I'm using version v201409 and I'm following the code example on the github page https://github.com/googleads/googleads-java-lib

All I wish to do is retrieve all campaigns that I created on my test MCC account. I created 3 and I set them to active and I have not setup billing yet as this is just a test account so that's the red flag showing up on my console.

I'm using a pending developer token from the production MCC account for my test MCC account and the approach I'm going for is a service account to impersonate a user for retrieving the list of campaigns. I believe the OAuth portion is correct as I'm able to make requests without any authentication errors, but for some reason I'm just getting 0 campaigns back from my request.

Are there any gotchas I might have missed while reading the example code? I believe I have the CampaignServiceInterface pointed to the correct account as debugging through the code shows it's using the Manager ID that I'm trying to retrieve campaigns from.

Danial Klimkin

unread,
Feb 9, 2015, 7:23:39 AM2/9/15
to adwor...@googlegroups.com
Hello Vince,


It is not possible to create or have AdWords campaigns on an MCC account, MCC accounts are used to accounts grouping only.

You need to create a regular, non-MCC account under your existing MCC and use if for managing campaigns.

Please make sure you send the correct ClientCustomerId of the account you are trying to access.


-Danial, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages