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


1095
1096
1097
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1095

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


1088
1089
1090
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1088

def deal_statuses
  @deal_statuses
end

#kindString

Resource type. Corresponds to the JSON property kind


1093
1094
1095
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1093

def kind
  @kind
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1100
1101
1102
1103
# File 'generated/google/apis/adexchangebuyer_v1_4/classes.rb', line 1100

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