EntityNegativeKeyword Data Object - Campaign Management

Defines an object that contains a set of negative keywords that are only associated with the corresponding entity such as a campaign or ad group.

Syntax

<xs:complexType name="EntityNegativeKeyword" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="EntityId" type="xs:long" />
    <xs:element minOccurs="0" name="EntityType" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="NegativeKeywords" nillable="true" type="tns:ArrayOfNegativeKeyword" />
  </xs:sequence>
</xs:complexType>

Elements

The EntityNegativeKeyword object has the following elements: EntityId, EntityType, NegativeKeywords.

Element Description Data Type
EntityId The system-generated identifier of a campaign or ad group that is associated with the negative keywords. long
EntityType The type of entity such as a campaign that is associated with the negative keywords.

The possible values are AdGroup and Campaign.
string
NegativeKeywords An array of negative keywords that are associated with the corresponding campaign or ad group. NegativeKeyword array

Requirements

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

Used By

AddNegativeKeywordsToEntities
DeleteNegativeKeywordsFromEntities
GetNegativeKeywordsByEntityIds