I'm new to the AdWords API and I've been trying to select all of my 
campaign wide negative keywords through CampaignCriterionService.  But I'm 
getting no results.  I know I have campaign wide negative keywords.  I'm 
using the PHP Client Library.

I don't understand why this isn't returning results.  Insights?

$CampaignCriterionService = 
$this->user->GetService('CampaignCriterionService', ADWORDS_VERSION);
$selector = new Selector();
$selector->fields = array('CampaignId');

try {
$graph = $CampaignCriterionService->get($selector);
} catch (Exception $e) {
printf("An error has occurred: %s\n", $e->getMessage());
}

if (isset($graph->entries)) {
print "Good to go.";
} else {
print "No entries were found.";
}

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.


Reply via email to