type Rule (v201806)

A client defined rule based on custom parameters sent by web sites.


Namespace
https://adwords.google.com/api/adwords/rm/v201806

Field

groups

RuleItemGroup[]

List of rule item groups that defines this rule. Rule item groups are ORed together for evaluation before version V201705. Starting from version V201705, rule item groups are grouped together based on getRuleType() for evaluation.

The minimum size of this collection is 1.
This field must contain distinct elements.
This field must not contain null elements.
This field is required and should not be null.

ruleType

UserListRuleTypeEnums.Enum

Rule type is used to determine how to group rule item groups and rule items inside rule item group. Currently, conjunctive normal form (AND of ORs) is only supported for ExpressionRuleUserList. If no ruleType is specified, it will be treated as disjunctive normal form (OR of ANDs), namely rule item groups are ORed together and inside each rule item group, rule items are ANDed together.


Enumerations
UNKNOWN
CNF
AND of ORs: Conjunctive normal form.
DNF
OR of ANDs: Disjunctive normal form.

Send feedback about...

AdWords API
AdWords API
Need help? Visit our support page.