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.



54783
54784
54785
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54783

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>)


54781
54782
54783
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54781

def surfaces
  @surfaces
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54788
54789
54790
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54788

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