Hi, I'm trying to determine whether a campaign targeting the search network or the display network, but I don't know which service to use.
I am able to get the information of a campaign with "CampaignService". How can I get this kind of data? I am working with PHP. Thank you ! This is the way I get campaign informations: function getCampaign(AdWordsUser $user) { $campaignService = $user->GetService('CampaignService', ADWORDS_VERSION); $selector = new Selector(); $selector->fields = array('Id','Name', 'Status'); // Filter out deleted criteria. //$selector->predicates[] = new Predicate('Status', 'NOT_IN', array('DELETED', 'PAUSED')); $page = $campaignService->get($selector); foreach ($page->entries as $campaign) { printf("%s", $campaign->id); printf("%s", $campaign->name); printf("%s", $campaign->status); } } -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/ddb6e3cc-e33e-48b0-af3d-97ba2cf5d7e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.