Class: Google::Apis::DfareportingV2_7::ListPopulationRule

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dfareporting_v2_7/classes.rb,
generated/google/apis/dfareporting_v2_7/representations.rb,
generated/google/apis/dfareporting_v2_7/representations.rb

Overview

Remarketing List Population Rule.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListPopulationRule

Returns a new instance of ListPopulationRule



6895
6896
6897
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6895

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#floodlight_activity_idFixnum

Floodlight activity ID associated with this rule. This field can be left blank. Corresponds to the JSON property floodlightActivityId

Returns:

  • (Fixnum)


6880
6881
6882
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6880

def floodlight_activity_id
  @floodlight_activity_id
end

#floodlight_activity_nameString

Name of floodlight activity associated with this rule. This is a read-only, auto-generated field. Corresponds to the JSON property floodlightActivityName

Returns:

  • (String)


6886
6887
6888
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6886

def floodlight_activity_name
  @floodlight_activity_name
end

#list_population_clausesArray<Google::Apis::DfareportingV2_7::ListPopulationClause>

Clauses that make up this list population rule. Clauses are joined by ANDs, and the clauses themselves are made up of list population terms which are joined by ORs. Corresponds to the JSON property listPopulationClauses



6893
6894
6895
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6893

def list_population_clauses
  @list_population_clauses
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



6900
6901
6902
6903
6904
# File 'generated/google/apis/dfareporting_v2_7/classes.rb', line 6900

def update!(**args)
  @floodlight_activity_id = args[:floodlight_activity_id] if args.key?(:floodlight_activity_id)
  @floodlight_activity_name = args[:floodlight_activity_name] if args.key?(:floodlight_activity_name)
  @list_population_clauses = args[:list_population_clauses] if args.key?(:list_population_clauses)
end