Export (0) Print
Expand All

Exclusion Data Object

Defines the base object from which all exclusions derive.

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

Elements

Element

Description

Data Type

Id

The exclusion’s ID.

long

Type

The exclusion’s type. The following are the possible values.

  • LocationExclusion

string

Do not instantiate this object. Instead, you instantiate the objects that derive from it such as the LocationExclusion object.

For Java and the .NET languages, do not set the Type element because the value is determined by the type of exclusion that you instantiate.

If you generate the SOAP manually, use the type attribute of the <Exclusion> node (as shown in the following example) to specify the type of exclusion.

<Exclusion i:type="LocationExclusion">
  <Id i:nil="true"/>
  <Type i:nil="true"/>
  . . .
</Exclusion>

Requirements

CampaignManagementService.svc v8

Namespace: https://adcenter.microsoft.com/v8

Community Additions

Show:
© 2014 Microsoft