Class: Google::Apis::DisplayvideoV3::BusinessChainSearchTerms

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

Overview

Search terms for Business Chain targeting options. At least one of the field should be populated.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ BusinessChainSearchTerms

Returns a new instance of BusinessChainSearchTerms.



2902
2903
2904
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2902

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

Instance Attribute Details

#business_chain_queryString

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

Returns:

  • (String)


2895
2896
2897
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2895

def business_chain_query
  @business_chain_query
end

#region_queryString

The search query for the desired geo region, e.g. "Seattle", "United State". Corresponds to the JSON property regionQuery

Returns:

  • (String)


2900
2901
2902
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2900

def region_query
  @region_query
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2907
2908
2909
2910
# File 'lib/google/apis/displayvideo_v3/classes.rb', line 2907

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