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



1133
1134
1135
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1133

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



1126
1127
1128
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1126

def deal_statuses
  @deal_statuses
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


1131
1132
1133
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1131

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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