Class: Google::Apis::DoubleclickbidmanagerV1_1::DownloadRequest
- Inherits:
-
Object
- Object
- Google::Apis::DoubleclickbidmanagerV1_1::DownloadRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/doubleclickbidmanager_v1_1/classes.rb,
generated/google/apis/doubleclickbidmanager_v1_1/representations.rb,
generated/google/apis/doubleclickbidmanager_v1_1/representations.rb
Overview
Request to fetch stored inventory sources, campaigns, insertion orders, line items, TrueView ad groups and ads.
Instance Attribute Summary collapse
-
#file_types ⇒ Array<String>
File types that will be returned.
-
#filter_ids ⇒ Array<Fixnum>
The IDs of the specified filter type.
-
#filter_type ⇒ String
Filter type used to filter entities to fetch.
-
#version ⇒ String
SDF Version (column names, types, order) in which the entities will be returned.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DownloadRequest
constructor
A new instance of DownloadRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ DownloadRequest
Returns a new instance of DownloadRequest.
120 121 122 |
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 120 def initialize(**args) update!(**args) end |
Instance Attribute Details
#file_types ⇒ Array<String>
File types that will be returned. If INVENTORY_SOURCE is requested, no other file types may be requested. Acceptable values are:
- "AD"
- "AD_GROUP"
- "CAMPAIGN"
- "INSERTION_ORDER"
- "INVENTORY_SOURCE"
- "LINE_ITEM"
Corresponds to the JSON property
fileTypes
100 101 102 |
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 100 def file_types @file_types end |
#filter_ids ⇒ Array<Fixnum>
The IDs of the specified filter type. This is used to filter entities to fetch.
At least one ID must be specified.
Corresponds to the JSON property filterIds
106 107 108 |
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 106 def filter_ids @filter_ids end |
#filter_type ⇒ String
Filter type used to filter entities to fetch. PARTNER_ID and
INVENTORY_SOURCE_ID may only be used when downloading inventory sources.
Corresponds to the JSON property filterType
112 113 114 |
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 112 def filter_type @filter_type end |
#version ⇒ String
SDF Version (column names, types, order) in which the entities will be
returned. Default to 3.1.
Corresponds to the JSON property version
118 119 120 |
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 118 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
125 126 127 128 129 130 |
# File 'generated/google/apis/doubleclickbidmanager_v1_1/classes.rb', line 125 def update!(**args) @file_types = args[:file_types] if args.key?(:file_types) @filter_ids = args[:filter_ids] if args.key?(:filter_ids) @filter_type = args[:filter_type] if args.key?(:filter_type) @version = args[:version] if args.key?(:version) end |