Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSurfaceTargeting
- Inherits:
-
Object
- Object
- Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSurfaceTargeting
- 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
-
#surfaces ⇒ Array<String>
List of surfaces available to target.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSurfaceTargeting
constructor
A new instance of GoogleAdsSearchads360V23ServicesSurfaceTargeting.
-
#update!(**args) ⇒ Object
Update properties of this object.
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
#surfaces ⇒ Array<String>
List of surfaces available to target.
Corresponds to the JSON property surfaces
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 |