Hi Charles, The CampaignCriterionService will return location, language, and device targets. An example of how to do this IN PHP is available here:
http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201109/Targeting/GetCampaignTargetingCriteria.php Be aware that targeting all locations or all languages will mean that you won't have any of those criteria in your campaign (none == all). Best, - Eric Koleda, AdWords API Team On Monday, April 2, 2012 6:14:01 AM UTC-4, Charles Best wrote: > > Hi, > I'm looking for a way (different from report) to get Campaign information > about "Countries", "Languages" and "Devices" configuration. > > I thought to take this way but it gives me just the Languages: > > $user = $this->getUser(); > $user->SetClientId('0123456789'); > $campaignService = $user->GetService('CampaignCriterionService', > 'v201109'); > > $selector = new Selector(); > $selector->fields = array('Id', 'LanguageName', > 'LanguageCode','CarrierCountryCode', 'GeoPoint', > 'LocationName','DisplayType'); > $selector->predicates[] = new Predicate('CampaignId', 'EQUALS', > '0123456789'); > $selector->paging = new Paging(0, 20); > > $value = $campaignService->get($selector); > var_dump($value); > > How can I get all the other information? > Is this the wrong method? > > Thanks > -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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