class Google::Apis::DfareportingV3_5::InventoryItem
Represents a buy from the Planning inventory store.
Attributes
Account
ID of this inventory item. Corresponds to the JSON property `accountId` @return [Fixnum]
Ad
slots of this inventory item. If this inventory item represents a standalone placement, there will be exactly one ad slot. If this inventory item represents a placement group, there will be more than one ad slot, each representing one child placement in that placement group. Corresponds to the JSON property `adSlots` @return [Array<Google::Apis::DfareportingV3_5::AdSlot>]
Advertiser
ID of this inventory item. Corresponds to the JSON property `advertiserId` @return [Fixnum]
Content category ID of this inventory item. Corresponds to the JSON property `contentCategoryId` @return [Fixnum]
Estimated click-through rate of this inventory item. Corresponds to the JSON property `estimatedClickThroughRate` @return [Fixnum]
Estimated conversion rate of this inventory item. Corresponds to the JSON property `estimatedConversionRate` @return [Fixnum]
ID of this inventory item. Corresponds to the JSON property `id` @return [Fixnum]
Whether this inventory item is in plan. Corresponds to the JSON property `inPlan` @return [Boolean]
Whether this inventory item is in plan. Corresponds to the JSON property `inPlan` @return [Boolean]
Identifies what kind of resource this is. Value: the fixed string “ dfareporting#inventoryItem”. Corresponds to the JSON property `kind` @return [String]
Modification timestamp. Corresponds to the JSON property `lastModifiedInfo` @return [Google::Apis::DfareportingV3_5::LastModifiedInfo]
Name of this inventory item. For standalone inventory items, this is the same name as that of its only ad slot. For group inventory items, this can differ from the name of any of its ad slots. Corresponds to the JSON property `name` @return [String]
Negotiation channel ID of this inventory item. Corresponds to the JSON property `negotiationChannelId` @return [Fixnum]
Order
ID of this inventory item. Corresponds to the JSON property `orderId` @return [Fixnum]
Placement
strategy ID of this inventory item. Corresponds to the JSON property `placementStrategyId` @return [Fixnum]
Pricing
Information Corresponds to the JSON property `pricing` @return [Google::Apis::DfareportingV3_5::Pricing]
Project
ID of this inventory item. Corresponds to the JSON property `projectId` @return [Fixnum]
RFP ID of this inventory item. Corresponds to the JSON property `rfpId` @return [Fixnum]
ID of the site this inventory item is associated with. Corresponds to the JSON property `siteId` @return [Fixnum]
Subaccount
ID of this inventory item. Corresponds to the JSON property `subaccountId` @return [Fixnum]
Type of inventory item. Corresponds to the JSON property `type` @return [String]
Public Class Methods
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 6772 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/dfareporting_v3_5/classes.rb, line 6777 def update!(**args) @account_id = args[:account_id] if args.key?(:account_id) @ad_slots = args[:ad_slots] if args.key?(:ad_slots) @advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id) @content_category_id = args[:content_category_id] if args.key?(:content_category_id) @estimated_click_through_rate = args[:estimated_click_through_rate] if args.key?(:estimated_click_through_rate) @estimated_conversion_rate = args[:estimated_conversion_rate] if args.key?(:estimated_conversion_rate) @id = args[:id] if args.key?(:id) @in_plan = args[:in_plan] if args.key?(:in_plan) @kind = args[:kind] if args.key?(:kind) @last_modified_info = args[:last_modified_info] if args.key?(:last_modified_info) @name = args[:name] if args.key?(:name) @negotiation_channel_id = args[:negotiation_channel_id] if args.key?(:negotiation_channel_id) @order_id = args[:order_id] if args.key?(:order_id) @placement_strategy_id = args[:placement_strategy_id] if args.key?(:placement_strategy_id) @pricing = args[:pricing] if args.key?(:pricing) @project_id = args[:project_id] if args.key?(:project_id) @rfp_id = args[:rfp_id] if args.key?(:rfp_id) @site_id = args[:site_id] if args.key?(:site_id) @subaccount_id = args[:subaccount_id] if args.key?(:subaccount_id) @type = args[:type] if args.key?(:type) end