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.



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

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



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

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)


12826
12827
12828
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12826

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)


12831
12832
12833
# File 'lib/google/apis/displayvideo_v4/classes.rb', line 12831

def plannable_product_code
  @plannable_product_code
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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