Criterion Data Object

 

Defines the base object of a criterion.

Do not try to instantiate a Criterion. You can create one or more following objects that derive from it.

<xs:complexType name="Criterion">
  <xs:sequence>
    <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

ElementDescriptionData Type
TypeThe type of criterion. For more information, see Remarks.string

For Java and the .NET languages, do not set the Type element because the value is determined by whether you instantiate a product partition, product scope, or webpage criterion.

If you generate the SOAP manually, use the type attribute of the <Criterion> node to specify the type of criterion, as shown in the following example.

<Criterion i:type="ProductPartition" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <Condition i:nil="true" />
  <ParentCriterionId i:nil=”true” />
   . . .
</Criterion>

CampaignManagementService.svc v10

Namespace: https://bingads.microsoft.com/CampaignManagement/v10

AdGroupCriterionCampaignCriterion

Community Additions

ADD
Show: