google-apis-doubleclicksearch_v2 0.13.0 → 0.15.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: 376b4f4f7cb4017712f2b075b9a2f2ed0abc4ba8fb9e84119fabc66e7914ee2c
4
- data.tar.gz: e8f88ba6cee09c2eb608cdc68204bc7df5b2d90691504de90d0f8bfeb0b78706
3
+ metadata.gz: 9ba879c4bd59fc7f444efa7db27b49d3ad3ecde155d6aeef126dcd5aa8e7c1fd
4
+ data.tar.gz: a048850fe25fcf1224725af88e54d9ce56f614e0c32c70f5137940865888d9fe
5
5
  SHA512:
6
- metadata.gz: 779a8a939ecc5f6e2fa6768986e7cf833b0df862ebe578b4b13d4dc9806c68f515800dff8f5b9b4d2abc6420b808f899741fa0295abf356a20a526551bcba4f3
7
- data.tar.gz: bd2df53da3a6ba292b0501217700095bb69c47b78a9adb1649400af7bf85b9ad6dddb4488b35bee0424ed6029ff226d78c59b9a24b3033285656aca4d574ed92
6
+ metadata.gz: 5646a230a49fdfe08d01b7b355b4e1fa7d683897b41e65ebf124c7686c1bec370b5ca9ba3ddad718e9cfc0a587c4c574117d7bfc758e269829850b6f0fe9e4dc
7
+ data.tar.gz: 9d9fef7067f0bb3a7f0209e7f4d5e160acd254a58c27df6456576ada406a3c2c8985a1db405cbbdc8df43542675a237f628b2bd85a1bef6093dfef9539b4afd4
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-doubleclicksearch_v2
2
2
 
3
+ ### v0.15.0 (2022-10-28)
4
+
5
+ * Regenerated from discovery document revision 20221025
6
+
7
+ ### v0.14.0 (2022-10-19)
8
+
9
+ * Regenerated from discovery document revision 20221011
10
+ * Regenerated using generator version 0.11.0
11
+
3
12
  ### v0.13.0 (2022-09-22)
4
13
 
5
14
  * 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.13.0"
19
+ GEM_VERSION = "0.15.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.10.0"
22
+ GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20220420"
25
+ REVISION = "20221025"
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,6 +50,69 @@ 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
+
53
116
  # Retrieves a list of conversions from a DoubleClick Search engine account.
54
117
  # @param [Fixnum] agency_id
55
118
  # Numeric ID of the agency.
@@ -73,6 +136,8 @@ module Google
73
136
  # Numeric ID of the campaign.
74
137
  # @param [Fixnum] criterion_id
75
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.
76
141
  # @param [String] fields
77
142
  # Selector specifying which fields to include in a partial response.
78
143
  # @param [String] quota_user
@@ -90,7 +155,7 @@ module Google
90
155
  # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
91
156
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
92
157
  # @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)
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)
94
159
  command = make_simple_command(:get, 'doubleclicksearch/v2/agency/{agencyId}/advertiser/{advertiserId}/engine/{engineAccountId}/conversion', options)
95
160
  command.response_representation = Google::Apis::DoubleclicksearchV2::ConversionList::Representation
96
161
  command.response_class = Google::Apis::DoubleclicksearchV2::ConversionList
@@ -101,6 +166,7 @@ module Google
101
166
  command.query['adId'] = ad_id unless ad_id.nil?
102
167
  command.query['campaignId'] = campaign_id unless campaign_id.nil?
103
168
  command.query['criterionId'] = criterion_id unless criterion_id.nil?
169
+ command.query['customerId'] = customer_id unless customer_id.nil?
104
170
  command.query['endDate'] = end_date unless end_date.nil?
105
171
  command.query['rowCount'] = row_count unless row_count.nil?
106
172
  command.query['startDate'] = start_date unless start_date.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.13.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-09-26 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.9.0
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.0
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.13.0
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: []