Hi all,

We have a small utility function to determine whether a Campaign is applied 
to a Shared Set. The API is telling us that it is applied, but the AdWords 
Web Interface is confirming that it is not. It was explicitly removed via 
the interface a couple of days ago.

private function isCampaignAppliedToSharedSet($sharedSetId, $campaignId) {
  $campaignSharedSetService = 
$this->user->GetService('CampaignSharedSetService');
  $selector = new Selector();
  $selector->fields = array('CampaignId', 'SharedSetId', 'SharedSetName', 
'CampaignName');
  $selector->predicates[] = new Predicate('SharedSetId', 'EQUALS', 
$sharedSetId);
  $selector->predicates[] = new Predicate('CampaignId', 'EQUALS', 
$campaignId);
  $result = $campaignSharedSetService->get($selector);

  // $result->entries is not empty when it should be.
}


Any idea why the API would be returning data that doesn't seem to match 
what the interface reflects?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/324f01f8-8b82-4ce4-a320-6741d7e8d9cb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to