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



1114
1115
1116
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1114

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



1107
1108
1109
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1107

def deal_statuses
  @deal_statuses
end

#kindString

Resource type. Corresponds to the JSON property kind

Returns:

  • (String)


1112
1113
1114
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1112

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1119
1120
1121
1122
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1119

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