HotelLengthOfStayCriterion Data Object - Campaign Management

Criterion for length of hotel stay in nights.

Syntax

<xs:complexType name="HotelLengthOfStayCriterion" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:Criterion">
      <xs:sequence>
        <xs:element minOccurs="0" name="MaxNights" nillable="true" type="xs:int" />
        <xs:element minOccurs="0" name="MinNights" nillable="true" type="xs:int" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

Elements

The HotelLengthOfStayCriterion object has the following elements: MaxNights, MinNights.

Element Description Data Type
MaxNights Maxmimum of nights prior to the hotel stay. Note: This can't be more than 30. int
MinNights Minimum of days prior to the hotel stay. int

The HotelLengthOfStayCriterion object has Inherited Elements.

Inherited Elements

Inherited Elements from Criterion

The HotelLengthOfStayCriterion object derives from the Criterion object, and inherits the following elements: Type. The descriptions below are specific to HotelLengthOfStayCriterion, and might not apply to other objects that inherit the same elements from the Criterion object.

Element Description Data Type
Type The type of the criterion. This value is HotelLengthOfStay when you retrieve a hotel length of stay criterion. For more information about criterion types, see the Criterion Data Object Remarks.

Add: Read-only
Update: Read-only
string

Requirements

Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13