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

定义具有一个条件的广告组级别产品分区,该条件可帮助确定Microsoft商家中心商店中的产品是否作为产品广告提供。

ProductPartition 条件可以包含在 BiddableAdGroupCriterionNegativeAdGroupCriterion 中。 另请注意,市场活动级别 ProductScope 可以添加到 BiddableCampaignCriterion。 在广告组的产品分区组中尝试重复或冲突的产品条件将通过 ApplyProductPartitionActions 操作失败;但是,该操作不会验证市场活动级别 ProductScope 中是否存在重复或冲突的情况。

提示

有关实现概述,请参阅 Microsoft购物市场活动 技术指南。

语法

<xs:complexType name="ProductPartition" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexContent mixed="false">
    <xs:extension base="tns:Criterion">
      <xs:sequence>
        <xs:element minOccurs="0" name="Condition" nillable="true" type="tns:ProductCondition" />
        <xs:element minOccurs="0" name="ParentCriterionId" nillable="true" type="xs:long" />
        <xs:element name="PartitionType" type="tns:ProductPartitionType" />
      </xs:sequence>
    </xs:extension>
  </xs:complexContent>
</xs:complexType>

元素

ProductPartition 对象具有以下元素:ConditionParentCriterionIdPartitionType

元素 说明 数据类型
条件 一种条件,可帮助确定Microsoft商家中心商店的产品是否作为广告提供。

可以通过使用 ApplyProductPartitionActions 创建 ProductPartition 对象的树来指定多个产品条件。 对于要作为广告的目录项,它必须满足所有条件。 若要获取广告组的所有条件的列表,请调用 GetAdGroupCriterionsByIds ,并将 AdGroupCriterionIds 元素设置为 null, 并将 CriterionType 元素设置为 ProductPartition。

加: 必填
更新: 此对象不支持更新
ProductCondition
ParentCriterionId BiddableAdGroupCriterionNegativeAdGroupCriterion 的标识符。

如果产品分区表示产品分区树的根节点,则必须将此元素设置为 null。

加: 必填
更新: 此对象不支持更新
删除: 必填
long
PartitionType 产品分区的类型,例如 细分单位

加: 必填
更新: 此对象不支持更新
ProductPartitionType

ProductPartition 对象具有 Inherited Elements

继承的元素

从 Criterion 继承的元素

ProductPartition 对象派生自 Criterion 对象,并继承以下元素:类型。 以下说明特定于 ProductPartition,可能不适用于从 Criterion 对象继承相同元素的其他对象。

元素 说明 数据类型
类型 条件的类型。 检索产品分区条件时,此值为 ProductPartition 。 有关条件类型的详细信息,请参阅 Criterion Data Object Remarks

加: 只读
更新: 只读
string

要求

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