共用方式為


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。

添加: 必填
更新: 此物件不支援更新
刪除: 必填
PartitionType 產品分割區的類型,例如 細分單位

添加: 必填
更新: 此物件不支援更新
ProductPartitionType

ProductPartition物件具有Inherited Elements

繼承的專案

從準則繼承的專案

ProductPartition物件衍生自Criterion物件,並繼承下列元素:Type。 下列描述是 ProductPartition特有的,而且可能不適用於從 Criterion 物件繼承相同元素的其他物件。

元素 說明 資料類型
類型 準則的型別。 當您擷取產品資料分割準則時,此值為 ProductPartition 。 如需準則類型的詳細資訊,請參閱 準則資料物件備註

添加: 唯讀
更新: 唯讀
string

需求

服務: CampaignManagementService.svc v13
命名 空間: https://bingads.microsoft.com/CampaignManagement/v13