google-apis-doubleclicksearch_v2 0.6.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/doubleclicksearch_v2/classes.rb +14 -0
- data/lib/google/apis/doubleclicksearch_v2/gem_version.rb +3 -3
- data/lib/google/apis/doubleclicksearch_v2/representations.rb +12 -0
- data/lib/google/apis/doubleclicksearch_v2/service.rb +43 -0
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ef4d328c1bd48e76d86432ff968f3cb8873a9e5b7df63c4f508e1c505d93a103
|
4
|
+
data.tar.gz: 3aa40dadb9f030e0db0891f71eb9e2b2c4f53ca090be517cb001c0fb1243e030
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e23f2440ba2594ca7ee842335ba7735285b5544c376db884d028a1b9621f4de5ad05c21c5bf99234d764ecb5305e439216425a386e2b3b1a4e102ed28850169
|
7
|
+
data.tar.gz: 1e554b38d8f1d912a89e6983b4bd6fd650557656c690e585d67adee1afaf81e958bf4c123c47c7aac12ea22ff637a9e488b58e2638c24359d3f5f51f46d0c802
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,18 @@
|
|
1
1
|
# Release history for google-apis-doubleclicksearch_v2
|
2
2
|
|
3
|
+
### v0.9.0 (2022-06-05)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.5.0
|
6
|
+
|
7
|
+
### v0.8.0 (2022-04-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220420
|
10
|
+
* Regenerated using generator version 0.4.1
|
11
|
+
|
12
|
+
### v0.7.0 (2021-12-14)
|
13
|
+
|
14
|
+
* Unspecified changes
|
15
|
+
|
3
16
|
### v0.6.0 (2021-10-20)
|
4
17
|
|
5
18
|
* Unspecified changes
|
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.
|
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.
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.9.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
4
|
+
version: 0.9.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:
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.9.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.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Search Ads 360 API V2
|