Stay organized with collectionsSave and categorize content based on your preferences.
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::V21::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::V21::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::V21::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::V21::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::V21::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-09-03 UTC."],[[["\u003cp\u003eHotel Ads campaigns use bidding strategies assigned at the campaign level, with bid amounts set at the ad group level for CPC% and Manual CPC.\u003c/p\u003e\n"],["\u003cp\u003eYou can assign Commission, Percent CPC, and Manual CPC bidding strategies to Hotel Ads campaigns.\u003c/p\u003e\n"],["\u003cp\u003eWhen creating a new Hotel Ads campaign, it's recommended to set its status to PAUSED initially and enable it after adding targeting and ads.\u003c/p\u003e\n"],["\u003cp\u003eTo update a campaign's bidding strategy, modify the Campaign object within a CampaignOperation.update request.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003ebidding_strategy_type\u003c/code\u003e field is read-only and should not be set when assigning a bidding strategy.\u003c/p\u003e\n"]]],[],null,[]]