Re: How to add OPERATING_SYSTEM_VERSION criterion to campaign [PHP] [v201402]

2014-07-30 Thread Josh Radcliff (AdWords API Team)
Excellent point on the documentation. I've made a note of this and will update the docs in the near future with links between the reference page and ConstantDataService. Cheers, Josh, AdWords API Team On Tuesday, July 29, 2014 5:06:36 PM UTC-4, Kristopher Windsor wrote: > > Thanks, the Constant

Re: How to add OPERATING_SYSTEM_VERSION criterion to campaign [PHP] [v201402]

2014-07-29 Thread Kristopher Windsor
Thanks, the ConstantDataService is what I was missing. I wish either the Criterion pages or the Appendix had mentioned that service. On Monday, July 28, 2014 1:41:06 PM UTC-7, Josh Radcliff (AdWords API Team) wrote: > > Hi, > > You can only pass specific predefined *OperatingSystemVersion* objec

Re: How to add OPERATING_SYSTEM_VERSION criterion to campaign [PHP] [v201402]

2014-07-28 Thread Josh Radcliff (AdWords API Team)
Hi, You can only pass specific predefined *OperatingSystemVersion* objects, identified by ID. To get the list of available objects and their IDs, please use ConstantDataService.getOperatingSystemVersionCriterion

How to add OPERATING_SYSTEM_VERSION criterion to campaign [PHP] [v201402]

2014-07-28 Thread Kristopher Windsor
Hi, I would like to apply an OperatingSystemVersion criterion to a campaign. The code below does not work because I create a criterion, but it does not have an ID. public function doOSVersionCriterion($campaign){ $campaignCriterionService = $this->user->GetService( 'CampaignCriterionServ