共用方式為


SharedEntityAssociation 數據物件 - 營銷活動管理

定義將營銷活動與負關鍵詞清單或廣告帳戶關聯至網站排除清單的物件。

語法

<xs:complexType name="SharedEntityAssociation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element name="EntityId" type="xs:long" />
    <xs:element minOccurs="0" name="EntityType" nillable="true" type="xs:string" />
    <xs:element minOccurs="0" name="SharedEntityCustomerId" nillable="true" type="xs:long">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element name="SharedEntityId" type="xs:long" />
    <xs:element minOccurs="0" name="SharedEntityType" nillable="true" type="xs:string" />
  </xs:sequence>
</xs:complexType>

元素

SharedEntityAssociation 物件具有下列元素:EntityIdEntityTypeSharedEntityCustomerIdSharedEntityIdSharedEntityType

元素 描述 資料類型
EntityId 活動或廣告帳戶的標識符會根據與共用實體相關聯的 EntityType) (。
EntityType 實體的類型。

對於廣告帳戶共用連結庫中行銷活動關聯的負關鍵詞清單,此元素必須設定為 「Campaign」。

此元素必須設定為 「帳戶」,才能將網站排除清單設為管理員帳戶中的廣告帳戶關聯, (客戶) 共用連結庫。
string
SharedEntityCustomerId 決定網站排除清單的擁有者。

這個只讀專案僅適用於 PlacementExclusionList 關聯。 只有擁有網站排除清單的客戶 (客戶) 的管理員帳戶使用者可以更新或刪除清單、新增或刪除清單專案,以及將清單與廣告帳戶產生關聯。 如果您的廣告帳戶與您不擁有的網站排除清單相關聯,您可以解除清單與帳戶的關聯,但清單和列表專案是只讀的。
SharedEntityId 共用實體的標識碼。
SharedEntityType 共用實體的類型。

這個元素必須設定為 「NegativeKeywordList」,負關鍵詞清單才能與您廣告帳戶共用連結庫中的行銷活動關聯。

此元素必須設定為 「PlacementExclusionList」,才能將網站排除清單設定為您管理員帳戶中的廣告帳戶關聯, (客戶) 共用連結庫。
string

需求

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

消費者

DeleteSharedEntityAssociations
GetSharedEntityAssociationsByEntityIds
GetSharedEntityAssociationsBySharedEntityIds
SetSharedEntityAssociations