Class: Google::Apis::DisplayvideoV4::PlannedProduct

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

Configuration for a specific product in the plan.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PlannedProduct

Returns a new instance of PlannedProduct.



12847
12848
12849
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12847

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#advanced_product_targetingGoogle::Apis::DisplayvideoV4::AdvancedProductTargeting

Product-specific targeting overrides. Corresponds to the JSON property advancedProductTargeting



12835
12836
12837
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12835

def advanced_product_targeting
  @advanced_product_targeting
end

#budget_microsFixnum

Required. The budget for this product in micros. Corresponds to the JSON property budgetMicros

Returns:

  • (Fixnum)


12840
12841
12842
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12840

def budget_micros
  @budget_micros
end

#plannable_product_codeString

Required. The code for the product, e.g. "VIDEO_REACH_CAMPAIGN". Corresponds to the JSON property plannableProductCode

Returns:

  • (String)


12845
12846
12847
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12845

def plannable_product_code
  @plannable_product_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12852
12853
12854
12855
12856
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12852

def update!(**args)
  @advanced_product_targeting = args[:advanced_product_targeting] if args.key?(:advanced_product_targeting)
  @budget_micros = args[:budget_micros] if args.key?(:budget_micros)
  @plannable_product_code = args[:plannable_product_code] if args.key?(:plannable_product_code)
end