Export (0) Print
Expand All

AdExtension2 Data Object

Defines the base object of an ad extension.

<xs:complexType name="AdExtension2">
  <xs:sequence>
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="Status" nillable="true" type="tns:AdExtensionStatus" />
    <xs:element name="Type" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Version" nillable="true" type="xs:int" />
  </xs:sequence>
</xs:complexType>

Elements

Element

Description

Data Type

Add

Update

Id

The system-generated identifier of the ad extension.

long

Read-only

Read-only

Status

The status of the ad extension.

AdExtensionStatus

Read-only

Read-only

Type

The type of ad extension. For more information, see Remarks.

string

Read-only

Read-only

Version

The number of times the contents of the ad extension has been updated. The version is set to 1 when you add the extension and is incremented each time it’s revised.

int

Read-only

Read-only

Do not instantiate this object. Instead, instantiate the following objects that derive from it.

If you generate the SOAP manually, use the type attribute of the <AdExtension> node as shown in the following example to specify the type of ad extension.


    <AdExtension2 i:type="SiteLinksAdExtension" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
      <Id i:nil="true" />
      <Status i:nil=”true” />
      . . .
    </AdExtension2>

Requirements

CampaignManagementService.svc v8

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

Community Additions

Show:
© 2014 Microsoft