Click to Rate and Give Feedback

  Switch on low bandwidth view
Microsoft Advertising APIs
Ad Data Object

Represents a Microsoft adCenter ad.

Elements

Business Rules

Element Rules

<xs:complexType name="ArrayOfAd">
  <xs:sequence>
    <xs:element minOccurs="0" maxOccurs="unbounded" name="Ad" nillable="true" type="tns:Ad" />
  </xs:sequence>
</xs:complexType>
<xs:element name="ArrayOfAd" nillable="true" type="tns:ArrayOfAd" />

<xs:complexType name="Ad">
  <xs:sequence>
    <xs:element minOccurs="0" name="EditorialStatus" nillable="true" type="tns:AdEditorialStatus" />
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="Status" nillable="true" type="tns:AdStatus" />
    <xs:element minOccurs="0" name="Type" nillable="true" type="tns:AdType" />
  </xs:sequence>
</xs:complexType>
<xs:element name="Ad" nillable="true" type="tns:Ad" />

Element Description Data Type Add Update Rules

EditorialStatus

Specifies the approval status of the ad.

AdEditorialStatus

Not used

Not used

EditorialStatus Element

Id

Identifies the ad.

long

Read-only

Required

Specifies the ad to update.

None

Status

Specifies the status of the ad.

AdStatus

Not used

Not used

Status Element

Type

Specifies the type of the ad.

AdType

Read-only

Read-only

Type Element

This data object is abstract—it cannot be directly instantiated. Instead, you should instantiate one of its derived data objects: TextAd, ImageAd, or MobileAd.

General Business

There can be no more than 20 ads in an ad group.

Adding Ads

  • Ads can be added to an ad group that is in the draft, submitted, or paused state.
  • Ads cannot be added to an ad group that has been deleted.

Updating Ads

All ads—except deleted ads—can be updated.

Deleting Ads

  • Ads can be deleted from an ad group that is in the draft, submitted, or paused state.
  • Ads cannot be deleted from an ad group that has been deleted.
  • Deleting an ad does not remove or alter the entry in the ad table. Deleting an ad removes only the association with the ad group and any associations with keywords.

Retrieving Ads

EditorialStatus Element

The EditorialStatus element is read-only and cannot be changed by the user.

Status Element

The Status element can be changed only by using either the PauseAds or the ResumeAds service operation.

Type Element

The Type element is read-only; it is set at creation time and is based on the type of derived class used to create the object.

WSDL: CampaignManagementService.svc in version 6.

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