Learn more about migrating to the Google Ads API by watching our latest webinar

UserListRuleItemInfo

An atomic rule item.

Fields

name

string

Rule variable name. It should match the corresponding key name fired by the pixel. A name must begin with US-ascii letters or underscore or UTF8 code that is greater than 127 and consist of US-ascii letters or digits or underscore or UTF8 code that is greater than 127. For websites, there are two built-in variable URL (name = 'url__') and referrer URL (name = 'ref_url__'). This field must be populated when creating a new rule item.

Union field

rule_item

rule_item. An atomic rule item. rule_item can be only one of the following:

number_rule_item

UserListNumberRuleItemInfo

An atomic rule item composed of a number operation.

string_rule_item

UserListStringRuleItemInfo

An atomic rule item composed of a string operation.

date_rule_item

UserListDateRuleItemInfo

An atomic rule item composed of a date operation.