How to bid adjust in Devices?

77 views
Skip to first unread message

Ken Dan Tinio

unread,
Apr 27, 2018, 12:47:14 AM4/27/18
to AdWords API and Google Ads API Forum
How to increase bid adjust in Devices?

Ken Dan Tinio

unread,
Apr 27, 2018, 1:39:09 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);

Luis Xander Talag (AdWords API Team)

unread,
Apr 27, 2018, 5:00:53 AM4/27/18
to AdWords API and Google Ads API Forum
Hi Ken,

To add, set or remove your bid adjustment at the Platform criterion level, you should use the AdGroupBidModifierService.mutate() instead. You may refer to this guide and this sample code in PHP for your reference.

Let me know if you have further clarifications.

Thanks and regards,
Luis
AdWords API Team

Ken Dan Tinio

unread,
Apr 27, 2018, 5:11:54 AM4/27/18
to AdWords API and Google Ads API Forum
Thank you very much! you killed it! you rock!

Reply all
Reply to author
Forward
0 new messages