class Google::Apis::DfareportingV2_1::ListPopulationTerm

Remarketing List Population Rule Term.

Attributes

contains[RW]

Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default. Corresponds to the JSON property `contains` @return [Boolean]

contains?[RW]

Will be true if the term should check if the user is in the list and false if the term should check if the user is not in the list. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. False by default. Corresponds to the JSON property `contains` @return [Boolean]

negation[RW]

Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. Corresponds to the JSON property `negation` @return [Boolean]

negation?[RW]

Whether to negate the comparison result of this term during rule evaluation. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. Corresponds to the JSON property `negation` @return [Boolean]

operator[RW]

Comparison operator of this term. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. Corresponds to the JSON property `operator` @return [String]

remarketing_list_id[RW]

ID of the list in question. This field is only relevant when type is set to LIST_MEMBERSHIP_TERM. Corresponds to the JSON property `remarketingListId` @return [String]

type[RW]

List population term type determines the applicable fields in this object. If left unset or set to CUSTOM_VARIABLE_TERM, then variableName, variableFriendlyName, operator, value, and negation are applicable. If set to LIST_MEMBERSHIP_TERM then remarketingListId and contains are applicable. If set to REFERRER_TERM then operator, value, and negation are applicable. Corresponds to the JSON property `type` @return [String]

value[RW]

Literal to compare the variable to. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM or REFERRER_TERM. Corresponds to the JSON property `value` @return [String]

variable_friendly_name[RW]

Friendly name of this term's variable. This is a read-only, auto-generated field. This field is only relevant when type is left unset or set to CUSTOM_VARIABLE_TERM. Corresponds to the JSON property `variableFriendlyName` @return [String]

variable_name[RW]

Name of the variable (U1, U2, etc.) being compared in this term. This field is only relevant when type is set to null, CUSTOM_VARIABLE_TERM or REFERRER_TERM. Corresponds to the JSON property `variableName` @return [String]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6256
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/dfareporting_v2_1/classes.rb, line 6261
def update!(**args)
  @contains = args[:contains] unless args[:contains].nil?
  @negation = args[:negation] unless args[:negation].nil?
  @operator = args[:operator] unless args[:operator].nil?
  @remarketing_list_id = args[:remarketing_list_id] unless args[:remarketing_list_id].nil?
  @type = args[:type] unless args[:type].nil?
  @value = args[:value] unless args[:value].nil?
  @variable_friendly_name = args[:variable_friendly_name] unless args[:variable_friendly_name].nil?
  @variable_name = args[:variable_name] unless args[:variable_name].nil?
end