Predicate Data Object - Customer Billing

Defines a predicate for the list of insertion orders returned using the SearchInsertionOrders operation.

Syntax

<xs:complexType name="Predicate" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Field" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Operator" type="tns:PredicateOperator" />
    <xs:element minOccurs="0" name="Value" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element Description Data Type
Field The name of the element for the object you are searching.

For possible values, see the SearchInsertionOrders operation.
string
Operator Defines the relationship between the field and the value. PredicateOperator
Value The string to search in the specified field.

The length of this string must be four or greater, unless the field is set to MarketCountry or MarketLanguage.
string

Remarks

The supported Field element and Operator elements of a Predicate object for each service operation are provided in detail below.

SearchInsertionOrders Predicates

For the SearchInsertionOrders service operation, the following are supported Field element and Operator elements of a Predicate object.

Field Operator Description
AccountId Equals Use this field to search by the insertion order's account identifier.

This predicate field is required.
EndDate GreaterThanEquals

LessThanEquals
Use this field to search by insertion order end date. The date is stored in Coordinated Universal Time (UTC). Only the month, day, and year of the specified string are used for search. If you specify the hour, minutes, and seconds of a date they will be ignored.

For information about the format of the date and time, see the dateTime entry in Primitive XML Data Types.
InsertionOrderIds Equals

In
Use this field to search the InsertionOrderId element of the InsertionOrder.
StartDate GreaterThanEquals

LessThanEquals
Use this field to search by insertion order start date.

The date is stored in Coordinated Universal Time (UTC). Only the month, day, and year of the specified string are used for search. If you specify the hour, minutes, and seconds of a date they will be ignored.

For information about the format of the date and time, see the dateTime entry in Primitive XML Data Types.

Requirements

Service: CustomerBillingService.svc v12
Namespace: https://bingads.microsoft.com/Customer/v12/Entities

Used By

SearchInsertionOrders