Click to Rate and Give Feedback

  Switch on low bandwidth view
Microsoft Advertising APIs
Target Data Object

Specifies incremental bid information when targeting an ad group toward demographic categories.

Elements

Business Rules

Element Rules

<xs:complexType name="Target">
  <xs:sequence>
    <xs:element minOccurs="0" name="Age" nillable="true" type="tns:AgeTarget" />
    <xs:element minOccurs="0" name="Behavior" nillable="true" type="tns:BehavioralTarget" />
    <xs:element minOccurs="0" name="Day" nillable="true" type="tns:DayTarget" />
    <xs:element minOccurs="0" name="Gender" nillable="true" type="tns:GenderTarget" />
    <xs:element minOccurs="0" name="Hour" nillable="true" type="tns:HourTarget" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="IsLibraryTarget" nillable="true" type="xs:boolean" />
    <xs:element minOccurs="0" name="Location" nillable="true" type="tns:LocationTarget" />
    <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Segment" nillable="true" type="tns:SegmentTarget" />
  </xs:sequence>
</xs:complexType>
<xs:element name="Target" nillable="true" type="tns:Target" />

Element Description Data Type Add Update Business Rules

Age

Specifies the age ranges and their incremental bid information when targeting an ad group toward age ranges.

AgeTarget

Optional

Optional

Adding Targets

Behavior

Specifies the behavioral targets and their incremental bid information.

BehavioralTarget

Optional

Optional

Adding Targets

Day

Specifies the days and their incremental bid information when targeting an ad group toward days of the week.

DayTarget

Optional

Optional

Adding Targets

Gender

Specifies the genders and their incremental bid information when targeting an ad group toward genders.

GenderTarget

Optional

Optional

Adding Targets

Hour

Specifies the hour ranges and their incremental bid information when targeting an ad group toward hour ranges.

HourTarget

Optional

Optional

Adding Targets

Id

Identifies the target.

long

Read-only

Required; Identifies the target to update.

None

IsLibraryTarget

Specifies if the target is contained in the target library.

boolean

Not used

Read-only

None

Location

Specifies the locations and their incremental bid information when targeting an ad group toward locations.

LocationTarget

Optional

Optional

Adding Targets

Name

Specifies the name of the target.

string

Required

Optional

Name Element

Segment

Specifies the user segment targets and their incremental bid information.

SegmentTarget

Optional

Optional

Adding Targets

Adding Targets

At least one of the Age, Behavior, Day, Gender, Hour, Location, or Segment elements must be set when adding a target.

If the SegmentTarget element is specified, all other target types must be null.

Name Element

The Name element is limited to 50 characters.

For more information about working with targets, see Targeting Campaigns and Ad Groups.

WSDL: CampaignManagementService.svc in version 6.

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker