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.
13195 13196 13197 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13195 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
13173 13174 13175 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13173 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
13178 13179 13180 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13178 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
13183 13184 13185 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13183 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
13188 13189 13190 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13188 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
13193 13194 13195 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13193 def plannable_targeting @plannable_targeting end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
13200 13201 13202 13203 13204 13205 13206 |
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13200 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 |