Hi,
On Thursday, December 7, 2017 at 10:42:23 PM UTC+5:30, Sreelakshmi Sasidharan (AdWords API Team) wrote: > > Hi, > > Could you try with the code snippet given below? > > $operations = []; > $criterionUserList = new CriterionUserList(); > $criterionUserList->setUserListId($userlistId); > > $adGroupCriterion = new BiddableAdGroupCriterion(); > $adGroupCriterion->setAdGroupId($adGroupId); > $adGroupCriterion->setCriterion($criterionUserList); > > // Create operation. > $operation = new AdGroupCriterionOperation(); > $operation->setOperand($adGroupCriterion); > $operation->setOperator(Operator::ADD); > > $operations[] = $operation; > $result = $adGroupCriterionService->mutate($operations); > > > If you are still not able to find the criterion on the AdGroup, please enable > logging <https://github.com/googleads/googleads-php-lib#logging> and > share the complete SOAP logs. > > 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/c7333f5b-69f5-458a-a6f7-8859a547ef4b%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
