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.
55637 55638 55639 |
# File 'lib/google/apis/searchads360_v23/classes.rb', line 55637 def initialize(**args) update!(**args) end |
Instance Attribute Details
#surfaces ⇒ Array<String>
List of surfaces available to target.
Corresponds to the JSON property surfaces
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 |