Hi, We are programming a web application that must determine whether the campaigns of a customer display on both network at the same time (Search and Display) which is not optimal.
There is something I can not understand ... We have campaigns that appear on both networks at once. The problem is that the following code display only one of the two networks, even if the campaign is available on two networks. Do you have an idea ? Thank you ! *Code:* function getCampaign(AdWordsUser $user) { $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); $selector = new Selector(); $selector->fields = array('Id','Name', 'Status', 'AdvertisingChannelType'); // Filter out deleted criteria. //$selector->predicates[] = new Predicate('Status', 'NOT_IN', array('DELETED', 'PAUSED')); $page = $campaignService->get($selector); print_r("<pre>"); print_r($page->entries); print_r("</pre>"); } *Result:* (This campaign is on both networks but displays only one) [0] => Campaign Object ( [id] => 9806xxxx [name] => xxxxxxx [status] => ENABLED [servingStatus] => [startDate] => [endDate] => [budget] => [conversionOptimizerEligibility] => [adServingOptimizationStatus] => [frequencyCap] => [settings] => [advertisingChannelType] => SEARCH [advertisingChannelSubType] => [networkSetting] => [labels] => [biddingStrategyConfiguration] => [forwardCompatibilityMap] => [trackingUrlTemplate] => [urlCustomParameters] => ) -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/f9b33091-5b13-4aa8-9211-c3ad1887be71%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.