I've been using the API for a while now and was recently forced to upgrade
due to deprecation of the old ClientLogin. While I can authenticate with
OAuth2, trying to get campaign information with the new API simply returns
nothing:
$selector = new Selector();
$selector->fields =
array('Id', 'Name');
$campaigns = $campaignService->get($selector);
var_dump($campaigns);
Simply returns:
object(CampaignPage)#21 (4) { ["entries"]=> NULL ["totalNumEntries"]=>
int(0) ["PageType"]=> string(12) "CampaignPage"
["_parameterMap":"Page":private]=> array(1) { ["Page.Type"]=> string(8)
"PageType" } }
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.