@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
|
@@ -62,13 +62,23 @@
|
|
|
62
62
|
"input_schema": {
|
|
63
63
|
"type": "object",
|
|
64
64
|
"properties": {
|
|
65
|
-
"q": {
|
|
65
|
+
"q": {
|
|
66
|
+
"type": "string",
|
|
67
|
+
"default": "search"
|
|
68
|
+
},
|
|
66
69
|
"search": {
|
|
67
70
|
"type": "string",
|
|
68
71
|
"description": "Restli search filter, e.g. (status:(values:List(ACTIVE)),type:(values:List(BUSINESS)))"
|
|
69
72
|
},
|
|
70
|
-
"start": {
|
|
71
|
-
|
|
73
|
+
"start": {
|
|
74
|
+
"type": "integer",
|
|
75
|
+
"default": 0
|
|
76
|
+
},
|
|
77
|
+
"count": {
|
|
78
|
+
"type": "integer",
|
|
79
|
+
"default": 10,
|
|
80
|
+
"description": "Max 1000"
|
|
81
|
+
}
|
|
72
82
|
}
|
|
73
83
|
}
|
|
74
84
|
},
|
|
@@ -80,9 +90,14 @@
|
|
|
80
90
|
"input_schema": {
|
|
81
91
|
"type": "object",
|
|
82
92
|
"properties": {
|
|
83
|
-
"account_id": {
|
|
93
|
+
"account_id": {
|
|
94
|
+
"type": "string",
|
|
95
|
+
"description": "Ad account numeric ID (without the urn:li:sponsoredAccount: prefix)"
|
|
96
|
+
}
|
|
84
97
|
},
|
|
85
|
-
"required": [
|
|
98
|
+
"required": [
|
|
99
|
+
"account_id"
|
|
100
|
+
]
|
|
86
101
|
}
|
|
87
102
|
},
|
|
88
103
|
{
|
|
@@ -93,13 +108,29 @@
|
|
|
93
108
|
"input_schema": {
|
|
94
109
|
"type": "object",
|
|
95
110
|
"properties": {
|
|
96
|
-
"account_id": {
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
|
|
111
|
+
"account_id": {
|
|
112
|
+
"type": "string"
|
|
113
|
+
},
|
|
114
|
+
"q": {
|
|
115
|
+
"type": "string",
|
|
116
|
+
"default": "search"
|
|
117
|
+
},
|
|
118
|
+
"search": {
|
|
119
|
+
"type": "string",
|
|
120
|
+
"description": "Restli search filter, e.g. (status:(values:List(ACTIVE)))"
|
|
121
|
+
},
|
|
122
|
+
"start": {
|
|
123
|
+
"type": "integer",
|
|
124
|
+
"default": 0
|
|
125
|
+
},
|
|
126
|
+
"count": {
|
|
127
|
+
"type": "integer",
|
|
128
|
+
"default": 10
|
|
129
|
+
}
|
|
101
130
|
},
|
|
102
|
-
"required": [
|
|
131
|
+
"required": [
|
|
132
|
+
"account_id"
|
|
133
|
+
]
|
|
103
134
|
}
|
|
104
135
|
},
|
|
105
136
|
{
|
|
@@ -110,9 +141,21 @@
|
|
|
110
141
|
"input_schema": {
|
|
111
142
|
"type": "object",
|
|
112
143
|
"properties": {
|
|
113
|
-
"account_id": {
|
|
114
|
-
|
|
115
|
-
|
|
144
|
+
"account_id": {
|
|
145
|
+
"type": "string"
|
|
146
|
+
},
|
|
147
|
+
"name": {
|
|
148
|
+
"type": "string"
|
|
149
|
+
},
|
|
150
|
+
"status": {
|
|
151
|
+
"type": "string",
|
|
152
|
+
"enum": [
|
|
153
|
+
"ACTIVE",
|
|
154
|
+
"PAUSED",
|
|
155
|
+
"DRAFT"
|
|
156
|
+
],
|
|
157
|
+
"default": "DRAFT"
|
|
158
|
+
},
|
|
116
159
|
"runSchedule": {
|
|
117
160
|
"type": "object",
|
|
118
161
|
"description": "{\"start\": <unix ms>, \"end\": <unix ms or omit>}"
|
|
@@ -121,9 +164,15 @@
|
|
|
121
164
|
"type": "object",
|
|
122
165
|
"description": "{\"currencyCode\": \"USD\", \"amount\": \"500.00\"}"
|
|
123
166
|
},
|
|
124
|
-
"test": {
|
|
167
|
+
"test": {
|
|
168
|
+
"type": "boolean",
|
|
169
|
+
"default": false
|
|
170
|
+
}
|
|
125
171
|
},
|
|
126
|
-
"required": [
|
|
172
|
+
"required": [
|
|
173
|
+
"account_id",
|
|
174
|
+
"name"
|
|
175
|
+
]
|
|
127
176
|
}
|
|
128
177
|
},
|
|
129
178
|
{
|
|
@@ -134,16 +183,29 @@
|
|
|
134
183
|
"input_schema": {
|
|
135
184
|
"type": "object",
|
|
136
185
|
"properties": {
|
|
137
|
-
"account_id": {
|
|
138
|
-
|
|
186
|
+
"account_id": {
|
|
187
|
+
"type": "string"
|
|
188
|
+
},
|
|
189
|
+
"q": {
|
|
190
|
+
"type": "string",
|
|
191
|
+
"default": "search"
|
|
192
|
+
},
|
|
139
193
|
"search": {
|
|
140
194
|
"type": "string",
|
|
141
195
|
"description": "Restli filter, e.g. (status:(values:List(ACTIVE)),campaignGroup:(values:List(urn%3Ali%3AsponsoredCampaignGroup%3A123)))"
|
|
142
196
|
},
|
|
143
|
-
"start": {
|
|
144
|
-
|
|
197
|
+
"start": {
|
|
198
|
+
"type": "integer",
|
|
199
|
+
"default": 0
|
|
200
|
+
},
|
|
201
|
+
"count": {
|
|
202
|
+
"type": "integer",
|
|
203
|
+
"default": 10
|
|
204
|
+
}
|
|
145
205
|
},
|
|
146
|
-
"required": [
|
|
206
|
+
"required": [
|
|
207
|
+
"account_id"
|
|
208
|
+
]
|
|
147
209
|
}
|
|
148
210
|
},
|
|
149
211
|
{
|
|
@@ -154,21 +216,89 @@
|
|
|
154
216
|
"input_schema": {
|
|
155
217
|
"type": "object",
|
|
156
218
|
"properties": {
|
|
157
|
-
"account_id": {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
"
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
"
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
"
|
|
168
|
-
|
|
169
|
-
|
|
219
|
+
"account_id": {
|
|
220
|
+
"type": "string"
|
|
221
|
+
},
|
|
222
|
+
"name": {
|
|
223
|
+
"type": "string"
|
|
224
|
+
},
|
|
225
|
+
"campaignGroup": {
|
|
226
|
+
"type": "string",
|
|
227
|
+
"description": "URN like urn:li:sponsoredCampaignGroup:123"
|
|
228
|
+
},
|
|
229
|
+
"type": {
|
|
230
|
+
"type": "string",
|
|
231
|
+
"enum": [
|
|
232
|
+
"TEXT_AD",
|
|
233
|
+
"SPONSORED_UPDATES",
|
|
234
|
+
"SPONSORED_INMAILS",
|
|
235
|
+
"DYNAMIC"
|
|
236
|
+
]
|
|
237
|
+
},
|
|
238
|
+
"costType": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"enum": [
|
|
241
|
+
"CPC",
|
|
242
|
+
"CPM",
|
|
243
|
+
"CPV"
|
|
244
|
+
]
|
|
245
|
+
},
|
|
246
|
+
"objectiveType": {
|
|
247
|
+
"type": "string",
|
|
248
|
+
"enum": [
|
|
249
|
+
"BRAND_AWARENESS",
|
|
250
|
+
"WEBSITE_VISIT",
|
|
251
|
+
"ENGAGEMENT",
|
|
252
|
+
"VIDEO_VIEW",
|
|
253
|
+
"LEAD_GENERATION",
|
|
254
|
+
"WEBSITE_CONVERSION",
|
|
255
|
+
"JOB_APPLICANT",
|
|
256
|
+
"TALENT_LEADS"
|
|
257
|
+
]
|
|
258
|
+
},
|
|
259
|
+
"locale": {
|
|
260
|
+
"type": "object",
|
|
261
|
+
"description": "{\"country\": \"US\", \"language\": \"en\"}"
|
|
262
|
+
},
|
|
263
|
+
"dailyBudget": {
|
|
264
|
+
"type": "object",
|
|
265
|
+
"description": "{\"currencyCode\": \"USD\", \"amount\": \"50.00\"}"
|
|
266
|
+
},
|
|
267
|
+
"totalBudget": {
|
|
268
|
+
"type": "object"
|
|
269
|
+
},
|
|
270
|
+
"unitCost": {
|
|
271
|
+
"type": "object",
|
|
272
|
+
"description": "Bid: {\"currencyCode\": \"USD\", \"amount\": \"5.00\"}"
|
|
273
|
+
},
|
|
274
|
+
"runSchedule": {
|
|
275
|
+
"type": "object",
|
|
276
|
+
"description": "{\"start\": 1735689600000, \"end\": 1738368000000}"
|
|
277
|
+
},
|
|
278
|
+
"targetingCriteria": {
|
|
279
|
+
"type": "object",
|
|
280
|
+
"description": "Restli include/exclude facet object — see LinkedIn Targeting docs"
|
|
281
|
+
},
|
|
282
|
+
"status": {
|
|
283
|
+
"type": "string",
|
|
284
|
+
"enum": [
|
|
285
|
+
"ACTIVE",
|
|
286
|
+
"PAUSED",
|
|
287
|
+
"DRAFT"
|
|
288
|
+
],
|
|
289
|
+
"default": "DRAFT"
|
|
290
|
+
}
|
|
170
291
|
},
|
|
171
|
-
"required": [
|
|
292
|
+
"required": [
|
|
293
|
+
"account_id",
|
|
294
|
+
"name",
|
|
295
|
+
"campaignGroup",
|
|
296
|
+
"type",
|
|
297
|
+
"costType",
|
|
298
|
+
"locale",
|
|
299
|
+
"runSchedule",
|
|
300
|
+
"targetingCriteria"
|
|
301
|
+
]
|
|
172
302
|
}
|
|
173
303
|
},
|
|
174
304
|
{
|
|
@@ -179,14 +309,22 @@
|
|
|
179
309
|
"input_schema": {
|
|
180
310
|
"type": "object",
|
|
181
311
|
"properties": {
|
|
182
|
-
"account_id": {
|
|
183
|
-
|
|
312
|
+
"account_id": {
|
|
313
|
+
"type": "string"
|
|
314
|
+
},
|
|
315
|
+
"campaign_id": {
|
|
316
|
+
"type": "string"
|
|
317
|
+
},
|
|
184
318
|
"patch": {
|
|
185
319
|
"type": "object",
|
|
186
320
|
"description": "{\"$set\": {\"status\": \"ACTIVE\", \"dailyBudget\": {\"currencyCode\": \"USD\", \"amount\": \"75.00\"}}}"
|
|
187
321
|
}
|
|
188
322
|
},
|
|
189
|
-
"required": [
|
|
323
|
+
"required": [
|
|
324
|
+
"account_id",
|
|
325
|
+
"campaign_id",
|
|
326
|
+
"patch"
|
|
327
|
+
]
|
|
190
328
|
}
|
|
191
329
|
},
|
|
192
330
|
{
|
|
@@ -197,17 +335,32 @@
|
|
|
197
335
|
"input_schema": {
|
|
198
336
|
"type": "object",
|
|
199
337
|
"properties": {
|
|
200
|
-
"account_id": {
|
|
201
|
-
|
|
338
|
+
"account_id": {
|
|
339
|
+
"type": "string"
|
|
340
|
+
},
|
|
341
|
+
"q": {
|
|
342
|
+
"type": "string",
|
|
343
|
+
"default": "criteria"
|
|
344
|
+
},
|
|
202
345
|
"campaigns": {
|
|
203
346
|
"type": "array",
|
|
204
|
-
"items": {
|
|
347
|
+
"items": {
|
|
348
|
+
"type": "string"
|
|
349
|
+
},
|
|
205
350
|
"description": "Array of campaign URNs to filter by"
|
|
206
351
|
},
|
|
207
|
-
"start": {
|
|
208
|
-
|
|
352
|
+
"start": {
|
|
353
|
+
"type": "integer",
|
|
354
|
+
"default": 0
|
|
355
|
+
},
|
|
356
|
+
"count": {
|
|
357
|
+
"type": "integer",
|
|
358
|
+
"default": 10
|
|
359
|
+
}
|
|
209
360
|
},
|
|
210
|
-
"required": [
|
|
361
|
+
"required": [
|
|
362
|
+
"account_id"
|
|
363
|
+
]
|
|
211
364
|
}
|
|
212
365
|
},
|
|
213
366
|
{
|
|
@@ -218,15 +371,32 @@
|
|
|
218
371
|
"input_schema": {
|
|
219
372
|
"type": "object",
|
|
220
373
|
"properties": {
|
|
221
|
-
"account_id": {
|
|
222
|
-
|
|
374
|
+
"account_id": {
|
|
375
|
+
"type": "string"
|
|
376
|
+
},
|
|
377
|
+
"campaign": {
|
|
378
|
+
"type": "string",
|
|
379
|
+
"description": "URN like urn:li:sponsoredCampaign:123"
|
|
380
|
+
},
|
|
223
381
|
"content": {
|
|
224
382
|
"type": "object",
|
|
225
383
|
"description": "Creative content union, e.g. {\"reference\": \"urn:li:ugcPost:9999\"} or {\"textAd\": {\"headline\": \"...\", \"description\": \"...\", \"landingPage\": \"https://...\"}}"
|
|
226
384
|
},
|
|
227
|
-
"intendedStatus": {
|
|
385
|
+
"intendedStatus": {
|
|
386
|
+
"type": "string",
|
|
387
|
+
"enum": [
|
|
388
|
+
"ACTIVE",
|
|
389
|
+
"PAUSED",
|
|
390
|
+
"DRAFT"
|
|
391
|
+
],
|
|
392
|
+
"default": "DRAFT"
|
|
393
|
+
}
|
|
228
394
|
},
|
|
229
|
-
"required": [
|
|
395
|
+
"required": [
|
|
396
|
+
"account_id",
|
|
397
|
+
"campaign",
|
|
398
|
+
"content"
|
|
399
|
+
]
|
|
230
400
|
}
|
|
231
401
|
},
|
|
232
402
|
{
|
|
@@ -237,26 +407,68 @@
|
|
|
237
407
|
"input_schema": {
|
|
238
408
|
"type": "object",
|
|
239
409
|
"properties": {
|
|
240
|
-
"q": {
|
|
241
|
-
|
|
242
|
-
|
|
410
|
+
"q": {
|
|
411
|
+
"type": "string",
|
|
412
|
+
"default": "analytics"
|
|
413
|
+
},
|
|
414
|
+
"pivot": {
|
|
415
|
+
"type": "string",
|
|
416
|
+
"enum": [
|
|
417
|
+
"CAMPAIGN",
|
|
418
|
+
"CREATIVE",
|
|
419
|
+
"CAMPAIGN_GROUP",
|
|
420
|
+
"ACCOUNT",
|
|
421
|
+
"MEMBER_COMPANY",
|
|
422
|
+
"MEMBER_INDUSTRY",
|
|
423
|
+
"MEMBER_SENIORITY",
|
|
424
|
+
"MEMBER_JOB_TITLE",
|
|
425
|
+
"MEMBER_JOB_FUNCTION",
|
|
426
|
+
"MEMBER_COUNTRY_V2",
|
|
427
|
+
"PLACEMENT_NAME"
|
|
428
|
+
]
|
|
429
|
+
},
|
|
430
|
+
"timeGranularity": {
|
|
431
|
+
"type": "string",
|
|
432
|
+
"enum": [
|
|
433
|
+
"ALL",
|
|
434
|
+
"DAILY",
|
|
435
|
+
"MONTHLY",
|
|
436
|
+
"YEARLY"
|
|
437
|
+
],
|
|
438
|
+
"default": "DAILY"
|
|
439
|
+
},
|
|
243
440
|
"dateRange": {
|
|
244
441
|
"type": "object",
|
|
245
442
|
"description": "{\"start\": {\"year\": 2026, \"month\": 1, \"day\": 1}, \"end\": {\"year\": 2026, \"month\": 1, \"day\": 31}}"
|
|
246
443
|
},
|
|
247
444
|
"campaigns": {
|
|
248
445
|
"type": "array",
|
|
249
|
-
"items": {
|
|
446
|
+
"items": {
|
|
447
|
+
"type": "string"
|
|
448
|
+
},
|
|
250
449
|
"description": "List(URN) of campaigns to scope the report"
|
|
251
450
|
},
|
|
252
|
-
"accounts": {
|
|
253
|
-
|
|
451
|
+
"accounts": {
|
|
452
|
+
"type": "array",
|
|
453
|
+
"items": {
|
|
454
|
+
"type": "string"
|
|
455
|
+
}
|
|
456
|
+
},
|
|
457
|
+
"creatives": {
|
|
458
|
+
"type": "array",
|
|
459
|
+
"items": {
|
|
460
|
+
"type": "string"
|
|
461
|
+
}
|
|
462
|
+
},
|
|
254
463
|
"fields": {
|
|
255
464
|
"type": "string",
|
|
256
465
|
"description": "Comma-separated metric fields, e.g. impressions,clicks,costInLocalCurrency,oneClickLeads,externalWebsiteConversions"
|
|
257
466
|
}
|
|
258
467
|
},
|
|
259
|
-
"required": [
|
|
468
|
+
"required": [
|
|
469
|
+
"pivot",
|
|
470
|
+
"dateRange"
|
|
471
|
+
]
|
|
260
472
|
}
|
|
261
473
|
},
|
|
262
474
|
{
|
|
@@ -267,12 +479,418 @@
|
|
|
267
479
|
"input_schema": {
|
|
268
480
|
"type": "object",
|
|
269
481
|
"properties": {
|
|
270
|
-
"q": {
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
482
|
+
"q": {
|
|
483
|
+
"type": "string",
|
|
484
|
+
"default": "account"
|
|
485
|
+
},
|
|
486
|
+
"account": {
|
|
487
|
+
"type": "string",
|
|
488
|
+
"description": "URN like urn:li:sponsoredAccount:123"
|
|
489
|
+
},
|
|
490
|
+
"start": {
|
|
491
|
+
"type": "integer",
|
|
492
|
+
"default": 0
|
|
493
|
+
},
|
|
494
|
+
"count": {
|
|
495
|
+
"type": "integer",
|
|
496
|
+
"default": 10
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"required": [
|
|
500
|
+
"account"
|
|
501
|
+
]
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "update_campaign_group",
|
|
506
|
+
"description": "Partial-update a campaign group with a Rest.li patch object.",
|
|
507
|
+
"method": "POST",
|
|
508
|
+
"path": "/adAccounts/{account_id}/adCampaignGroups/{campaign_group_id}",
|
|
509
|
+
"input_schema": {
|
|
510
|
+
"type": "object",
|
|
511
|
+
"properties": {
|
|
512
|
+
"account_id": {
|
|
513
|
+
"type": "string"
|
|
514
|
+
},
|
|
515
|
+
"campaign_group_id": {
|
|
516
|
+
"type": "string"
|
|
517
|
+
},
|
|
518
|
+
"patch": {
|
|
519
|
+
"type": "object",
|
|
520
|
+
"description": "{\"$set\": {...}}"
|
|
521
|
+
}
|
|
522
|
+
},
|
|
523
|
+
"required": [
|
|
524
|
+
"account_id",
|
|
525
|
+
"campaign_group_id",
|
|
526
|
+
"patch"
|
|
527
|
+
]
|
|
528
|
+
}
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"name": "delete_campaign_group",
|
|
532
|
+
"description": "Delete/archive a campaign group where the account has permission. Many LinkedIn objects are normally paused/archived through status updates.",
|
|
533
|
+
"method": "DELETE",
|
|
534
|
+
"path": "/adAccounts/{account_id}/adCampaignGroups/{campaign_group_id}",
|
|
535
|
+
"input_schema": {
|
|
536
|
+
"type": "object",
|
|
537
|
+
"properties": {
|
|
538
|
+
"account_id": {
|
|
539
|
+
"type": "string"
|
|
540
|
+
},
|
|
541
|
+
"campaign_group_id": {
|
|
542
|
+
"type": "string"
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
"required": [
|
|
546
|
+
"account_id",
|
|
547
|
+
"campaign_group_id"
|
|
548
|
+
]
|
|
549
|
+
}
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
"name": "get_creative",
|
|
553
|
+
"description": "Get a single creative by id.",
|
|
554
|
+
"method": "GET",
|
|
555
|
+
"path": "/adAccounts/{account_id}/creatives/{creative_id}",
|
|
556
|
+
"input_schema": {
|
|
557
|
+
"type": "object",
|
|
558
|
+
"properties": {
|
|
559
|
+
"account_id": {
|
|
560
|
+
"type": "string"
|
|
561
|
+
},
|
|
562
|
+
"creative_id": {
|
|
563
|
+
"type": "string"
|
|
564
|
+
}
|
|
565
|
+
},
|
|
566
|
+
"required": [
|
|
567
|
+
"account_id",
|
|
568
|
+
"creative_id"
|
|
569
|
+
]
|
|
570
|
+
}
|
|
571
|
+
},
|
|
572
|
+
{
|
|
573
|
+
"name": "update_creative",
|
|
574
|
+
"description": "Partial-update a creative with a Rest.li patch object, commonly intendedStatus or content fields.",
|
|
575
|
+
"method": "POST",
|
|
576
|
+
"path": "/adAccounts/{account_id}/creatives/{creative_id}",
|
|
577
|
+
"input_schema": {
|
|
578
|
+
"type": "object",
|
|
579
|
+
"properties": {
|
|
580
|
+
"account_id": {
|
|
581
|
+
"type": "string"
|
|
582
|
+
},
|
|
583
|
+
"creative_id": {
|
|
584
|
+
"type": "string"
|
|
585
|
+
},
|
|
586
|
+
"patch": {
|
|
587
|
+
"type": "object",
|
|
588
|
+
"description": "{\"$set\": {\"intendedStatus\":\"PAUSED\"}}"
|
|
589
|
+
}
|
|
590
|
+
},
|
|
591
|
+
"required": [
|
|
592
|
+
"account_id",
|
|
593
|
+
"creative_id",
|
|
594
|
+
"patch"
|
|
595
|
+
]
|
|
596
|
+
}
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
"name": "delete_creative",
|
|
600
|
+
"description": "Delete/archive a creative where supported by the account and creative type.",
|
|
601
|
+
"method": "DELETE",
|
|
602
|
+
"path": "/adAccounts/{account_id}/creatives/{creative_id}",
|
|
603
|
+
"input_schema": {
|
|
604
|
+
"type": "object",
|
|
605
|
+
"properties": {
|
|
606
|
+
"account_id": {
|
|
607
|
+
"type": "string"
|
|
608
|
+
},
|
|
609
|
+
"creative_id": {
|
|
610
|
+
"type": "string"
|
|
611
|
+
}
|
|
612
|
+
},
|
|
613
|
+
"required": [
|
|
614
|
+
"account_id",
|
|
615
|
+
"creative_id"
|
|
616
|
+
]
|
|
617
|
+
}
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "create_audience",
|
|
621
|
+
"description": "Create a matched audience / DMP segment. Body shape varies by audience source; pass the raw LinkedIn segment payload.",
|
|
622
|
+
"method": "POST",
|
|
623
|
+
"path": "/dmpSegments",
|
|
624
|
+
"body_root_param": "body",
|
|
625
|
+
"input_schema": {
|
|
626
|
+
"type": "object",
|
|
627
|
+
"properties": {
|
|
628
|
+
"body": {
|
|
629
|
+
"type": "object",
|
|
630
|
+
"description": "Raw dmpSegment payload including account, name, sourcePlatform, type, and accessPolicy."
|
|
631
|
+
}
|
|
632
|
+
},
|
|
633
|
+
"required": [
|
|
634
|
+
"body"
|
|
635
|
+
]
|
|
636
|
+
}
|
|
637
|
+
},
|
|
638
|
+
{
|
|
639
|
+
"name": "update_audience",
|
|
640
|
+
"description": "Partial-update a matched audience / DMP segment.",
|
|
641
|
+
"method": "POST",
|
|
642
|
+
"path": "/dmpSegments/{segment_id}",
|
|
643
|
+
"input_schema": {
|
|
644
|
+
"type": "object",
|
|
645
|
+
"properties": {
|
|
646
|
+
"segment_id": {
|
|
647
|
+
"type": "string"
|
|
648
|
+
},
|
|
649
|
+
"patch": {
|
|
650
|
+
"type": "object",
|
|
651
|
+
"description": "{\"$set\": {...}}"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"required": [
|
|
655
|
+
"segment_id",
|
|
656
|
+
"patch"
|
|
657
|
+
]
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"name": "delete_audience",
|
|
662
|
+
"description": "Delete/archive a matched audience / DMP segment.",
|
|
663
|
+
"method": "DELETE",
|
|
664
|
+
"path": "/dmpSegments/{segment_id}",
|
|
665
|
+
"input_schema": {
|
|
666
|
+
"type": "object",
|
|
667
|
+
"properties": {
|
|
668
|
+
"segment_id": {
|
|
669
|
+
"type": "string"
|
|
670
|
+
}
|
|
671
|
+
},
|
|
672
|
+
"required": [
|
|
673
|
+
"segment_id"
|
|
674
|
+
]
|
|
675
|
+
}
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
"name": "list_ad_groups",
|
|
679
|
+
"description": "Generic Ads alias for LinkedIn campaign groups.",
|
|
680
|
+
"method": "GET",
|
|
681
|
+
"path": "/adAccounts/{account_id}/adCampaignGroups",
|
|
682
|
+
"input_schema": {
|
|
683
|
+
"type": "object",
|
|
684
|
+
"properties": {
|
|
685
|
+
"account_id": {
|
|
686
|
+
"type": "string"
|
|
687
|
+
},
|
|
688
|
+
"q": {
|
|
689
|
+
"type": "string"
|
|
690
|
+
},
|
|
691
|
+
"search": {
|
|
692
|
+
"type": "string"
|
|
693
|
+
},
|
|
694
|
+
"start": {
|
|
695
|
+
"type": "integer"
|
|
696
|
+
},
|
|
697
|
+
"count": {
|
|
698
|
+
"type": "integer"
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
"required": [
|
|
702
|
+
"account_id"
|
|
703
|
+
]
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
{
|
|
707
|
+
"name": "create_ad_group",
|
|
708
|
+
"description": "Generic Ads alias for creating a LinkedIn campaign group.",
|
|
709
|
+
"method": "POST",
|
|
710
|
+
"path": "/adAccounts/{account_id}/adCampaignGroups",
|
|
711
|
+
"input_schema": {
|
|
712
|
+
"type": "object",
|
|
713
|
+
"properties": {
|
|
714
|
+
"account_id": {
|
|
715
|
+
"type": "string"
|
|
716
|
+
},
|
|
717
|
+
"name": {
|
|
718
|
+
"type": "string"
|
|
719
|
+
},
|
|
720
|
+
"status": {
|
|
721
|
+
"type": "string"
|
|
722
|
+
},
|
|
723
|
+
"runSchedule": {
|
|
724
|
+
"type": "object",
|
|
725
|
+
"description": "Raw vendor payload object."
|
|
726
|
+
},
|
|
727
|
+
"totalBudget": {
|
|
728
|
+
"type": "object",
|
|
729
|
+
"description": "Raw vendor payload object."
|
|
730
|
+
},
|
|
731
|
+
"test": {
|
|
732
|
+
"type": "boolean"
|
|
733
|
+
}
|
|
734
|
+
},
|
|
735
|
+
"required": [
|
|
736
|
+
"account_id",
|
|
737
|
+
"name"
|
|
738
|
+
]
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
{
|
|
742
|
+
"name": "update_ad_group",
|
|
743
|
+
"description": "Generic Ads alias for partial-updating a LinkedIn campaign group.",
|
|
744
|
+
"method": "POST",
|
|
745
|
+
"path": "/adAccounts/{account_id}/adCampaignGroups/{campaign_group_id}",
|
|
746
|
+
"input_schema": {
|
|
747
|
+
"type": "object",
|
|
748
|
+
"properties": {
|
|
749
|
+
"account_id": {
|
|
750
|
+
"type": "string"
|
|
751
|
+
},
|
|
752
|
+
"campaign_group_id": {
|
|
753
|
+
"type": "string"
|
|
754
|
+
},
|
|
755
|
+
"patch": {
|
|
756
|
+
"type": "object",
|
|
757
|
+
"description": "{\"$set\": {...}}"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
"required": [
|
|
761
|
+
"account_id",
|
|
762
|
+
"campaign_group_id",
|
|
763
|
+
"patch"
|
|
764
|
+
]
|
|
765
|
+
}
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
"name": "delete_ad_group",
|
|
769
|
+
"description": "Generic Ads alias for deleting/archiving a LinkedIn campaign group.",
|
|
770
|
+
"method": "DELETE",
|
|
771
|
+
"path": "/adAccounts/{account_id}/adCampaignGroups/{campaign_group_id}",
|
|
772
|
+
"input_schema": {
|
|
773
|
+
"type": "object",
|
|
774
|
+
"properties": {
|
|
775
|
+
"account_id": {
|
|
776
|
+
"type": "string"
|
|
777
|
+
},
|
|
778
|
+
"campaign_group_id": {
|
|
779
|
+
"type": "string"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
"required": [
|
|
783
|
+
"account_id",
|
|
784
|
+
"campaign_group_id"
|
|
785
|
+
]
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"name": "list_ads",
|
|
790
|
+
"description": "Generic Ads alias for LinkedIn creatives.",
|
|
791
|
+
"method": "GET",
|
|
792
|
+
"path": "/adAccounts/{account_id}/creatives",
|
|
793
|
+
"input_schema": {
|
|
794
|
+
"type": "object",
|
|
795
|
+
"properties": {
|
|
796
|
+
"account_id": {
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
799
|
+
"q": {
|
|
800
|
+
"type": "string"
|
|
801
|
+
},
|
|
802
|
+
"campaigns": {
|
|
803
|
+
"type": "array",
|
|
804
|
+
"items": {
|
|
805
|
+
"type": "string"
|
|
806
|
+
}
|
|
807
|
+
},
|
|
808
|
+
"start": {
|
|
809
|
+
"type": "integer"
|
|
810
|
+
},
|
|
811
|
+
"count": {
|
|
812
|
+
"type": "integer"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
"required": [
|
|
816
|
+
"account_id"
|
|
817
|
+
]
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "create_ad",
|
|
822
|
+
"description": "Generic Ads alias for LinkedIn creative creation.",
|
|
823
|
+
"method": "POST",
|
|
824
|
+
"path": "/adAccounts/{account_id}/creatives",
|
|
825
|
+
"input_schema": {
|
|
826
|
+
"type": "object",
|
|
827
|
+
"properties": {
|
|
828
|
+
"account_id": {
|
|
829
|
+
"type": "string"
|
|
830
|
+
},
|
|
831
|
+
"campaign": {
|
|
832
|
+
"type": "string"
|
|
833
|
+
},
|
|
834
|
+
"content": {
|
|
835
|
+
"type": "object",
|
|
836
|
+
"description": "Raw vendor payload object."
|
|
837
|
+
},
|
|
838
|
+
"intendedStatus": {
|
|
839
|
+
"type": "string"
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
"required": [
|
|
843
|
+
"account_id",
|
|
844
|
+
"campaign",
|
|
845
|
+
"content"
|
|
846
|
+
]
|
|
847
|
+
}
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
"name": "update_ad",
|
|
851
|
+
"description": "Generic Ads alias for updating a LinkedIn creative.",
|
|
852
|
+
"method": "POST",
|
|
853
|
+
"path": "/adAccounts/{account_id}/creatives/{creative_id}",
|
|
854
|
+
"input_schema": {
|
|
855
|
+
"type": "object",
|
|
856
|
+
"properties": {
|
|
857
|
+
"account_id": {
|
|
858
|
+
"type": "string"
|
|
859
|
+
},
|
|
860
|
+
"creative_id": {
|
|
861
|
+
"type": "string"
|
|
862
|
+
},
|
|
863
|
+
"patch": {
|
|
864
|
+
"type": "object",
|
|
865
|
+
"description": "{\"$set\": {...}}"
|
|
866
|
+
}
|
|
867
|
+
},
|
|
868
|
+
"required": [
|
|
869
|
+
"account_id",
|
|
870
|
+
"creative_id",
|
|
871
|
+
"patch"
|
|
872
|
+
]
|
|
873
|
+
}
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "delete_ad",
|
|
877
|
+
"description": "Generic Ads alias for deleting/archiving a LinkedIn creative.",
|
|
878
|
+
"method": "DELETE",
|
|
879
|
+
"path": "/adAccounts/{account_id}/creatives/{creative_id}",
|
|
880
|
+
"input_schema": {
|
|
881
|
+
"type": "object",
|
|
882
|
+
"properties": {
|
|
883
|
+
"account_id": {
|
|
884
|
+
"type": "string"
|
|
885
|
+
},
|
|
886
|
+
"creative_id": {
|
|
887
|
+
"type": "string"
|
|
888
|
+
}
|
|
274
889
|
},
|
|
275
|
-
"required": [
|
|
890
|
+
"required": [
|
|
891
|
+
"account_id",
|
|
892
|
+
"creative_id"
|
|
893
|
+
]
|
|
276
894
|
}
|
|
277
895
|
}
|
|
278
896
|
]
|