Class: Google::Apis::DisplayvideoV4::ProductMetadata
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV4::ProductMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v4/classes.rb,
lib/google/apis/displayvideo_v4/representations.rb,
lib/google/apis/displayvideo_v4/representations.rb
Overview
Metadata for a plannable product.
Instance Attribute Summary collapse
-
#display_name ⇒ String
Output only.
-
#plannable_product_code ⇒ String
Output only.
-
#plannable_product_core_attributes ⇒ Google::Apis::DisplayvideoV4::PlannableProductCoreAttributes
Core attributes for a plannable product.
-
#plannable_product_description ⇒ String
Output only.
-
#plannable_targeting ⇒ Google::Apis::DisplayvideoV4::PlannableTargeting
Targeting capabilities for a given product.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ProductMetadata
constructor
A new instance of ProductMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ProductMetadata
Returns a new instance of ProductMetadata.
13178 13179 13180 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13178 def initialize(**args) update!(**args) end |
Instance Attribute Details
#display_name ⇒ String
Output only. The name associated with the ad product. For example: "Video View
Campaign".
Corresponds to the JSON property displayName
13156 13157 13158 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13156 def display_name @display_name end |
#plannable_product_code ⇒ String
Output only. The plannable product code (e.g. "YOUTUBE_REACH_MIX").
Corresponds to the JSON property plannableProductCode
13161 13162 13163 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13161 def plannable_product_code @plannable_product_code end |
#plannable_product_core_attributes ⇒ Google::Apis::DisplayvideoV4::PlannableProductCoreAttributes
Core attributes for a plannable product.
Corresponds to the JSON property plannableProductCoreAttributes
13166 13167 13168 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13166 def plannable_product_core_attributes @plannable_product_core_attributes end |
#plannable_product_description ⇒ String
Output only. The plain-text description of the ad product.
Corresponds to the JSON property plannableProductDescription
13171 13172 13173 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13171 def plannable_product_description @plannable_product_description end |
#plannable_targeting ⇒ Google::Apis::DisplayvideoV4::PlannableTargeting
Targeting capabilities for a given product.
Corresponds to the JSON property plannableTargeting
13176 13177 13178 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13176 def plannable_targeting @plannable_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13183 13184 13185 13186 13187 13188 13189 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13183 def update!(**args) @display_name = args[:display_name] if args.key?(:display_name) @plannable_product_code = args[:plannable_product_code] if args.key?(:plannable_product_code) @plannable_product_core_attributes = args[:plannable_product_core_attributes] if args.key?(:plannable_product_core_attributes) @plannable_product_description = args[:plannable_product_description] if args.key?(:plannable_product_description) @plannable_targeting = args[:plannable_targeting] if args.key?(:plannable_targeting) end |