google-apis-doubleclicksearch_v2 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9ba879c4bd59fc7f444efa7db27b49d3ad3ecde155d6aeef126dcd5aa8e7c1fd
|
4
|
+
data.tar.gz: a048850fe25fcf1224725af88e54d9ce56f614e0c32c70f5137940865888d9fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5646a230a49fdfe08d01b7b355b4e1fa7d683897b41e65ebf124c7686c1bec370b5ca9ba3ddad718e9cfc0a587c4c574117d7bfc758e269829850b6f0fe9e4dc
|
7
|
+
data.tar.gz: 9d9fef7067f0bb3a7f0209e7f4d5e160acd254a58c27df6456576ada406a3c2c8985a1db405cbbdc8df43542675a237f628b2bd85a1bef6093dfef9539b4afd4
|
data/CHANGELOG.md
CHANGED
@@ -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.15.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.11.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20221025"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -50,6 +50,132 @@ 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 [String] customer_id
|
55
|
+
# Customer ID of a client account in the new Search Ads 360 experience.
|
56
|
+
# @param [Fixnum] end_date
|
57
|
+
# Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
58
|
+
# @param [Fixnum] row_count
|
59
|
+
# The number of conversions to return per call.
|
60
|
+
# @param [Fixnum] start_date
|
61
|
+
# First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
62
|
+
# @param [Fixnum] start_row
|
63
|
+
# The 0-based starting index for retrieving conversions results.
|
64
|
+
# @param [Fixnum] ad_group_id
|
65
|
+
# Numeric ID of the ad group.
|
66
|
+
# @param [Fixnum] ad_id
|
67
|
+
# Numeric ID of the ad.
|
68
|
+
# @param [Fixnum] advertiser_id
|
69
|
+
# Numeric ID of the advertiser.
|
70
|
+
# @param [Fixnum] agency_id
|
71
|
+
# Numeric ID of the agency.
|
72
|
+
# @param [Fixnum] campaign_id
|
73
|
+
# Numeric ID of the campaign.
|
74
|
+
# @param [Fixnum] criterion_id
|
75
|
+
# Numeric ID of the criterion.
|
76
|
+
# @param [Fixnum] engine_account_id
|
77
|
+
# Numeric ID of the engine account.
|
78
|
+
# @param [String] fields
|
79
|
+
# Selector specifying which fields to include in a partial response.
|
80
|
+
# @param [String] quota_user
|
81
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
82
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
83
|
+
# @param [Google::Apis::RequestOptions] options
|
84
|
+
# Request-specific options
|
85
|
+
#
|
86
|
+
# @yield [result, err] Result & error if block supplied
|
87
|
+
# @yieldparam result [Google::Apis::DoubleclicksearchV2::ConversionList] parsed result object
|
88
|
+
# @yieldparam err [StandardError] error object if request failed
|
89
|
+
#
|
90
|
+
# @return [Google::Apis::DoubleclicksearchV2::ConversionList]
|
91
|
+
#
|
92
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
93
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
94
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
95
|
+
def get_conversion_customer_id(customer_id, end_date, row_count, start_date, start_row, ad_group_id: nil, ad_id: nil, advertiser_id: nil, agency_id: nil, campaign_id: nil, criterion_id: nil, engine_account_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
96
|
+
command = make_simple_command(:get, 'doubleclicksearch/v2/customer/{customerId}/conversion', options)
|
97
|
+
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
98
|
+
command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
|
99
|
+
command.params['customerId'] = customer_id unless customer_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['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
103
|
+
command.query['agencyId'] = agency_id unless agency_id.nil?
|
104
|
+
command.query['campaignId'] = campaign_id unless campaign_id.nil?
|
105
|
+
command.query['criterionId'] = criterion_id unless criterion_id.nil?
|
106
|
+
command.query['endDate'] = end_date unless end_date.nil?
|
107
|
+
command.query['engineAccountId'] = engine_account_id unless engine_account_id.nil?
|
108
|
+
command.query['rowCount'] = row_count unless row_count.nil?
|
109
|
+
command.query['startDate'] = start_date unless start_date.nil?
|
110
|
+
command.query['startRow'] = start_row unless start_row.nil?
|
111
|
+
command.query['fields'] = fields unless fields.nil?
|
112
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
113
|
+
execute_or_queue_command(command, &block)
|
114
|
+
end
|
115
|
+
|
116
|
+
# Retrieves a list of conversions from a DoubleClick Search engine account.
|
117
|
+
# @param [Fixnum] agency_id
|
118
|
+
# Numeric ID of the agency.
|
119
|
+
# @param [Fixnum] advertiser_id
|
120
|
+
# Numeric ID of the advertiser.
|
121
|
+
# @param [Fixnum] engine_account_id
|
122
|
+
# Numeric ID of the engine account.
|
123
|
+
# @param [Fixnum] end_date
|
124
|
+
# Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
125
|
+
# @param [Fixnum] row_count
|
126
|
+
# The number of conversions to return per call.
|
127
|
+
# @param [Fixnum] start_date
|
128
|
+
# First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
|
129
|
+
# @param [Fixnum] start_row
|
130
|
+
# The 0-based starting index for retrieving conversions results.
|
131
|
+
# @param [Fixnum] ad_group_id
|
132
|
+
# Numeric ID of the ad group.
|
133
|
+
# @param [Fixnum] ad_id
|
134
|
+
# Numeric ID of the ad.
|
135
|
+
# @param [Fixnum] campaign_id
|
136
|
+
# Numeric ID of the campaign.
|
137
|
+
# @param [Fixnum] criterion_id
|
138
|
+
# Numeric ID of the criterion.
|
139
|
+
# @param [String] customer_id
|
140
|
+
# Customer ID of a client account in the new Search Ads 360 experience.
|
141
|
+
# @param [String] fields
|
142
|
+
# Selector specifying which fields to include in a partial response.
|
143
|
+
# @param [String] quota_user
|
144
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
145
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
146
|
+
# @param [Google::Apis::RequestOptions] options
|
147
|
+
# Request-specific options
|
148
|
+
#
|
149
|
+
# @yield [result, err] Result & error if block supplied
|
150
|
+
# @yieldparam result [Google::Apis::DoubleclicksearchV2::ConversionList] parsed result object
|
151
|
+
# @yieldparam err [StandardError] error object if request failed
|
152
|
+
#
|
153
|
+
# @return [Google::Apis::DoubleclicksearchV2::ConversionList]
|
154
|
+
#
|
155
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
156
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
157
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
158
|
+
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, customer_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
159
|
+
command = make_simple_command(:get, 'doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', options)
|
160
|
+
command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
|
161
|
+
command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
|
162
|
+
command.params['agencyId'] = agency_id unless agency_id.nil?
|
163
|
+
command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
|
164
|
+
command.params['engineAccountId'] = engine_account_id unless engine_account_id.nil?
|
165
|
+
command.query['adGroupId'] = ad_group_id unless ad_group_id.nil?
|
166
|
+
command.query['adId'] = ad_id unless ad_id.nil?
|
167
|
+
command.query['campaignId'] = campaign_id unless campaign_id.nil?
|
168
|
+
command.query['criterionId'] = criterion_id unless criterion_id.nil?
|
169
|
+
command.query['customerId'] = customer_id unless customer_id.nil?
|
170
|
+
command.query['endDate'] = end_date unless end_date.nil?
|
171
|
+
command.query['rowCount'] = row_count unless row_count.nil?
|
172
|
+
command.query['startDate'] = start_date unless start_date.nil?
|
173
|
+
command.query['startRow'] = start_row unless start_row.nil?
|
174
|
+
command.query['fields'] = fields unless fields.nil?
|
175
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
176
|
+
execute_or_queue_command(command, &block)
|
177
|
+
end
|
178
|
+
|
53
179
|
# Inserts a batch of new conversions into DoubleClick Search.
|
54
180
|
# @param [Google::Apis::DoubleclicksearchV2::ConversionList] conversion_list_object
|
55
181
|
# @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.15.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-10-
|
11
|
+
date: 2022-10-31 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.15.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: []
|