Mit Sammlungen den Überblick behalten
Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.
Tarife für bestimmte Zielgruppen sind eine Preisregel, mit der Sie Mitgliedern einer Zielgruppenliste oder eines Treuepunkteprogramms reduzierte Preise anbieten können. Sie haben z. B. einen Standardpreis von 150 $und der Tarif für bestimmte Zielgruppen ist 135 $für Mitglieder eines Treuepunkteprogramms.
Bei Tarifen für bestimmte Zielgruppen gibt es verschiedene Darstellungsarten, mit denen Sie berechtigten Nutzern exklusive Rabatte anzeigen können. Weitere Informationen zu diesen Optionen finden Sie unter Tarife für bestimmte Zielgruppen – Details und Beispiele.
Tarife für bestimmte Zielgruppen erstellen
So verwenden Sie Tarife für bestimmte Zielgruppen:
Fügen Sie für jeden Tarif für bestimmte Zielgruppen eine neue Preisregel hinzu, die die Preiskriterien in der XML-Datei für Preisregeln definiert. Weitere Informationen finden Sie in der XML-Referenz für Preisregeln.
Fügen Sie die Tarife für bestimmte Zielgruppen den entsprechenden Reiseplänen in Ihrem Preisfeed hinzu. Verwenden Sie dazu dieselbe Syntax wie bei Nutzerabhängige Preise.
Legen Sie das Attribut rate_rule_id auf die ID im Element <Rate> fest.
Aktualisieren Sie Ihre Landingpage-Datei (falls erforderlich), damit berechtigte Nutzer den rabattierten Preis über einen Deeplink zu Ihrer Website buchen können. Die Landingpage-URL wird anhand des Normalpreises generiert. Die Preisregeln für Tarife für bestimmte Zielgruppen werden in CLOSE-RATE-RULE-IDS angegeben und IF-CLOSE-RATE-RULE-IDS wird in true aufgelöst.
Beispiel
Standardtarif für bestimmte Zielgruppe(n)
Hier ein einfaches Beispiel für Tarife für bestimmte Zielgruppen:
Alle Rechte vorbehalten. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2025-07-30 (UTC).
[null,null,["Zuletzt aktualisiert: 2025-07-30 (UTC)."],[[["\u003cp\u003ePrivate rates allow you to offer discounted pricing to specific groups like loyalty program members.\u003c/p\u003e\n"],["\u003cp\u003eYou can create private rates by defining rate criteria in the rate rules XML file and adding them to your price feed.\u003c/p\u003e\n"],["\u003cp\u003ePrivate rates leverage the same syntax as conditional rates, requiring a \u003ccode\u003erate_rule_id\u003c/code\u003e attribute for identification.\u003c/p\u003e\n"],["\u003cp\u003eEligible users can access the discounted rates through deep links, facilitated by updates to your landing page file.\u003c/p\u003e\n"],["\u003cp\u003eA non-hidden rate, such as a public or conditional rate, is necessary for displaying the UI treatment and calculating discounts.\u003c/p\u003e\n"]]],[],null,["# Private rates are a type of rate rule that lets you offer reduced rates for\nmembers of an audience list or loyalty program. For example, you might have a\nstandard rate of $150, but a private rate of $135 for members of a loyalty\nprogram.\n\nPrivate rates have various UI treatments that allow you to display exclusive\ndiscount pricing to eligible users. For more information about these options,\nrefer to [Private rates details and examples](//support.google.com/hotelprices/answer/9984299).\n\nCreate private rates\n--------------------\n\nTo use private rates:\n\n1. For each private rate, add a new rate rule that defines the rate criteria in\n the rate rules XML file. For details, refer to\n [Rate Rules XML Reference](/hotels/hotel-prices/xml-reference/rate-rules).\n\n | **Key Point:** It is recommended that you send single member rate price for the cheapest room bundle first, followed by the remaining room bundle pricing. Multiple member rate pricing is not allowed.\n2. Add the private rates to the appropriate itineraries in your price feed. To\n do this, use the same syntax as [Conditional Rates](/hotels/hotel-prices/dev-guide/fenced-rates).\n Set the `rate_rule_id` attribute to the ID in the `\u003cRate\u003e` element.\n\n3. [Update your landing page file](/hotels/hotel-prices/dev-guide/fenced-rates#pos)\n (if necessary) to verify eligible users can book the discount rate through a\n deep link to your website. The landing page URL is generated by the public\n rate. The rate rules for private rates populates in the `CLOSE-RATE-RULE-IDS`\n and the `IF-CLOSE-RATE-RULE-IDS` resolves to `true`.\n\n### Example\n\n### Basic Private rate\n\nThe following is a basic private rates example: \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction\u003e\n \u003cResult\u003e\n \u003cProperty\u003e1234\u003c/Property\u003e\n \u003cCheckin\u003e2023-05-23\u003c/Checkin\u003e\n \u003cNights\u003e1\u003c/Nights\u003e\n\n \u003c!-- An eligible non-hidden rate is required in order to display the UI treatment. --\u003e\n \u003c!-- This example uses a public rate, but a conditional rate where the\n user meets all conditions could also be used. --\u003e\n \u003c!-- This would be the strikethrough price. --\u003e\n \u003cBaserate currency=\"USD\"\u003e200.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e20.00\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e1.00\u003c/OtherFees\u003e\n\n \u003cRates\u003e\n \u003cRate rate_rule_id=\"sample_qr\"\u003e\n \u003c!-- Price will not be displayed, but is required for calculating discounts. --\u003e\n \u003cBaserate currency=\"USD\"\u003e180.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e18.00\u003c/Tax\u003e\n \u003cCustom1\u003eratecode123\u003c/Custom1\u003e\n \u003c/Rate\u003e\n \u003c/Rates\u003e\n\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\n### Conditional private rates\n\nThe following example shows conditional rates for US users only. \n\n \u003c?xml version=\"1.0\" encoding=\"UTF-8\"?\u003e\n \u003cTransaction\u003e\n \u003cResult\u003e\n \u003cProperty\u003e1234\u003c/Property\u003e\n \u003cCheckin\u003e2025-08-23\u003c/Checkin\u003e\n \u003cNights\u003e1\u003c/Nights\u003e\n \u003cBaserate currency=\"USD\"\u003e200.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e20.00\u003c/Tax\u003e\n \u003cOtherFees currency=\"USD\"\u003e1.00\u003c/OtherFees\u003e\n \u003cRates\u003e\n \u003cRate rate_rule_id=\"sample_qr\"\u003e\n \u003cBaserate currency=\"USD\"\u003e180.00\u003c/Baserate\u003e\n \u003cTax currency=\"USD\"\u003e18.00\u003c/Tax\u003e\n \u003cCustom1\u003eratecode123\u003c/Custom1\u003e\n \u003cRateRuleSettings\u003e\n \u003cRateRule id=\"US_users\"\u003e\n \u003cUserRateCondition\u003e\n \u003cUserCountry\u003eUS\u003c/UserCountry\u003e\n \u003c/UserRateCondition\u003e\n \u003c/RateRule\u003e\n \u003c/RateRuleSettings\u003e\n \u003c/Rate\u003e\n \u003c/Rates\u003e\n \u003c/Result\u003e\n \u003c/Transaction\u003e\n\nRefer to [Rate Rules XML reference](/hotels/hotel-prices/xml-reference/rate-rules)\nfor more examples."]]