@apteva/integrations 0.15.7 → 0.15.9
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.
- package/dist/http-executor.d.ts.map +1 -1
- package/dist/http-executor.js +17 -3
- package/dist/http-executor.js.map +1 -1
- package/dist/types.d.ts +1 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/apps/amazon-ads.json +659 -44
- package/src/apps/apify.json +538 -71
- package/src/apps/bunny-stream.json +33 -2
- package/src/apps/dataforseo.json +16 -2
- package/src/apps/google-ads.json +289 -5
- package/src/apps/linkedin-ads.json +678 -60
- package/src/apps/microsoft-ads.json +481 -27
- package/src/apps/pinterest-ads.json +506 -64
- package/src/apps/plivo.json +269 -0
- package/src/apps/reddit-ads.json +314 -41
- package/src/apps/ringover.json +5 -0
- package/src/apps/signalwire.json +220 -0
- package/src/apps/snapchat-ads.json +416 -49
- package/src/apps/taboola.json +672 -0
- package/src/apps/telnyx.json +321 -0
- package/src/apps/tiktok-ads.json +596 -77
- package/src/apps/twitter-ads.json +71 -1
- package/src/apps/vonage.json +116 -2
- package/src/apps/youtube-api.json +54 -0
package/src/apps/amazon-ads.json
CHANGED
|
@@ -70,10 +70,35 @@
|
|
|
70
70
|
"input_schema": {
|
|
71
71
|
"type": "object",
|
|
72
72
|
"properties": {
|
|
73
|
-
"apiProgram": {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
73
|
+
"apiProgram": {
|
|
74
|
+
"type": "string",
|
|
75
|
+
"enum": [
|
|
76
|
+
"billing",
|
|
77
|
+
"campaign",
|
|
78
|
+
"paymentMethods",
|
|
79
|
+
"store",
|
|
80
|
+
"account",
|
|
81
|
+
"posts"
|
|
82
|
+
]
|
|
83
|
+
},
|
|
84
|
+
"accessLevel": {
|
|
85
|
+
"type": "string",
|
|
86
|
+
"enum": [
|
|
87
|
+
"edit",
|
|
88
|
+
"view"
|
|
89
|
+
]
|
|
90
|
+
},
|
|
91
|
+
"profileTypeFilter": {
|
|
92
|
+
"type": "string",
|
|
93
|
+
"description": "Comma-separated, e.g. seller,vendor,agency"
|
|
94
|
+
},
|
|
95
|
+
"validPaymentMethodFilter": {
|
|
96
|
+
"type": "string",
|
|
97
|
+
"enum": [
|
|
98
|
+
"true",
|
|
99
|
+
"false"
|
|
100
|
+
]
|
|
101
|
+
}
|
|
77
102
|
}
|
|
78
103
|
}
|
|
79
104
|
},
|
|
@@ -85,12 +110,29 @@
|
|
|
85
110
|
"input_schema": {
|
|
86
111
|
"type": "object",
|
|
87
112
|
"properties": {
|
|
88
|
-
"campaignIdFilter": {
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
"
|
|
93
|
-
|
|
113
|
+
"campaignIdFilter": {
|
|
114
|
+
"type": "object",
|
|
115
|
+
"description": "{\"include\": [\"123\", \"456\"]}"
|
|
116
|
+
},
|
|
117
|
+
"stateFilter": {
|
|
118
|
+
"type": "object",
|
|
119
|
+
"description": "{\"include\": [\"ENABLED\"]}"
|
|
120
|
+
},
|
|
121
|
+
"nameFilter": {
|
|
122
|
+
"type": "object",
|
|
123
|
+
"description": "{\"queryTermMatchType\": \"BROAD_MATCH\", \"include\": [\"summer\"]}"
|
|
124
|
+
},
|
|
125
|
+
"portfolioIdFilter": {
|
|
126
|
+
"type": "object"
|
|
127
|
+
},
|
|
128
|
+
"maxResults": {
|
|
129
|
+
"type": "integer",
|
|
130
|
+
"default": 50,
|
|
131
|
+
"description": "Max 5000"
|
|
132
|
+
},
|
|
133
|
+
"nextToken": {
|
|
134
|
+
"type": "string"
|
|
135
|
+
}
|
|
94
136
|
}
|
|
95
137
|
}
|
|
96
138
|
},
|
|
@@ -104,10 +146,14 @@
|
|
|
104
146
|
"properties": {
|
|
105
147
|
"campaigns": {
|
|
106
148
|
"type": "array",
|
|
107
|
-
"items": {
|
|
149
|
+
"items": {
|
|
150
|
+
"type": "object"
|
|
151
|
+
}
|
|
108
152
|
}
|
|
109
153
|
},
|
|
110
|
-
"required": [
|
|
154
|
+
"required": [
|
|
155
|
+
"campaigns"
|
|
156
|
+
]
|
|
111
157
|
}
|
|
112
158
|
},
|
|
113
159
|
{
|
|
@@ -118,9 +164,16 @@
|
|
|
118
164
|
"input_schema": {
|
|
119
165
|
"type": "object",
|
|
120
166
|
"properties": {
|
|
121
|
-
"campaigns": {
|
|
167
|
+
"campaigns": {
|
|
168
|
+
"type": "array",
|
|
169
|
+
"items": {
|
|
170
|
+
"type": "object"
|
|
171
|
+
}
|
|
172
|
+
}
|
|
122
173
|
},
|
|
123
|
-
"required": [
|
|
174
|
+
"required": [
|
|
175
|
+
"campaigns"
|
|
176
|
+
]
|
|
124
177
|
}
|
|
125
178
|
},
|
|
126
179
|
{
|
|
@@ -131,11 +184,22 @@
|
|
|
131
184
|
"input_schema": {
|
|
132
185
|
"type": "object",
|
|
133
186
|
"properties": {
|
|
134
|
-
"campaignIdFilter": {
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
|
|
187
|
+
"campaignIdFilter": {
|
|
188
|
+
"type": "object"
|
|
189
|
+
},
|
|
190
|
+
"adGroupIdFilter": {
|
|
191
|
+
"type": "object"
|
|
192
|
+
},
|
|
193
|
+
"stateFilter": {
|
|
194
|
+
"type": "object"
|
|
195
|
+
},
|
|
196
|
+
"maxResults": {
|
|
197
|
+
"type": "integer",
|
|
198
|
+
"default": 50
|
|
199
|
+
},
|
|
200
|
+
"nextToken": {
|
|
201
|
+
"type": "string"
|
|
202
|
+
}
|
|
139
203
|
}
|
|
140
204
|
}
|
|
141
205
|
},
|
|
@@ -147,9 +211,16 @@
|
|
|
147
211
|
"input_schema": {
|
|
148
212
|
"type": "object",
|
|
149
213
|
"properties": {
|
|
150
|
-
"adGroups": {
|
|
214
|
+
"adGroups": {
|
|
215
|
+
"type": "array",
|
|
216
|
+
"items": {
|
|
217
|
+
"type": "object"
|
|
218
|
+
}
|
|
219
|
+
}
|
|
151
220
|
},
|
|
152
|
-
"required": [
|
|
221
|
+
"required": [
|
|
222
|
+
"adGroups"
|
|
223
|
+
]
|
|
153
224
|
}
|
|
154
225
|
},
|
|
155
226
|
{
|
|
@@ -160,12 +231,33 @@
|
|
|
160
231
|
"input_schema": {
|
|
161
232
|
"type": "object",
|
|
162
233
|
"properties": {
|
|
163
|
-
"campaignIdFilter": {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
234
|
+
"campaignIdFilter": {
|
|
235
|
+
"type": "object"
|
|
236
|
+
},
|
|
237
|
+
"adGroupIdFilter": {
|
|
238
|
+
"type": "object"
|
|
239
|
+
},
|
|
240
|
+
"stateFilter": {
|
|
241
|
+
"type": "object"
|
|
242
|
+
},
|
|
243
|
+
"matchTypeFilter": {
|
|
244
|
+
"type": "array",
|
|
245
|
+
"items": {
|
|
246
|
+
"type": "string",
|
|
247
|
+
"enum": [
|
|
248
|
+
"EXACT",
|
|
249
|
+
"PHRASE",
|
|
250
|
+
"BROAD"
|
|
251
|
+
]
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
"maxResults": {
|
|
255
|
+
"type": "integer",
|
|
256
|
+
"default": 50
|
|
257
|
+
},
|
|
258
|
+
"nextToken": {
|
|
259
|
+
"type": "string"
|
|
260
|
+
}
|
|
169
261
|
}
|
|
170
262
|
}
|
|
171
263
|
},
|
|
@@ -177,9 +269,16 @@
|
|
|
177
269
|
"input_schema": {
|
|
178
270
|
"type": "object",
|
|
179
271
|
"properties": {
|
|
180
|
-
"keywords": {
|
|
272
|
+
"keywords": {
|
|
273
|
+
"type": "array",
|
|
274
|
+
"items": {
|
|
275
|
+
"type": "object"
|
|
276
|
+
}
|
|
277
|
+
}
|
|
181
278
|
},
|
|
182
|
-
"required": [
|
|
279
|
+
"required": [
|
|
280
|
+
"keywords"
|
|
281
|
+
]
|
|
183
282
|
}
|
|
184
283
|
},
|
|
185
284
|
{
|
|
@@ -190,10 +289,19 @@
|
|
|
190
289
|
"input_schema": {
|
|
191
290
|
"type": "object",
|
|
192
291
|
"properties": {
|
|
193
|
-
"campaignIdFilter": {
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
"
|
|
292
|
+
"campaignIdFilter": {
|
|
293
|
+
"type": "object"
|
|
294
|
+
},
|
|
295
|
+
"stateFilter": {
|
|
296
|
+
"type": "object"
|
|
297
|
+
},
|
|
298
|
+
"maxResults": {
|
|
299
|
+
"type": "integer",
|
|
300
|
+
"default": 50
|
|
301
|
+
},
|
|
302
|
+
"nextToken": {
|
|
303
|
+
"type": "string"
|
|
304
|
+
}
|
|
197
305
|
}
|
|
198
306
|
}
|
|
199
307
|
},
|
|
@@ -205,11 +313,26 @@
|
|
|
205
313
|
"input_schema": {
|
|
206
314
|
"type": "object",
|
|
207
315
|
"properties": {
|
|
208
|
-
"startIndex": {
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
"
|
|
316
|
+
"startIndex": {
|
|
317
|
+
"type": "integer",
|
|
318
|
+
"default": 0
|
|
319
|
+
},
|
|
320
|
+
"count": {
|
|
321
|
+
"type": "integer",
|
|
322
|
+
"default": 100
|
|
323
|
+
},
|
|
324
|
+
"stateFilter": {
|
|
325
|
+
"type": "string",
|
|
326
|
+
"description": "Comma-separated states: enabled,paused,archived"
|
|
327
|
+
},
|
|
328
|
+
"campaignIdFilter": {
|
|
329
|
+
"type": "string",
|
|
330
|
+
"description": "Comma-separated campaign IDs"
|
|
331
|
+
},
|
|
332
|
+
"name": {
|
|
333
|
+
"type": "string",
|
|
334
|
+
"description": "Filter by name (exact match)"
|
|
335
|
+
}
|
|
213
336
|
}
|
|
214
337
|
}
|
|
215
338
|
},
|
|
@@ -221,15 +344,28 @@
|
|
|
221
344
|
"input_schema": {
|
|
222
345
|
"type": "object",
|
|
223
346
|
"properties": {
|
|
224
|
-
"name": {
|
|
225
|
-
|
|
226
|
-
|
|
347
|
+
"name": {
|
|
348
|
+
"type": "string",
|
|
349
|
+
"description": "Optional report name"
|
|
350
|
+
},
|
|
351
|
+
"startDate": {
|
|
352
|
+
"type": "string",
|
|
353
|
+
"description": "YYYY-MM-DD"
|
|
354
|
+
},
|
|
355
|
+
"endDate": {
|
|
356
|
+
"type": "string",
|
|
357
|
+
"description": "YYYY-MM-DD"
|
|
358
|
+
},
|
|
227
359
|
"configuration": {
|
|
228
360
|
"type": "object",
|
|
229
361
|
"description": "{\"adProduct\": \"SPONSORED_PRODUCTS\", \"groupBy\": [\"campaign\"], \"columns\": [\"impressions\",\"clicks\",\"cost\",\"sales\",\"purchases\"], \"reportTypeId\": \"spCampaigns\", \"timeUnit\": \"DAILY\", \"format\": \"GZIP_JSON\"}"
|
|
230
362
|
}
|
|
231
363
|
},
|
|
232
|
-
"required": [
|
|
364
|
+
"required": [
|
|
365
|
+
"startDate",
|
|
366
|
+
"endDate",
|
|
367
|
+
"configuration"
|
|
368
|
+
]
|
|
233
369
|
}
|
|
234
370
|
},
|
|
235
371
|
{
|
|
@@ -240,9 +376,488 @@
|
|
|
240
376
|
"input_schema": {
|
|
241
377
|
"type": "object",
|
|
242
378
|
"properties": {
|
|
243
|
-
"reportId": {
|
|
379
|
+
"reportId": {
|
|
380
|
+
"type": "string"
|
|
381
|
+
}
|
|
382
|
+
},
|
|
383
|
+
"required": [
|
|
384
|
+
"reportId"
|
|
385
|
+
]
|
|
386
|
+
}
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "sp_update_ad_group",
|
|
390
|
+
"description": "Sponsored Products: update existing ad groups. Each item must include adGroupId; state can be used to pause/archive.",
|
|
391
|
+
"method": "PUT",
|
|
392
|
+
"path": "/sp/adGroups",
|
|
393
|
+
"input_schema": {
|
|
394
|
+
"type": "object",
|
|
395
|
+
"properties": {
|
|
396
|
+
"adGroups": {
|
|
397
|
+
"type": "array",
|
|
398
|
+
"items": {
|
|
399
|
+
"type": "object"
|
|
400
|
+
}
|
|
401
|
+
}
|
|
402
|
+
},
|
|
403
|
+
"required": [
|
|
404
|
+
"adGroups"
|
|
405
|
+
]
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "sp_list_product_ads",
|
|
410
|
+
"description": "Sponsored Products: list product ads. Filter by campaign, ad group, SKU, ASIN, state, or productAdId.",
|
|
411
|
+
"method": "POST",
|
|
412
|
+
"path": "/sp/productAds/list",
|
|
413
|
+
"input_schema": {
|
|
414
|
+
"type": "object",
|
|
415
|
+
"properties": {
|
|
416
|
+
"campaignIdFilter": {
|
|
417
|
+
"type": "object",
|
|
418
|
+
"description": "Raw vendor payload object."
|
|
419
|
+
},
|
|
420
|
+
"adGroupIdFilter": {
|
|
421
|
+
"type": "object",
|
|
422
|
+
"description": "Raw vendor payload object."
|
|
423
|
+
},
|
|
424
|
+
"productAdIdFilter": {
|
|
425
|
+
"type": "object",
|
|
426
|
+
"description": "Raw vendor payload object."
|
|
427
|
+
},
|
|
428
|
+
"stateFilter": {
|
|
429
|
+
"type": "object",
|
|
430
|
+
"description": "Raw vendor payload object."
|
|
431
|
+
},
|
|
432
|
+
"maxResults": {
|
|
433
|
+
"type": "integer"
|
|
434
|
+
},
|
|
435
|
+
"nextToken": {
|
|
436
|
+
"type": "string"
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
}
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "sp_create_product_ads",
|
|
443
|
+
"description": "Sponsored Products: create product ads.",
|
|
444
|
+
"method": "POST",
|
|
445
|
+
"path": "/sp/productAds",
|
|
446
|
+
"input_schema": {
|
|
447
|
+
"type": "object",
|
|
448
|
+
"properties": {
|
|
449
|
+
"productAds": {
|
|
450
|
+
"type": "array",
|
|
451
|
+
"items": {
|
|
452
|
+
"type": "object"
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
"required": [
|
|
457
|
+
"productAds"
|
|
458
|
+
]
|
|
459
|
+
}
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"name": "sp_update_product_ads",
|
|
463
|
+
"description": "Sponsored Products: update product ads; set state to PAUSED or ARCHIVED for pause/delete semantics.",
|
|
464
|
+
"method": "PUT",
|
|
465
|
+
"path": "/sp/productAds",
|
|
466
|
+
"input_schema": {
|
|
467
|
+
"type": "object",
|
|
468
|
+
"properties": {
|
|
469
|
+
"productAds": {
|
|
470
|
+
"type": "array",
|
|
471
|
+
"items": {
|
|
472
|
+
"type": "object"
|
|
473
|
+
}
|
|
474
|
+
}
|
|
475
|
+
},
|
|
476
|
+
"required": [
|
|
477
|
+
"productAds"
|
|
478
|
+
]
|
|
479
|
+
}
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"name": "sp_list_targets",
|
|
483
|
+
"description": "Sponsored Products: list product/category targets.",
|
|
484
|
+
"method": "POST",
|
|
485
|
+
"path": "/sp/targets/list",
|
|
486
|
+
"input_schema": {
|
|
487
|
+
"type": "object",
|
|
488
|
+
"properties": {
|
|
489
|
+
"campaignIdFilter": {
|
|
490
|
+
"type": "object",
|
|
491
|
+
"description": "Raw vendor payload object."
|
|
492
|
+
},
|
|
493
|
+
"adGroupIdFilter": {
|
|
494
|
+
"type": "object",
|
|
495
|
+
"description": "Raw vendor payload object."
|
|
496
|
+
},
|
|
497
|
+
"targetIdFilter": {
|
|
498
|
+
"type": "object",
|
|
499
|
+
"description": "Raw vendor payload object."
|
|
500
|
+
},
|
|
501
|
+
"stateFilter": {
|
|
502
|
+
"type": "object",
|
|
503
|
+
"description": "Raw vendor payload object."
|
|
504
|
+
},
|
|
505
|
+
"maxResults": {
|
|
506
|
+
"type": "integer"
|
|
507
|
+
},
|
|
508
|
+
"nextToken": {
|
|
509
|
+
"type": "string"
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"name": "sp_create_targets",
|
|
516
|
+
"description": "Sponsored Products: create product/category targets.",
|
|
517
|
+
"method": "POST",
|
|
518
|
+
"path": "/sp/targets",
|
|
519
|
+
"input_schema": {
|
|
520
|
+
"type": "object",
|
|
521
|
+
"properties": {
|
|
522
|
+
"targets": {
|
|
523
|
+
"type": "array",
|
|
524
|
+
"items": {
|
|
525
|
+
"type": "object"
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
},
|
|
529
|
+
"required": [
|
|
530
|
+
"targets"
|
|
531
|
+
]
|
|
532
|
+
}
|
|
533
|
+
},
|
|
534
|
+
{
|
|
535
|
+
"name": "sp_update_targets",
|
|
536
|
+
"description": "Sponsored Products: update targets; set state to PAUSED or ARCHIVED for pause/delete semantics.",
|
|
537
|
+
"method": "PUT",
|
|
538
|
+
"path": "/sp/targets",
|
|
539
|
+
"input_schema": {
|
|
540
|
+
"type": "object",
|
|
541
|
+
"properties": {
|
|
542
|
+
"targets": {
|
|
543
|
+
"type": "array",
|
|
544
|
+
"items": {
|
|
545
|
+
"type": "object"
|
|
546
|
+
}
|
|
547
|
+
}
|
|
548
|
+
},
|
|
549
|
+
"required": [
|
|
550
|
+
"targets"
|
|
551
|
+
]
|
|
552
|
+
}
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "sb_list_ads",
|
|
556
|
+
"description": "Sponsored Brands: list ads/creatives for Sponsored Brands campaigns.",
|
|
557
|
+
"method": "POST",
|
|
558
|
+
"path": "/sb/v4/ads/list",
|
|
559
|
+
"input_schema": {
|
|
560
|
+
"type": "object",
|
|
561
|
+
"properties": {
|
|
562
|
+
"campaignIdFilter": {
|
|
563
|
+
"type": "object",
|
|
564
|
+
"description": "Raw vendor payload object."
|
|
565
|
+
},
|
|
566
|
+
"adGroupIdFilter": {
|
|
567
|
+
"type": "object",
|
|
568
|
+
"description": "Raw vendor payload object."
|
|
569
|
+
},
|
|
570
|
+
"stateFilter": {
|
|
571
|
+
"type": "object",
|
|
572
|
+
"description": "Raw vendor payload object."
|
|
573
|
+
},
|
|
574
|
+
"maxResults": {
|
|
575
|
+
"type": "integer"
|
|
576
|
+
},
|
|
577
|
+
"nextToken": {
|
|
578
|
+
"type": "string"
|
|
579
|
+
}
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "sb_create_ads",
|
|
585
|
+
"description": "Sponsored Brands: create ads/creatives for Sponsored Brands campaigns.",
|
|
586
|
+
"method": "POST",
|
|
587
|
+
"path": "/sb/v4/ads",
|
|
588
|
+
"input_schema": {
|
|
589
|
+
"type": "object",
|
|
590
|
+
"properties": {
|
|
591
|
+
"ads": {
|
|
592
|
+
"type": "array",
|
|
593
|
+
"items": {
|
|
594
|
+
"type": "object"
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
"required": [
|
|
599
|
+
"ads"
|
|
600
|
+
]
|
|
601
|
+
}
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"name": "sb_update_ads",
|
|
605
|
+
"description": "Sponsored Brands: update ads/creatives for Sponsored Brands campaigns.",
|
|
606
|
+
"method": "PUT",
|
|
607
|
+
"path": "/sb/v4/ads",
|
|
608
|
+
"input_schema": {
|
|
609
|
+
"type": "object",
|
|
610
|
+
"properties": {
|
|
611
|
+
"ads": {
|
|
612
|
+
"type": "array",
|
|
613
|
+
"items": {
|
|
614
|
+
"type": "object"
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
"required": [
|
|
619
|
+
"ads"
|
|
620
|
+
]
|
|
621
|
+
}
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "sd_list_ad_groups",
|
|
625
|
+
"description": "Sponsored Display: list ad groups.",
|
|
626
|
+
"method": "GET",
|
|
627
|
+
"path": "/sd/adGroups",
|
|
628
|
+
"input_schema": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"properties": {
|
|
631
|
+
"campaignIdFilter": {
|
|
632
|
+
"type": "string"
|
|
633
|
+
},
|
|
634
|
+
"adGroupIdFilter": {
|
|
635
|
+
"type": "string"
|
|
636
|
+
},
|
|
637
|
+
"stateFilter": {
|
|
638
|
+
"type": "string"
|
|
639
|
+
},
|
|
640
|
+
"startIndex": {
|
|
641
|
+
"type": "integer"
|
|
642
|
+
},
|
|
643
|
+
"count": {
|
|
644
|
+
"type": "integer"
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
}
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
"name": "sd_create_ad_groups",
|
|
651
|
+
"description": "Sponsored Display: create ad groups.",
|
|
652
|
+
"method": "POST",
|
|
653
|
+
"path": "/sd/adGroups",
|
|
654
|
+
"input_schema": {
|
|
655
|
+
"type": "object",
|
|
656
|
+
"properties": {
|
|
657
|
+
"adGroups": {
|
|
658
|
+
"type": "array",
|
|
659
|
+
"items": {
|
|
660
|
+
"type": "object"
|
|
661
|
+
}
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"required": [
|
|
665
|
+
"adGroups"
|
|
666
|
+
]
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"name": "sd_update_ad_groups",
|
|
671
|
+
"description": "Sponsored Display: update ad groups.",
|
|
672
|
+
"method": "PUT",
|
|
673
|
+
"path": "/sd/adGroups",
|
|
674
|
+
"input_schema": {
|
|
675
|
+
"type": "object",
|
|
676
|
+
"properties": {
|
|
677
|
+
"adGroups": {
|
|
678
|
+
"type": "array",
|
|
679
|
+
"items": {
|
|
680
|
+
"type": "object"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"required": [
|
|
685
|
+
"adGroups"
|
|
686
|
+
]
|
|
687
|
+
}
|
|
688
|
+
},
|
|
689
|
+
{
|
|
690
|
+
"name": "sd_list_ads",
|
|
691
|
+
"description": "Sponsored Display: list ads.",
|
|
692
|
+
"method": "GET",
|
|
693
|
+
"path": "/sd/productAds",
|
|
694
|
+
"input_schema": {
|
|
695
|
+
"type": "object",
|
|
696
|
+
"properties": {
|
|
697
|
+
"campaignIdFilter": {
|
|
698
|
+
"type": "string"
|
|
699
|
+
},
|
|
700
|
+
"adGroupIdFilter": {
|
|
701
|
+
"type": "string"
|
|
702
|
+
},
|
|
703
|
+
"stateFilter": {
|
|
704
|
+
"type": "string"
|
|
705
|
+
},
|
|
706
|
+
"startIndex": {
|
|
707
|
+
"type": "integer"
|
|
708
|
+
},
|
|
709
|
+
"count": {
|
|
710
|
+
"type": "integer"
|
|
711
|
+
}
|
|
712
|
+
}
|
|
713
|
+
}
|
|
714
|
+
},
|
|
715
|
+
{
|
|
716
|
+
"name": "sd_create_ads",
|
|
717
|
+
"description": "Sponsored Display: create ads.",
|
|
718
|
+
"method": "POST",
|
|
719
|
+
"path": "/sd/productAds",
|
|
720
|
+
"input_schema": {
|
|
721
|
+
"type": "object",
|
|
722
|
+
"properties": {
|
|
723
|
+
"ads": {
|
|
724
|
+
"type": "array",
|
|
725
|
+
"items": {
|
|
726
|
+
"type": "object"
|
|
727
|
+
}
|
|
728
|
+
}
|
|
729
|
+
},
|
|
730
|
+
"required": [
|
|
731
|
+
"ads"
|
|
732
|
+
]
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "sd_update_ads",
|
|
737
|
+
"description": "Sponsored Display: update ads; set state to paused/archived for pause/delete semantics.",
|
|
738
|
+
"method": "PUT",
|
|
739
|
+
"path": "/sd/productAds",
|
|
740
|
+
"input_schema": {
|
|
741
|
+
"type": "object",
|
|
742
|
+
"properties": {
|
|
743
|
+
"ads": {
|
|
744
|
+
"type": "array",
|
|
745
|
+
"items": {
|
|
746
|
+
"type": "object"
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
},
|
|
750
|
+
"required": [
|
|
751
|
+
"ads"
|
|
752
|
+
]
|
|
753
|
+
}
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"name": "dsp_list_audiences",
|
|
757
|
+
"description": "Amazon DSP: list audiences when the profile has DSP access.",
|
|
758
|
+
"method": "GET",
|
|
759
|
+
"path": "/dsp/audiences",
|
|
760
|
+
"input_schema": {
|
|
761
|
+
"type": "object",
|
|
762
|
+
"properties": {
|
|
763
|
+
"advertiserId": {
|
|
764
|
+
"type": "string"
|
|
765
|
+
},
|
|
766
|
+
"maxResults": {
|
|
767
|
+
"type": "integer"
|
|
768
|
+
},
|
|
769
|
+
"nextToken": {
|
|
770
|
+
"type": "string"
|
|
771
|
+
}
|
|
772
|
+
}
|
|
773
|
+
}
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "dsp_create_audience",
|
|
777
|
+
"description": "Amazon DSP: create an audience when the profile has DSP access. Body shape depends on first-party, third-party, or advertiser audience type.",
|
|
778
|
+
"method": "POST",
|
|
779
|
+
"path": "/dsp/audiences",
|
|
780
|
+
"body_root_param": "body",
|
|
781
|
+
"input_schema": {
|
|
782
|
+
"type": "object",
|
|
783
|
+
"properties": {
|
|
784
|
+
"body": {
|
|
785
|
+
"type": "object",
|
|
786
|
+
"description": "Raw Amazon DSP audience payload."
|
|
787
|
+
}
|
|
788
|
+
},
|
|
789
|
+
"required": [
|
|
790
|
+
"body"
|
|
791
|
+
]
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
{
|
|
795
|
+
"name": "list_creatives",
|
|
796
|
+
"description": "Generic alias for Sponsored Brands ads/creatives.",
|
|
797
|
+
"method": "POST",
|
|
798
|
+
"path": "/sb/v4/ads/list",
|
|
799
|
+
"input_schema": {
|
|
800
|
+
"type": "object",
|
|
801
|
+
"properties": {
|
|
802
|
+
"campaignIdFilter": {
|
|
803
|
+
"type": "object",
|
|
804
|
+
"description": "Raw vendor payload object."
|
|
805
|
+
},
|
|
806
|
+
"adGroupIdFilter": {
|
|
807
|
+
"type": "object",
|
|
808
|
+
"description": "Raw vendor payload object."
|
|
809
|
+
},
|
|
810
|
+
"stateFilter": {
|
|
811
|
+
"type": "object",
|
|
812
|
+
"description": "Raw vendor payload object."
|
|
813
|
+
},
|
|
814
|
+
"maxResults": {
|
|
815
|
+
"type": "integer"
|
|
816
|
+
},
|
|
817
|
+
"nextToken": {
|
|
818
|
+
"type": "string"
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "create_creative",
|
|
825
|
+
"description": "Generic alias for Sponsored Brands ads/creatives.",
|
|
826
|
+
"method": "POST",
|
|
827
|
+
"path": "/sb/v4/ads",
|
|
828
|
+
"input_schema": {
|
|
829
|
+
"type": "object",
|
|
830
|
+
"properties": {
|
|
831
|
+
"ads": {
|
|
832
|
+
"type": "array",
|
|
833
|
+
"items": {
|
|
834
|
+
"type": "object"
|
|
835
|
+
}
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"required": [
|
|
839
|
+
"ads"
|
|
840
|
+
]
|
|
841
|
+
}
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
"name": "update_creative",
|
|
845
|
+
"description": "Generic alias for Sponsored Brands ads/creatives.",
|
|
846
|
+
"method": "PUT",
|
|
847
|
+
"path": "/sb/v4/ads",
|
|
848
|
+
"input_schema": {
|
|
849
|
+
"type": "object",
|
|
850
|
+
"properties": {
|
|
851
|
+
"ads": {
|
|
852
|
+
"type": "array",
|
|
853
|
+
"items": {
|
|
854
|
+
"type": "object"
|
|
855
|
+
}
|
|
856
|
+
}
|
|
244
857
|
},
|
|
245
|
-
"required": [
|
|
858
|
+
"required": [
|
|
859
|
+
"ads"
|
|
860
|
+
]
|
|
246
861
|
}
|
|
247
862
|
}
|
|
248
863
|
]
|