Class: Google::Apis::DisplayvideoV2::PoiSearchTerms

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

Overview

Search terms for POI targeting options.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PoiSearchTerms

Returns a new instance of PoiSearchTerms.



10054
10055
10056
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10054

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

Instance Attribute Details

#poi_queryString

The search query for the desired POI name, street address, or coordinate of the desired POI. The query can be a prefix, e.g. "Times squar", "40.7505045,- 73.99562", "315 W 44th St", etc. Corresponds to the JSON property poiQuery

Returns:

  • (String)


10052
10053
10054
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10052

def poi_query
  @poi_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10059
10060
10061
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10059

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