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

定义一个对象,该对象将市场活动关联到负面关键字 (keyword) 列表,或将广告帐户关联到网站排除列表。

语法

<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) (。 long
EntityType 实体的类型。

对于广告帐户共享库中的市场活动关联,此元素必须设置为“市场活动”关键字 (keyword) 列表。

必须将此元素设置为“帐户”,以便将网站排除列表设置为经理帐户 (客户) 共享库中的广告帐户关联。
string
SharedEntityCustomerId 确定网站排除列表的所有者。

此只读元素仅适用于 PlacementExclusionList 关联。 只有拥有网站排除列表 (客户) 经理帐户的用户才能更新或删除列表、添加或删除列表项,并将列表与广告帐户相关联。 如果你的广告帐户与你不拥有的网站排除列表相关联,则可以取消关联该列表与你的帐户,但列表和列表项是只读的。
long
SharedEntityId 共享实体的标识符。 long
SharedEntityType 共享实体的类型。

对于广告帐户共享库中的市场活动关联,此元素必须设置为“NegativeKeywordList” 关键字 (keyword) 列表。

必须将此元素设置为“PlacementExclusionList”,才能将网站排除列表设置为经理帐户 (客户) 共享库中的广告帐户关联。
string

要求

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

使用者

DeleteSharedEntityAssociations
GetSharedEntityAssociationsByEntityIds
GetSharedEntityAssociationsBySharedEntityIds
SetSharedEntityAssociations