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.



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

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)


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

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)


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

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



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

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)


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

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



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

def plannable_targeting
  @plannable_targeting
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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