@apteva/integrations 0.15.6 → 0.15.8
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/bunny-stream.json +33 -2
- package/src/apps/dataforseo.json +15 -2
- package/src/apps/gmail.json +6 -3
- 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/spaceship.json +883 -0
- 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
|
@@ -0,0 +1,672 @@
|
|
|
1
|
+
{
|
|
2
|
+
"slug": "taboola",
|
|
3
|
+
"name": "Taboola",
|
|
4
|
+
"description": "Taboola Backstage API v1.0 — manage advertiser accounts, campaigns, campaign items/native ads, first-party audiences, and campaign performance reports for Taboola native advertising.",
|
|
5
|
+
"logo": "https://www.google.com/s2/favicons?domain=taboola.com&sz=128",
|
|
6
|
+
"categories": [
|
|
7
|
+
"advertising",
|
|
8
|
+
"marketing",
|
|
9
|
+
"campaigns",
|
|
10
|
+
"native-ads",
|
|
11
|
+
"taboola",
|
|
12
|
+
"content-discovery",
|
|
13
|
+
"performance"
|
|
14
|
+
],
|
|
15
|
+
"base_url": "https://backstage.taboola.com/backstage/api/1.0",
|
|
16
|
+
"auth": {
|
|
17
|
+
"types": [
|
|
18
|
+
"bearer",
|
|
19
|
+
"oauth2"
|
|
20
|
+
],
|
|
21
|
+
"headers": {
|
|
22
|
+
"Authorization": "Bearer {{token}}",
|
|
23
|
+
"Content-Type": "application/json"
|
|
24
|
+
},
|
|
25
|
+
"credential_fields": [
|
|
26
|
+
{
|
|
27
|
+
"name": "token",
|
|
28
|
+
"label": "access_token",
|
|
29
|
+
"type": "password",
|
|
30
|
+
"description": "Bearer token from POST https://backstage.taboola.com/backstage/oauth/token using client_credentials. Tokens typically expire after 12 hours."
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "client_id",
|
|
34
|
+
"label": "Client ID",
|
|
35
|
+
"description": "Taboola API client ID from your Taboola account manager or API access settings"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "client_secret",
|
|
39
|
+
"label": "Client Secret",
|
|
40
|
+
"type": "password"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"name": "account_id",
|
|
44
|
+
"label": "Default Account ID",
|
|
45
|
+
"description": "Alphabetic advertiser account ID, available from get_account_details or list_allowed_accounts"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"name": "refresh_token",
|
|
49
|
+
"label": "refresh_token",
|
|
50
|
+
"type": "password"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "expires_in",
|
|
54
|
+
"label": "expires_in"
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
"oauth2": {
|
|
58
|
+
"authorize_url": "https://backstage.taboola.com/backstage/oauth/authorize",
|
|
59
|
+
"token_url": "https://backstage.taboola.com/backstage/oauth/token",
|
|
60
|
+
"scopes": [],
|
|
61
|
+
"client_id_required": true,
|
|
62
|
+
"pkce": false,
|
|
63
|
+
"extra_authorize_params": {
|
|
64
|
+
"grant_type": "client_credentials"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
"tools": [
|
|
69
|
+
{
|
|
70
|
+
"name": "get_account_details",
|
|
71
|
+
"description": "Get the current Taboola account details, including account_id.",
|
|
72
|
+
"method": "GET",
|
|
73
|
+
"path": "/users/current/account",
|
|
74
|
+
"input_schema": {
|
|
75
|
+
"type": "object",
|
|
76
|
+
"properties": {}
|
|
77
|
+
}
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "list_allowed_accounts",
|
|
81
|
+
"description": "List all Taboola accounts available to the authenticated credentials.",
|
|
82
|
+
"method": "GET",
|
|
83
|
+
"path": "/users/current/allowed-accounts",
|
|
84
|
+
"input_schema": {
|
|
85
|
+
"type": "object",
|
|
86
|
+
"properties": {}
|
|
87
|
+
}
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
"name": "list_campaigns",
|
|
91
|
+
"description": "Get campaigns for an advertiser account. Supports paging/sorting and optional campaign filters on the Backstage API.",
|
|
92
|
+
"method": "GET",
|
|
93
|
+
"path": "/{account_id}/campaigns/",
|
|
94
|
+
"input_schema": {
|
|
95
|
+
"type": "object",
|
|
96
|
+
"properties": {
|
|
97
|
+
"account_id": {
|
|
98
|
+
"type": "string",
|
|
99
|
+
"description": "Alphabetic Taboola advertiser account ID"
|
|
100
|
+
},
|
|
101
|
+
"fetch_level": {
|
|
102
|
+
"type": "string",
|
|
103
|
+
"description": "Campaign detail level. Taboola defaults to R when omitted."
|
|
104
|
+
},
|
|
105
|
+
"campaign_ids": {
|
|
106
|
+
"type": "array",
|
|
107
|
+
"items": {
|
|
108
|
+
"type": "string"
|
|
109
|
+
},
|
|
110
|
+
"description": "Optional campaign IDs to filter. Sent as repeated query parameters when supported by the executor."
|
|
111
|
+
},
|
|
112
|
+
"page": {
|
|
113
|
+
"type": "integer"
|
|
114
|
+
},
|
|
115
|
+
"page_size": {
|
|
116
|
+
"type": "integer"
|
|
117
|
+
},
|
|
118
|
+
"sort": {
|
|
119
|
+
"type": "string"
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
"required": [
|
|
123
|
+
"account_id"
|
|
124
|
+
]
|
|
125
|
+
}
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "get_campaign",
|
|
129
|
+
"description": "Get one Taboola campaign by campaign ID.",
|
|
130
|
+
"method": "GET",
|
|
131
|
+
"path": "/{account_id}/campaigns/{campaign_id}/",
|
|
132
|
+
"input_schema": {
|
|
133
|
+
"type": "object",
|
|
134
|
+
"properties": {
|
|
135
|
+
"account_id": {
|
|
136
|
+
"type": "string"
|
|
137
|
+
},
|
|
138
|
+
"campaign_id": {
|
|
139
|
+
"type": "string"
|
|
140
|
+
}
|
|
141
|
+
},
|
|
142
|
+
"required": [
|
|
143
|
+
"account_id",
|
|
144
|
+
"campaign_id"
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "create_campaign",
|
|
150
|
+
"description": "Create a Taboola campaign. Body is the raw campaign object, for example {name, branding_text, cpc, spending_limit, spending_limit_model, marketing_objective}.",
|
|
151
|
+
"method": "POST",
|
|
152
|
+
"path": "/{account_id}/campaigns/",
|
|
153
|
+
"body_root_param": "body",
|
|
154
|
+
"input_schema": {
|
|
155
|
+
"type": "object",
|
|
156
|
+
"properties": {
|
|
157
|
+
"account_id": {
|
|
158
|
+
"type": "string"
|
|
159
|
+
},
|
|
160
|
+
"body": {
|
|
161
|
+
"type": "object",
|
|
162
|
+
"description": "Raw Taboola campaign object"
|
|
163
|
+
}
|
|
164
|
+
},
|
|
165
|
+
"required": [
|
|
166
|
+
"account_id",
|
|
167
|
+
"body"
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "update_campaign",
|
|
173
|
+
"description": "Update a Taboola campaign. Body contains only fields to update.",
|
|
174
|
+
"method": "POST",
|
|
175
|
+
"path": "/{account_id}/campaigns/{campaign_id}/",
|
|
176
|
+
"body_root_param": "body",
|
|
177
|
+
"input_schema": {
|
|
178
|
+
"type": "object",
|
|
179
|
+
"properties": {
|
|
180
|
+
"account_id": {
|
|
181
|
+
"type": "string"
|
|
182
|
+
},
|
|
183
|
+
"campaign_id": {
|
|
184
|
+
"type": "string"
|
|
185
|
+
},
|
|
186
|
+
"body": {
|
|
187
|
+
"type": "object",
|
|
188
|
+
"description": "Campaign fields to update"
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
"required": [
|
|
192
|
+
"account_id",
|
|
193
|
+
"campaign_id",
|
|
194
|
+
"body"
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "bulk_update_campaigns",
|
|
200
|
+
"description": "Bulk update multiple campaigns in one request. Body shape: {campaigns:[ids], update:{fields}}.",
|
|
201
|
+
"method": "POST",
|
|
202
|
+
"path": "/{account_id}/campaigns/bulk-update",
|
|
203
|
+
"query_params": [
|
|
204
|
+
"is_atomic"
|
|
205
|
+
],
|
|
206
|
+
"body_root_param": "body",
|
|
207
|
+
"input_schema": {
|
|
208
|
+
"type": "object",
|
|
209
|
+
"properties": {
|
|
210
|
+
"account_id": {
|
|
211
|
+
"type": "string"
|
|
212
|
+
},
|
|
213
|
+
"is_atomic": {
|
|
214
|
+
"type": "boolean",
|
|
215
|
+
"description": "If true, no campaigns are updated when one update fails"
|
|
216
|
+
},
|
|
217
|
+
"body": {
|
|
218
|
+
"type": "object",
|
|
219
|
+
"description": "Bulk update payload"
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
"required": [
|
|
223
|
+
"account_id",
|
|
224
|
+
"body"
|
|
225
|
+
]
|
|
226
|
+
}
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"name": "list_campaign_items",
|
|
230
|
+
"description": "List campaign items/native ads for a Taboola campaign.",
|
|
231
|
+
"method": "GET",
|
|
232
|
+
"path": "/{account_id}/campaigns/{campaign_id}/items/",
|
|
233
|
+
"input_schema": {
|
|
234
|
+
"type": "object",
|
|
235
|
+
"properties": {
|
|
236
|
+
"account_id": {
|
|
237
|
+
"type": "string"
|
|
238
|
+
},
|
|
239
|
+
"campaign_id": {
|
|
240
|
+
"type": "string"
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
"required": [
|
|
244
|
+
"account_id",
|
|
245
|
+
"campaign_id"
|
|
246
|
+
]
|
|
247
|
+
}
|
|
248
|
+
},
|
|
249
|
+
{
|
|
250
|
+
"name": "get_campaign_item",
|
|
251
|
+
"description": "Get one campaign item/native ad.",
|
|
252
|
+
"method": "GET",
|
|
253
|
+
"path": "/{account_id}/campaigns/{campaign_id}/items/{item_id}/",
|
|
254
|
+
"input_schema": {
|
|
255
|
+
"type": "object",
|
|
256
|
+
"properties": {
|
|
257
|
+
"account_id": {
|
|
258
|
+
"type": "string"
|
|
259
|
+
},
|
|
260
|
+
"campaign_id": {
|
|
261
|
+
"type": "string"
|
|
262
|
+
},
|
|
263
|
+
"item_id": {
|
|
264
|
+
"type": "string"
|
|
265
|
+
}
|
|
266
|
+
},
|
|
267
|
+
"required": [
|
|
268
|
+
"account_id",
|
|
269
|
+
"campaign_id",
|
|
270
|
+
"item_id"
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "create_campaign_item",
|
|
276
|
+
"description": "Create a campaign item/native ad. Body is the raw item object, commonly {url} first, with Taboola enrichment creating item details.",
|
|
277
|
+
"method": "POST",
|
|
278
|
+
"path": "/{account_id}/campaigns/{campaign_id}/items/",
|
|
279
|
+
"body_root_param": "body",
|
|
280
|
+
"input_schema": {
|
|
281
|
+
"type": "object",
|
|
282
|
+
"properties": {
|
|
283
|
+
"account_id": {
|
|
284
|
+
"type": "string"
|
|
285
|
+
},
|
|
286
|
+
"campaign_id": {
|
|
287
|
+
"type": "string"
|
|
288
|
+
},
|
|
289
|
+
"body": {
|
|
290
|
+
"type": "object",
|
|
291
|
+
"description": "Raw Taboola item object"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
"required": [
|
|
295
|
+
"account_id",
|
|
296
|
+
"campaign_id",
|
|
297
|
+
"body"
|
|
298
|
+
]
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
"name": "update_campaign_item",
|
|
303
|
+
"description": "Update a campaign item/native ad. Body contains fields such as title, thumbnail_url, url, approval_state, or status when supported by the account.",
|
|
304
|
+
"method": "POST",
|
|
305
|
+
"path": "/{account_id}/campaigns/{campaign_id}/items/{item_id}/",
|
|
306
|
+
"body_root_param": "body",
|
|
307
|
+
"input_schema": {
|
|
308
|
+
"type": "object",
|
|
309
|
+
"properties": {
|
|
310
|
+
"account_id": {
|
|
311
|
+
"type": "string"
|
|
312
|
+
},
|
|
313
|
+
"campaign_id": {
|
|
314
|
+
"type": "string"
|
|
315
|
+
},
|
|
316
|
+
"item_id": {
|
|
317
|
+
"type": "string"
|
|
318
|
+
},
|
|
319
|
+
"body": {
|
|
320
|
+
"type": "object",
|
|
321
|
+
"description": "Item fields to update"
|
|
322
|
+
}
|
|
323
|
+
},
|
|
324
|
+
"required": [
|
|
325
|
+
"account_id",
|
|
326
|
+
"campaign_id",
|
|
327
|
+
"item_id",
|
|
328
|
+
"body"
|
|
329
|
+
]
|
|
330
|
+
}
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
"name": "delete_campaign_item",
|
|
334
|
+
"description": "Delete/stop a campaign item/native ad. Taboola returns the item with status STOPPED.",
|
|
335
|
+
"method": "DELETE",
|
|
336
|
+
"path": "/{account_id}/campaigns/{campaign_id}/items/{item_id}",
|
|
337
|
+
"input_schema": {
|
|
338
|
+
"type": "object",
|
|
339
|
+
"properties": {
|
|
340
|
+
"account_id": {
|
|
341
|
+
"type": "string"
|
|
342
|
+
},
|
|
343
|
+
"campaign_id": {
|
|
344
|
+
"type": "string"
|
|
345
|
+
},
|
|
346
|
+
"item_id": {
|
|
347
|
+
"type": "string"
|
|
348
|
+
}
|
|
349
|
+
},
|
|
350
|
+
"required": [
|
|
351
|
+
"account_id",
|
|
352
|
+
"campaign_id",
|
|
353
|
+
"item_id"
|
|
354
|
+
]
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "campaign_summary_report",
|
|
359
|
+
"description": "Run a standard Campaign Summary report. Dimensions include day, campaign, campaign_site_day_breakdown, country, platform, and other Taboola dimensions supported by the account.",
|
|
360
|
+
"method": "GET",
|
|
361
|
+
"path": "/{account_id}/reports/campaign-summary/dimensions/{dimension}",
|
|
362
|
+
"input_schema": {
|
|
363
|
+
"type": "object",
|
|
364
|
+
"properties": {
|
|
365
|
+
"account_id": {
|
|
366
|
+
"type": "string"
|
|
367
|
+
},
|
|
368
|
+
"dimension": {
|
|
369
|
+
"type": "string",
|
|
370
|
+
"description": "Report dimension such as day, campaign, campaign_site_day_breakdown, country, platform"
|
|
371
|
+
},
|
|
372
|
+
"start_date": {
|
|
373
|
+
"type": "string",
|
|
374
|
+
"description": "Report start date/time"
|
|
375
|
+
},
|
|
376
|
+
"end_date": {
|
|
377
|
+
"type": "string",
|
|
378
|
+
"description": "Report end date/time"
|
|
379
|
+
},
|
|
380
|
+
"campaign": {
|
|
381
|
+
"type": "string",
|
|
382
|
+
"description": "Comma-separated campaign IDs"
|
|
383
|
+
},
|
|
384
|
+
"platform": {
|
|
385
|
+
"type": "string"
|
|
386
|
+
},
|
|
387
|
+
"country": {
|
|
388
|
+
"type": "string"
|
|
389
|
+
},
|
|
390
|
+
"site_id": {
|
|
391
|
+
"type": "string"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
"required": [
|
|
395
|
+
"account_id",
|
|
396
|
+
"dimension",
|
|
397
|
+
"start_date",
|
|
398
|
+
"end_date"
|
|
399
|
+
]
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"name": "realtime_campaign_summary_report",
|
|
404
|
+
"description": "Run a near-real-time Campaign Summary report. Dimensions include by_hour, by_campaign, by_site, by_country, by_platform and related smallest-time-bucket variants.",
|
|
405
|
+
"method": "GET",
|
|
406
|
+
"path": "/{account_id}/reports/realtime-campaign-summary/dimensions/{dimension}",
|
|
407
|
+
"input_schema": {
|
|
408
|
+
"type": "object",
|
|
409
|
+
"properties": {
|
|
410
|
+
"account_id": {
|
|
411
|
+
"type": "string"
|
|
412
|
+
},
|
|
413
|
+
"dimension": {
|
|
414
|
+
"type": "string",
|
|
415
|
+
"description": "Realtime dimension such as by_hour, by_campaign, by_site, by_country, by_platform"
|
|
416
|
+
},
|
|
417
|
+
"start_date": {
|
|
418
|
+
"type": "string"
|
|
419
|
+
},
|
|
420
|
+
"end_date": {
|
|
421
|
+
"type": "string"
|
|
422
|
+
},
|
|
423
|
+
"campaign": {
|
|
424
|
+
"type": "string"
|
|
425
|
+
},
|
|
426
|
+
"platform": {
|
|
427
|
+
"type": "string"
|
|
428
|
+
},
|
|
429
|
+
"country": {
|
|
430
|
+
"type": "string"
|
|
431
|
+
},
|
|
432
|
+
"site_id": {
|
|
433
|
+
"type": "string"
|
|
434
|
+
},
|
|
435
|
+
"fetch_config": {
|
|
436
|
+
"type": "boolean"
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
"required": [
|
|
440
|
+
"account_id",
|
|
441
|
+
"dimension",
|
|
442
|
+
"start_date",
|
|
443
|
+
"end_date"
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "list_available_audiences",
|
|
449
|
+
"description": "List available Taboola combined audiences/resources for an account.",
|
|
450
|
+
"method": "GET",
|
|
451
|
+
"path": "/{account_id}/combined_audiences/resources/audiences",
|
|
452
|
+
"input_schema": {
|
|
453
|
+
"type": "object",
|
|
454
|
+
"properties": {
|
|
455
|
+
"account_id": {
|
|
456
|
+
"type": "string"
|
|
457
|
+
},
|
|
458
|
+
"search_text": {
|
|
459
|
+
"type": "string"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
"required": [
|
|
463
|
+
"account_id"
|
|
464
|
+
]
|
|
465
|
+
}
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
"name": "create_first_party_audience",
|
|
469
|
+
"description": "Create a first-party audience for audience onboarding/customer match use cases.",
|
|
470
|
+
"method": "POST",
|
|
471
|
+
"path": "/{account_id}/audience_onboarding/create",
|
|
472
|
+
"body_root_param": "body",
|
|
473
|
+
"input_schema": {
|
|
474
|
+
"type": "object",
|
|
475
|
+
"properties": {
|
|
476
|
+
"account_id": {
|
|
477
|
+
"type": "string"
|
|
478
|
+
},
|
|
479
|
+
"body": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"description": "Raw Taboola first-party audience object"
|
|
482
|
+
}
|
|
483
|
+
},
|
|
484
|
+
"required": [
|
|
485
|
+
"account_id",
|
|
486
|
+
"body"
|
|
487
|
+
]
|
|
488
|
+
}
|
|
489
|
+
},
|
|
490
|
+
{
|
|
491
|
+
"name": "audience_onboarding",
|
|
492
|
+
"description": "Add or remove users from a first-party audience. Body includes operation, audience_id, integration_source, and identities.",
|
|
493
|
+
"method": "POST",
|
|
494
|
+
"path": "/{account_id}/audience_onboarding",
|
|
495
|
+
"body_root_param": "body",
|
|
496
|
+
"input_schema": {
|
|
497
|
+
"type": "object",
|
|
498
|
+
"properties": {
|
|
499
|
+
"account_id": {
|
|
500
|
+
"type": "string"
|
|
501
|
+
},
|
|
502
|
+
"body": {
|
|
503
|
+
"type": "object",
|
|
504
|
+
"description": "Audience onboarding payload"
|
|
505
|
+
}
|
|
506
|
+
},
|
|
507
|
+
"required": [
|
|
508
|
+
"account_id",
|
|
509
|
+
"body"
|
|
510
|
+
]
|
|
511
|
+
}
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "campaign_history_report",
|
|
515
|
+
"description": "Run Taboola Campaign History report to audit changes made to campaigns, items, creatives, targeting, and related entities.",
|
|
516
|
+
"method": "GET",
|
|
517
|
+
"path": "/{account_id}/reports/campaign-history/dimensions/{dimension}",
|
|
518
|
+
"input_schema": {
|
|
519
|
+
"type": "object",
|
|
520
|
+
"properties": {
|
|
521
|
+
"account_id": {
|
|
522
|
+
"type": "string"
|
|
523
|
+
},
|
|
524
|
+
"dimension": {
|
|
525
|
+
"type": "string"
|
|
526
|
+
},
|
|
527
|
+
"start_date": {
|
|
528
|
+
"type": "string"
|
|
529
|
+
},
|
|
530
|
+
"end_date": {
|
|
531
|
+
"type": "string"
|
|
532
|
+
},
|
|
533
|
+
"campaign": {
|
|
534
|
+
"type": "string"
|
|
535
|
+
},
|
|
536
|
+
"item": {
|
|
537
|
+
"type": "string"
|
|
538
|
+
}
|
|
539
|
+
},
|
|
540
|
+
"required": [
|
|
541
|
+
"account_id",
|
|
542
|
+
"dimension",
|
|
543
|
+
"start_date",
|
|
544
|
+
"end_date"
|
|
545
|
+
]
|
|
546
|
+
}
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
"name": "top_campaign_content_report",
|
|
550
|
+
"description": "Run Taboola Top Campaign Content report for item/native-ad performance by URL or creative.",
|
|
551
|
+
"method": "GET",
|
|
552
|
+
"path": "/{account_id}/reports/top-campaign-content/dimensions/{dimension}",
|
|
553
|
+
"input_schema": {
|
|
554
|
+
"type": "object",
|
|
555
|
+
"properties": {
|
|
556
|
+
"account_id": {
|
|
557
|
+
"type": "string"
|
|
558
|
+
},
|
|
559
|
+
"dimension": {
|
|
560
|
+
"type": "string"
|
|
561
|
+
},
|
|
562
|
+
"start_date": {
|
|
563
|
+
"type": "string"
|
|
564
|
+
},
|
|
565
|
+
"end_date": {
|
|
566
|
+
"type": "string"
|
|
567
|
+
},
|
|
568
|
+
"campaign": {
|
|
569
|
+
"type": "string"
|
|
570
|
+
},
|
|
571
|
+
"item": {
|
|
572
|
+
"type": "string"
|
|
573
|
+
}
|
|
574
|
+
},
|
|
575
|
+
"required": [
|
|
576
|
+
"account_id",
|
|
577
|
+
"dimension",
|
|
578
|
+
"start_date",
|
|
579
|
+
"end_date"
|
|
580
|
+
]
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"name": "realtime_top_campaign_content_report",
|
|
585
|
+
"description": "Run near-real-time Top Campaign Content report for item/native-ad performance.",
|
|
586
|
+
"method": "GET",
|
|
587
|
+
"path": "/{account_id}/reports/realtime-top-campaign-content/dimensions/{dimension}",
|
|
588
|
+
"input_schema": {
|
|
589
|
+
"type": "object",
|
|
590
|
+
"properties": {
|
|
591
|
+
"account_id": {
|
|
592
|
+
"type": "string"
|
|
593
|
+
},
|
|
594
|
+
"dimension": {
|
|
595
|
+
"type": "string"
|
|
596
|
+
},
|
|
597
|
+
"start_date": {
|
|
598
|
+
"type": "string"
|
|
599
|
+
},
|
|
600
|
+
"end_date": {
|
|
601
|
+
"type": "string"
|
|
602
|
+
},
|
|
603
|
+
"campaign": {
|
|
604
|
+
"type": "string"
|
|
605
|
+
},
|
|
606
|
+
"item": {
|
|
607
|
+
"type": "string"
|
|
608
|
+
}
|
|
609
|
+
},
|
|
610
|
+
"required": [
|
|
611
|
+
"account_id",
|
|
612
|
+
"dimension",
|
|
613
|
+
"start_date",
|
|
614
|
+
"end_date"
|
|
615
|
+
]
|
|
616
|
+
}
|
|
617
|
+
},
|
|
618
|
+
{
|
|
619
|
+
"name": "duplicate_campaign",
|
|
620
|
+
"description": "Duplicate an existing Taboola campaign using a raw vendor payload.",
|
|
621
|
+
"method": "POST",
|
|
622
|
+
"path": "/{account_id}/campaigns/{campaign_id}/duplicate",
|
|
623
|
+
"body_root_param": "body",
|
|
624
|
+
"input_schema": {
|
|
625
|
+
"type": "object",
|
|
626
|
+
"properties": {
|
|
627
|
+
"account_id": {
|
|
628
|
+
"type": "string"
|
|
629
|
+
},
|
|
630
|
+
"campaign_id": {
|
|
631
|
+
"type": "string"
|
|
632
|
+
},
|
|
633
|
+
"body": {
|
|
634
|
+
"type": "object",
|
|
635
|
+
"description": "Raw Taboola duplicate campaign payload/options."
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
"required": [
|
|
639
|
+
"account_id",
|
|
640
|
+
"campaign_id"
|
|
641
|
+
]
|
|
642
|
+
}
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"name": "bulk_create_campaign_items",
|
|
646
|
+
"description": "Bulk-create campaign items/native ads when the account supports the mass items endpoint.",
|
|
647
|
+
"method": "POST",
|
|
648
|
+
"path": "/{account_id}/campaigns/{campaign_id}/items/mass",
|
|
649
|
+
"body_root_param": "body",
|
|
650
|
+
"input_schema": {
|
|
651
|
+
"type": "object",
|
|
652
|
+
"properties": {
|
|
653
|
+
"account_id": {
|
|
654
|
+
"type": "string"
|
|
655
|
+
},
|
|
656
|
+
"campaign_id": {
|
|
657
|
+
"type": "string"
|
|
658
|
+
},
|
|
659
|
+
"body": {
|
|
660
|
+
"type": "object",
|
|
661
|
+
"description": "Raw Taboola bulk item payload."
|
|
662
|
+
}
|
|
663
|
+
},
|
|
664
|
+
"required": [
|
|
665
|
+
"account_id",
|
|
666
|
+
"campaign_id",
|
|
667
|
+
"body"
|
|
668
|
+
]
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
]
|
|
672
|
+
}
|