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

Constructor Details

#initialize(**args) ⇒ CreativeDealIds

Returns a new instance of CreativeDealIds.



1185
1186
1187
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1185

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



1178
1179
1180
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1178

def deal_statuses
  @deal_statuses
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


1183
1184
1185
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1183

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1190
1191
1192
1193
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1190

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