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



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

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)


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

def ad_groups
  @ad_groups
end

#adsString

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

Returns:

  • (String)


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

def ads
  @ads
end

#campaignsString

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

Returns:

  • (String)


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

def campaigns
  @campaigns
end

#insertion_ordersString

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

Returns:

  • (String)


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

def insertion_orders
  @insertion_orders
end

#line_itemsString

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

Returns:

  • (String)


157
158
159
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 157

def line_items
  @line_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



164
165
166
167
168
169
170
# File 'generated/google/apis/doubleclickbidmanager_v1/classes.rb', line 164

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