NegativeCampaignCriterion Data Object - Campaign Management

Defines a criterion that you want to exclude from the specified campaign.

Syntax

<xs:complexType name="NegativeCampaignCriterion" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:CampaignCriterion">
      <xs:sequence />
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

Elements

The NegativeCampaignCriterion object has Inherited Elements.

Inherited Elements

Inherited Elements from CampaignCriterion

The NegativeCampaignCriterion object derives from the CampaignCriterion object, and inherits the following elements: CampaignId, Criterion, ForwardCompatibilityMap, Id, Status, Type. The descriptions below are specific to NegativeCampaignCriterion, and might not apply to other objects that inherit the same elements from the CampaignCriterion object.

Element Description Data Type
CampaignId The identifier of the campaign to apply the criterion to.

Add: Required
Update: Required
long
Criterion The criterion to apply to the campaign. The criterion helps determine whether ads in the campaign are served.

For a list of available criterion types, see CampaignCriterionType.

Add: Optional
Update: Optional. If no value is set for the update, this setting is not changed.
Criterion
ForwardCompatibilityMap The list of key and value strings for forward compatibility to avoid otherwise breaking changes when new elements are added in the current API version. KeyValuePairOfstringstring array
Id The unique Microsoft Advertising identifier for the campaign criterion.

Add: Read-only
Update: Required
long
Status A status value that determines whether the criterion applies for the campaign.

Currently the only supported status for negative campaign criterions is Active.

Add: Read-only
Update: Read-only
CampaignCriterionStatus
Type The type of the campaign criterion. This value is NegativeCampaignCriterion when you retrieve a negative campaign criterion. For more information about campaign criterion types, see the CampaignCriterion Data Object Remarks.

Add: Read-only
Update: Read-only
string

Requirements

Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13