google-apis-doubleclicksearch_v2 0.15.0 → 0.17.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: 9ba879c4bd59fc7f444efa7db27b49d3ad3ecde155d6aeef126dcd5aa8e7c1fd
4
- data.tar.gz: a048850fe25fcf1224725af88e54d9ce56f614e0c32c70f5137940865888d9fe
3
+ metadata.gz: ba6e68c21042cfe42d31a3eb18dca88754902b8086617c620424aa7e85cb73e0
4
+ data.tar.gz: 5dd9dc2ef665a2cf2cad7b6c331a245c934d930cfcc6c313ce0629283e21769d
5
5
  SHA512:
6
- metadata.gz: 5646a230a49fdfe08d01b7b355b4e1fa7d683897b41e65ebf124c7686c1bec370b5ca9ba3ddad718e9cfc0a587c4c574117d7bfc758e269829850b6f0fe9e4dc
7
- data.tar.gz: 9d9fef7067f0bb3a7f0209e7f4d5e160acd254a58c27df6456576ada406a3c2c8985a1db405cbbdc8df43542675a237f628b2bd85a1bef6093dfef9539b4afd4
6
+ metadata.gz: dc3b6aa2f4df0244d8bb52ba95e986e45a3d3e104efcf6076dd539e1feb1b2280d35e21e68195bd28b925e80b01b678adecd2e16c45dab3469cb4e0e7e87b591
7
+ data.tar.gz: 0a103676f0c2cf573e943418e76f65d32c64ec73f6af0ad662cabe5586277e2f06aa71ba266fe7b94cbac474ef8f981322fa2e9b05c26401fa67b184636da582
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-doubleclicksearch_v2
2
2
 
3
+ ### v0.17.0 (2023-02-15)
4
+
5
+ * Regenerated using generator version 0.12.0
6
+
7
+ ### v0.16.0 (2022-11-11)
8
+
9
+ * Regenerated from discovery document revision 20221108
10
+
3
11
  ### v0.15.0 (2022-10-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20221025
@@ -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.15.0"
19
+ GEM_VERSION = "0.17.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.11.0"
22
+ GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221025"
25
+ REVISION = "20221108"
26
26
  end
27
27
  end
28
28
  end
@@ -51,8 +51,12 @@ module Google
51
51
  end
52
52
 
53
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.
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.
56
60
  # @param [Fixnum] end_date
57
61
  # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
58
62
  # @param [Fixnum] row_count
@@ -65,16 +69,12 @@ module Google
65
69
  # Numeric ID of the ad group.
66
70
  # @param [Fixnum] ad_id
67
71
  # 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
72
  # @param [Fixnum] campaign_id
73
73
  # Numeric ID of the campaign.
74
74
  # @param [Fixnum] criterion_id
75
75
  # Numeric ID of the criterion.
76
- # @param [Fixnum] engine_account_id
77
- # Numeric ID of the engine account.
76
+ # @param [String] customer_id
77
+ # Customer ID of a client account in the new Search Ads 360 experience.
78
78
  # @param [String] fields
79
79
  # Selector specifying which fields to include in a partial response.
80
80
  # @param [String] quota_user
@@ -92,19 +92,19 @@ module Google
92
92
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
93
93
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
94
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)
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
97
  command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
98
98
  command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
99
- command.params['customerId'] = customer_id unless customer_id.nil?
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?
100
102
  command.query['adGroupId'] = ad_group_id unless ad_group_id.nil?
101
103
  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
104
  command.query['campaignId'] = campaign_id unless campaign_id.nil?
105
105
  command.query['criterionId'] = criterion_id unless criterion_id.nil?
106
+ command.query['customerId'] = customer_id unless customer_id.nil?
106
107
  command.query['endDate'] = end_date unless end_date.nil?
107
- command.query['engineAccountId'] = engine_account_id unless engine_account_id.nil?
108
108
  command.query['rowCount'] = row_count unless row_count.nil?
109
109
  command.query['startDate'] = start_date unless start_date.nil?
110
110
  command.query['startRow'] = start_row unless start_row.nil?
@@ -114,12 +114,8 @@ module Google
114
114
  end
115
115
 
116
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.
117
+ # @param [String] customer_id
118
+ # Customer ID of a client account in the new Search Ads 360 experience.
123
119
  # @param [Fixnum] end_date
124
120
  # Last date (inclusive) on which to retrieve conversions. Format is yyyymmdd.
125
121
  # @param [Fixnum] row_count
@@ -132,12 +128,16 @@ module Google
132
128
  # Numeric ID of the ad group.
133
129
  # @param [Fixnum] ad_id
134
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
135
  # @param [Fixnum] campaign_id
136
136
  # Numeric ID of the campaign.
137
137
  # @param [Fixnum] criterion_id
138
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.
139
+ # @param [Fixnum] engine_account_id
140
+ # Numeric ID of the engine account.
141
141
  # @param [String] fields
142
142
  # Selector specifying which fields to include in a partial response.
143
143
  # @param [String] quota_user
@@ -155,19 +155,19 @@ module Google
155
155
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
156
156
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
157
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)
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
160
  command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
161
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?
162
+ command.params['customerId'] = customer_id unless customer_id.nil?
165
163
  command.query['adGroupId'] = ad_group_id unless ad_group_id.nil?
166
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
167
  command.query['campaignId'] = campaign_id unless campaign_id.nil?
168
168
  command.query['criterionId'] = criterion_id unless criterion_id.nil?
169
- command.query['customerId'] = customer_id unless customer_id.nil?
170
169
  command.query['endDate'] = end_date unless end_date.nil?
170
+ command.query['engineAccountId'] = engine_account_id unless engine_account_id.nil?
171
171
  command.query['rowCount'] = row_count unless row_count.nil?
172
172
  command.query['startDate'] = start_date unless start_date.nil?
173
173
  command.query['startRow'] = start_row unless start_row.nil?
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.15.0
4
+ version: 0.17.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-31 00:00:00.000000000 Z
11
+ date: 2023-02-19 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.1
19
+ version: 0.11.0
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.1
29
+ version: 0.11.0
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.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-doubleclicksearch_v2/v0.17.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.3.14
78
+ rubygems_version: 3.4.2
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Search Ads 360 API V2