Class: Google::Apis::DisplayvideoV2::BusinessChainSearchTerms
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV2::BusinessChainSearchTerms
- 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 Business Chain targeting options. At least one of the field should be populated.
Instance Attribute Summary collapse
-
#business_chain_query ⇒ String
The search query for the desired business chain.
-
#region_query ⇒ String
The search query for the desired geo region, e.g.
Instance Method Summary collapse
-
#initialize(**args) ⇒ BusinessChainSearchTerms
constructor
A new instance of BusinessChainSearchTerms.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ BusinessChainSearchTerms
Returns a new instance of BusinessChainSearchTerms.
2448 2449 2450 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2448 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_chain_query ⇒ String
The search query for the desired business chain. The query must be the full
name of the business, e.g. "KFC", "mercedes-benz".
Corresponds to the JSON property businessChainQuery
2441 2442 2443 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2441 def business_chain_query @business_chain_query end |
#region_query ⇒ String
The search query for the desired geo region, e.g. "Seattle", "United State".
Corresponds to the JSON property regionQuery
2446 2447 2448 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2446 def region_query @region_query end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2453 2454 2455 2456 |
# File 'lib/google/apis/displayvideo_v2/classes.rb', line 2453 def update!(**args) @business_chain_query = args[:business_chain_query] if args.key?(:business_chain_query) @region_query = args[:region_query] if args.key?(:region_query) end |