Hello Ken, It is possible to unset the bid modifier by using the AdGroupCriterionService <https://developers.google.com/adwords/api/docs/reference/v201802/AdGroupCriterionService> and set it to -1.0. If you're looking to set the bid modifier value to nothing in the UI, you will have to leave that field blank.
Let me know if you have any further questions. Regards, Bharani, AdWords API Team On Friday, May 4, 2018 at 6:23:58 AM UTC-4, Ken Dan Tinio wrote: > > I wanted to set modifier to nothing. But I end up removing the criteria. > > This is my code. It removes the criteria. I wanted to make it back to > nothing (not 0% but just no number) > > $biddableAdGroupCriterion = new BiddableAdGroupCriterion(); > $biddableAdGroupCriterion->setAdGroupId($adGroupId); > $biddableAdGroupCriterion->setCriterion($target); > > $biddableAdGroupCriterionOperation = new AdGroupCriterionOperation(); > > $biddableAdGroupCriterionOperation->setOperand($biddableAdGroupCriterion); > $biddableAdGroupCriterionOperation->setOperator(Operator::REMOVE); > > $operations[] = $biddableAdGroupCriterionOperation; > > $result = $adGroupCriterionService->mutate($operations); > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. 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/c1845f6d-438b-4047-a15c-0009b41782a9%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.