Hotel API

Note

This beta release of Hotel Price Ads is available to select participants only. For information about participating in the beta release program, please contact your account manager or enroll here.

The API and documentation are subject to change.

The Hotel API lets you manage your hotel ad campaigns and bidding.

The basics...

When you get access to Hotel Price Ads, the service sets up a default subaccount and hotel group that contains the hotels from your hotel feed. The subaccount provides the top-level logical organization of your hotel price ads. You can think of it as a lodging campaign (formerly hotel campaigns). You may have multiple subaccounts.

A subaccount specifies the campaign's daily budget, maximum bid allowed, and default bid and bid multipliers for ads that don't specify bids or multipliers.

Hotel groups provide another level for you to logically group hotel price ads. A hotel group belongs to a single subaccount. The default hotel group that the service creates for you is named, Ungrouped. It contains all hotels from the initial hotel feed and all new hotels going forward.

A hotel group specifies the default bid and bid multipliers for ads that don't specify bids or multipliers. If you don't specify bids and multipliers, the group inherits them from the subaccount.

After you have your subaccount and hotel group set up, you can begin importing your hotel feed data. For information, see Do you have your hotel feed set up?

Hotels belong to a single hotel group. Hotels specify the bid and bid multipliers to use for the hotel ad. If you don't specify bids and multipliers, the hotel inherits them from the hotel group or subaccount, in that order.

For information about moving the hotel to a different hotel group, see Associating hotels with hotel groups.

What needs to be in place before I start?

You'll need credentials and your hotel feeds set up. For information, see Getting Started.

Your account manager also needs to enable your account to use Hotel Price Ads in both the production and sandbox environments.

How do I manage my resources?

The following sections show how to manage your subaccounts, hotel groups, and hotels. For information about the endpoints, header, query parameters, and resources, see Hotel API Reference.

Topic Description
Working with subaccounts Provides information about listing your subaccounts, getting a single subaccount, and updating a subaccount.
Working with hotel groups Provides information about listing a subaccount's hotel groups, getting a single hotel group, adding a hotel group, and updating a hotel group.
Working with hotels Provides information about listing all hotels in the subaccount, listing hotels in a hotel group, getting a single hotel from a hotel group, and updating a hotel.
Associating a hotel with a hotel group Provides information about how to associate a hotel with a hotel group.

For code examples, see Examples.