google-apis-doubleclicksearch_v2 0.7.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d7b5ec72d94e638fc1f3626c31c9b43fc85b6a70ff618da84b5e07f610e31f3c
4
- data.tar.gz: 85e66c2aeba9f3e36b483af77e0495abe910b329e5776cf7676f837e9e567f65
3
+ metadata.gz: 58da33cd8bf1134401592c73faf81431da30e2bc00c619716a5c17fd923efd06
4
+ data.tar.gz: 870e1bd30802811313a5c1e00c16c2504a060d34c328128cb5c1c36cd44675fa
5
5
  SHA512:
6
- metadata.gz: d782b193ee0f22b952d3ff3901a38e72ba7d7a9d8c6ff33033b19c2a1d98416da7d4d2491121010eea282451ee092de4e5f5fa799c70b5c256438b54e46d5b8e
7
- data.tar.gz: 2b8ac953f70a36e88d22a28052c369068e0ee13667beba0bc4dad67f1c62b2164aaad1a662a7fd57da84880905bc596b6372736c7fe1736564679f71e55ea8fe
6
+ metadata.gz: bc1434ecb62e7c6603578caa6d9414e6ea052ba04276b853b5d5c00b93142bf0b4fef39ee95a44d7385b9c78c6ea70a7f5aa040549043b649d11718cabcb5608
7
+ data.tar.gz: 0df54d8d64f758351c3ca5c4a6d88cdc7b8712b70a0d02fe30aad8331f81c3d7b894248cbfd305168ab1f8924f9b84244bc00f0fd956c3869e52d1cdf6059e01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-doubleclicksearch_v2
2
2
 
3
+ ### v0.8.0 (2022-04-26)
4
+
5
+ * Regenerated from discovery document revision 20220420
6
+ * Regenerated using generator version 0.4.1
7
+
3
8
  ### v0.7.0 (2021-12-14)
4
9
 
5
10
  * Unspecified changes
@@ -384,6 +384,20 @@ module Google
384
384
  end
385
385
  end
386
386
 
387
+ # File returned to https://developers.google.com/search-ads/v2/reference/reports/
388
+ # getIdMappingFile.
389
+ class IdMappingFile
390
+ include Google::Apis::Core::Hashable
391
+
392
+ def initialize(**args)
393
+ update!(**args)
394
+ end
395
+
396
+ # Update properties of this object
397
+ def update!(**args)
398
+ end
399
+ end
400
+
387
401
  # A DoubleClick Search report. This object contains the report request, some
388
402
  # report metadata such as currency code, and the generated report rows or report
389
403
  # files.
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module DoubleclicksearchV2
18
18
  # Version of the google-apis-doubleclicksearch_v2 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.8.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.4.0"
22
+ GENERATOR_VERSION = "0.4.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20200825"
25
+ REVISION = "20220420"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class IdMappingFile
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class Report
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -202,6 +208,12 @@ module Google
202
208
  end
203
209
  end
204
210
 
211
+ class IdMappingFile
212
+ # @private
213
+ class Representation < Google::Apis::Core::JsonRepresentation
214
+ end
215
+ end
216
+
205
217
  class Report
206
218
  # @private
207
219
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -299,6 +299,49 @@ module Google
299
299
  execute_or_queue_command(command, &block)
300
300
  end
301
301
 
302
+ # Downloads a csv file(encoded in UTF-8) that contains ID mappings between
303
+ # legacy SA360 and new SA360. The file includes all children entities of the
304
+ # given advertiser(e.g. engine accounts, campaigns, ad groups, etc.) that exist
305
+ # in both legacy SA360 and new SA360.
306
+ # @param [Fixnum] agency_id
307
+ # Legacy SA360 agency ID.
308
+ # @param [Fixnum] advertiser_id
309
+ # Legacy SA360 advertiser ID.
310
+ # @param [String] fields
311
+ # Selector specifying which fields to include in a partial response.
312
+ # @param [String] quota_user
313
+ # Available to use for quota purposes for server-side applications. Can be any
314
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
315
+ # @param [IO, String] download_dest
316
+ # IO stream or filename to receive content download
317
+ # @param [Google::Apis::RequestOptions] options
318
+ # Request-specific options
319
+ #
320
+ # @yield [result, err] Result & error if block supplied
321
+ # @yieldparam result [Google::Apis::DoubleclicksearchV2::IdMappingFile] parsed result object
322
+ # @yieldparam err [StandardError] error object if request failed
323
+ #
324
+ # @return [Google::Apis::DoubleclicksearchV2::IdMappingFile]
325
+ #
326
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
327
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
328
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
329
+ def get_report_id_mapping_file(agency_id, advertiser_id, fields: nil, quota_user: nil, download_dest: nil, options: nil, &block)
330
+ if download_dest.nil?
331
+ command = make_simple_command(:get, 'doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/idmapping', options)
332
+ else
333
+ command = make_download_command(:get, 'doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/idmapping', options)
334
+ command.download_dest = download_dest
335
+ end
336
+ command.response_representation = Google::Apis::DoubleclicksearchV2::IdMappingFile::Representation
337
+ command.response_class = Google::Apis::DoubleclicksearchV2::IdMappingFile
338
+ command.params['agencyId'] = agency_id unless agency_id.nil?
339
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
340
+ command.query['fields'] = fields unless fields.nil?
341
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
342
+ execute_or_queue_command(command, &block)
343
+ end
344
+
302
345
  # Inserts a report request into the reporting system.
303
346
  # @param [Google::Apis::DoubleclicksearchV2::ReportRequest] report_request_object
304
347
  # @param [String] fields
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-doubleclicksearch_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-10 00:00:00.000000000 Z
11
+ date: 2022-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-doubleclicksearch_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.8.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-doubleclicksearch_v2
63
63
  post_install_message:
64
64
  rdoc_options: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.3.4
78
+ rubygems_version: 3.3.5
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Search Ads 360 API V2