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.



10079
10080
10081
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10079

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)


10077
10078
10079
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10077

def poi_query
  @poi_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10084
10085
10086
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 10084

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