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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable
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

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DirectDealsList

Returns a new instance of DirectDealsList.



872
873
874
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 872

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



865
866
867
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 865

def direct_deals
  @direct_deals
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


870
871
872
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 870

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



877
878
879
880
# File 'generated/google/apis/adexchangebuyer_v1_3/classes.rb', line 877

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