How can I use google ads api 2.0 set Maximum CPC bid limit ?

26 views
Skip to first unread message

mack

unread,
May 11, 2020, 5:42:04 AM5/11/20
to AdWords API and Google Ads API Forum
hi,
how can i use google ads api 2.0 set Maximum CPC bid limit ?
CampaignBudget budget = CampaignBudget.newBuilder()
.setName(StringValue.of("example")) // The length of this string must be between 1 and 255, inclusive, in UTF-8 bytes, (trimmed).
.setDeliveryMethod(BudgetDeliveryMethodEnum.BudgetDeliveryMethod.STANDARD) // 预算投放方式
.setAmountMicros(Int64Value.of(500_000)) // 预算金额
.build();
 I couldn't find a way in the budget to set the bid ceiling for each click .

Google Ads API Forum Advisor Prod

unread,
May 11, 2020, 1:23:27 PM5/11/20
to cm199...@gmail.com, adwor...@googlegroups.com

Hi Mack,

Thank you for reaching out. You could not set the bid ceiling for each click in the CampaignBudget. The only way you could do that is to create a BiddingStrategy and apply it to the campaign. In the BiddingStrategy, you could choose the bid strategy type and then set the cpc_bid_ceiling_micros. Please refer to this code example on how to implement it. Let me know if you have any further questions.

Thanks and regards,
Xiaoming, Google Ads API Team



 

ref:_00D1U1174p._5004Q1zLDmq:ref

mack

unread,
May 12, 2020, 4:17:21 AM5/12/20
to AdWords API and Google Ads API Forum
Very useful!
Thanks a million.
Reply all
Reply to author
Forward
0 new messages