Class: Google::Apis::DisplayvideoV4::ProductMetadata

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_nameString

Output only. The name associated with the ad product. For example: "Video View Campaign". Corresponds to the JSON property displayName

Returns:

  • (String)


13156
13157
13158
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13156

def display_name
  @display_name
end

#plannable_product_codeString

Output only. The plannable product code (e.g. "YOUTUBE_REACH_MIX"). Corresponds to the JSON property plannableProductCode

Returns:

  • (String)


13161
13162
13163
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13161

def plannable_product_code
  @plannable_product_code
end

#plannable_product_core_attributesGoogle::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_descriptionString

Output only. The plain-text description of the ad product. Corresponds to the JSON property plannableProductDescription

Returns:

  • (String)


13171
13172
13173
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13171

def plannable_product_description
  @plannable_product_description
end

#plannable_targetingGoogle::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