airbyte-agent-amazon-ads 0.1.18__py3-none-any.whl

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.
Files changed (57) hide show
  1. airbyte_agent_amazon_ads/__init__.py +75 -0
  2. airbyte_agent_amazon_ads/_vendored/__init__.py +1 -0
  3. airbyte_agent_amazon_ads/_vendored/connector_sdk/__init__.py +82 -0
  4. airbyte_agent_amazon_ads/_vendored/connector_sdk/auth_strategies.py +1171 -0
  5. airbyte_agent_amazon_ads/_vendored/connector_sdk/auth_template.py +135 -0
  6. airbyte_agent_amazon_ads/_vendored/connector_sdk/cloud_utils/__init__.py +5 -0
  7. airbyte_agent_amazon_ads/_vendored/connector_sdk/cloud_utils/client.py +213 -0
  8. airbyte_agent_amazon_ads/_vendored/connector_sdk/connector_model_loader.py +1116 -0
  9. airbyte_agent_amazon_ads/_vendored/connector_sdk/constants.py +78 -0
  10. airbyte_agent_amazon_ads/_vendored/connector_sdk/exceptions.py +23 -0
  11. airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/__init__.py +31 -0
  12. airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/hosted_executor.py +196 -0
  13. airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/local_executor.py +1773 -0
  14. airbyte_agent_amazon_ads/_vendored/connector_sdk/executor/models.py +190 -0
  15. airbyte_agent_amazon_ads/_vendored/connector_sdk/extensions.py +693 -0
  16. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/__init__.py +37 -0
  17. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/__init__.py +9 -0
  18. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/adapters/httpx_adapter.py +251 -0
  19. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/config.py +98 -0
  20. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/exceptions.py +119 -0
  21. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/protocols.py +114 -0
  22. airbyte_agent_amazon_ads/_vendored/connector_sdk/http/response.py +104 -0
  23. airbyte_agent_amazon_ads/_vendored/connector_sdk/http_client.py +693 -0
  24. airbyte_agent_amazon_ads/_vendored/connector_sdk/introspection.py +481 -0
  25. airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/__init__.py +11 -0
  26. airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/logger.py +273 -0
  27. airbyte_agent_amazon_ads/_vendored/connector_sdk/logging/types.py +93 -0
  28. airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/__init__.py +11 -0
  29. airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/config.py +179 -0
  30. airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/models.py +19 -0
  31. airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/redactor.py +81 -0
  32. airbyte_agent_amazon_ads/_vendored/connector_sdk/observability/session.py +103 -0
  33. airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/__init__.py +6 -0
  34. airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/instrumentation.py +57 -0
  35. airbyte_agent_amazon_ads/_vendored/connector_sdk/performance/metrics.py +93 -0
  36. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/__init__.py +75 -0
  37. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/base.py +201 -0
  38. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/components.py +244 -0
  39. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/connector.py +120 -0
  40. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/extensions.py +301 -0
  41. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/operations.py +146 -0
  42. airbyte_agent_amazon_ads/_vendored/connector_sdk/schema/security.py +236 -0
  43. airbyte_agent_amazon_ads/_vendored/connector_sdk/secrets.py +182 -0
  44. airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/__init__.py +10 -0
  45. airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/config.py +32 -0
  46. airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/events.py +59 -0
  47. airbyte_agent_amazon_ads/_vendored/connector_sdk/telemetry/tracker.py +155 -0
  48. airbyte_agent_amazon_ads/_vendored/connector_sdk/types.py +255 -0
  49. airbyte_agent_amazon_ads/_vendored/connector_sdk/utils.py +60 -0
  50. airbyte_agent_amazon_ads/_vendored/connector_sdk/validation.py +828 -0
  51. airbyte_agent_amazon_ads/connector.py +711 -0
  52. airbyte_agent_amazon_ads/connector_model.py +2213 -0
  53. airbyte_agent_amazon_ads/models.py +225 -0
  54. airbyte_agent_amazon_ads/types.py +238 -0
  55. airbyte_agent_amazon_ads-0.1.18.dist-info/METADATA +140 -0
  56. airbyte_agent_amazon_ads-0.1.18.dist-info/RECORD +57 -0
  57. airbyte_agent_amazon_ads-0.1.18.dist-info/WHEEL +4 -0
@@ -0,0 +1,2213 @@
1
+ """
2
+ Connector model for amazon-ads.
3
+
4
+ This file is auto-generated from the connector definition at build time.
5
+ DO NOT EDIT MANUALLY - changes will be overwritten on next generation.
6
+ """
7
+
8
+ from __future__ import annotations
9
+
10
+ from ._vendored.connector_sdk.types import (
11
+ Action,
12
+ AuthConfig,
13
+ AuthType,
14
+ ConnectorModel,
15
+ EndpointDefinition,
16
+ EntityDefinition,
17
+ )
18
+ from ._vendored.connector_sdk.schema.security import (
19
+ AirbyteAuthConfig,
20
+ AuthConfigFieldSpec,
21
+ )
22
+ from uuid import (
23
+ UUID,
24
+ )
25
+
26
+ AmazonAdsConnectorModel: ConnectorModel = ConnectorModel(
27
+ id=UUID('c6b0a29e-1da9-4512-9002-7bfd0cba2246'),
28
+ name='amazon-ads',
29
+ version='1.0.4',
30
+ base_url='{region}',
31
+ auth=AuthConfig(
32
+ type=AuthType.OAUTH2,
33
+ config={
34
+ 'header': 'Authorization',
35
+ 'prefix': 'Bearer',
36
+ 'refresh_url': 'https://api.amazon.com/auth/o2/token',
37
+ 'additional_headers': {'Amazon-Advertising-API-ClientId': '{{ client_id }}'},
38
+ },
39
+ user_config_spec=AirbyteAuthConfig(
40
+ title='OAuth2 Authentication',
41
+ type='object',
42
+ required=['client_id', 'client_secret', 'refresh_token'],
43
+ properties={
44
+ 'client_id': AuthConfigFieldSpec(
45
+ title='Client ID',
46
+ description='The client ID of your Amazon Ads API application',
47
+ ),
48
+ 'client_secret': AuthConfigFieldSpec(
49
+ title='Client Secret',
50
+ description='The client secret of your Amazon Ads API application',
51
+ ),
52
+ 'refresh_token': AuthConfigFieldSpec(
53
+ title='Refresh Token',
54
+ description='The refresh token obtained from the OAuth authorization flow',
55
+ ),
56
+ },
57
+ auth_mapping={
58
+ 'client_id': '${client_id}',
59
+ 'client_secret': '${client_secret}',
60
+ 'refresh_token': '${refresh_token}',
61
+ },
62
+ replication_auth_key_mapping={
63
+ 'client_id': 'client_id',
64
+ 'client_secret': 'client_secret',
65
+ 'refresh_token': 'refresh_token',
66
+ },
67
+ additional_headers={'Amazon-Advertising-API-ClientId': '{{ client_id }}'},
68
+ ),
69
+ ),
70
+ entities=[
71
+ EntityDefinition(
72
+ name='profiles',
73
+ actions=[Action.LIST, Action.GET],
74
+ endpoints={
75
+ Action.LIST: EndpointDefinition(
76
+ method='GET',
77
+ path='/v2/profiles',
78
+ action=Action.LIST,
79
+ description="Returns a list of advertising profiles associated with the authenticated user.\nProfiles represent an advertiser's account in a specific marketplace. Advertisers\nmay have a single profile if they advertise in only one marketplace, or a separate\nprofile for each marketplace if they advertise regionally or globally.\n",
80
+ query_params=['profileTypeFilter'],
81
+ query_params_schema={
82
+ 'profileTypeFilter': {
83
+ 'type': 'string',
84
+ 'required': False,
85
+ 'default': 'seller,vendor',
86
+ },
87
+ },
88
+ header_params=['Amazon-Advertising-API-ClientId'],
89
+ header_params_schema={
90
+ 'Amazon-Advertising-API-ClientId': {'type': 'string', 'required': True},
91
+ },
92
+ response_schema={
93
+ 'type': 'array',
94
+ 'items': {
95
+ 'type': 'object',
96
+ 'description': "An advertising profile represents an advertiser's account in a specific marketplace.\nProfiles are used to scope API calls and manage advertising campaigns.\n",
97
+ 'properties': {
98
+ 'profileId': {
99
+ 'type': 'integer',
100
+ 'format': 'int64',
101
+ 'description': 'The unique identifier of the profile',
102
+ },
103
+ 'countryCode': {
104
+ 'type': ['string', 'null'],
105
+ 'description': 'The country code of the marketplace (e.g., US, UK, DE, JP)',
106
+ },
107
+ 'currencyCode': {
108
+ 'type': ['string', 'null'],
109
+ 'description': 'The currency code used for the profile (e.g., USD, GBP, EUR, JPY)',
110
+ },
111
+ 'dailyBudget': {
112
+ 'type': ['number', 'null'],
113
+ 'description': 'The daily budget limit for the profile',
114
+ },
115
+ 'timezone': {
116
+ 'type': ['string', 'null'],
117
+ 'description': 'The timezone of the profile (e.g., America/Los_Angeles, Europe/London)',
118
+ },
119
+ 'accountInfo': {
120
+ 'oneOf': [
121
+ {
122
+ 'type': 'object',
123
+ 'description': "Information about the advertiser's account associated with a profile",
124
+ 'properties': {
125
+ 'marketplaceStringId': {
126
+ 'type': ['string', 'null'],
127
+ 'description': 'The unique identifier of the marketplace',
128
+ },
129
+ 'id': {
130
+ 'type': ['string', 'null'],
131
+ 'description': 'The unique identifier of the account',
132
+ },
133
+ 'type': {
134
+ 'type': ['string', 'null'],
135
+ 'description': 'The type of account (e.g., seller, vendor, agency)',
136
+ 'enum': ['seller', 'vendor', 'agency'],
137
+ },
138
+ 'name': {
139
+ 'type': ['string', 'null'],
140
+ 'description': 'The name of the account',
141
+ },
142
+ 'subType': {
143
+ 'type': ['string', 'null'],
144
+ 'description': 'The subtype of the account',
145
+ },
146
+ 'validPaymentMethod': {
147
+ 'type': ['boolean', 'null'],
148
+ 'description': 'Whether the account has a valid payment method configured',
149
+ },
150
+ },
151
+ },
152
+ {'type': 'null'},
153
+ ],
154
+ 'description': "Information about the advertiser's account",
155
+ },
156
+ },
157
+ 'x-airbyte-entity-name': 'profiles',
158
+ },
159
+ },
160
+ ),
161
+ Action.GET: EndpointDefinition(
162
+ method='GET',
163
+ path='/v2/profiles/{profileId}',
164
+ action=Action.GET,
165
+ description="Retrieves a single advertising profile by its ID. The profile contains\ninformation about the advertiser's account in a specific marketplace.\n",
166
+ path_params=['profileId'],
167
+ path_params_schema={
168
+ 'profileId': {'type': 'integer', 'required': True},
169
+ },
170
+ header_params=['Amazon-Advertising-API-ClientId'],
171
+ header_params_schema={
172
+ 'Amazon-Advertising-API-ClientId': {'type': 'string', 'required': True},
173
+ },
174
+ response_schema={
175
+ 'type': 'object',
176
+ 'description': "An advertising profile represents an advertiser's account in a specific marketplace.\nProfiles are used to scope API calls and manage advertising campaigns.\n",
177
+ 'properties': {
178
+ 'profileId': {
179
+ 'type': 'integer',
180
+ 'format': 'int64',
181
+ 'description': 'The unique identifier of the profile',
182
+ },
183
+ 'countryCode': {
184
+ 'type': ['string', 'null'],
185
+ 'description': 'The country code of the marketplace (e.g., US, UK, DE, JP)',
186
+ },
187
+ 'currencyCode': {
188
+ 'type': ['string', 'null'],
189
+ 'description': 'The currency code used for the profile (e.g., USD, GBP, EUR, JPY)',
190
+ },
191
+ 'dailyBudget': {
192
+ 'type': ['number', 'null'],
193
+ 'description': 'The daily budget limit for the profile',
194
+ },
195
+ 'timezone': {
196
+ 'type': ['string', 'null'],
197
+ 'description': 'The timezone of the profile (e.g., America/Los_Angeles, Europe/London)',
198
+ },
199
+ 'accountInfo': {
200
+ 'oneOf': [
201
+ {
202
+ 'type': 'object',
203
+ 'description': "Information about the advertiser's account associated with a profile",
204
+ 'properties': {
205
+ 'marketplaceStringId': {
206
+ 'type': ['string', 'null'],
207
+ 'description': 'The unique identifier of the marketplace',
208
+ },
209
+ 'id': {
210
+ 'type': ['string', 'null'],
211
+ 'description': 'The unique identifier of the account',
212
+ },
213
+ 'type': {
214
+ 'type': ['string', 'null'],
215
+ 'description': 'The type of account (e.g., seller, vendor, agency)',
216
+ 'enum': ['seller', 'vendor', 'agency'],
217
+ },
218
+ 'name': {
219
+ 'type': ['string', 'null'],
220
+ 'description': 'The name of the account',
221
+ },
222
+ 'subType': {
223
+ 'type': ['string', 'null'],
224
+ 'description': 'The subtype of the account',
225
+ },
226
+ 'validPaymentMethod': {
227
+ 'type': ['boolean', 'null'],
228
+ 'description': 'Whether the account has a valid payment method configured',
229
+ },
230
+ },
231
+ },
232
+ {'type': 'null'},
233
+ ],
234
+ 'description': "Information about the advertiser's account",
235
+ },
236
+ },
237
+ 'x-airbyte-entity-name': 'profiles',
238
+ },
239
+ ),
240
+ },
241
+ entity_schema={
242
+ 'type': 'object',
243
+ 'description': "An advertising profile represents an advertiser's account in a specific marketplace.\nProfiles are used to scope API calls and manage advertising campaigns.\n",
244
+ 'properties': {
245
+ 'profileId': {
246
+ 'type': 'integer',
247
+ 'format': 'int64',
248
+ 'description': 'The unique identifier of the profile',
249
+ },
250
+ 'countryCode': {
251
+ 'type': ['string', 'null'],
252
+ 'description': 'The country code of the marketplace (e.g., US, UK, DE, JP)',
253
+ },
254
+ 'currencyCode': {
255
+ 'type': ['string', 'null'],
256
+ 'description': 'The currency code used for the profile (e.g., USD, GBP, EUR, JPY)',
257
+ },
258
+ 'dailyBudget': {
259
+ 'type': ['number', 'null'],
260
+ 'description': 'The daily budget limit for the profile',
261
+ },
262
+ 'timezone': {
263
+ 'type': ['string', 'null'],
264
+ 'description': 'The timezone of the profile (e.g., America/Los_Angeles, Europe/London)',
265
+ },
266
+ 'accountInfo': {
267
+ 'oneOf': [
268
+ {'$ref': '#/components/schemas/AccountInfo'},
269
+ {'type': 'null'},
270
+ ],
271
+ 'description': "Information about the advertiser's account",
272
+ },
273
+ },
274
+ 'x-airbyte-entity-name': 'profiles',
275
+ },
276
+ ),
277
+ EntityDefinition(
278
+ name='portfolios',
279
+ actions=[Action.LIST, Action.GET],
280
+ endpoints={
281
+ Action.LIST: EndpointDefinition(
282
+ method='POST',
283
+ path='/portfolios/list',
284
+ action=Action.LIST,
285
+ description='Returns a list of portfolios for the specified profile. Portfolios are used to\ngroup campaigns together for organizational and budget management purposes.\n',
286
+ body_fields=['includeExtendedDataFields'],
287
+ header_params=['Amazon-Advertising-API-ClientId', 'Amazon-Advertising-API-Scope'],
288
+ header_params_schema={
289
+ 'Amazon-Advertising-API-ClientId': {'type': 'string', 'required': True},
290
+ 'Amazon-Advertising-API-Scope': {'type': 'string', 'required': True},
291
+ },
292
+ request_body_defaults={'includeExtendedDataFields': 'true'},
293
+ request_schema={
294
+ 'type': 'object',
295
+ 'properties': {
296
+ 'includeExtendedDataFields': {
297
+ 'type': 'string',
298
+ 'default': 'true',
299
+ 'description': 'Whether to include extended data fields in the response',
300
+ },
301
+ },
302
+ },
303
+ response_schema={
304
+ 'type': 'object',
305
+ 'properties': {
306
+ 'portfolios': {
307
+ 'type': 'array',
308
+ 'items': {
309
+ 'type': 'object',
310
+ 'description': 'A portfolio is a container for grouping campaigns together for organizational\nand budget management purposes.\n',
311
+ 'properties': {
312
+ 'portfolioId': {
313
+ 'oneOf': [
314
+ {'type': 'string'},
315
+ {'type': 'integer', 'format': 'int64'},
316
+ ],
317
+ 'description': 'The unique identifier of the portfolio',
318
+ },
319
+ 'name': {
320
+ 'type': ['string', 'null'],
321
+ 'description': 'The name of the portfolio',
322
+ },
323
+ 'budget': {
324
+ 'oneOf': [
325
+ {
326
+ 'type': 'object',
327
+ 'description': 'Budget configuration for a portfolio',
328
+ 'properties': {
329
+ 'amount': {
330
+ 'type': ['number', 'null'],
331
+ 'description': 'The budget amount',
332
+ },
333
+ 'currencyCode': {
334
+ 'type': ['string', 'null'],
335
+ 'description': 'The currency code for the budget',
336
+ },
337
+ 'policy': {
338
+ 'type': ['string', 'null'],
339
+ 'description': 'The budget policy (dateRange, monthlyRecurring)',
340
+ },
341
+ 'startDate': {
342
+ 'type': ['string', 'null'],
343
+ 'description': 'The start date of the budget period',
344
+ },
345
+ 'endDate': {
346
+ 'type': ['string', 'null'],
347
+ 'description': 'The end date of the budget period',
348
+ },
349
+ },
350
+ },
351
+ {'type': 'null'},
352
+ ],
353
+ 'description': 'Budget configuration for the portfolio',
354
+ },
355
+ 'inBudget': {
356
+ 'type': ['boolean', 'null'],
357
+ 'description': 'Whether the portfolio is within its budget',
358
+ },
359
+ 'state': {
360
+ 'type': ['string', 'null'],
361
+ 'description': 'The state of the portfolio (enabled, paused, archived)',
362
+ 'enum': [
363
+ 'enabled',
364
+ 'paused',
365
+ 'archived',
366
+ 'ENABLED',
367
+ 'PAUSED',
368
+ 'ARCHIVED',
369
+ ],
370
+ },
371
+ 'creationDate': {
372
+ 'type': ['integer', 'null'],
373
+ 'format': 'int64',
374
+ 'description': 'The creation date of the portfolio (epoch milliseconds)',
375
+ },
376
+ 'lastUpdatedDate': {
377
+ 'type': ['integer', 'null'],
378
+ 'format': 'int64',
379
+ 'description': 'The last updated date of the portfolio (epoch milliseconds)',
380
+ },
381
+ 'servingStatus': {
382
+ 'type': ['string', 'null'],
383
+ 'description': 'The serving status of the portfolio',
384
+ },
385
+ },
386
+ 'x-airbyte-entity-name': 'portfolios',
387
+ },
388
+ },
389
+ 'nextToken': {
390
+ 'type': ['string', 'null'],
391
+ 'description': 'Token for pagination',
392
+ },
393
+ },
394
+ },
395
+ ),
396
+ Action.GET: EndpointDefinition(
397
+ method='GET',
398
+ path='/v2/portfolios/{portfolioId}',
399
+ action=Action.GET,
400
+ description='Retrieves a single portfolio by its ID using the v2 API.\n',
401
+ path_params=['portfolioId'],
402
+ path_params_schema={
403
+ 'portfolioId': {'type': 'integer', 'required': True},
404
+ },
405
+ header_params=['Amazon-Advertising-API-ClientId', 'Amazon-Advertising-API-Scope'],
406
+ header_params_schema={
407
+ 'Amazon-Advertising-API-ClientId': {'type': 'string', 'required': True},
408
+ 'Amazon-Advertising-API-Scope': {'type': 'string', 'required': True},
409
+ },
410
+ response_schema={
411
+ 'type': 'object',
412
+ 'description': 'A portfolio is a container for grouping campaigns together for organizational\nand budget management purposes.\n',
413
+ 'properties': {
414
+ 'portfolioId': {
415
+ 'oneOf': [
416
+ {'type': 'string'},
417
+ {'type': 'integer', 'format': 'int64'},
418
+ ],
419
+ 'description': 'The unique identifier of the portfolio',
420
+ },
421
+ 'name': {
422
+ 'type': ['string', 'null'],
423
+ 'description': 'The name of the portfolio',
424
+ },
425
+ 'budget': {
426
+ 'oneOf': [
427
+ {
428
+ 'type': 'object',
429
+ 'description': 'Budget configuration for a portfolio',
430
+ 'properties': {
431
+ 'amount': {
432
+ 'type': ['number', 'null'],
433
+ 'description': 'The budget amount',
434
+ },
435
+ 'currencyCode': {
436
+ 'type': ['string', 'null'],
437
+ 'description': 'The currency code for the budget',
438
+ },
439
+ 'policy': {
440
+ 'type': ['string', 'null'],
441
+ 'description': 'The budget policy (dateRange, monthlyRecurring)',
442
+ },
443
+ 'startDate': {
444
+ 'type': ['string', 'null'],
445
+ 'description': 'The start date of the budget period',
446
+ },
447
+ 'endDate': {
448
+ 'type': ['string', 'null'],
449
+ 'description': 'The end date of the budget period',
450
+ },
451
+ },
452
+ },
453
+ {'type': 'null'},
454
+ ],
455
+ 'description': 'Budget configuration for the portfolio',
456
+ },
457
+ 'inBudget': {
458
+ 'type': ['boolean', 'null'],
459
+ 'description': 'Whether the portfolio is within its budget',
460
+ },
461
+ 'state': {
462
+ 'type': ['string', 'null'],
463
+ 'description': 'The state of the portfolio (enabled, paused, archived)',
464
+ 'enum': [
465
+ 'enabled',
466
+ 'paused',
467
+ 'archived',
468
+ 'ENABLED',
469
+ 'PAUSED',
470
+ 'ARCHIVED',
471
+ ],
472
+ },
473
+ 'creationDate': {
474
+ 'type': ['integer', 'null'],
475
+ 'format': 'int64',
476
+ 'description': 'The creation date of the portfolio (epoch milliseconds)',
477
+ },
478
+ 'lastUpdatedDate': {
479
+ 'type': ['integer', 'null'],
480
+ 'format': 'int64',
481
+ 'description': 'The last updated date of the portfolio (epoch milliseconds)',
482
+ },
483
+ 'servingStatus': {
484
+ 'type': ['string', 'null'],
485
+ 'description': 'The serving status of the portfolio',
486
+ },
487
+ },
488
+ 'x-airbyte-entity-name': 'portfolios',
489
+ },
490
+ ),
491
+ },
492
+ entity_schema={
493
+ 'type': 'object',
494
+ 'description': 'A portfolio is a container for grouping campaigns together for organizational\nand budget management purposes.\n',
495
+ 'properties': {
496
+ 'portfolioId': {
497
+ 'oneOf': [
498
+ {'type': 'string'},
499
+ {'type': 'integer', 'format': 'int64'},
500
+ ],
501
+ 'description': 'The unique identifier of the portfolio',
502
+ },
503
+ 'name': {
504
+ 'type': ['string', 'null'],
505
+ 'description': 'The name of the portfolio',
506
+ },
507
+ 'budget': {
508
+ 'oneOf': [
509
+ {'$ref': '#/components/schemas/PortfolioBudget'},
510
+ {'type': 'null'},
511
+ ],
512
+ 'description': 'Budget configuration for the portfolio',
513
+ },
514
+ 'inBudget': {
515
+ 'type': ['boolean', 'null'],
516
+ 'description': 'Whether the portfolio is within its budget',
517
+ },
518
+ 'state': {
519
+ 'type': ['string', 'null'],
520
+ 'description': 'The state of the portfolio (enabled, paused, archived)',
521
+ 'enum': [
522
+ 'enabled',
523
+ 'paused',
524
+ 'archived',
525
+ 'ENABLED',
526
+ 'PAUSED',
527
+ 'ARCHIVED',
528
+ ],
529
+ },
530
+ 'creationDate': {
531
+ 'type': ['integer', 'null'],
532
+ 'format': 'int64',
533
+ 'description': 'The creation date of the portfolio (epoch milliseconds)',
534
+ },
535
+ 'lastUpdatedDate': {
536
+ 'type': ['integer', 'null'],
537
+ 'format': 'int64',
538
+ 'description': 'The last updated date of the portfolio (epoch milliseconds)',
539
+ },
540
+ 'servingStatus': {
541
+ 'type': ['string', 'null'],
542
+ 'description': 'The serving status of the portfolio',
543
+ },
544
+ },
545
+ 'x-airbyte-entity-name': 'portfolios',
546
+ },
547
+ ),
548
+ EntityDefinition(
549
+ name='sponsored_product_campaigns',
550
+ actions=[Action.LIST, Action.GET],
551
+ endpoints={
552
+ Action.LIST: EndpointDefinition(
553
+ method='POST',
554
+ path='/sp/campaigns/list',
555
+ action=Action.LIST,
556
+ description='Returns a list of sponsored product campaigns for the specified profile.\nSponsored Products campaigns promote individual product listings on Amazon.\n',
557
+ body_fields=['stateFilter', 'maxResults', 'nextToken'],
558
+ header_params=[
559
+ 'Amazon-Advertising-API-ClientId',
560
+ 'Amazon-Advertising-API-Scope',
561
+ 'Accept',
562
+ 'Content-Type',
563
+ ],
564
+ header_params_schema={
565
+ 'Amazon-Advertising-API-ClientId': {'type': 'string', 'required': True},
566
+ 'Amazon-Advertising-API-Scope': {'type': 'string', 'required': True},
567
+ 'Accept': {
568
+ 'type': 'string',
569
+ 'required': True,
570
+ 'default': 'application/vnd.spCampaign.v3+json',
571
+ },
572
+ 'Content-Type': {
573
+ 'type': 'string',
574
+ 'required': True,
575
+ 'default': 'application/vnd.spCampaign.v3+json',
576
+ },
577
+ },
578
+ request_body_defaults={'maxResults': 100},
579
+ request_schema={
580
+ 'type': 'object',
581
+ 'properties': {
582
+ 'stateFilter': {
583
+ 'type': 'object',
584
+ 'properties': {
585
+ 'include': {'type': 'string', 'description': 'Comma-separated list of states to include (enabled, paused, archived)'},
586
+ },
587
+ },
588
+ 'maxResults': {
589
+ 'type': 'integer',
590
+ 'description': 'Maximum number of results to return',
591
+ 'default': 100,
592
+ },
593
+ 'nextToken': {'type': 'string', 'description': 'Token for pagination'},
594
+ },
595
+ },
596
+ response_schema={
597
+ 'type': 'object',
598
+ 'properties': {
599
+ 'campaigns': {
600
+ 'type': 'array',
601
+ 'items': {
602
+ 'type': 'object',
603
+ 'description': 'A Sponsored Products campaign promotes individual product listings on Amazon.\nCampaigns contain ad groups, which contain ads and targeting settings.\nNote: The list endpoint (v3) and get endpoint (v2) return slightly different field formats.\n',
604
+ 'properties': {
605
+ 'campaignId': {
606
+ 'oneOf': [
607
+ {'type': 'string'},
608
+ {'type': 'integer', 'format': 'int64'},
609
+ ],
610
+ 'description': 'The unique identifier of the campaign',
611
+ },
612
+ 'portfolioId': {
613
+ 'oneOf': [
614
+ {'type': 'string'},
615
+ {'type': 'integer', 'format': 'int64'},
616
+ {'type': 'null'},
617
+ ],
618
+ 'description': 'The portfolio ID this campaign belongs to',
619
+ },
620
+ 'name': {
621
+ 'type': ['string', 'null'],
622
+ 'description': 'The name of the campaign',
623
+ },
624
+ 'campaignType': {
625
+ 'type': ['string', 'null'],
626
+ 'description': 'The type of campaign (sponsoredProducts) - returned by v2 API',
627
+ },
628
+ 'tags': {
629
+ 'type': ['object', 'null'],
630
+ 'additionalProperties': True,
631
+ 'description': 'Tags associated with the campaign',
632
+ },
633
+ 'targetingType': {
634
+ 'type': ['string', 'null'],
635
+ 'description': 'The targeting type (manual, auto)',
636
+ 'enum': [
637
+ 'manual',
638
+ 'auto',
639
+ 'MANUAL',
640
+ 'AUTO',
641
+ ],
642
+ },
643
+ 'premiumBidAdjustment': {
644
+ 'type': ['boolean', 'null'],
645
+ 'description': 'Whether premium bid adjustment is enabled - returned by v2 API',
646
+ },
647
+ 'state': {
648
+ 'type': ['string', 'null'],
649
+ 'description': 'The state of the campaign (enabled, paused, archived)',
650
+ 'enum': [
651
+ 'enabled',
652
+ 'paused',
653
+ 'archived',
654
+ 'ENABLED',
655
+ 'PAUSED',
656
+ 'ARCHIVED',
657
+ ],
658
+ },
659
+ 'dynamicBidding': {
660
+ 'oneOf': [
661
+ {
662
+ 'type': 'object',
663
+ 'description': 'Dynamic bidding settings for a campaign',
664
+ 'properties': {
665
+ 'placementBidding': {
666
+ 'type': ['array', 'null'],
667
+ 'items': {
668
+ 'type': 'object',
669
+ 'properties': {
670
+ 'placement': {
671
+ 'type': ['string', 'null'],
672
+ 'description': 'The placement type',
673
+ },
674
+ 'percentage': {
675
+ 'type': ['integer', 'null'],
676
+ 'description': 'The bid adjustment percentage',
677
+ },
678
+ },
679
+ },
680
+ },
681
+ 'strategy': {
682
+ 'type': ['string', 'null'],
683
+ 'description': 'The bidding strategy (legacyForSales, autoForSales, manual)',
684
+ },
685
+ },
686
+ },
687
+ {'type': 'null'},
688
+ ],
689
+ 'description': 'Dynamic bidding settings for the campaign (v3 API format)',
690
+ },
691
+ 'bidding': {
692
+ 'oneOf': [
693
+ {
694
+ 'type': 'object',
695
+ 'description': 'Dynamic bidding settings for a campaign',
696
+ 'properties': {
697
+ 'placementBidding': {
698
+ 'type': ['array', 'null'],
699
+ 'items': {
700
+ 'type': 'object',
701
+ 'properties': {
702
+ 'placement': {
703
+ 'type': ['string', 'null'],
704
+ 'description': 'The placement type',
705
+ },
706
+ 'percentage': {
707
+ 'type': ['integer', 'null'],
708
+ 'description': 'The bid adjustment percentage',
709
+ },
710
+ },
711
+ },
712
+ },
713
+ 'strategy': {
714
+ 'type': ['string', 'null'],
715
+ 'description': 'The bidding strategy (legacyForSales, autoForSales, manual)',
716
+ },
717
+ },
718
+ },
719
+ {'type': 'null'},
720
+ ],
721
+ 'description': 'Bidding settings for the campaign (v2 API format)',
722
+ },
723
+ 'startDate': {
724
+ 'type': ['string', 'null'],
725
+ 'description': 'The start date of the campaign (YYYYMMDD format)',
726
+ },
727
+ 'endDate': {
728
+ 'type': ['string', 'null'],
729
+ 'description': 'The end date of the campaign (YYYYMMDD format)',
730
+ },
731
+ 'dailyBudget': {
732
+ 'type': ['number', 'null'],
733
+ 'description': 'The daily budget amount - returned by v2 API',
734
+ },
735
+ 'budget': {
736
+ 'oneOf': [
737
+ {
738
+ 'type': 'object',
739
+ 'description': 'Budget configuration for a campaign',
740
+ 'properties': {
741
+ 'budgetType': {
742
+ 'type': ['string', 'null'],
743
+ 'description': 'The budget type (daily)',
744
+ },
745
+ 'budget': {
746
+ 'type': ['number', 'null'],
747
+ 'description': 'The budget amount',
748
+ },
749
+ },
750
+ },
751
+ {'type': 'null'},
752
+ ],
753
+ 'description': 'Budget configuration for the campaign (v3 API format)',
754
+ },
755
+ 'extendedData': {
756
+ 'type': ['object', 'null'],
757
+ 'description': 'Extended data fields for the campaign',
758
+ },
759
+ 'marketplaceBudgetAllocation': {
760
+ 'type': ['string', 'null'],
761
+ 'description': 'Marketplace budget allocation setting (MANUAL, AUTO)',
762
+ },
763
+ 'offAmazonSettings': {
764
+ 'type': ['object', 'null'],
765
+ 'description': 'Off-Amazon settings for the campaign',
766
+ },
767
+ },
768
+ 'x-airbyte-entity-name': 'sponsored_product_campaigns',
769
+ },
770
+ },
771
+ 'nextToken': {
772
+ 'type': ['string', 'null'],
773
+ 'description': 'Token for pagination',
774
+ },
775
+ },
776
+ },
777
+ ),
778
+ Action.GET: EndpointDefinition(
779
+ method='GET',
780
+ path='/v2/sp/campaigns/{campaignId}',
781
+ action=Action.GET,
782
+ description='Retrieves a single sponsored product campaign by its ID using the v2 API.\n',
783
+ path_params=['campaignId'],
784
+ path_params_schema={
785
+ 'campaignId': {'type': 'integer', 'required': True},
786
+ },
787
+ header_params=['Amazon-Advertising-API-ClientId', 'Amazon-Advertising-API-Scope'],
788
+ header_params_schema={
789
+ 'Amazon-Advertising-API-ClientId': {'type': 'string', 'required': True},
790
+ 'Amazon-Advertising-API-Scope': {'type': 'string', 'required': True},
791
+ },
792
+ response_schema={
793
+ 'type': 'object',
794
+ 'description': 'A Sponsored Products campaign promotes individual product listings on Amazon.\nCampaigns contain ad groups, which contain ads and targeting settings.\nNote: The list endpoint (v3) and get endpoint (v2) return slightly different field formats.\n',
795
+ 'properties': {
796
+ 'campaignId': {
797
+ 'oneOf': [
798
+ {'type': 'string'},
799
+ {'type': 'integer', 'format': 'int64'},
800
+ ],
801
+ 'description': 'The unique identifier of the campaign',
802
+ },
803
+ 'portfolioId': {
804
+ 'oneOf': [
805
+ {'type': 'string'},
806
+ {'type': 'integer', 'format': 'int64'},
807
+ {'type': 'null'},
808
+ ],
809
+ 'description': 'The portfolio ID this campaign belongs to',
810
+ },
811
+ 'name': {
812
+ 'type': ['string', 'null'],
813
+ 'description': 'The name of the campaign',
814
+ },
815
+ 'campaignType': {
816
+ 'type': ['string', 'null'],
817
+ 'description': 'The type of campaign (sponsoredProducts) - returned by v2 API',
818
+ },
819
+ 'tags': {
820
+ 'type': ['object', 'null'],
821
+ 'additionalProperties': True,
822
+ 'description': 'Tags associated with the campaign',
823
+ },
824
+ 'targetingType': {
825
+ 'type': ['string', 'null'],
826
+ 'description': 'The targeting type (manual, auto)',
827
+ 'enum': [
828
+ 'manual',
829
+ 'auto',
830
+ 'MANUAL',
831
+ 'AUTO',
832
+ ],
833
+ },
834
+ 'premiumBidAdjustment': {
835
+ 'type': ['boolean', 'null'],
836
+ 'description': 'Whether premium bid adjustment is enabled - returned by v2 API',
837
+ },
838
+ 'state': {
839
+ 'type': ['string', 'null'],
840
+ 'description': 'The state of the campaign (enabled, paused, archived)',
841
+ 'enum': [
842
+ 'enabled',
843
+ 'paused',
844
+ 'archived',
845
+ 'ENABLED',
846
+ 'PAUSED',
847
+ 'ARCHIVED',
848
+ ],
849
+ },
850
+ 'dynamicBidding': {
851
+ 'oneOf': [
852
+ {
853
+ 'type': 'object',
854
+ 'description': 'Dynamic bidding settings for a campaign',
855
+ 'properties': {
856
+ 'placementBidding': {
857
+ 'type': ['array', 'null'],
858
+ 'items': {
859
+ 'type': 'object',
860
+ 'properties': {
861
+ 'placement': {
862
+ 'type': ['string', 'null'],
863
+ 'description': 'The placement type',
864
+ },
865
+ 'percentage': {
866
+ 'type': ['integer', 'null'],
867
+ 'description': 'The bid adjustment percentage',
868
+ },
869
+ },
870
+ },
871
+ },
872
+ 'strategy': {
873
+ 'type': ['string', 'null'],
874
+ 'description': 'The bidding strategy (legacyForSales, autoForSales, manual)',
875
+ },
876
+ },
877
+ },
878
+ {'type': 'null'},
879
+ ],
880
+ 'description': 'Dynamic bidding settings for the campaign (v3 API format)',
881
+ },
882
+ 'bidding': {
883
+ 'oneOf': [
884
+ {
885
+ 'type': 'object',
886
+ 'description': 'Dynamic bidding settings for a campaign',
887
+ 'properties': {
888
+ 'placementBidding': {
889
+ 'type': ['array', 'null'],
890
+ 'items': {
891
+ 'type': 'object',
892
+ 'properties': {
893
+ 'placement': {
894
+ 'type': ['string', 'null'],
895
+ 'description': 'The placement type',
896
+ },
897
+ 'percentage': {
898
+ 'type': ['integer', 'null'],
899
+ 'description': 'The bid adjustment percentage',
900
+ },
901
+ },
902
+ },
903
+ },
904
+ 'strategy': {
905
+ 'type': ['string', 'null'],
906
+ 'description': 'The bidding strategy (legacyForSales, autoForSales, manual)',
907
+ },
908
+ },
909
+ },
910
+ {'type': 'null'},
911
+ ],
912
+ 'description': 'Bidding settings for the campaign (v2 API format)',
913
+ },
914
+ 'startDate': {
915
+ 'type': ['string', 'null'],
916
+ 'description': 'The start date of the campaign (YYYYMMDD format)',
917
+ },
918
+ 'endDate': {
919
+ 'type': ['string', 'null'],
920
+ 'description': 'The end date of the campaign (YYYYMMDD format)',
921
+ },
922
+ 'dailyBudget': {
923
+ 'type': ['number', 'null'],
924
+ 'description': 'The daily budget amount - returned by v2 API',
925
+ },
926
+ 'budget': {
927
+ 'oneOf': [
928
+ {
929
+ 'type': 'object',
930
+ 'description': 'Budget configuration for a campaign',
931
+ 'properties': {
932
+ 'budgetType': {
933
+ 'type': ['string', 'null'],
934
+ 'description': 'The budget type (daily)',
935
+ },
936
+ 'budget': {
937
+ 'type': ['number', 'null'],
938
+ 'description': 'The budget amount',
939
+ },
940
+ },
941
+ },
942
+ {'type': 'null'},
943
+ ],
944
+ 'description': 'Budget configuration for the campaign (v3 API format)',
945
+ },
946
+ 'extendedData': {
947
+ 'type': ['object', 'null'],
948
+ 'description': 'Extended data fields for the campaign',
949
+ },
950
+ 'marketplaceBudgetAllocation': {
951
+ 'type': ['string', 'null'],
952
+ 'description': 'Marketplace budget allocation setting (MANUAL, AUTO)',
953
+ },
954
+ 'offAmazonSettings': {
955
+ 'type': ['object', 'null'],
956
+ 'description': 'Off-Amazon settings for the campaign',
957
+ },
958
+ },
959
+ 'x-airbyte-entity-name': 'sponsored_product_campaigns',
960
+ },
961
+ ),
962
+ },
963
+ entity_schema={
964
+ 'type': 'object',
965
+ 'description': 'A Sponsored Products campaign promotes individual product listings on Amazon.\nCampaigns contain ad groups, which contain ads and targeting settings.\nNote: The list endpoint (v3) and get endpoint (v2) return slightly different field formats.\n',
966
+ 'properties': {
967
+ 'campaignId': {
968
+ 'oneOf': [
969
+ {'type': 'string'},
970
+ {'type': 'integer', 'format': 'int64'},
971
+ ],
972
+ 'description': 'The unique identifier of the campaign',
973
+ },
974
+ 'portfolioId': {
975
+ 'oneOf': [
976
+ {'type': 'string'},
977
+ {'type': 'integer', 'format': 'int64'},
978
+ {'type': 'null'},
979
+ ],
980
+ 'description': 'The portfolio ID this campaign belongs to',
981
+ },
982
+ 'name': {
983
+ 'type': ['string', 'null'],
984
+ 'description': 'The name of the campaign',
985
+ },
986
+ 'campaignType': {
987
+ 'type': ['string', 'null'],
988
+ 'description': 'The type of campaign (sponsoredProducts) - returned by v2 API',
989
+ },
990
+ 'tags': {
991
+ 'type': ['object', 'null'],
992
+ 'additionalProperties': True,
993
+ 'description': 'Tags associated with the campaign',
994
+ },
995
+ 'targetingType': {
996
+ 'type': ['string', 'null'],
997
+ 'description': 'The targeting type (manual, auto)',
998
+ 'enum': [
999
+ 'manual',
1000
+ 'auto',
1001
+ 'MANUAL',
1002
+ 'AUTO',
1003
+ ],
1004
+ },
1005
+ 'premiumBidAdjustment': {
1006
+ 'type': ['boolean', 'null'],
1007
+ 'description': 'Whether premium bid adjustment is enabled - returned by v2 API',
1008
+ },
1009
+ 'state': {
1010
+ 'type': ['string', 'null'],
1011
+ 'description': 'The state of the campaign (enabled, paused, archived)',
1012
+ 'enum': [
1013
+ 'enabled',
1014
+ 'paused',
1015
+ 'archived',
1016
+ 'ENABLED',
1017
+ 'PAUSED',
1018
+ 'ARCHIVED',
1019
+ ],
1020
+ },
1021
+ 'dynamicBidding': {
1022
+ 'oneOf': [
1023
+ {'$ref': '#/components/schemas/DynamicBidding'},
1024
+ {'type': 'null'},
1025
+ ],
1026
+ 'description': 'Dynamic bidding settings for the campaign (v3 API format)',
1027
+ },
1028
+ 'bidding': {
1029
+ 'oneOf': [
1030
+ {'$ref': '#/components/schemas/DynamicBidding'},
1031
+ {'type': 'null'},
1032
+ ],
1033
+ 'description': 'Bidding settings for the campaign (v2 API format)',
1034
+ },
1035
+ 'startDate': {
1036
+ 'type': ['string', 'null'],
1037
+ 'description': 'The start date of the campaign (YYYYMMDD format)',
1038
+ },
1039
+ 'endDate': {
1040
+ 'type': ['string', 'null'],
1041
+ 'description': 'The end date of the campaign (YYYYMMDD format)',
1042
+ },
1043
+ 'dailyBudget': {
1044
+ 'type': ['number', 'null'],
1045
+ 'description': 'The daily budget amount - returned by v2 API',
1046
+ },
1047
+ 'budget': {
1048
+ 'oneOf': [
1049
+ {'$ref': '#/components/schemas/CampaignBudget'},
1050
+ {'type': 'null'},
1051
+ ],
1052
+ 'description': 'Budget configuration for the campaign (v3 API format)',
1053
+ },
1054
+ 'extendedData': {
1055
+ 'type': ['object', 'null'],
1056
+ 'description': 'Extended data fields for the campaign',
1057
+ },
1058
+ 'marketplaceBudgetAllocation': {
1059
+ 'type': ['string', 'null'],
1060
+ 'description': 'Marketplace budget allocation setting (MANUAL, AUTO)',
1061
+ },
1062
+ 'offAmazonSettings': {
1063
+ 'type': ['object', 'null'],
1064
+ 'description': 'Off-Amazon settings for the campaign',
1065
+ },
1066
+ },
1067
+ 'x-airbyte-entity-name': 'sponsored_product_campaigns',
1068
+ },
1069
+ ),
1070
+ ],
1071
+ search_field_paths={
1072
+ 'profiles': [
1073
+ 'accountInfo',
1074
+ 'accountInfo.id',
1075
+ 'accountInfo.marketplaceStringId',
1076
+ 'accountInfo.name',
1077
+ 'accountInfo.subType',
1078
+ 'accountInfo.type',
1079
+ 'accountInfo.validPaymentMethod',
1080
+ 'countryCode',
1081
+ 'currencyCode',
1082
+ 'dailyBudget',
1083
+ 'profileId',
1084
+ 'timezone',
1085
+ ],
1086
+ 'sponsored_brands_v3_report_stream': [
1087
+ 'adGroupName',
1088
+ 'attributionType',
1089
+ 'campaignBudgetCurrencyCode',
1090
+ 'campaignName',
1091
+ 'newToBrandPurchases14d',
1092
+ 'newToBrandPurchasesPercentage14d',
1093
+ 'newToBrandSales14d',
1094
+ 'newToBrandSalesPercentage14d',
1095
+ 'newToBrandUnitsSold14d',
1096
+ 'newToBrandUnitsSoldPercentage14d',
1097
+ 'orders14d',
1098
+ 'productCategory',
1099
+ 'productName',
1100
+ 'profileId',
1101
+ 'purchasedAsin',
1102
+ 'reportDate',
1103
+ 'sales14d',
1104
+ 'unitsSold14d',
1105
+ ],
1106
+ 'sponsored_brands_v3_report_stream_daily': [
1107
+ 'adGroupName',
1108
+ 'attributionType',
1109
+ 'campaignBudgetCurrencyCode',
1110
+ 'campaignName',
1111
+ 'date',
1112
+ 'newToBrandPurchases14d',
1113
+ 'newToBrandPurchasesPercentage14d',
1114
+ 'newToBrandSales14d',
1115
+ 'newToBrandSalesPercentage14d',
1116
+ 'newToBrandUnitsSold14d',
1117
+ 'newToBrandUnitsSoldPercentage14d',
1118
+ 'orders14d',
1119
+ 'productCategory',
1120
+ 'productName',
1121
+ 'profileId',
1122
+ 'purchasedAsin',
1123
+ 'reportDate',
1124
+ 'sales14d',
1125
+ 'unitsSold14d',
1126
+ ],
1127
+ 'sponsored_display_adgroups_report_stream': [
1128
+ 'adGroupId',
1129
+ 'adGroupName',
1130
+ 'addToCart',
1131
+ 'addToCartClicks',
1132
+ 'addToCartRate',
1133
+ 'addToCartViews',
1134
+ 'addToList',
1135
+ 'addToListFromClicks',
1136
+ 'addToListFromViews',
1137
+ 'bidOptimization',
1138
+ 'brandedSearchRate',
1139
+ 'brandedSearches',
1140
+ 'brandedSearchesClicks',
1141
+ 'brandedSearchesViews',
1142
+ 'campaignBudgetCurrencyCode',
1143
+ 'campaignId',
1144
+ 'campaignName',
1145
+ 'clicks',
1146
+ 'cost',
1147
+ 'cumulativeReach',
1148
+ 'detailPageViews',
1149
+ 'detailPageViewsClicks',
1150
+ 'eCPAddToCart',
1151
+ 'eCPBrandSearch',
1152
+ 'endDate',
1153
+ 'impressions',
1154
+ 'impressionsFrequencyAverage',
1155
+ 'impressionsViews',
1156
+ 'leadFormOpens',
1157
+ 'leads',
1158
+ 'linkOuts',
1159
+ 'newToBrandDetailPageViewClicks',
1160
+ 'newToBrandDetailPageViewRate',
1161
+ 'newToBrandDetailPageViewViews',
1162
+ 'newToBrandDetailPageViews',
1163
+ 'newToBrandECPDetailPageView',
1164
+ 'newToBrandPurchases',
1165
+ 'newToBrandPurchasesClicks',
1166
+ 'newToBrandSales',
1167
+ 'newToBrandSalesClicks',
1168
+ 'newToBrandUnitsSold',
1169
+ 'newToBrandUnitsSoldClicks',
1170
+ 'profileId',
1171
+ 'purchases',
1172
+ 'purchasesClicks',
1173
+ 'purchasesPromotedClicks',
1174
+ 'qualifiedBorrows',
1175
+ 'qualifiedBorrowsFromClicks',
1176
+ 'qualifiedBorrowsFromViews',
1177
+ 'reportDate',
1178
+ 'royaltyQualifiedBorrows',
1179
+ 'royaltyQualifiedBorrowsFromClicks',
1180
+ 'royaltyQualifiedBorrowsFromViews',
1181
+ 'sales',
1182
+ 'salesClicks',
1183
+ 'salesPromotedClicks',
1184
+ 'startDate',
1185
+ 'unitsSold',
1186
+ 'unitsSoldClicks',
1187
+ 'videoCompleteViews',
1188
+ 'videoFirstQuartileViews',
1189
+ 'videoMidpointViews',
1190
+ 'videoThirdQuartileViews',
1191
+ 'videoUnmutes',
1192
+ 'viewClickThroughRate',
1193
+ 'viewabilityRate',
1194
+ ],
1195
+ 'sponsored_display_adgroups_report_stream_daily': [
1196
+ 'adGroupId',
1197
+ 'adGroupName',
1198
+ 'addToCart',
1199
+ 'addToCartClicks',
1200
+ 'addToCartRate',
1201
+ 'addToCartViews',
1202
+ 'addToList',
1203
+ 'addToListFromClicks',
1204
+ 'addToListFromViews',
1205
+ 'bidOptimization',
1206
+ 'brandedSearchRate',
1207
+ 'brandedSearches',
1208
+ 'brandedSearchesClicks',
1209
+ 'brandedSearchesViews',
1210
+ 'campaignBudgetCurrencyCode',
1211
+ 'campaignId',
1212
+ 'campaignName',
1213
+ 'clicks',
1214
+ 'cost',
1215
+ 'cumulativeReach',
1216
+ 'date',
1217
+ 'detailPageViews',
1218
+ 'detailPageViewsClicks',
1219
+ 'eCPAddToCart',
1220
+ 'eCPBrandSearch',
1221
+ 'impressions',
1222
+ 'impressionsFrequencyAverage',
1223
+ 'impressionsViews',
1224
+ 'leadFormOpens',
1225
+ 'leads',
1226
+ 'linkOuts',
1227
+ 'newToBrandDetailPageViewClicks',
1228
+ 'newToBrandDetailPageViewRate',
1229
+ 'newToBrandDetailPageViewViews',
1230
+ 'newToBrandDetailPageViews',
1231
+ 'newToBrandECPDetailPageView',
1232
+ 'newToBrandPurchases',
1233
+ 'newToBrandPurchasesClicks',
1234
+ 'newToBrandSales',
1235
+ 'newToBrandSalesClicks',
1236
+ 'newToBrandUnitsSold',
1237
+ 'newToBrandUnitsSoldClicks',
1238
+ 'profileId',
1239
+ 'purchases',
1240
+ 'purchasesClicks',
1241
+ 'purchasesPromotedClicks',
1242
+ 'qualifiedBorrows',
1243
+ 'qualifiedBorrowsFromClicks',
1244
+ 'qualifiedBorrowsFromViews',
1245
+ 'reportDate',
1246
+ 'royaltyQualifiedBorrows',
1247
+ 'royaltyQualifiedBorrowsFromClicks',
1248
+ 'royaltyQualifiedBorrowsFromViews',
1249
+ 'sales',
1250
+ 'salesClicks',
1251
+ 'salesPromotedClicks',
1252
+ 'unitsSold',
1253
+ 'unitsSoldClicks',
1254
+ 'videoCompleteViews',
1255
+ 'videoFirstQuartileViews',
1256
+ 'videoMidpointViews',
1257
+ 'videoThirdQuartileViews',
1258
+ 'videoUnmutes',
1259
+ 'viewClickThroughRate',
1260
+ 'viewabilityRate',
1261
+ ],
1262
+ 'sponsored_display_asins_report_stream': [
1263
+ 'adGroupId',
1264
+ 'adGroupName',
1265
+ 'addToList',
1266
+ 'addToListFromClicks',
1267
+ 'addToListFromViews',
1268
+ 'asinBrandHalo',
1269
+ 'campaignBudgetCurrencyCode',
1270
+ 'campaignId',
1271
+ 'campaignName',
1272
+ 'conversionsBrandHalo',
1273
+ 'conversionsBrandHaloClicks',
1274
+ 'endDate',
1275
+ 'profileId',
1276
+ 'promotedAsin',
1277
+ 'promotedSku',
1278
+ 'qualifiedBorrows',
1279
+ 'qualifiedBorrowsFromClicks',
1280
+ 'qualifiedBorrowsFromViews',
1281
+ 'reportDate',
1282
+ 'royaltyQualifiedBorrows',
1283
+ 'royaltyQualifiedBorrowsFromClicks',
1284
+ 'royaltyQualifiedBorrowsFromViews',
1285
+ 'salesBrandHalo',
1286
+ 'salesBrandHaloClicks',
1287
+ 'startDate',
1288
+ 'unitsSoldBrandHalo',
1289
+ 'unitsSoldBrandHaloClicks',
1290
+ ],
1291
+ 'sponsored_display_asins_report_stream_daily': [
1292
+ 'adGroupId',
1293
+ 'adGroupName',
1294
+ 'addToList',
1295
+ 'addToListFromClicks',
1296
+ 'addToListFromViews',
1297
+ 'asinBrandHalo',
1298
+ 'campaignBudgetCurrencyCode',
1299
+ 'campaignId',
1300
+ 'campaignName',
1301
+ 'conversionsBrandHalo',
1302
+ 'conversionsBrandHaloClicks',
1303
+ 'date',
1304
+ 'profileId',
1305
+ 'promotedAsin',
1306
+ 'promotedSku',
1307
+ 'qualifiedBorrows',
1308
+ 'qualifiedBorrowsFromClicks',
1309
+ 'qualifiedBorrowsFromViews',
1310
+ 'reportDate',
1311
+ 'royaltyQualifiedBorrows',
1312
+ 'royaltyQualifiedBorrowsFromClicks',
1313
+ 'royaltyQualifiedBorrowsFromViews',
1314
+ 'salesBrandHalo',
1315
+ 'salesBrandHaloClicks',
1316
+ 'unitsSoldBrandHalo',
1317
+ 'unitsSoldBrandHaloClicks',
1318
+ ],
1319
+ 'sponsored_display_campaigns_report_stream': [
1320
+ 'addToCart',
1321
+ 'addToCartClicks',
1322
+ 'addToCartRate',
1323
+ 'addToCartViews',
1324
+ 'addToList',
1325
+ 'addToListFromClicks',
1326
+ 'addToListFromViews',
1327
+ 'brandedSearchRate',
1328
+ 'brandedSearches',
1329
+ 'brandedSearchesClicks',
1330
+ 'brandedSearchesViews',
1331
+ 'campaignBudgetAmount',
1332
+ 'campaignBudgetCurrencyCode',
1333
+ 'campaignId',
1334
+ 'campaignName',
1335
+ 'campaignStatus',
1336
+ 'clicks',
1337
+ 'cost',
1338
+ 'costType',
1339
+ 'cumulativeReach',
1340
+ 'detailPageViews',
1341
+ 'detailPageViewsClicks',
1342
+ 'eCPAddToCart',
1343
+ 'eCPBrandSearch',
1344
+ 'endDate',
1345
+ 'impressions',
1346
+ 'impressionsFrequencyAverage',
1347
+ 'impressionsViews',
1348
+ 'leadFormOpens',
1349
+ 'leads',
1350
+ 'linkOuts',
1351
+ 'newToBrandDetailPageViewClicks',
1352
+ 'newToBrandDetailPageViewRate',
1353
+ 'newToBrandDetailPageViewViews',
1354
+ 'newToBrandDetailPageViews',
1355
+ 'newToBrandECPDetailPageView',
1356
+ 'newToBrandPurchases',
1357
+ 'newToBrandPurchasesClicks',
1358
+ 'newToBrandSales',
1359
+ 'newToBrandSalesClicks',
1360
+ 'newToBrandUnitsSold',
1361
+ 'newToBrandUnitsSoldClicks',
1362
+ 'profileId',
1363
+ 'purchases',
1364
+ 'purchasesClicks',
1365
+ 'purchasesPromotedClicks',
1366
+ 'qualifiedBorrows',
1367
+ 'qualifiedBorrowsFromClicks',
1368
+ 'qualifiedBorrowsFromViews',
1369
+ 'reportDate',
1370
+ 'royaltyQualifiedBorrows',
1371
+ 'royaltyQualifiedBorrowsFromClicks',
1372
+ 'royaltyQualifiedBorrowsFromViews',
1373
+ 'sales',
1374
+ 'salesClicks',
1375
+ 'salesPromotedClicks',
1376
+ 'startDate',
1377
+ 'unitsSold',
1378
+ 'unitsSoldClicks',
1379
+ 'videoCompleteViews',
1380
+ 'videoFirstQuartileViews',
1381
+ 'videoMidpointViews',
1382
+ 'videoThirdQuartileViews',
1383
+ 'videoUnmutes',
1384
+ 'viewClickThroughRate',
1385
+ 'viewabilityRate',
1386
+ ],
1387
+ 'sponsored_display_campaigns_report_stream_daily': [
1388
+ 'addToCart',
1389
+ 'addToCartClicks',
1390
+ 'addToCartRate',
1391
+ 'addToCartViews',
1392
+ 'addToList',
1393
+ 'addToListFromClicks',
1394
+ 'addToListFromViews',
1395
+ 'brandedSearchRate',
1396
+ 'brandedSearches',
1397
+ 'brandedSearchesClicks',
1398
+ 'brandedSearchesViews',
1399
+ 'campaignBudgetAmount',
1400
+ 'campaignBudgetCurrencyCode',
1401
+ 'campaignId',
1402
+ 'campaignName',
1403
+ 'campaignStatus',
1404
+ 'clicks',
1405
+ 'cost',
1406
+ 'costType',
1407
+ 'cumulativeReach',
1408
+ 'date',
1409
+ 'detailPageViews',
1410
+ 'detailPageViewsClicks',
1411
+ 'eCPAddToCart',
1412
+ 'eCPBrandSearch',
1413
+ 'impressions',
1414
+ 'impressionsFrequencyAverage',
1415
+ 'impressionsViews',
1416
+ 'leadFormOpens',
1417
+ 'leads',
1418
+ 'linkOuts',
1419
+ 'newToBrandDetailPageViewClicks',
1420
+ 'newToBrandDetailPageViewRate',
1421
+ 'newToBrandDetailPageViewViews',
1422
+ 'newToBrandDetailPageViews',
1423
+ 'newToBrandECPDetailPageView',
1424
+ 'newToBrandPurchases',
1425
+ 'newToBrandPurchasesClicks',
1426
+ 'newToBrandSales',
1427
+ 'newToBrandSalesClicks',
1428
+ 'newToBrandUnitsSold',
1429
+ 'newToBrandUnitsSoldClicks',
1430
+ 'profileId',
1431
+ 'purchases',
1432
+ 'purchasesClicks',
1433
+ 'purchasesPromotedClicks',
1434
+ 'qualifiedBorrows',
1435
+ 'qualifiedBorrowsFromClicks',
1436
+ 'qualifiedBorrowsFromViews',
1437
+ 'reportDate',
1438
+ 'royaltyQualifiedBorrows',
1439
+ 'royaltyQualifiedBorrowsFromClicks',
1440
+ 'royaltyQualifiedBorrowsFromViews',
1441
+ 'sales',
1442
+ 'salesClicks',
1443
+ 'salesPromotedClicks',
1444
+ 'unitsSold',
1445
+ 'unitsSoldClicks',
1446
+ 'videoCompleteViews',
1447
+ 'videoFirstQuartileViews',
1448
+ 'videoMidpointViews',
1449
+ 'videoThirdQuartileViews',
1450
+ 'videoUnmutes',
1451
+ 'viewClickThroughRate',
1452
+ 'viewabilityRate',
1453
+ ],
1454
+ 'sponsored_display_productads_report_stream': [
1455
+ 'adGroupId',
1456
+ 'adGroupName',
1457
+ 'adId',
1458
+ 'addToCart',
1459
+ 'addToCartClicks',
1460
+ 'addToCartRate',
1461
+ 'addToCartViews',
1462
+ 'addToList',
1463
+ 'addToListFromClicks',
1464
+ 'addToListFromViews',
1465
+ 'bidOptimization',
1466
+ 'brandedSearchRate',
1467
+ 'brandedSearches',
1468
+ 'brandedSearchesClicks',
1469
+ 'brandedSearchesViews',
1470
+ 'campaignBudgetCurrencyCode',
1471
+ 'campaignId',
1472
+ 'campaignName',
1473
+ 'clicks',
1474
+ 'cost',
1475
+ 'cumulativeReach',
1476
+ 'detailPageViews',
1477
+ 'detailPageViewsClicks',
1478
+ 'eCPAddToCart',
1479
+ 'eCPBrandSearch',
1480
+ 'endDate',
1481
+ 'impressions',
1482
+ 'impressionsFrequencyAverage',
1483
+ 'impressionsViews',
1484
+ 'leadFormOpens',
1485
+ 'leads',
1486
+ 'linkOuts',
1487
+ 'newToBrandDetailPageViewClicks',
1488
+ 'newToBrandDetailPageViewRate',
1489
+ 'newToBrandDetailPageViewViews',
1490
+ 'newToBrandDetailPageViews',
1491
+ 'newToBrandECPDetailPageView',
1492
+ 'newToBrandPurchases',
1493
+ 'newToBrandPurchasesClicks',
1494
+ 'newToBrandSales',
1495
+ 'newToBrandSalesClicks',
1496
+ 'newToBrandUnitsSold',
1497
+ 'newToBrandUnitsSoldClicks',
1498
+ 'profileId',
1499
+ 'promotedAsin',
1500
+ 'promotedSku',
1501
+ 'purchases',
1502
+ 'purchasesClicks',
1503
+ 'purchasesPromotedClicks',
1504
+ 'qualifiedBorrows',
1505
+ 'qualifiedBorrowsFromClicks',
1506
+ 'qualifiedBorrowsFromViews',
1507
+ 'reportDate',
1508
+ 'royaltyQualifiedBorrows',
1509
+ 'royaltyQualifiedBorrowsFromClicks',
1510
+ 'royaltyQualifiedBorrowsFromViews',
1511
+ 'sales',
1512
+ 'salesClicks',
1513
+ 'salesPromotedClicks',
1514
+ 'startDate',
1515
+ 'unitsSold',
1516
+ 'unitsSoldClicks',
1517
+ 'videoCompleteViews',
1518
+ 'videoFirstQuartileViews',
1519
+ 'videoMidpointViews',
1520
+ 'videoThirdQuartileViews',
1521
+ 'videoUnmutes',
1522
+ 'viewClickThroughRate',
1523
+ 'viewabilityRate',
1524
+ ],
1525
+ 'sponsored_display_productads_report_stream_daily': [
1526
+ 'adGroupId',
1527
+ 'adGroupName',
1528
+ 'adId',
1529
+ 'addToCart',
1530
+ 'addToCartClicks',
1531
+ 'addToCartRate',
1532
+ 'addToCartViews',
1533
+ 'addToList',
1534
+ 'addToListFromClicks',
1535
+ 'addToListFromViews',
1536
+ 'bidOptimization',
1537
+ 'brandedSearchRate',
1538
+ 'brandedSearches',
1539
+ 'brandedSearchesClicks',
1540
+ 'brandedSearchesViews',
1541
+ 'campaignBudgetCurrencyCode',
1542
+ 'campaignId',
1543
+ 'campaignName',
1544
+ 'clicks',
1545
+ 'cost',
1546
+ 'cumulativeReach',
1547
+ 'date',
1548
+ 'detailPageViews',
1549
+ 'detailPageViewsClicks',
1550
+ 'eCPAddToCart',
1551
+ 'eCPBrandSearch',
1552
+ 'impressions',
1553
+ 'impressionsFrequencyAverage',
1554
+ 'impressionsViews',
1555
+ 'leadFormOpens',
1556
+ 'leads',
1557
+ 'linkOuts',
1558
+ 'newToBrandDetailPageViewClicks',
1559
+ 'newToBrandDetailPageViewRate',
1560
+ 'newToBrandDetailPageViewViews',
1561
+ 'newToBrandDetailPageViews',
1562
+ 'newToBrandECPDetailPageView',
1563
+ 'newToBrandPurchases',
1564
+ 'newToBrandPurchasesClicks',
1565
+ 'newToBrandSales',
1566
+ 'newToBrandSalesClicks',
1567
+ 'newToBrandUnitsSold',
1568
+ 'newToBrandUnitsSoldClicks',
1569
+ 'profileId',
1570
+ 'promotedAsin',
1571
+ 'promotedSku',
1572
+ 'purchases',
1573
+ 'purchasesClicks',
1574
+ 'purchasesPromotedClicks',
1575
+ 'qualifiedBorrows',
1576
+ 'qualifiedBorrowsFromClicks',
1577
+ 'qualifiedBorrowsFromViews',
1578
+ 'reportDate',
1579
+ 'royaltyQualifiedBorrows',
1580
+ 'royaltyQualifiedBorrowsFromClicks',
1581
+ 'royaltyQualifiedBorrowsFromViews',
1582
+ 'sales',
1583
+ 'salesClicks',
1584
+ 'salesPromotedClicks',
1585
+ 'unitsSold',
1586
+ 'unitsSoldClicks',
1587
+ 'videoCompleteViews',
1588
+ 'videoFirstQuartileViews',
1589
+ 'videoMidpointViews',
1590
+ 'videoThirdQuartileViews',
1591
+ 'videoUnmutes',
1592
+ 'viewClickThroughRate',
1593
+ 'viewabilityRate',
1594
+ ],
1595
+ 'sponsored_display_targets_report_stream': [
1596
+ 'adGroupId',
1597
+ 'adGroupName',
1598
+ 'addToCart',
1599
+ 'addToCartClicks',
1600
+ 'addToCartRate',
1601
+ 'addToCartViews',
1602
+ 'addToList',
1603
+ 'addToListFromClicks',
1604
+ 'addToListFromViews',
1605
+ 'brandedSearchRate',
1606
+ 'brandedSearches',
1607
+ 'brandedSearchesClicks',
1608
+ 'brandedSearchesViews',
1609
+ 'campaignBudgetCurrencyCode',
1610
+ 'campaignId',
1611
+ 'campaignName',
1612
+ 'clicks',
1613
+ 'cost',
1614
+ 'detailPageViews',
1615
+ 'detailPageViewsClicks',
1616
+ 'eCPAddToCart',
1617
+ 'eCPBrandSearch',
1618
+ 'endDate',
1619
+ 'impressions',
1620
+ 'impressionsViews',
1621
+ 'leadFormOpens',
1622
+ 'leads',
1623
+ 'linkOuts',
1624
+ 'newToBrandPurchases',
1625
+ 'newToBrandPurchasesClicks',
1626
+ 'newToBrandSales',
1627
+ 'newToBrandSalesClicks',
1628
+ 'newToBrandUnitsSold',
1629
+ 'newToBrandUnitsSoldClicks',
1630
+ 'profileId',
1631
+ 'purchases',
1632
+ 'purchasesClicks',
1633
+ 'purchasesPromotedClicks',
1634
+ 'qualifiedBorrows',
1635
+ 'qualifiedBorrowsFromClicks',
1636
+ 'qualifiedBorrowsFromViews',
1637
+ 'reportDate',
1638
+ 'royaltyQualifiedBorrows',
1639
+ 'royaltyQualifiedBorrowsFromClicks',
1640
+ 'royaltyQualifiedBorrowsFromViews',
1641
+ 'sales',
1642
+ 'salesClicks',
1643
+ 'salesPromotedClicks',
1644
+ 'startDate',
1645
+ 'targetingExpression',
1646
+ 'targetingId',
1647
+ 'targetingText',
1648
+ 'unitsSold',
1649
+ 'unitsSoldClicks',
1650
+ 'videoCompleteViews',
1651
+ 'videoFirstQuartileViews',
1652
+ 'videoMidpointViews',
1653
+ 'videoThirdQuartileViews',
1654
+ 'videoUnmutes',
1655
+ 'viewClickThroughRate',
1656
+ 'viewabilityRate',
1657
+ ],
1658
+ 'sponsored_display_targets_report_stream_daily': [
1659
+ 'adGroupId',
1660
+ 'adGroupName',
1661
+ 'addToCart',
1662
+ 'addToCartClicks',
1663
+ 'addToCartRate',
1664
+ 'addToCartViews',
1665
+ 'addToList',
1666
+ 'addToListFromClicks',
1667
+ 'addToListFromViews',
1668
+ 'brandedSearchRate',
1669
+ 'brandedSearches',
1670
+ 'brandedSearchesClicks',
1671
+ 'brandedSearchesViews',
1672
+ 'campaignBudgetCurrencyCode',
1673
+ 'campaignId',
1674
+ 'campaignName',
1675
+ 'clicks',
1676
+ 'cost',
1677
+ 'detailPageViews',
1678
+ 'detailPageViewsClicks',
1679
+ 'eCPAddToCart',
1680
+ 'eCPBrandSearch',
1681
+ 'impressions',
1682
+ 'impressionsViews',
1683
+ 'leadFormOpens',
1684
+ 'leads',
1685
+ 'linkOuts',
1686
+ 'newToBrandPurchases',
1687
+ 'newToBrandPurchasesClicks',
1688
+ 'newToBrandSales',
1689
+ 'newToBrandSalesClicks',
1690
+ 'newToBrandUnitsSold',
1691
+ 'newToBrandUnitsSoldClicks',
1692
+ 'profileId',
1693
+ 'purchases',
1694
+ 'purchasesClicks',
1695
+ 'purchasesPromotedClicks',
1696
+ 'qualifiedBorrows',
1697
+ 'qualifiedBorrowsFromClicks',
1698
+ 'qualifiedBorrowsFromViews',
1699
+ 'reportDate',
1700
+ 'royaltyQualifiedBorrows',
1701
+ 'royaltyQualifiedBorrowsFromClicks',
1702
+ 'royaltyQualifiedBorrowsFromViews',
1703
+ 'sales',
1704
+ 'salesClicks',
1705
+ 'salesPromotedClicks',
1706
+ 'targetingExpression',
1707
+ 'targetingId',
1708
+ 'targetingText',
1709
+ 'unitsSold',
1710
+ 'unitsSoldClicks',
1711
+ 'videoCompleteViews',
1712
+ 'videoFirstQuartileViews',
1713
+ 'videoMidpointViews',
1714
+ 'videoThirdQuartileViews',
1715
+ 'videoUnmutes',
1716
+ 'viewClickThroughRate',
1717
+ 'viewabilityRate',
1718
+ ],
1719
+ 'sponsored_products_adgroups_report_stream': [
1720
+ 'adGroupId',
1721
+ 'adGroupName',
1722
+ 'attributedSalesSameSku14d',
1723
+ 'attributedSalesSameSku1d',
1724
+ 'attributedSalesSameSku30d',
1725
+ 'attributedSalesSameSku7d',
1726
+ 'campaignId',
1727
+ 'campaignName',
1728
+ 'clicks',
1729
+ 'cost',
1730
+ 'impressions',
1731
+ 'profileId',
1732
+ 'purchases14d',
1733
+ 'purchases1d',
1734
+ 'purchases30d',
1735
+ 'purchases7d',
1736
+ 'purchasesSameSku14d',
1737
+ 'purchasesSameSku1d',
1738
+ 'purchasesSameSku30d',
1739
+ 'purchasesSameSku7d',
1740
+ 'reportDate',
1741
+ 'sales14d',
1742
+ 'sales1d',
1743
+ 'sales30d',
1744
+ 'sales7d',
1745
+ 'unitsSoldClicks14d',
1746
+ 'unitsSoldClicks1d',
1747
+ 'unitsSoldClicks30d',
1748
+ 'unitsSoldClicks7d',
1749
+ 'unitsSoldSameSku14d',
1750
+ 'unitsSoldSameSku1d',
1751
+ 'unitsSoldSameSku30d',
1752
+ 'unitsSoldSameSku7d',
1753
+ ],
1754
+ 'sponsored_products_adgroups_report_stream_daily': [
1755
+ 'adGroupId',
1756
+ 'adGroupName',
1757
+ 'attributedSalesSameSku14d',
1758
+ 'attributedSalesSameSku1d',
1759
+ 'attributedSalesSameSku30d',
1760
+ 'attributedSalesSameSku7d',
1761
+ 'campaignId',
1762
+ 'campaignName',
1763
+ 'clicks',
1764
+ 'cost',
1765
+ 'date',
1766
+ 'impressions',
1767
+ 'profileId',
1768
+ 'purchases14d',
1769
+ 'purchases1d',
1770
+ 'purchases30d',
1771
+ 'purchases7d',
1772
+ 'purchasesSameSku14d',
1773
+ 'purchasesSameSku1d',
1774
+ 'purchasesSameSku30d',
1775
+ 'purchasesSameSku7d',
1776
+ 'reportDate',
1777
+ 'sales14d',
1778
+ 'sales1d',
1779
+ 'sales30d',
1780
+ 'sales7d',
1781
+ 'unitsSoldClicks14d',
1782
+ 'unitsSoldClicks1d',
1783
+ 'unitsSoldClicks30d',
1784
+ 'unitsSoldClicks7d',
1785
+ 'unitsSoldSameSku14d',
1786
+ 'unitsSoldSameSku1d',
1787
+ 'unitsSoldSameSku30d',
1788
+ 'unitsSoldSameSku7d',
1789
+ ],
1790
+ 'sponsored_products_asins_keywords_report_stream': [
1791
+ 'adGroupId',
1792
+ 'adGroupName',
1793
+ 'advertisedAsin',
1794
+ 'advertisedSku',
1795
+ 'campaignBudgetCurrencyCode',
1796
+ 'campaignId',
1797
+ 'campaignName',
1798
+ 'keyword',
1799
+ 'keywordId',
1800
+ 'matchType',
1801
+ 'profileId',
1802
+ 'purchasedAsin',
1803
+ 'reportDate',
1804
+ 'salesOtherSku14d',
1805
+ 'salesOtherSku1d',
1806
+ 'salesOtherSku30d',
1807
+ 'salesOtherSku7d',
1808
+ 'unitsSoldClicks14d',
1809
+ 'unitsSoldClicks1d',
1810
+ 'unitsSoldClicks30d',
1811
+ 'unitsSoldClicks7d',
1812
+ 'unitsSoldOtherSku14d',
1813
+ 'unitsSoldOtherSku1d',
1814
+ 'unitsSoldOtherSku30d',
1815
+ 'unitsSoldOtherSku7d',
1816
+ ],
1817
+ 'sponsored_products_asins_keywords_report_stream_daily': [
1818
+ 'adGroupId',
1819
+ 'adGroupName',
1820
+ 'advertisedAsin',
1821
+ 'advertisedSku',
1822
+ 'campaignBudgetCurrencyCode',
1823
+ 'campaignId',
1824
+ 'campaignName',
1825
+ 'date',
1826
+ 'keyword',
1827
+ 'keywordId',
1828
+ 'matchType',
1829
+ 'profileId',
1830
+ 'purchasedAsin',
1831
+ 'reportDate',
1832
+ 'salesOtherSku14d',
1833
+ 'salesOtherSku1d',
1834
+ 'salesOtherSku30d',
1835
+ 'salesOtherSku7d',
1836
+ 'unitsSoldClicks14d',
1837
+ 'unitsSoldClicks1d',
1838
+ 'unitsSoldClicks30d',
1839
+ 'unitsSoldClicks7d',
1840
+ 'unitsSoldOtherSku14d',
1841
+ 'unitsSoldOtherSku1d',
1842
+ 'unitsSoldOtherSku30d',
1843
+ 'unitsSoldOtherSku7d',
1844
+ ],
1845
+ 'sponsored_products_asins_targets_report_stream': [
1846
+ 'adGroupId',
1847
+ 'adGroupName',
1848
+ 'advertisedAsin',
1849
+ 'advertisedSku',
1850
+ 'campaignBudgetCurrencyCode',
1851
+ 'campaignId',
1852
+ 'campaignName',
1853
+ 'keywordId',
1854
+ 'keywordType',
1855
+ 'matchType',
1856
+ 'profileId',
1857
+ 'purchasedAsin',
1858
+ 'reportDate',
1859
+ 'salesOtherSku14d',
1860
+ 'salesOtherSku1d',
1861
+ 'salesOtherSku30d',
1862
+ 'salesOtherSku7d',
1863
+ 'targeting',
1864
+ 'unitsSoldClicks14d',
1865
+ 'unitsSoldClicks1d',
1866
+ 'unitsSoldClicks30d',
1867
+ 'unitsSoldClicks7d',
1868
+ 'unitsSoldOtherSku14d',
1869
+ 'unitsSoldOtherSku1d',
1870
+ 'unitsSoldOtherSku30d',
1871
+ 'unitsSoldOtherSku7d',
1872
+ ],
1873
+ 'sponsored_products_asins_targets_report_stream_daily': [
1874
+ 'adGroupId',
1875
+ 'adGroupName',
1876
+ 'advertisedAsin',
1877
+ 'advertisedSku',
1878
+ 'campaignBudgetCurrencyCode',
1879
+ 'campaignId',
1880
+ 'campaignName',
1881
+ 'date',
1882
+ 'keywordId',
1883
+ 'keywordType',
1884
+ 'matchType',
1885
+ 'profileId',
1886
+ 'purchasedAsin',
1887
+ 'reportDate',
1888
+ 'salesOtherSku14d',
1889
+ 'salesOtherSku1d',
1890
+ 'salesOtherSku30d',
1891
+ 'salesOtherSku7d',
1892
+ 'targeting',
1893
+ 'unitsSoldClicks14d',
1894
+ 'unitsSoldClicks1d',
1895
+ 'unitsSoldClicks30d',
1896
+ 'unitsSoldClicks7d',
1897
+ 'unitsSoldOtherSku14d',
1898
+ 'unitsSoldOtherSku1d',
1899
+ 'unitsSoldOtherSku30d',
1900
+ 'unitsSoldOtherSku7d',
1901
+ ],
1902
+ 'sponsored_products_campaigns_report_stream': [
1903
+ 'attributedSalesSameSku14d',
1904
+ 'attributedSalesSameSku1d',
1905
+ 'attributedSalesSameSku30d',
1906
+ 'attributedSalesSameSku7d',
1907
+ 'campaignApplicableBudgetRuleId',
1908
+ 'campaignApplicableBudgetRuleName',
1909
+ 'campaignBudgetAmount',
1910
+ 'campaignId',
1911
+ 'campaignName',
1912
+ 'campaignRuleBasedBudgetAmount',
1913
+ 'campaignStatus',
1914
+ 'clicks',
1915
+ 'cost',
1916
+ 'impressions',
1917
+ 'profileId',
1918
+ 'purchases14d',
1919
+ 'purchases1d',
1920
+ 'purchases30d',
1921
+ 'purchases7d',
1922
+ 'purchasesSameSku14d',
1923
+ 'purchasesSameSku1d',
1924
+ 'purchasesSameSku30d',
1925
+ 'purchasesSameSku7d',
1926
+ 'reportDate',
1927
+ 'sales14d',
1928
+ 'sales1d',
1929
+ 'sales30d',
1930
+ 'sales7d',
1931
+ 'unitsSoldClicks14d',
1932
+ 'unitsSoldClicks1d',
1933
+ 'unitsSoldClicks30d',
1934
+ 'unitsSoldClicks7d',
1935
+ 'unitsSoldSameSku14d',
1936
+ 'unitsSoldSameSku1d',
1937
+ 'unitsSoldSameSku30d',
1938
+ 'unitsSoldSameSku7d',
1939
+ ],
1940
+ 'sponsored_products_campaigns_report_stream_daily': [
1941
+ 'attributedSalesSameSku14d',
1942
+ 'attributedSalesSameSku1d',
1943
+ 'attributedSalesSameSku30d',
1944
+ 'attributedSalesSameSku7d',
1945
+ 'campaignApplicableBudgetRuleId',
1946
+ 'campaignApplicableBudgetRuleName',
1947
+ 'campaignBudgetAmount',
1948
+ 'campaignId',
1949
+ 'campaignName',
1950
+ 'campaignRuleBasedBudgetAmount',
1951
+ 'campaignStatus',
1952
+ 'clicks',
1953
+ 'cost',
1954
+ 'date',
1955
+ 'impressions',
1956
+ 'profileId',
1957
+ 'purchases14d',
1958
+ 'purchases1d',
1959
+ 'purchases30d',
1960
+ 'purchases7d',
1961
+ 'purchasesSameSku14d',
1962
+ 'purchasesSameSku1d',
1963
+ 'purchasesSameSku30d',
1964
+ 'purchasesSameSku7d',
1965
+ 'reportDate',
1966
+ 'sales14d',
1967
+ 'sales1d',
1968
+ 'sales30d',
1969
+ 'sales7d',
1970
+ 'unitsSoldClicks14d',
1971
+ 'unitsSoldClicks1d',
1972
+ 'unitsSoldClicks30d',
1973
+ 'unitsSoldClicks7d',
1974
+ 'unitsSoldSameSku14d',
1975
+ 'unitsSoldSameSku1d',
1976
+ 'unitsSoldSameSku30d',
1977
+ 'unitsSoldSameSku7d',
1978
+ ],
1979
+ 'sponsored_products_keywords_report_stream': [
1980
+ 'adGroupId',
1981
+ 'adGroupName',
1982
+ 'attributedSalesSameSku14d',
1983
+ 'attributedSalesSameSku1d',
1984
+ 'attributedSalesSameSku30d',
1985
+ 'attributedSalesSameSku7d',
1986
+ 'campaignId',
1987
+ 'campaignName',
1988
+ 'clicks',
1989
+ 'cost',
1990
+ 'impressions',
1991
+ 'keyword',
1992
+ 'keywordId',
1993
+ 'matchType',
1994
+ 'profileId',
1995
+ 'purchases14d',
1996
+ 'purchases1d',
1997
+ 'purchases30d',
1998
+ 'purchases7d',
1999
+ 'purchasesSameSku14d',
2000
+ 'purchasesSameSku1d',
2001
+ 'purchasesSameSku30d',
2002
+ 'purchasesSameSku7d',
2003
+ 'reportDate',
2004
+ 'sales14d',
2005
+ 'sales1d',
2006
+ 'sales30d',
2007
+ 'sales7d',
2008
+ 'unitsSoldClicks14d',
2009
+ 'unitsSoldClicks1d',
2010
+ 'unitsSoldClicks30d',
2011
+ 'unitsSoldClicks7d',
2012
+ 'unitsSoldSameSku14d',
2013
+ 'unitsSoldSameSku1d',
2014
+ 'unitsSoldSameSku30d',
2015
+ 'unitsSoldSameSku7d',
2016
+ ],
2017
+ 'sponsored_products_keywords_report_stream_daily': [
2018
+ 'adGroupId',
2019
+ 'adGroupName',
2020
+ 'attributedSalesSameSku14d',
2021
+ 'attributedSalesSameSku1d',
2022
+ 'attributedSalesSameSku30d',
2023
+ 'attributedSalesSameSku7d',
2024
+ 'campaignId',
2025
+ 'campaignName',
2026
+ 'clicks',
2027
+ 'cost',
2028
+ 'date',
2029
+ 'impressions',
2030
+ 'keyword',
2031
+ 'keywordId',
2032
+ 'matchType',
2033
+ 'profileId',
2034
+ 'purchases14d',
2035
+ 'purchases1d',
2036
+ 'purchases30d',
2037
+ 'purchases7d',
2038
+ 'purchasesSameSku14d',
2039
+ 'purchasesSameSku1d',
2040
+ 'purchasesSameSku30d',
2041
+ 'purchasesSameSku7d',
2042
+ 'reportDate',
2043
+ 'sales14d',
2044
+ 'sales1d',
2045
+ 'sales30d',
2046
+ 'sales7d',
2047
+ 'unitsSoldClicks14d',
2048
+ 'unitsSoldClicks1d',
2049
+ 'unitsSoldClicks30d',
2050
+ 'unitsSoldClicks7d',
2051
+ 'unitsSoldSameSku14d',
2052
+ 'unitsSoldSameSku1d',
2053
+ 'unitsSoldSameSku30d',
2054
+ 'unitsSoldSameSku7d',
2055
+ ],
2056
+ 'sponsored_products_productads_report_stream': [
2057
+ 'adGroupId',
2058
+ 'adGroupName',
2059
+ 'adId',
2060
+ 'advertisedAsin',
2061
+ 'attributedSalesSameSku14d',
2062
+ 'attributedSalesSameSku1d',
2063
+ 'attributedSalesSameSku30d',
2064
+ 'attributedSalesSameSku7d',
2065
+ 'campaignBudgetCurrencyCode',
2066
+ 'campaignId',
2067
+ 'campaignName',
2068
+ 'clicks',
2069
+ 'cost',
2070
+ 'impressions',
2071
+ 'profileId',
2072
+ 'purchases14d',
2073
+ 'purchases1d',
2074
+ 'purchases30d',
2075
+ 'purchases7d',
2076
+ 'purchasesSameSku14d',
2077
+ 'purchasesSameSku1d',
2078
+ 'purchasesSameSku30d',
2079
+ 'purchasesSameSku7d',
2080
+ 'reportDate',
2081
+ 'sales14d',
2082
+ 'sales1d',
2083
+ 'sales30d',
2084
+ 'sales7d',
2085
+ 'unitsSoldClicks14d',
2086
+ 'unitsSoldClicks1d',
2087
+ 'unitsSoldClicks30d',
2088
+ 'unitsSoldClicks7d',
2089
+ 'unitsSoldSameSku14d',
2090
+ 'unitsSoldSameSku1d',
2091
+ 'unitsSoldSameSku30d',
2092
+ 'unitsSoldSameSku7d',
2093
+ ],
2094
+ 'sponsored_products_productads_report_stream_daily': [
2095
+ 'adGroupId',
2096
+ 'adGroupName',
2097
+ 'adId',
2098
+ 'advertisedAsin',
2099
+ 'attributedSalesSameSku14d',
2100
+ 'attributedSalesSameSku1d',
2101
+ 'attributedSalesSameSku30d',
2102
+ 'attributedSalesSameSku7d',
2103
+ 'campaignBudgetCurrencyCode',
2104
+ 'campaignId',
2105
+ 'campaignName',
2106
+ 'clicks',
2107
+ 'cost',
2108
+ 'date',
2109
+ 'impressions',
2110
+ 'profileId',
2111
+ 'purchases14d',
2112
+ 'purchases1d',
2113
+ 'purchases30d',
2114
+ 'purchases7d',
2115
+ 'purchasesSameSku14d',
2116
+ 'purchasesSameSku1d',
2117
+ 'purchasesSameSku30d',
2118
+ 'purchasesSameSku7d',
2119
+ 'reportDate',
2120
+ 'sales14d',
2121
+ 'sales1d',
2122
+ 'sales30d',
2123
+ 'sales7d',
2124
+ 'unitsSoldClicks14d',
2125
+ 'unitsSoldClicks1d',
2126
+ 'unitsSoldClicks30d',
2127
+ 'unitsSoldClicks7d',
2128
+ 'unitsSoldSameSku14d',
2129
+ 'unitsSoldSameSku1d',
2130
+ 'unitsSoldSameSku30d',
2131
+ 'unitsSoldSameSku7d',
2132
+ ],
2133
+ 'sponsored_products_targets_report_stream': [
2134
+ 'adGroupId',
2135
+ 'adGroupName',
2136
+ 'attributedSalesSameSku14d',
2137
+ 'attributedSalesSameSku1d',
2138
+ 'attributedSalesSameSku30d',
2139
+ 'attributedSalesSameSku7d',
2140
+ 'campaignId',
2141
+ 'campaignName',
2142
+ 'clicks',
2143
+ 'cost',
2144
+ 'impressions',
2145
+ 'keyword',
2146
+ 'keywordId',
2147
+ 'keywordType',
2148
+ 'profileId',
2149
+ 'purchases14d',
2150
+ 'purchases1d',
2151
+ 'purchases30d',
2152
+ 'purchases7d',
2153
+ 'purchasesSameSku14d',
2154
+ 'purchasesSameSku1d',
2155
+ 'purchasesSameSku30d',
2156
+ 'purchasesSameSku7d',
2157
+ 'reportDate',
2158
+ 'sales14d',
2159
+ 'sales1d',
2160
+ 'sales30d',
2161
+ 'sales7d',
2162
+ 'targeting',
2163
+ 'unitsSoldClicks14d',
2164
+ 'unitsSoldClicks1d',
2165
+ 'unitsSoldClicks30d',
2166
+ 'unitsSoldClicks7d',
2167
+ 'unitsSoldSameSku14d',
2168
+ 'unitsSoldSameSku1d',
2169
+ 'unitsSoldSameSku30d',
2170
+ 'unitsSoldSameSku7d',
2171
+ ],
2172
+ 'sponsored_products_targets_report_stream_daily': [
2173
+ 'adGroupId',
2174
+ 'adGroupName',
2175
+ 'attributedSalesSameSku14d',
2176
+ 'attributedSalesSameSku1d',
2177
+ 'attributedSalesSameSku30d',
2178
+ 'attributedSalesSameSku7d',
2179
+ 'campaignId',
2180
+ 'campaignName',
2181
+ 'clicks',
2182
+ 'cost',
2183
+ 'date',
2184
+ 'impressions',
2185
+ 'keyword',
2186
+ 'keywordId',
2187
+ 'keywordType',
2188
+ 'profileId',
2189
+ 'purchases14d',
2190
+ 'purchases1d',
2191
+ 'purchases30d',
2192
+ 'purchases7d',
2193
+ 'purchasesSameSku14d',
2194
+ 'purchasesSameSku1d',
2195
+ 'purchasesSameSku30d',
2196
+ 'purchasesSameSku7d',
2197
+ 'reportDate',
2198
+ 'sales14d',
2199
+ 'sales1d',
2200
+ 'sales30d',
2201
+ 'sales7d',
2202
+ 'targeting',
2203
+ 'unitsSoldClicks14d',
2204
+ 'unitsSoldClicks1d',
2205
+ 'unitsSoldClicks30d',
2206
+ 'unitsSoldClicks7d',
2207
+ 'unitsSoldSameSku14d',
2208
+ 'unitsSoldSameSku1d',
2209
+ 'unitsSoldSameSku30d',
2210
+ 'unitsSoldSameSku7d',
2211
+ ],
2212
+ },
2213
+ )