NumberRuleItem Data Object - Campaign Management

Defines a rule expression that depends on the operand, operator, and value.

<xs:complexType name="NumberRuleItem" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:RuleItem">
      <xs:sequence>
        <xs:element minOccurs="0" name="Operand" nillable="true" type="xs:string" />
        <xs:element minOccurs="0" name="Operator" type="tns:NumberOperator" />
        <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

Elements

The NumberRuleItem object has the following elements: Operand, Operator, Value.

Element Description Data Type
Operand The rule operand or key on the left hand side of the operator.

Supported values are Url and ReferrerUrl.

For example to define a rule where the page Url must contain page.html, set the Operand to Url, Operator to Contains, and Value to page.html.

Add: Required
Update: Required
string
Operator The rule item operator.

Add: Required
Update: Required
NumberOperator
Value The rule value on the right hand side of the operator.

Add: Required
Update: Required
string

The NumberRuleItem object has Inherited Elements.

Inherited Elements

Inherited Elements from RuleItem

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

Element Description Data Type
Type The type of rule item. For more information, see RuleItem Data Object Remarks. string

Requirements

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