How to bid adjust in Platforms?

6 views
Skip to first unread message

Ken Dan Tinio

unread,
Apr 27, 2018, 4:48:51 AM4/27/18
to AdWords API and Google Ads API Forum
So far I have this but doesn't seem to work


    $devices = new Platform();
    // $devices->setPlatformName('Desktop');
    $devices->setId(30000);

    $biddableAdGroupCriterion = new BiddableAdGroupCriterion();
    $biddableAdGroupCriterion->setAdGroupId(52012184360);
    $biddableAdGroupCriterion->setCriterion($devices);
    $biddableAdGroupCriterion->setBidModifier(1.5);

    $adGroupCriterionOperation = new AdGroupCriterionOperation();
    $adGroupCriterionOperation->setOperand($biddableAdGroupCriterion);
    $adGroupCriterionOperation->setOperator(Operator::SET);
    $operations[] = $adGroupCriterionOperation;   

    $result = $adGroupCriterionService->mutate($operations);
Reply all
Reply to author
Forward
0 new messages