Class: Google::Apis::DoubleclickbidmanagerV1::DownloadResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/doubleclickbidmanager_v1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1/representations.rb

Overview

Download response.

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) ⇒ DownloadResponse

Returns a new instance of DownloadResponse.


161
162
163
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 161

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

Instance Attribute Details

#ad_groupsString

Retrieved ad groups in SDF format. Corresponds to the JSON property adGroups

Returns:

  • (String)

134
135
136
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 134

def ad_groups
  @ad_groups
end

#adsString

Retrieved ads in SDF format. Corresponds to the JSON property ads

Returns:

  • (String)

139
140
141
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 139

def ads
  @ads
end

#campaignsString

Retrieved campaigns in SDF format. Corresponds to the JSON property campaigns

Returns:

  • (String)

144
145
146
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 144

def campaigns
  @campaigns
end

#insertion_ordersString

Retrieved insertion orders in SDF format. Corresponds to the JSON property insertionOrders

Returns:

  • (String)

149
150
151
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 149

def insertion_orders
  @insertion_orders
end

#inventory_sourcesString

Corresponds to the JSON property inventorySources

Returns:

  • (String)

154
155
156
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 154

def inventory_sources
  @inventory_sources
end

#line_itemsString

Retrieved line items in SDF format. Corresponds to the JSON property lineItems

Returns:

  • (String)

159
160
161
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 159

def line_items
  @line_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


166
167
168
169
170
171
172
173
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 166

def update!(**args)
  @ad_groups = args[:ad_groups] if args.key?(:ad_groups)
  @ads = args[:ads] if args.key?(:ads)
  @campaigns = args[:campaigns] if args.key?(:campaigns)
  @insertion_orders = args[:insertion_orders] if args.key?(:insertion_orders)
  @inventory_sources = args[:inventory_sources] if args.key?(:inventory_sources)
  @line_items = args[:line_items] if args.key?(:line_items)
end