Class: Google::Apis::Adexchangebuyer2V2beta1::LocationContext

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

Overview

Output only. The Geo criteria the restriction applies to.

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) ⇒ LocationContext

Returns a new instance of LocationContext.



2626
2627
2628
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2626

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

Instance Attribute Details

#geo_criteria_idsArray<Fixnum>

IDs representing the geo location for this context. Please refer to the geo-table.csv file for different geo criteria IDs. Corresponds to the JSON property geoCriteriaIds

Returns:

  • (Array<Fixnum>)


2624
2625
2626
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2624

def geo_criteria_ids
  @geo_criteria_ids
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2631
2632
2633
# File 'generated/google/apis/adexchangebuyer2_v2beta1/classes.rb', line 2631

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