Hi,

To remove a bid from a BiddingStrategyConfiguration 
<https://developers.google.com/adwords/api/docs/reference/v201609/AdGroupCriterionService.BiddingStrategyConfiguration#bids>,
 
you need to update its bid field to a Money 
<https://developers.google.com/adwords/api/docs/reference/latest/CampaignService.Money>
 object 
with microAmount set to 0. When you use the example provided here 
<https://developers.google.com/adwords/api/docs/samples/java/basic-operations#update-a-keyword>
 to 
clear the bid this way, you'll encounter NullPointerException as the 
criterionCpcBid 
<https://github.com/googleads/googleads-java-lib/blob/master/examples/adwords_axis/src/main/java/adwords/axis/v201609/basicoperations/UpdateKeyword.java#L102>
 is 
assigned a value when the CpcBidSource is "CRITERION" and is otherwise 
null. When the operation to clear the bid is successful, the CpcBidSource 
is "ADGROUP" so criterionCpcBid will not be assigned a value. You need to 
modify the example to account for this when the response is processed. 

Let me know if this works. 

Regards,
Shwetha, AdWords API Team.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 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/baeb1ae8-d473-497a-9eae-d11d6eeaa1ae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to