Criterion 数据对象 - 市场活动管理
定义条件的基对象。
不要尝试实例化 条件。 可以创建派生自它的一个或多个以下对象。
- AgeCriterion
- AudienceCriterion
- DayTimeCriterion
- DealCriterion
- DeviceCriterion
- GenderCriterion
- GenreCriterion
- LocationCriterion
- LocationIntentCriterion
- PlacementCriterion
- ProductScope
- ProductPartition
- ProfileCriterion
- RadiusCriterion
- StoreCriterion
- 网页
有关可与 CampaignCriterion 配合使用的条件类型列表,请参阅 CampaignCriterionType 值集。
有关可用于 AdGroupCriterion 的条件类型列表,请参阅 AdGroupCriterionType 值集。
语法
<xs:complexType name="Criterion" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:sequence>
<xs:element minOccurs="0" name="Type" nillable="true" type="xs:string" />
</xs:sequence>
</xs:complexType>
元素
元素 | 说明 | 数据类型 |
---|---|---|
类型 | 条件的类型。 有关详细信息,请参阅备注。 | string |
备注
对于 Java 和 .NET 语言,请勿设置 Type 元素,因为该值由是实例化位置还是其他条件类型决定。
如果手动生成 SOAP,请使用节点的 <Criterion>
type 属性指定条件的类型,如以下示例所示。
<Criterion i:type="LocationCriterion" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
. . .
</Criterion>
要求
服务: CampaignManagementService.svc v13
Namespace: https://bingads.microsoft.com/CampaignManagement/v13