Using LocationSearchParameter for TargetingIdeaService v201109
问题 I am trying to use LocationSearchParameter with TargetingIdeaService (v201109). I am struggling with an Invalid_Criterion_ID error. May I request some help with that? Here is how I am setting LocationSearchParameter in php $locationTargetParameter = new LocationSearchParameter(); $locationTargetParameter->locations=$LocArray; // $LocArray is array of IDs 2840 for US 回答1: As of v201702. Here's a working example. $loc = array(); $location = new location(); $location->setId(2840); // USA $loc[]=