Class: Google::Apis::AdexchangebuyerV1_4::CreativeDealIds

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

Overview

The external deal ids associated with a creative.

Defined Under Namespace

Classes: DealStatus

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CreativeDealIds

Returns a new instance of CreativeDealIds



1146
1147
1148
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1146

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

Instance Attribute Details

#deal_statusesArray<Google::Apis::AdexchangebuyerV1_4::CreativeDealIds::DealStatus>

A list of external deal ids and ARC approval status. Corresponds to the JSON property dealStatuses



1139
1140
1141
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1139

def deal_statuses
  @deal_statuses
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


1144
1145
1146
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1144

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1151
1152
1153
1154
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1151

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