SharedListItem 数据对象 - 市场活动管理

定义共享列表项的基类。

不要尝试实例化 SharedListItem。 可以创建派生自它的一个或多个以下对象。

语法

<xs:complexType name="SharedListItem" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element xmlns:q90="http://schemas.datacontract.org/2004/07/System.Collections.Generic" minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q90:ArrayOfKeyValuePairOfstringstring" />
    <xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

元素

SharedListItem 对象具有以下元素:ForwardCompatibilityMapType

元素 说明 数据类型
ForwardCompatibilityMap 用于向前兼容性的键和值字符串列表,以避免在当前 API 版本中添加新元素时发生重大更改。

将来的版本中将在此处记录向前兼容性更改。 此对象当前没有向前兼容性更改。
KeyValuePairOfstringstring 数组
类型 共享列表项的类型。

有关共享列表项类型的详细信息,请参阅 备注
string

备注

对于 Java 和 .NET 语言,请勿设置 Type 元素,因为值由对象实例确定。

如果手动生成 SOAP,请使用节点的 <SharedListItem>Type 属性,如以下示例所示,指定共享列表项是负关键字 (keyword) 还是负站点。

<SharedListItem i:type="-- specify derived type here with the appropriate prefix --">
  <ForwardCompatibilityMap xmlns:e6="http://schemas.datacontract.org/2004/07/System.Collections.Generic" i:nil="false">
    <e6:KeyValuePairOfstringstring>
      <e6:key i:nil="false"></e6:key>
      <e6:value i:nil="false"></e6:value>
    </e6:KeyValuePairOfstringstring>
  </ForwardCompatibilityMap>
  <Type i:nil="false"></Type>
  <!--Keep these fields if you set the i:type attribute to NegativeKeyword-->
  <Id i:nil="false"></Id>
  <MatchType></MatchType>
  <Text i:nil="false"></Text>
</SharedListItem>

要求

服务: CampaignManagementService.svc v13
命名 空间: https://bingads.microsoft.com/CampaignManagement/v13

使用者

AddListItemsToSharedList
AddSharedEntity
GetListItemsBySharedList