Hello! I am trying to remove device-level bid adjustments for certain 
campaigns in an account via a Python process running against the Ads API. 
That is, if I were to do what I want to do manually in the Google Ads web 
UI, I would click on "Devices" in the left-hand navigation bar while 
looking at "Campaigns", select the "edit" button next to the device's "Bid 
adj." column value, and change the field to be blank, so as to remove it 
per the instructions: "To remove a bid adjustment, leave this field blank."

I found that I am able to access the device-level bid adjustment via the 
CampaignCriterionService. I tried setting 
campaign_criterion.bid_modifier.value = 0.0 but instead of removing the 
criterion, changing the campaign_criterion.bid modifier.value to 0.0 sets 
the bid adjustment for that device to -100%. What is the correct way to go 
about removing this bid adjustment, as I would in the UI? Is this operation 
supported in the Ads API?

When I try to "remove" it via CampaignCriterionOperation, I get this error 
message: ""The criterion is not allowed to be removed. For example, we 
cannot remove any of the device criterion."

I should note that, when I try to see the attributes of this campaign bid 
modifier by running a search against the campaign_bid_modifier object in 
GoogleAdsService ("SELECT customer.id, campaign.id, 
campaign_bid_modifier.criterion_id FROM campaign_bid_modifier"), I can't 
find it. However, I am able to see it when I run a search against 
campaign_criterion ("SELECT customer.id, campaign.id, 
campaign_criterion.criterion_id FROM campaign_criterion") as well as when I 
run a search against ad_group_bid_modifier ("SELECT customer.id, 
campaign.id, ad_group_bid_modifier.criterion_id FROM ad_group_bid_modifier 
WHERE ad_group_bid_modifier.bid_modifier_source = 'CAMPAIGN'"). Thanks in 
advance for your help. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0f228bb4-5888-476e-bf66-aa20ffd2a03a%40googlegroups.com.

Reply via email to