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.



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

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



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

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)


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

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)


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

def plannable_product_code
  @plannable_product_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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