共用方式為


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
命名 空間: https://bingads.microsoft.com/CampaignManagement/v13

消費者

DeleteSharedEntityAssociations
GetSharedEntityAssociationsByEntityIds
GetSharedEntityAssociationsBySharedEntityIds
SetSharedEntityAssociations