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.



12816
12817
12818
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12816

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



12804
12805
12806
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12804

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)


12809
12810
12811
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12809

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)


12814
12815
12816
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12814

def plannable_product_code
  @plannable_product_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12821
12822
12823
12824
12825
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12821

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