No campaigns were found. [JAVA]

75 views
Skip to first unread message

Guillermo Hernández

unread,
Feb 23, 2017, 10:02:38 AM2/23/17
to AdWords API Forum
Hello, I have installed and configured the API correctly, but I am having problem when getting data. For example in GetCampaigns I get "No campaigns were found." My clientCustomerId is the production, and there are campaigns. That could be happening? Thank you,
Guillermo

Shwetha Vastrad (AdWords API Team)

unread,
Feb 23, 2017, 12:17:05 PM2/23/17
to AdWords API Forum
Hi Guillermo,

You will not be able to fetch campaigns from a manager account. Campaigns are associated with AdWords client accounts. If you set clientCustomerId in the API request to the ID of the AdWords accounts under your manager account, you'll be able to get the campaigns associated with that account. Please check if the clientCustomerId in your ads.properties file belongs to your AdWords client accounts and not your manager account. If this doesn't resolve the issue, please enable logging and provide the SOAP request and response logs generated so I can take a look. Please use Reply privately to author when responding. 

Regards,
Shwetha, AdWords API Team.

Guillermo Hernández

unread,
Feb 23, 2017, 1:00:29 PM2/23/17
to AdWords API Forum
Hi Shwetha,
Oh, I did not know that. Now if it works, thank you very much!

Regards,
Guillermo.
Reply all
Reply to author
Forward
0 new messages