Google Adwords API: Not getting any campaigns, adgroups and keywords

15 views
Skip to first unread message

ZealousWeb

unread,
Mar 11, 2015, 2:58:33 PM3/11/15
to adwor...@googlegroups.com

I am getting an empty array of output from google adwords api.
$selector = new Selector();
$selector->fields = array('Id', 'Name','Status');
$selector->ordering[] = new OrderBy('Name', 'ASCENDING');

Can you please look into this?

Thanks

Anash P. Oommen (AdWords API Team)

unread,
Mar 11, 2015, 3:11:48 PM3/11/15
to adwor...@googlegroups.com
Hi,

Please check if you have set clientCustomerId field (either in your code, or in your auth.ini) to an account that has campaigns in it.

Cheers,
Anash P. Oommen,
AdWords API Advisor.
Reply all
Reply to author
Forward
0 new messages