StringRuleItem Data Object - Campaign Management
Defines a rule expression that depends on the string values of the Url or Referrer Url.
Syntax
<xs:complexType name="StringRuleItem" 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:StringOperator" />
<xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Elements
The StringRuleItem 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 |
StringOperator |
Value | The rule value on the right hand side of the operator. Add: Required Update: Required |
string |
The StringRuleItem object has Inherited Elements.
Inherited Elements
Inherited Elements from RuleItem
The StringRuleItem object derives from the RuleItem object, and inherits the following elements: Type. The descriptions below are specific to StringRuleItem, 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