Hi,

I have similar question, I need to clear an existing bid modifier.

When we clear an existing bid modifier through UI, I received this in 
change history, but not possible through Google Ads API, like it is in 
Adwords API.
*Mobile Highend: Platform bid adjustment of +50% removed*


I am doing UpdateMask to set the value

           $CampaignCriterionOperation = new CampaignCriterionOperation();
            $CampaignCriterionOperation->setUpdate($campaign);
            
$CampaignCriterionOperation->setUpdateMask(FieldMasks::allSetFieldsOf($campaign));

How to clear an existing bid modifier?

Thanks,


On Monday, 4 April 2022 at 19:38:23 UTC+5:30 adsapi wrote:

> Hi Anil,
>
> Thanks for reaching out to the Google Ads API Forum.
>
> As per this *guide* 
> <https://developers.google.com/google-ads/api/reference/rpc/v10/CampaignCriterion#bid_modifier>
>  
> in setting bid_modifier value, it mentions that the modifier must be in the 
> range: 0.1 - 10.0. Also, Google Ads API is not specified to set bidModifier 
> value to -1 in order to clear an existing bid modifier, and this is the 
> reason your Google Ads API request fails. However, have you tried to add 
> bid_modifier to the UpdateMask and not set a value in update?
>
> Regards,
> [image: Google Logo] 
> Yasar 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2ZJ9BH: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 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/e6188416-cfef-483c-92d1-bf73a61be5ecn%40googlegroups.com.

Reply via email to