Muokkaa

Jaa


Asset Data Object - Campaign Management

Defines the base object of an asset with a unique Microsoft Advertising identifier that can be reused across multiple ads.

Do not try to instantiate an Asset. You can create one or more of the following objects that derive from it.

Syntax

<xs:complexType name="Asset" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Id" nillable="true" type="xs:long" />
    <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

Elements

The Asset object has the following elements: Id, Name, Type.

Element Description Data Type
Id The unique Microsoft Advertising identifier for the asset in a Microsoft Advertising account.

The same asset can be used by multiple ads. For example if Seemless Integration is a text asset, it will have the same asset identifier across all ads in the same Microsoft Advertising account.
long
Name Reserved for future use. string
Type The type of the asset.

For more information about asset types, see the Remarks.
string

Remarks

For Java and the .NET languages, do not set the Type element because the value is determined by whether you instantiate a text asset or another asset type.

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

<Asset i:type="TextAsset" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
     . . .
</Asset>

Requirements

Service: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13

Used By

AssetLink