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.



13234
13235
13236
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13234

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)


13212
13213
13214
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13212

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)


13217
13218
13219
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13217

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



13222
13223
13224
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13222

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)


13227
13228
13229
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13227

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



13232
13233
13234
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13232

def plannable_targeting
  @plannable_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13239
13240
13241
13242
13243
13244
13245
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 13239

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