Class: Google::Apis::DisplayvideoV1::BusinessChainSearchTerms

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_chainString

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

Returns:

  • (String)


2030
2031
2032
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 2030

def business_chain
  @business_chain
end

#regionString

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

Returns:

  • (String)


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