google-apis-doubleclicksearch_v2 0.5.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: 00cdf4d00d4bfa4c9d3514e94d97edf4ba854ff471d607ff7e075330ad0c80f8
4
- data.tar.gz: ed0439fe82c6dab601eb2b46ce221163546e6d1c87a4cf76f265f02a7d38d923
3
+ metadata.gz: 58da33cd8bf1134401592c73faf81431da30e2bc00c619716a5c17fd923efd06
4
+ data.tar.gz: 870e1bd30802811313a5c1e00c16c2504a060d34c328128cb5c1c36cd44675fa
5
5
  SHA512:
6
- metadata.gz: 12af4da489f04da68661afce7658bcf85f0621ef959def9e97b4cd9b33942654acf7e5472b838df540f9014298d06fe21b9cbaff7c09129812aaab0a2f920add
7
- data.tar.gz: e7033ebf1d36813e0c8217fb26bfeb71943e18d7f5eac36bece45fbc24bf0e0bb4b051dc327f97172b18ebc46fe7234c16f2e44f20e98df5e8f41c07c01da847
6
+ metadata.gz: bc1434ecb62e7c6603578caa6d9414e6ea052ba04276b853b5d5c00b93142bf0b4fef39ee95a44d7385b9c78c6ea70a7f5aa040549043b649d11718cabcb5608
7
+ data.tar.gz: 0df54d8d64f758351c3ca5c4a6d88cdc7b8712b70a0d02fe30aad8331f81c3d7b894248cbfd305168ab1f8924f9b84244bc00f0fd956c3869e52d1cdf6059e01
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
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
+
8
+ ### v0.7.0 (2021-12-14)
9
+
10
+ * Unspecified changes
11
+
12
+ ### v0.6.0 (2021-10-20)
13
+
14
+ * Unspecified changes
15
+
3
16
  ### v0.5.0 (2021-06-29)
4
17
 
5
18
  * Regenerated using generator version 0.4.0
data/OVERVIEW.md CHANGED
@@ -51,7 +51,7 @@ require "google/apis/doubleclicksearch_v2"
51
51
  client = Google::Apis::DoubleclicksearchV2::DoubleclicksearchService.new
52
52
 
53
53
  # Authenticate calls
54
- client.authentication = # ... use the googleauth gem to create credentials
54
+ client.authorization = # ... use the googleauth gem to create credentials
55
55
  ```
56
56
 
57
57
  See the class reference docs for information on the methods you can call from a client.
@@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a
60
60
 
61
61
  More detailed descriptions of the Google simple REST clients are available in two documents.
62
62
 
63
- * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
- * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/master/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
63
+ * The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
64
+ * The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
65
65
 
66
66
  (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Doubleclicksearch service in particular.)
67
67
 
@@ -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.5.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.5.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: 2021-07-05 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
@@ -57,9 +57,9 @@ licenses:
57
57
  - Apache-2.0
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
- changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-doubleclicksearch_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.5.0
62
- source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-doubleclicksearch_v2
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.8.0
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: []
65
65
  require_paths:
@@ -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.2.17
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