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

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DealStatus

Returns a new instance of DealStatus.



1214
1215
1216
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1214

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

Instance Attribute Details

#arc_statusString

ARC approval status. Corresponds to the JSON property arcStatus

Returns:

  • (String)


1202
1203
1204
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1202

def arc_status
  @arc_status
end

#deal_idFixnum

External deal ID. Corresponds to the JSON property dealId

Returns:

  • (Fixnum)


1207
1208
1209
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1207

def deal_id
  @deal_id
end

#web_property_idFixnum

Publisher ID. Corresponds to the JSON property webPropertyId

Returns:

  • (Fixnum)


1212
1213
1214
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1212

def web_property_id
  @web_property_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1219
1220
1221
1222
1223
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1219

def update!(**args)
  @arc_status = args[:arc_status] if args.key?(:arc_status)
  @deal_id = args[:deal_id] if args.key?(:deal_id)
  @web_property_id = args[:web_property_id] if args.key?(:web_property_id)
end