Assign or Update a Bidding StrategyStay organized with collectionsSave and categorize content based on your preferences.
AI-generated Key Takeaways
A bidding strategy for Hotel ads is assigned at the individual campaign level using thecampaign_bidding_strategyfield in the Google Ads API.
For CPC% and Manual CPC strategies, while assigned at the campaign level, bid amounts are set at the ad group level.
Available bidding strategies for Hotel ads include commission (per conversion or per stay), percent CPC, and manual CPC.
When assigning a bidding strategy as part of creating a new Hotel campaign, do not set thebidding_strategyorbidding_strategy_typefields.
To update a campaign's bidding strategy, you use aCampaignOperation.updateand set the fields of theCampaignaccordingly.
For Hotel ads, a bidding strategy can be assigned for an individual campaign.
Details about choosing bidding strategies for Hotel ads can be found inBidding overview for Hotel ads.
After becoming familiar with bidding strategies, you can use the Google Ads API to
assign and update Hotel campaign bidding strategies.
Assign a bidding strategy
To assign a strategy as part of creating a new Hotel campaign, follow these
steps:
Determine the field name-value pair that you want to use for the chosen
strategy.
Set the strategy when creating the new campaign. For example, in Java, call
the setter method for thecampaign_bidding_strategyfield (the method name
convention issetcampaign_bidding_strategy) from
within a builder of aCampaigninstance.
For acommissionstrategy, when creating the new campaign remember to add
an additional statement that sets thePaymentMode.
This example demonstrates how to set apercent_cpcbidding strategy when
creating a new campaign:
# Create campaign.campaign_operation:CampaignOperation=client.get_type("CampaignOperation")campaign:Campaign=campaign_operation.createcampaign.name=f"Interplanetary Cruise Campaign{uuid.uuid4()}"# Configures settings related to hotel campaigns including advertising# channel type and hotel setting info.campaign.advertising_channel_type=(client.enums.AdvertisingChannelTypeEnum.HOTEL)campaign.hotel_setting.hotel_center_id=hotel_center_account_id# Recommendation: Set the campaign to PAUSED when creating it to prevent the# ads from immediately serving. Set to ENABLED once you've added targeting# and the ads are ready to serve.campaign.status=client.enums.CampaignStatusEnum.PAUSED# Set the bidding strategy to PercentCpc. Only Manual CPC and Percent CPC# can be used for hotel campaigns.campaign.percent_cpc.cpc_bid_ceiling_micros=cpc_bid_ceiling_micro_amount# Sets the budget.campaign.campaign_budget=budget_resource_name# Set the campaign network options. Only Google Search is allowed for hotel# campaigns.campaign.network_settings.target_google_search=True# Declare whether or not this campaign serves political ads targeting the# EU. Valid values are:# CONTAINS_EU_POLITICAL_ADVERTISING# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISINGcampaign.contains_eu_political_advertising=(client.enums.EuPoliticalAdvertisingStatusEnum.DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING)
# Create a campaign.campaign_operation=client.operation.create_resource.campaigndo|c|c.name=generate_random_name_field("Interplanetary Cruise Campaign")# Configure settings related to hotel campaigns.c.advertising_channel_type=:HOTELc.hotel_setting=client.resource.hotel_setting_infodo|hsi|hsi.hotel_center_id=hotel_center_account_idend# Recommendation: Set the campaign to PAUSED when creating it to prevent the# ads from immediately serving. Set to ENABLED once you've added targeting and# the ads are ready to serve.c.status=:PAUSED# Set the bidding strategy to PercentCpc. Only Manual CPC and Percent CPC can# be used for hotel campaigns.c.percent_cpc=client.resource.percent_cpcdo|pcpc|pcpc.cpc_bid_ceiling_micros=cpc_bid_ceiling_micro_amountend# Set the budget.c.campaign_budget=budget_resource# Configures the campaign network options. Only Google Search is allowed for# hotel campaigns.c.network_settings=client.resource.network_settingsdo|ns|ns.target_google_search=trueend# Declare whether or not this campaign serves political ads targeting the EU.# Valid values are CONTAINS_EU_POLITICAL_ADVERTISING and# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING.c.contains_eu_political_advertising=:DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISINGend
# Create a hotel campaign.my$campaign=Google::Ads::GoogleAds::V22::Resources::Campaign->new({name=>"Interplanetary Cruise Campaign #".uniqid(),# Configure settings related to hotel campaigns including advertising# channel type and hotel setting info.advertisingChannelType=>HOTEL,hotelSetting=>Google::Ads::GoogleAds::V22::Resources::HotelSettingInfo->new({hotelCenterId=>$hotel_center_account_id}),# Recommendation: Set the campaign to PAUSED when creating it to prevent# the ads from immediately serving. Set to ENABLED once you've added# targeting and the ads are ready to serve.status=>Google::Ads::GoogleAds::V22::Enums::CampaignStatusEnum::PAUSED,# Set the bidding strategy to PercentCpc. Only Manual CPC and Percent CPC# can be used for hotel campaigns.percentCpc=>Google::Ads::GoogleAds::V22::Common::PercentCpc->new({cpcBidCeilingMicros=>$cpc_bid_ceiling_micro_amount}),# Declare whether or not this campaign serves political ads targeting the EU.# Valid values are CONTAINS_EU_POLITICAL_ADVERTISING and# DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING.containsEuPoliticalAdvertising=>DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING,# Set the budget.campaignBudget=>$budget_resource_name,# Configure the campaign network options. Only Google Search is allowed for# hotel campaigns.networkSettings=>Google::Ads::GoogleAds::V22::Resources::NetworkSettings->new({targetGoogleSearch=>"true"})});
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-05 UTC."],[],[]]