Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Ad
Bid
Expand Minimize

AdGroupCriterion Data Object

Defines the base class of an ad group criterion.

<xs:complexType name="AdGroupCriterion">
  <xs:sequence>
    <xs:element minOccurs="0" name="AdGroupId" type="xs:long" />
    <xs:element minOccurs="0" name="Criterion" nillable="true" type="tns:Criterion" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="Status" type="tns:AdGroupCriterionStatus" />
    <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

Element

Description

Data Type

Add

Update

AdGroupId

The identifier of the ad group to apply the criterion to.

long

Required

Required

Criterion

The criterion to apply to the ad group. The criterion helps determine whether ads in the ad group are served.

Criterion

Optional

Optional

Id

The system-generated identifier that identifies this ad group criterion.

long

Read-only

Required

Status

A status value that determines whether to apply the criterion to the ad group.

AdGroupCriterionStatus

Optional

Optional

Type

The type of ad group criterion. For more information, see Remarks.

string

Read-only

Read-only

Do not instantiate this object. Instead, instantiate the following objects that derive from it.

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


    <AdGroupCriterion i:type="BiddableAdGroupCriterion" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Id i:nil="true" />
      <Status i:nil=”true” />
      . . .
    </AdGroupCriterion>

Requirements

CampaignManagementService.svc v9

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

Community Additions

ADD
Show:
© 2015 Microsoft