共用方式為


SharedListItem 資料物件 - 行銷活動管理

定義共用清單專案的基類。

請勿嘗試具現化 SharedListItem。 您可以建立一或多個衍生自它的下列物件。

語法

<xs:complexType name="SharedListItem" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element xmlns:q89="http://schemas.datacontract.org/2004/07/System.Collections.Generic" minOccurs="0" name="ForwardCompatibilityMap" nillable="true" type="q89: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屬性,如下列範例所示,指定共用清單專案是負關鍵字還是負網站。

<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