Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Ad
Bid
Expand Minimize

AdExtension Data Object

Defines the base object of an ad extension.

<xs:complexType name="AdExtension">
  <xs:sequence>
    <xs:element minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q1:ArrayOfKeyValuePairOfstringstring" xmlns:q1="http://schemas.datacontract.org/2004/07/System.Collections.Generic" />
    <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

ForwardCompatibilityMap

The list of key and value strings for forward compatibility. This element can be used to avoid otherwise breaking changes when new elements are added in future releases.

System_CLiX_noteNote

Forward compatibility changes will be noted here in future releases. There are currently no forward compatibility changes for the AdExtension object.

KeyValuePairOfstringstring array

Read-only

Read-only

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.


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

Requirements

CampaignManagementService.svc v9

Namespace: https://bingads.microsoft.com/CampaignManagement/v9

Community Additions

ADD
Show:
© 2015 Microsoft