Hi Yudi, You should be able to use the TargetCpa as your bidding strategy at the campaign level. My apologies as we do not have an exact sample code to create the campaign with TargetCpa but you may refer to this sample code in Python on how to create a campaign with your preferred bidding strategy.
You may note, however, that you will need to create a TargetCpa object first then specify values for its target_cpa_micros, cpc_bid_ceiling_micros, and cpc_bid_floor_micros fields. Afterwards, you will need to set the said object into the target_cpa field of the campaign. Additionally, using the TargetCpa strategy will first require you to have conversion tracking enabled. If you wish to learn more about TargetCpa, you may refer to this guide. I hope this helps. Thanks and regards, Peter Google Ads API Team ref:_00D1U1174p._5001UAqSzH: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 "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/WYlbH000000000000000000000000000000000000000000000PS599L00kT5rbr3SSlKrGsOVquH5mw%40sfdc.net. For more options, visit https://groups.google.com/d/optout.