Hi,
* I have added adgroupcriterionservice and criterionuserlist in my adgroup <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/BasicOperations/AddAdGroups.php> for link a remarketing list to that adgroup.But the list have not added for that adgroup in adwords platform.Have i did anything wrong in ths?* $criterionUserList = new CriterionUserList(); $criterionUserList->userListId = $userListId; $criterionUserList->type = "USER_LIST"; $adGroupCriterion = new BiddableAdGroupCriterion(); $adGroupCriterion->adGroupId = $adGroupId; $adGroupCriterion->criterion = $criterionUserList; $adGroupCriteria[] = $adGroupCriterion; // Create operation. $operation = new AdGroupCriterionOperation(); $operation->operand = $adGroupCriterion; $operation->operator = 'ADD'; $operations[] = $operation; $result = $adGroupCriterionService->mutate($operations); On Wednesday, December 6, 2017 at 10:43:17 PM UTC+5:30, Sreelakshmi Sasidharan (AdWords API Team) wrote: > > Hi, > > You can use the CampaignCriterionService > <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService> > and > add the CriterionUserList > <https://developers.google.com/adwords/api/docs/reference/v201710/CampaignCriterionService.CriterionUserList> > to > the "testcampaign" Campaign. This section > <https://developers.google.com/adwords/api/docs/guides/remarketing#visitors_to_your_website> > of > the re-marketing and audience targeting guide shows how to do that. If you > need a sample for adding a campaign targeting criteria, you could check > AddCampaignTargetingCriteria > <https://github.com/googleads/googleads-php-lib/blob/master/examples/AdWords/v201710/Targeting/AddCampaignTargetingCriteria.php> > sample > in PHP. Let me know if you face any issues while trying this out. > > Thanks, > Sreelakshmi, AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 [email protected] To unsubscribe from this group, send email to [email protected] 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 [email protected]. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/fe2933a8-335c-4a9a-9540-236053c30816%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
