Class: Google::Apis::AdexchangebuyerV1_3::DirectDealsList

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/adexchangebuyer_v1_3/classes.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb,
generated/google/apis/adexchangebuyer_v1_3/representations.rb

Overview

A direct deals feed lists Direct Deals the Ad Exchange buyer account has access to. This includes direct deals set up for the buyer account as well as its merged stream seats.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DirectDealsList

Returns a new instance of DirectDealsList.



926
927
928
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 926

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

Instance Attribute Details

#direct_dealsArray<Google::Apis::AdexchangebuyerV1_3::DirectDeal>

A list of direct deals relevant for your account. Corresponds to the JSON property directDeals



919
920
921
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 919

def direct_deals
  @direct_deals
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


924
925
926
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 924

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



931
932
933
934
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 931

def update!(**args)
  @direct_deals = args[:direct_deals] if args.key?(:direct_deals)
  @kind = args[:kind] if args.key?(:kind)
end