Re: acceptable inputs for the array $selector->fields in GetCampaignService()
Hi, If you look at the documentation for the API Objects, fields that are valid for the selector are marked "Selectable" and the description says what field name to use to select the field: http://code.google.com/apis/adwords/docs/reference/latest/CampaignService.Campaign.html We also have a list of all fields here: http://code.google.com/apis/adwords/docs/appendix/selectorfields.html - Kevin Winter AdWords API Team -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
acceptable inputs for the array $selector->fields in GetCampaignService()
referencing GetAllCampaigns.php // Get the CampaignService. $campaignService = $user->GetCampaignService('v201101'); // Create selector. $selector = new Selector(); $selector->fields = array('Id', 'Name'); $selector->ordering = array(new OrderBy('Name', 'ASCENDING')); // Get all campaigns. $page = $campaignService->get($selector); I'm wondering how can I find all acceptable inputs for the array that makes up $selector->fields? -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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