Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSurfaceTargeting

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

Container for surfaces for a product. Surfaces refer to the available types of ad inventories such as In-Feed, In-Stream, and Shorts.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSurfaceTargeting

Returns a new instance of GoogleAdsSearchads360V23ServicesSurfaceTargeting.



55637
55638
55639
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55637

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

Instance Attribute Details

#surfacesArray<String>

List of surfaces available to target. Corresponds to the JSON property surfaces

Returns:

  • (Array<String>)


55635
55636
55637
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55635

def surfaces
  @surfaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



55642
55643
55644
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55642

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