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



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

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)


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

def ad_groups
  @ad_groups
end

#adsString

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

Returns:

  • (String)


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

def ads
  @ads
end

#campaignsString

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

Returns:

  • (String)


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

def campaigns
  @campaigns
end

#insertion_ordersString

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

Returns:

  • (String)


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

def insertion_orders
  @insertion_orders
end

#line_itemsString

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

Returns:

  • (String)


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

def line_items
  @line_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



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

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)
  @line_items = args[:line_items] if args.key?(:line_items)
end