Class: Google::Apis::DisplayvideoV1::BusinessChainSearchTerms
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::BusinessChainSearchTerms
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/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 ⇒ String
The search query for the desired business chain.
-
#region ⇒ 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.
2037 2038 2039 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2037 def initialize(**args) update!(**args) end |
Instance Attribute Details
#business_chain ⇒ 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 businessChain
2030 2031 2032 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2030 def business_chain @business_chain end |
#region ⇒ String
The search query for the desired geo region, e.g. "Seattle", "United State".
Corresponds to the JSON property region
2035 2036 2037 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2035 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2042 2043 2044 2045 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2042 def update!(**args) @business_chain = args[:business_chain] if args.key?(:business_chain) @region = args[:region] if args.key?(:region) end |