Issue with Setting Bidding Strategy for Smart Campaigns Using API

52 views
Skip to first unread message

Haitian Li

unread,
Aug 5, 2024, 4:52:31 AM8/5/24
to Google Ads API and AdWords API Forum

Hello Google Ads Support Team,

I am currently working with the Google Ads API and trying to create a Smart Campaign using the example provided in examples/advanced_operations/add_smart_campaign.py. However, I have encountered some issues regarding the bidding strategy settings.

When using the provided example to create a Smart Campaign, I noticed that the bidding strategy is not set, which prevents the campaign from running. To address this, I attempted to use campaign.manual_cpc.enhanced_cpc_enabled = True. While this allowed the campaign to be created, the bidding strategy was not as expected. The strategy set by the API differed from the one configured manually through the Google Ads website.

A standard Smart Campaign should aim to maximize clicks. However, the API sets the bidding strategy to Enhanced CPC, which focuses on the cost-per-click. This discrepancy is affecting the campaign's performance and objectives.

Could you please provide guidance on how to correctly set the bidding strategy to maximize clicks when creating a Smart Campaign via the Google Ads API? Any detailed instructions or corrections to the example script would be greatly appreciated.

Thank you for your assistance.

Google Ads API Forum Advisor

unread,
Aug 5, 2024, 7:51:32 AM8/5/24
to lihait...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

I would recommend you refer to this guide on "Bidding strategy types", which describes everything you need to know to work with bidding strategies in the Google Ads API. Also, this guide on "Portfolio and Standard Bidding Strategies" has examples on how to use the bidding strategies with your campaign. This also has a code example on how to create a new portfolio TARGET_SPEND bidding strategy for a new campaign. Additionally, you may refer to this Help Center article on "Determine a bid strategy based on your goals" that describes how to use your advertising goals to choose your bid strategy.

I hope this helps.

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02vEYVV:ref" (ADR-00260910)

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages