Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23CommonProductChannelInfo

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

Overview

Locality of a product offer.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23CommonProductChannelInfo

Returns a new instance of GoogleAdsSearchads360V23CommonProductChannelInfo.



9430
9431
9432
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9430

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

Instance Attribute Details

#channelString

Value of the locality. Corresponds to the JSON property channel

Returns:

  • (String)


9428
9429
9430
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9428

def channel
  @channel
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



9435
9436
9437
# File 'lib/google/apis/searchads360_v23/classes.rb', line 9435

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