Hi,
I have cretated addaudience by using this API...after i have added below in
separate file to link remarketing list but the list is not adding to this
campign(campaignid: "1011547415").plz help me get rid off this.
$campaignCriterionService =
$adWordsServices->get($session, CampaignCriterionService::class);
$adGroupCriterionService = $adWordsServices->get($session,
AdGroupCriterionService::class);
$criterionUserList = new CriterionUserList();
$CriterionUserList->setUserListId(523433934);
$campaignCriterion = new CampaignCriterion();
$campaignCriterion->setCampaignId(1011547415);
$campaignCriterion->setCriterion($criterionUserList);
$operation = new CampaignCriterionOperation();
$operation->setOperand($campaignCriterion);
$operation->setOperator(Operator::ADD);
$operations[] = $operation;
$campaign_cri = $campaignCriterionService->mutate($operations);
$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->setAdGroupId('56660457264');
$adGroupCriterion->setCriterion($criterionUserList);
$operation = new AdGroupCriterionOperation();
$operation->setOperand($adGroupCriterion);
$operation->setOperator(Operator::ADD);
$operations[] = $operation;
$adgroup_cri = $adGroupCriterionService->mutate($operations);
Thanks,
Priya K
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c7646c67-f878-4344-8702-31800bf57046%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.