google-apis-doubleclicksearch_v2 0.13.0 → 0.14.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 +5 -0
- data/lib/google/apis/doubleclicksearch_v2/classes.rb +12 -0
- data/lib/google/apis/doubleclicksearch_v2/gem_version.rb +3 -3
- data/lib/google/apis/doubleclicksearch_v2/representations.rb +2 -0
- data/lib/google/apis/doubleclicksearch_v2/service.rb +0 -60
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e19ce69cae3a9538f42e0994a75c8fff7fbf4ec8694096e00053dadf07cc6bf
|
4
|
+
data.tar.gz: 94ef88648729c032207cf0a088914c86203cfe18494a5c5ab8b4536f3169b581
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00e6e7a7a071f44cf4f81a86474405caa37e56f0c7d72cd61bf8bec026e12319c21375ab831b7efb95c9dd23cf609a41fa0f6036017c9825e318a5f3764fca38
|
7
|
+
data.tar.gz: 1cb920922185d094522fbc411e5d623a154c081c2d16366f68d178de90c468103fc0eec653b5bcb94ffae2739f879e9bb1d5ee0332f20bd1ae7295d58195c9c2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-doubleclicksearch_v2
|
2
2
|
|
3
|
+
### v0.14.0 (2022-10-19)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20221011
|
6
|
+
* Regenerated using generator version 0.11.0
|
7
|
+
|
3
8
|
### v0.13.0 (2022-09-22)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.10.0
|
@@ -41,6 +41,11 @@ module Google
|
|
41
41
|
# @return [Fixnum]
|
42
42
|
attr_accessor :availability_timestamp
|
43
43
|
|
44
|
+
# Customer ID of a client account in the new Search Ads 360 experience.
|
45
|
+
# Corresponds to the JSON property `customerId`
|
46
|
+
# @return [String]
|
47
|
+
attr_accessor :customer_id
|
48
|
+
|
44
49
|
# The numeric segmentation identifier (for example, DoubleClick Search
|
45
50
|
# Floodlight activity ID).
|
46
51
|
# Corresponds to the JSON property `segmentationId`
|
@@ -68,6 +73,7 @@ module Google
|
|
68
73
|
@advertiser_id = args[:advertiser_id] if args.key?(:advertiser_id)
|
69
74
|
@agency_id = args[:agency_id] if args.key?(:agency_id)
|
70
75
|
@availability_timestamp = args[:availability_timestamp] if args.key?(:availability_timestamp)
|
76
|
+
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
71
77
|
@segmentation_id = args[:segmentation_id] if args.key?(:segmentation_id)
|
72
78
|
@segmentation_name = args[:segmentation_name] if args.key?(:segmentation_name)
|
73
79
|
@segmentation_type = args[:segmentation_type] if args.key?(:segmentation_type)
|
@@ -168,6 +174,11 @@ module Google
|
|
168
174
|
# @return [Array<Google::Apis::DoubleclicksearchV2::CustomMetric>]
|
169
175
|
attr_accessor :custom_metric
|
170
176
|
|
177
|
+
# Customer ID of a client account in the new Search Ads 360 experience.
|
178
|
+
# Corresponds to the JSON property `customerId`
|
179
|
+
# @return [String]
|
180
|
+
attr_accessor :customer_id
|
181
|
+
|
171
182
|
# The type of device on which the conversion occurred.
|
172
183
|
# Corresponds to the JSON property `deviceType`
|
173
184
|
# @return [String]
|
@@ -288,6 +299,7 @@ module Google
|
|
288
299
|
@currency_code = args[:currency_code] if args.key?(:currency_code)
|
289
300
|
@custom_dimension = args[:custom_dimension] if args.key?(:custom_dimension)
|
290
301
|
@custom_metric = args[:custom_metric] if args.key?(:custom_metric)
|
302
|
+
@customer_id = args[:customer_id] if args.key?(:customer_id)
|
291
303
|
@device_type = args[:device_type] if args.key?(:device_type)
|
292
304
|
@ds_conversion_id = args[:ds_conversion_id] if args.key?(:ds_conversion_id)
|
293
305
|
@engine_account_id = args[:engine_account_id] if args.key?(:engine_account_id)
|
@@ -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.14.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221011"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,6 +136,7 @@ module Google
|
|
136
136
|
property :advertiser_id, :numeric_string => true, as: 'advertiserId'
|
137
137
|
property :agency_id, :numeric_string => true, as: 'agencyId'
|
138
138
|
property :availability_timestamp, :numeric_string => true, as: 'availabilityTimestamp'
|
139
|
+
property :customer_id, as: 'customerId'
|
139
140
|
property :segmentation_id, :numeric_string => true, as: 'segmentationId'
|
140
141
|
property :segmentation_name, as: 'segmentationName'
|
141
142
|
property :segmentation_type, as: 'segmentationType'
|
@@ -163,6 +164,7 @@ module Google
|
|
163
164
|
|
164
165
|
collection :custom_metric, as: 'customMetric', class: Google::Apis::DoubleclicksearchV2::CustomMetric, decorator: Google::Apis::DoubleclicksearchV2::CustomMetric::Representation
|
165
166
|
|
167
|
+
property :customer_id, as: 'customerId'
|
166
168
|
property :device_type, as: 'deviceType'
|
167
169
|
property :ds_conversion_id, :numeric_string => true, as: 'dsConversionId'
|
168
170
|
property :engine_account_id, :numeric_string => true, as: 'engineAccountId'
|
@@ -50,66 +50,6 @@ module Google
|
|
50
50
|
@batch_path = 'batch'
|
51
51
|
end
|
52
52
|
|
53
|
-
# Retrieves a list of conversions from a DoubleClick Search engine account.
|
54
|
-
# @param [Fixnum] agency_id
|
55
|
-
# Numeric ID of the agency.
|
56
|
-
# @param [Fixnum] advertiser_id
|
57
|
-
# Numeric ID of the advertiser.
|
58
|
-
# @param [Fixnum] engine_account_id
|
59
|
-
# Numeric ID of the engine account.
|
60
|
-
# @param [Fixnum] end_date
|
61
|
-
# Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
62
|
-
# @param [Fixnum] row_count
|
63
|
-
# The number of conversions to return per call.
|
64
|
-
# @param [Fixnum] start_date
|
65
|
-
# First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
66
|
-
# @param [Fixnum] start_row
|
67
|
-
# The 0-based starting index for retrieving conversions results.
|
68
|
-
# @param [Fixnum] ad_group_id
|
69
|
-
# Numeric ID of the ad group.
|
70
|
-
# @param [Fixnum] ad_id
|
71
|
-
# Numeric ID of the ad.
|
72
|
-
# @param [Fixnum] campaign_id
|
73
|
-
# Numeric ID of the campaign.
|
74
|
-
# @param [Fixnum] criterion_id
|
75
|
-
# Numeric ID of the criterion.
|
76
|
-
# @param [String] fields
|
77
|
-
# Selector specifying which fields to include in a partial response.
|
78
|
-
# @param [String] quota_user
|
79
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
80
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
81
|
-
# @param [Google::Apis::RequestOptions] options
|
82
|
-
# Request-specific options
|
83
|
-
#
|
84
|
-
# @yield [result, err] Result & error if block supplied
|
85
|
-
# @yieldparam result [Google::Apis::DoubleclicksearchV2::ConversionList] parsed result object
|
86
|
-
# @yieldparam err [StandardError] error object if request failed
|
87
|
-
#
|
88
|
-
# @return [Google::Apis::DoubleclicksearchV2::ConversionList]
|
89
|
-
#
|
90
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
91
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
92
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
93
|
-
def get_conversion(agency_id, advertiser_id, engine_account_id, end_date, row_count, start_date, start_row, ad_group_id: nil, ad_id: nil, campaign_id: nil, criterion_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
94
|
-
command = make_simple_command(:get, 'doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', options)
|
95
|
-
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
96
|
-
command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
|
97
|
-
command.params['agencyId'] = agency_id unless agency_id.nil?
|
98
|
-
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
99
|
-
command.params['engineAccountId'] = engine_account_id unless engine_account_id.nil?
|
100
|
-
command.query['adGroupId'] = ad_group_id unless ad_group_id.nil?
|
101
|
-
command.query['adId'] = ad_id unless ad_id.nil?
|
102
|
-
command.query['campaignId'] = campaign_id unless campaign_id.nil?
|
103
|
-
command.query['criterionId'] = criterion_id unless criterion_id.nil?
|
104
|
-
command.query['endDate'] = end_date unless end_date.nil?
|
105
|
-
command.query['rowCount'] = row_count unless row_count.nil?
|
106
|
-
command.query['startDate'] = start_date unless start_date.nil?
|
107
|
-
command.query['startRow'] = start_row unless start_row.nil?
|
108
|
-
command.query['fields'] = fields unless fields.nil?
|
109
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
110
|
-
execute_or_queue_command(command, &block)
|
111
|
-
end
|
112
|
-
|
113
53
|
# Inserts a batch of new conversions into DoubleClick Search.
|
114
54
|
# @param [Google::Apis::DoubleclicksearchV2::ConversionList] conversion_list_object
|
115
55
|
# @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.14.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-
|
11
|
+
date: 2022-10-21 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.9.
|
19
|
+
version: 0.9.1
|
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.9.
|
29
|
+
version: 0.9.1
|
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.14.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: []
|