Criterion Data Object - Campaign Management

Defines the base object of a criterion.

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

For a list of criterion types that you can use with CampaignCriterion, see the CampaignCriterionType value set.

For a list of criterion types that you can use with AdGroupCriterion, see the AdGroupCriterionType value set.


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


The Criterion object has the following elements: Type.

Element Description Data Type
Type The 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 location or other criterion type.

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="LocationCriterion" xmlns:i="">
   . . .


Service: CampaignManagementService.svc v13

Used By