--- v17/resources/conversion_value_rule.proto 2024-10-15 17:13:58.000000000 +0000 +++ v18/resources/conversion_value_rule.proto 2024-10-15 17:14:04.000000000 +0000 @@ -94,6 +94,62 @@ }]; } + // Condition on Itinerary dimension. + message ValueRuleItineraryCondition { + // Range for the number of days between the date of the booking and the + // start of the itinerary. + ValueRuleItineraryAdvanceBookingWindow advance_booking_window = 1; + + // Range for the itinerary length in number of nights. + ValueRuleItineraryTravelLength travel_length = 2; + + // The days of the week on which this itinerary's travel can start. + ValueRuleItineraryTravelStartDay travel_start_day = 3; + } + + // Range for the number of days between the date of the booking and the + // start of the itinerary. + message ValueRuleItineraryAdvanceBookingWindow { + // Minimum number of days between the date of the booking the start date. + int32 min_days = 1; + + // Maximum number of days between the date of the booking the start date. + int32 max_days = 2; + } + + // Range for the itinerary length in number of nights. + message ValueRuleItineraryTravelLength { + // Minimum number of nights between the start date and the end date. + int32 min_nights = 1; + + // Maximum number of days between the start date and the end date. + int32 max_nights = 2; + } + + // The days of the week on which an itinerary's travel can start. + message ValueRuleItineraryTravelStartDay { + // The travel can start on Monday. + bool monday = 1; + + // The travel can start on Tuesday. + bool tuesday = 2; + + // The travel can start on Wednesday. + bool wednesday = 3; + + // The travel can start on Thursday. + bool thursday = 4; + + // The travel can start on Friday. + bool friday = 5; + + // The travel can start on Saturday. + bool saturday = 6; + + // The travel can start on Sunday. + bool sunday = 7; + } + // Immutable. The resource name of the conversion value rule. // Conversion value rule resource names have the form: // @@ -122,6 +178,9 @@ // Condition for audience that must be satisfied for the value rule to apply. ValueRuleAudienceCondition audience_condition = 6; + // Condition for itinerary that must be satisfied for the value rule to apply. + ValueRuleItineraryCondition itinerary_condition = 9; + // Output only. The resource name of the conversion value rule's owner // customer. When the value rule is inherited from a manager customer, // owner_customer will be the resource name of the manager whereas the
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2024-10-18 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2024-10-18 (حسب التوقيت العالمي المتفَّق عليه)"],[[["This update introduces a new `ValueRuleItineraryCondition` to allow for value adjustments based on itinerary details."],["The `ValueRuleItineraryCondition` includes criteria such as advance booking window, travel length, and travel start day."],["New message types like `ValueRuleItineraryAdvanceBookingWindow`, `ValueRuleItineraryTravelLength`, and `ValueRuleItineraryTravelStartDay` are introduced to define specific parameters within the itinerary condition."],["The existing `ConversionValueRule` message is extended to include the `itinerary_condition` field for incorporating this new functionality."]]],[]]