google-apis-doubleclicksearch_v2 0.14.0 → 0.16.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: 8e19ce69cae3a9538f42e0994a75c8fff7fbf4ec8694096e00053dadf07cc6bf
4
- data.tar.gz: 94ef88648729c032207cf0a088914c86203cfe18494a5c5ab8b4536f3169b581
3
+ metadata.gz: f582aea521c277f9b9943eb3bd74dbe3d75ec555d69391819d822b0b225f4e95
4
+ data.tar.gz: 8f9ef984b760a003151655ad7255d9dff12d4a1f604e87881d987810c2ab0b39
5
5
  SHA512:
6
- metadata.gz: 00e6e7a7a071f44cf4f81a86474405caa37e56f0c7d72cd61bf8bec026e12319c21375ab831b7efb95c9dd23cf609a41fa0f6036017c9825e318a5f3764fca38
7
- data.tar.gz: 1cb920922185d094522fbc411e5d623a154c081c2d16366f68d178de90c468103fc0eec653b5bcb94ffae2739f879e9bb1d5ee0332f20bd1ae7295d58195c9c2
6
+ metadata.gz: 2c250f3b2930ccaaddc8a726227feb861d3f806601c0f715ad3fff3be01ca2e6cc11bbffc7ce20dc4386290caf497d2746ff840ab57c9ef4ce6f97333bd806cf
7
+ data.tar.gz: 9f051d3b5f4e310035cfe404f9578c2c1f5fe2bbcaea89175483128af981811fd561f2ec596588ede2afa49d39996ab05d03abff66c58ab72dbe9a917e998981
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-doubleclicksearch_v2
2
2
 
3
+ ### v0.16.0 (2022-11-11)
4
+
5
+ * Regenerated from discovery document revision 20221108
6
+
7
+ ### v0.15.0 (2022-10-28)
8
+
9
+ * Regenerated from discovery document revision 20221025
10
+
3
11
  ### v0.14.0 (2022-10-19)
4
12
 
5
13
  * Regenerated from discovery document revision 20221011
@@ -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.14.0"
19
+ GEM_VERSION = "0.16.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 = "20221011"
25
+ REVISION = "20221108"
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 [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] customer_id
77
+ # Customer ID of a client account in the new Search Ads 360 experience.
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(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)
96
+ command = make_simple_command(:get, 'doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', options)
97
+ command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
98
+ command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
99
+ command.params['agencyId'] = agency_id unless agency_id.nil?
100
+ command.params['advertiserId'] = advertiser_id unless advertiser_id.nil?
101
+ command.params['engineAccountId'] = engine_account_id unless engine_account_id.nil?
102
+ command.query['adGroupId'] = ad_group_id unless ad_group_id.nil?
103
+ command.query['adId'] = ad_id unless ad_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['customerId'] = customer_id unless customer_id.nil?
107
+ command.query['endDate'] = end_date unless end_date.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 [String] customer_id
118
+ # Customer ID of a client account in the new Search Ads 360 experience.
119
+ # @param [Fixnum] end_date
120
+ # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
121
+ # @param [Fixnum] row_count
122
+ # The number of conversions to return per call.
123
+ # @param [Fixnum] start_date
124
+ # First date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
125
+ # @param [Fixnum] start_row
126
+ # The 0-based starting index for retrieving conversions results.
127
+ # @param [Fixnum] ad_group_id
128
+ # Numeric ID of the ad group.
129
+ # @param [Fixnum] ad_id
130
+ # Numeric ID of the ad.
131
+ # @param [Fixnum] advertiser_id
132
+ # Numeric ID of the advertiser.
133
+ # @param [Fixnum] agency_id
134
+ # Numeric ID of the agency.
135
+ # @param [Fixnum] campaign_id
136
+ # Numeric ID of the campaign.
137
+ # @param [Fixnum] criterion_id
138
+ # Numeric ID of the criterion.
139
+ # @param [Fixnum] engine_account_id
140
+ # Numeric ID of the engine account.
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_by_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)
159
+ command = make_simple_command(:get, 'doubleclicksearch/v2/customer/{customerId}/conversion', options)
160
+ command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
161
+ command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
162
+ command.params['customerId'] = customer_id unless customer_id.nil?
163
+ command.query['adGroupId'] = ad_group_id unless ad_group_id.nil?
164
+ command.query['adId'] = ad_id unless ad_id.nil?
165
+ command.query['advertiserId'] = advertiser_id unless advertiser_id.nil?
166
+ command.query['agencyId'] = agency_id unless agency_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['endDate'] = end_date unless end_date.nil?
170
+ command.query['engineAccountId'] = engine_account_id unless engine_account_id.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.14.0
4
+ version: 0.16.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-21 00:00:00.000000000 Z
11
+ date: 2022-11-14 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.16.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: []