Hi
Platform criteria is not update with campaign, below is my code and it is 
not return any error instead provide success response only

$adWordsServices = new AdWordsServices();
$campaignCriterionService = $adWordsServices->get($session, 
CampaignCriterionService::class);
$campaignCriteria = [];
$operations = [];

$mobile = new Platform();
$mobile->setId(30001);
$campaignCriteria[] = new CampaignCriterion($campaignId, null, $mobile);
    
foreach ($campaignCriteria as $campaignCriterion) {
    $operation = new CampaignCriterionOperation();
    $operation->setOperator(Operator::SET);
    $operation->setOperand($campaignCriterion);
    $operations[] = $operation;
}
// Setup platform target on the server     
$result = $campaignCriterionService->mutate($operations);
But the setting is not reflected in server, however i cannot find the 
setting while get campaign details using selector too. Please correct if am 
did any mistakes.

On Monday, July 27, 2020 at 10:10:44 PM UTC+5:30, adsapiforumadvisor wrote:
>
> Hi Denma,
>
> Glad to help you,  If you have any additional questions or require further 
> clarification, do not hesitate.
>
> Thanks,
> Nirmita Patel Google Ads Team
>
>  
>
> ref:_00D1U1174p._5004Q22YBAh:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/3014b5ee-8399-4a42-afd5-a1bf1f9ab536o%40googlegroups.com.

Reply via email to