@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.
@@ -84,16 +84,22 @@
84
84
  "properties": {
85
85
  "advertiser_ids": {
86
86
  "type": "array",
87
- "items": { "type": "string" },
87
+ "items": {
88
+ "type": "string"
89
+ },
88
90
  "description": "Array of advertiser_id strings (max 100). Pass as JSON-encoded array string in the URL."
89
91
  },
90
92
  "fields": {
91
93
  "type": "array",
92
- "items": { "type": "string" },
94
+ "items": {
95
+ "type": "string"
96
+ },
93
97
  "description": "Optional fields to return; defaults to all"
94
98
  }
95
99
  },
96
- "required": ["advertiser_ids"]
100
+ "required": [
101
+ "advertiser_ids"
102
+ ]
97
103
  }
98
104
  },
99
105
  {
@@ -104,20 +110,34 @@
104
110
  "input_schema": {
105
111
  "type": "object",
106
112
  "properties": {
107
- "advertiser_id": { "type": "string", "description": "Advertiser ID" },
113
+ "advertiser_id": {
114
+ "type": "string",
115
+ "description": "Advertiser ID"
116
+ },
108
117
  "filtering": {
109
118
  "type": "object",
110
119
  "description": "Filter object, e.g. {\"campaign_ids\": [\"1234\"], \"primary_status\": \"STATUS_ALL\", \"objective_type\": \"TRAFFIC\"}"
111
120
  },
112
121
  "fields": {
113
122
  "type": "array",
114
- "items": { "type": "string" },
123
+ "items": {
124
+ "type": "string"
125
+ },
115
126
  "description": "Fields to return (campaign_id, campaign_name, status, objective_type, budget, etc.)"
116
127
  },
117
- "page": { "type": "integer", "default": 1 },
118
- "page_size": { "type": "integer", "default": 10, "description": "Max 1000" }
128
+ "page": {
129
+ "type": "integer",
130
+ "default": 1
131
+ },
132
+ "page_size": {
133
+ "type": "integer",
134
+ "default": 10,
135
+ "description": "Max 1000"
136
+ }
119
137
  },
120
- "required": ["advertiser_id"]
138
+ "required": [
139
+ "advertiser_id"
140
+ ]
121
141
  }
122
142
  },
123
143
  {
@@ -128,25 +148,60 @@
128
148
  "input_schema": {
129
149
  "type": "object",
130
150
  "properties": {
131
- "advertiser_id": { "type": "string" },
132
- "campaign_name": { "type": "string" },
151
+ "advertiser_id": {
152
+ "type": "string"
153
+ },
154
+ "campaign_name": {
155
+ "type": "string"
156
+ },
133
157
  "objective_type": {
134
158
  "type": "string",
135
- "enum": ["TRAFFIC", "CONVERSIONS", "APP_PROMOTION", "REACH", "VIDEO_VIEWS", "LEAD_GENERATION", "ENGAGEMENT", "PRODUCT_SALES", "WEB_CONVERSIONS"]
159
+ "enum": [
160
+ "TRAFFIC",
161
+ "CONVERSIONS",
162
+ "APP_PROMOTION",
163
+ "REACH",
164
+ "VIDEO_VIEWS",
165
+ "LEAD_GENERATION",
166
+ "ENGAGEMENT",
167
+ "PRODUCT_SALES",
168
+ "WEB_CONVERSIONS"
169
+ ]
136
170
  },
137
171
  "budget_mode": {
138
172
  "type": "string",
139
- "enum": ["BUDGET_MODE_DAY", "BUDGET_MODE_TOTAL", "BUDGET_MODE_INFINITE"]
173
+ "enum": [
174
+ "BUDGET_MODE_DAY",
175
+ "BUDGET_MODE_TOTAL",
176
+ "BUDGET_MODE_INFINITE"
177
+ ]
178
+ },
179
+ "budget": {
180
+ "type": "number",
181
+ "description": "Required unless budget_mode = BUDGET_MODE_INFINITE"
182
+ },
183
+ "operation_status": {
184
+ "type": "string",
185
+ "enum": [
186
+ "ENABLE",
187
+ "DISABLE"
188
+ ],
189
+ "default": "DISABLE"
140
190
  },
141
- "budget": { "type": "number", "description": "Required unless budget_mode = BUDGET_MODE_INFINITE" },
142
- "operation_status": { "type": "string", "enum": ["ENABLE", "DISABLE"], "default": "DISABLE" },
143
191
  "special_industries": {
144
192
  "type": "array",
145
- "items": { "type": "string" },
193
+ "items": {
194
+ "type": "string"
195
+ },
146
196
  "description": "Required for regulated verticals (e.g. HOUSING, EMPLOYMENT, CREDIT)"
147
197
  }
148
198
  },
149
- "required": ["advertiser_id", "campaign_name", "objective_type", "budget_mode"]
199
+ "required": [
200
+ "advertiser_id",
201
+ "campaign_name",
202
+ "objective_type",
203
+ "budget_mode"
204
+ ]
150
205
  }
151
206
  },
152
207
  {
@@ -157,13 +212,31 @@
157
212
  "input_schema": {
158
213
  "type": "object",
159
214
  "properties": {
160
- "advertiser_id": { "type": "string" },
161
- "campaign_id": { "type": "string" },
162
- "campaign_name": { "type": "string" },
163
- "budget": { "type": "number" },
164
- "operation_status": { "type": "string", "enum": ["ENABLE", "DISABLE", "DELETE"] }
215
+ "advertiser_id": {
216
+ "type": "string"
217
+ },
218
+ "campaign_id": {
219
+ "type": "string"
220
+ },
221
+ "campaign_name": {
222
+ "type": "string"
223
+ },
224
+ "budget": {
225
+ "type": "number"
226
+ },
227
+ "operation_status": {
228
+ "type": "string",
229
+ "enum": [
230
+ "ENABLE",
231
+ "DISABLE",
232
+ "DELETE"
233
+ ]
234
+ }
165
235
  },
166
- "required": ["advertiser_id", "campaign_id"]
236
+ "required": [
237
+ "advertiser_id",
238
+ "campaign_id"
239
+ ]
167
240
  }
168
241
  },
169
242
  {
@@ -174,13 +247,31 @@
174
247
  "input_schema": {
175
248
  "type": "object",
176
249
  "properties": {
177
- "advertiser_id": { "type": "string" },
178
- "filtering": { "type": "object", "description": "e.g. {\"campaign_ids\": [\"123\"], \"primary_status\": \"STATUS_ALL\"}" },
179
- "fields": { "type": "array", "items": { "type": "string" } },
180
- "page": { "type": "integer", "default": 1 },
181
- "page_size": { "type": "integer", "default": 10 }
250
+ "advertiser_id": {
251
+ "type": "string"
252
+ },
253
+ "filtering": {
254
+ "type": "object",
255
+ "description": "e.g. {\"campaign_ids\": [\"123\"], \"primary_status\": \"STATUS_ALL\"}"
256
+ },
257
+ "fields": {
258
+ "type": "array",
259
+ "items": {
260
+ "type": "string"
261
+ }
262
+ },
263
+ "page": {
264
+ "type": "integer",
265
+ "default": 1
266
+ },
267
+ "page_size": {
268
+ "type": "integer",
269
+ "default": 10
270
+ }
182
271
  },
183
- "required": ["advertiser_id"]
272
+ "required": [
273
+ "advertiser_id"
274
+ ]
184
275
  }
185
276
  },
186
277
  {
@@ -191,29 +282,135 @@
191
282
  "input_schema": {
192
283
  "type": "object",
193
284
  "properties": {
194
- "advertiser_id": { "type": "string" },
195
- "campaign_id": { "type": "string" },
196
- "adgroup_name": { "type": "string" },
197
- "placement_type": { "type": "string", "enum": ["PLACEMENT_TYPE_AUTOMATIC", "PLACEMENT_TYPE_NORMAL"] },
198
- "placements": { "type": "array", "items": { "type": "string" }, "description": "e.g. [\"PLACEMENT_TIKTOK\"]" },
199
- "promotion_type": { "type": "string", "enum": ["WEBSITE", "APP_ANDROID", "APP_IOS", "LEAD_GENERATION"] },
200
- "optimization_goal": { "type": "string", "description": "e.g. CLICK, CONVERT, REACH, INSTALL, IMPRESSION" },
201
- "billing_event": { "type": "string", "enum": ["CPC", "CPM", "OCPM", "CPV"] },
202
- "bid_type": { "type": "string", "enum": ["BID_TYPE_NO_BID", "BID_TYPE_CUSTOM", "BID_TYPE_MAX_CONVERSION"] },
203
- "bid_price": { "type": "number" },
204
- "budget_mode": { "type": "string", "enum": ["BUDGET_MODE_DAY", "BUDGET_MODE_TOTAL"] },
205
- "budget": { "type": "number" },
206
- "schedule_type": { "type": "string", "enum": ["SCHEDULE_FROM_NOW", "SCHEDULE_START_END"] },
207
- "schedule_start_time": { "type": "string", "description": "yyyy-MM-dd HH:mm:ss" },
208
- "schedule_end_time": { "type": "string" },
209
- "pacing": { "type": "string", "enum": ["PACING_MODE_SMOOTH", "PACING_MODE_FAST"] },
210
- "targeting_expansion": { "type": "object" },
211
- "location_ids": { "type": "array", "items": { "type": "string" } },
212
- "languages": { "type": "array", "items": { "type": "string" } },
213
- "age_groups": { "type": "array", "items": { "type": "string" } },
214
- "gender": { "type": "string", "enum": ["GENDER_MALE", "GENDER_FEMALE", "GENDER_UNLIMITED"] }
285
+ "advertiser_id": {
286
+ "type": "string"
287
+ },
288
+ "campaign_id": {
289
+ "type": "string"
290
+ },
291
+ "adgroup_name": {
292
+ "type": "string"
293
+ },
294
+ "placement_type": {
295
+ "type": "string",
296
+ "enum": [
297
+ "PLACEMENT_TYPE_AUTOMATIC",
298
+ "PLACEMENT_TYPE_NORMAL"
299
+ ]
300
+ },
301
+ "placements": {
302
+ "type": "array",
303
+ "items": {
304
+ "type": "string"
305
+ },
306
+ "description": "e.g. [\"PLACEMENT_TIKTOK\"]"
307
+ },
308
+ "promotion_type": {
309
+ "type": "string",
310
+ "enum": [
311
+ "WEBSITE",
312
+ "APP_ANDROID",
313
+ "APP_IOS",
314
+ "LEAD_GENERATION"
315
+ ]
316
+ },
317
+ "optimization_goal": {
318
+ "type": "string",
319
+ "description": "e.g. CLICK, CONVERT, REACH, INSTALL, IMPRESSION"
320
+ },
321
+ "billing_event": {
322
+ "type": "string",
323
+ "enum": [
324
+ "CPC",
325
+ "CPM",
326
+ "OCPM",
327
+ "CPV"
328
+ ]
329
+ },
330
+ "bid_type": {
331
+ "type": "string",
332
+ "enum": [
333
+ "BID_TYPE_NO_BID",
334
+ "BID_TYPE_CUSTOM",
335
+ "BID_TYPE_MAX_CONVERSION"
336
+ ]
337
+ },
338
+ "bid_price": {
339
+ "type": "number"
340
+ },
341
+ "budget_mode": {
342
+ "type": "string",
343
+ "enum": [
344
+ "BUDGET_MODE_DAY",
345
+ "BUDGET_MODE_TOTAL"
346
+ ]
347
+ },
348
+ "budget": {
349
+ "type": "number"
350
+ },
351
+ "schedule_type": {
352
+ "type": "string",
353
+ "enum": [
354
+ "SCHEDULE_FROM_NOW",
355
+ "SCHEDULE_START_END"
356
+ ]
357
+ },
358
+ "schedule_start_time": {
359
+ "type": "string",
360
+ "description": "yyyy-MM-dd HH:mm:ss"
361
+ },
362
+ "schedule_end_time": {
363
+ "type": "string"
364
+ },
365
+ "pacing": {
366
+ "type": "string",
367
+ "enum": [
368
+ "PACING_MODE_SMOOTH",
369
+ "PACING_MODE_FAST"
370
+ ]
371
+ },
372
+ "targeting_expansion": {
373
+ "type": "object"
374
+ },
375
+ "location_ids": {
376
+ "type": "array",
377
+ "items": {
378
+ "type": "string"
379
+ }
380
+ },
381
+ "languages": {
382
+ "type": "array",
383
+ "items": {
384
+ "type": "string"
385
+ }
386
+ },
387
+ "age_groups": {
388
+ "type": "array",
389
+ "items": {
390
+ "type": "string"
391
+ }
392
+ },
393
+ "gender": {
394
+ "type": "string",
395
+ "enum": [
396
+ "GENDER_MALE",
397
+ "GENDER_FEMALE",
398
+ "GENDER_UNLIMITED"
399
+ ]
400
+ }
215
401
  },
216
- "required": ["advertiser_id", "campaign_id", "adgroup_name", "placement_type", "billing_event", "optimization_goal", "budget_mode", "budget", "schedule_type", "pacing"]
402
+ "required": [
403
+ "advertiser_id",
404
+ "campaign_id",
405
+ "adgroup_name",
406
+ "placement_type",
407
+ "billing_event",
408
+ "optimization_goal",
409
+ "budget_mode",
410
+ "budget",
411
+ "schedule_type",
412
+ "pacing"
413
+ ]
217
414
  }
218
415
  },
219
416
  {
@@ -224,13 +421,30 @@
224
421
  "input_schema": {
225
422
  "type": "object",
226
423
  "properties": {
227
- "advertiser_id": { "type": "string" },
228
- "filtering": { "type": "object" },
229
- "fields": { "type": "array", "items": { "type": "string" } },
230
- "page": { "type": "integer", "default": 1 },
231
- "page_size": { "type": "integer", "default": 10 }
424
+ "advertiser_id": {
425
+ "type": "string"
426
+ },
427
+ "filtering": {
428
+ "type": "object"
429
+ },
430
+ "fields": {
431
+ "type": "array",
432
+ "items": {
433
+ "type": "string"
434
+ }
435
+ },
436
+ "page": {
437
+ "type": "integer",
438
+ "default": 1
439
+ },
440
+ "page_size": {
441
+ "type": "integer",
442
+ "default": 10
443
+ }
232
444
  },
233
- "required": ["advertiser_id"]
445
+ "required": [
446
+ "advertiser_id"
447
+ ]
234
448
  }
235
449
  },
236
450
  {
@@ -241,15 +455,25 @@
241
455
  "input_schema": {
242
456
  "type": "object",
243
457
  "properties": {
244
- "advertiser_id": { "type": "string" },
245
- "adgroup_id": { "type": "string" },
458
+ "advertiser_id": {
459
+ "type": "string"
460
+ },
461
+ "adgroup_id": {
462
+ "type": "string"
463
+ },
246
464
  "creatives": {
247
465
  "type": "array",
248
- "items": { "type": "object" },
466
+ "items": {
467
+ "type": "object"
468
+ },
249
469
  "description": "Array of creative objects"
250
470
  }
251
471
  },
252
- "required": ["advertiser_id", "adgroup_id", "creatives"]
472
+ "required": [
473
+ "advertiser_id",
474
+ "adgroup_id",
475
+ "creatives"
476
+ ]
253
477
  }
254
478
  },
255
479
  {
@@ -260,11 +484,29 @@
260
484
  "input_schema": {
261
485
  "type": "object",
262
486
  "properties": {
263
- "advertiser_id": { "type": "string" },
264
- "ad_ids": { "type": "array", "items": { "type": "string" } },
265
- "operation_status": { "type": "string", "enum": ["ENABLE", "DISABLE", "DELETE"] }
487
+ "advertiser_id": {
488
+ "type": "string"
489
+ },
490
+ "ad_ids": {
491
+ "type": "array",
492
+ "items": {
493
+ "type": "string"
494
+ }
495
+ },
496
+ "operation_status": {
497
+ "type": "string",
498
+ "enum": [
499
+ "ENABLE",
500
+ "DISABLE",
501
+ "DELETE"
502
+ ]
503
+ }
266
504
  },
267
- "required": ["advertiser_id", "ad_ids", "operation_status"]
505
+ "required": [
506
+ "advertiser_id",
507
+ "ad_ids",
508
+ "operation_status"
509
+ ]
268
510
  }
269
511
  },
270
512
  {
@@ -275,20 +517,297 @@
275
517
  "input_schema": {
276
518
  "type": "object",
277
519
  "properties": {
278
- "advertiser_id": { "type": "string" },
279
- "report_type": { "type": "string", "enum": ["BASIC", "AUDIENCE", "PLAYABLE_MATERIAL", "RESERVATION"], "default": "BASIC" },
280
- "data_level": { "type": "string", "enum": ["AUCTION_ADVERTISER", "AUCTION_CAMPAIGN", "AUCTION_ADGROUP", "AUCTION_AD"] },
281
- "dimensions": { "type": "array", "items": { "type": "string" } },
282
- "metrics": { "type": "array", "items": { "type": "string" } },
283
- "start_date": { "type": "string", "description": "YYYY-MM-DD" },
284
- "end_date": { "type": "string", "description": "YYYY-MM-DD" },
285
- "filters": { "type": "array", "items": { "type": "object" } },
286
- "order_field": { "type": "string" },
287
- "order_type": { "type": "string", "enum": ["ASC", "DESC"] },
288
- "page": { "type": "integer", "default": 1 },
289
- "page_size": { "type": "integer", "default": 1000 }
520
+ "advertiser_id": {
521
+ "type": "string"
522
+ },
523
+ "report_type": {
524
+ "type": "string",
525
+ "enum": [
526
+ "BASIC",
527
+ "AUDIENCE",
528
+ "PLAYABLE_MATERIAL",
529
+ "RESERVATION"
530
+ ],
531
+ "default": "BASIC"
532
+ },
533
+ "data_level": {
534
+ "type": "string",
535
+ "enum": [
536
+ "AUCTION_ADVERTISER",
537
+ "AUCTION_CAMPAIGN",
538
+ "AUCTION_ADGROUP",
539
+ "AUCTION_AD"
540
+ ]
541
+ },
542
+ "dimensions": {
543
+ "type": "array",
544
+ "items": {
545
+ "type": "string"
546
+ }
547
+ },
548
+ "metrics": {
549
+ "type": "array",
550
+ "items": {
551
+ "type": "string"
552
+ }
553
+ },
554
+ "start_date": {
555
+ "type": "string",
556
+ "description": "YYYY-MM-DD"
557
+ },
558
+ "end_date": {
559
+ "type": "string",
560
+ "description": "YYYY-MM-DD"
561
+ },
562
+ "filters": {
563
+ "type": "array",
564
+ "items": {
565
+ "type": "object"
566
+ }
567
+ },
568
+ "order_field": {
569
+ "type": "string"
570
+ },
571
+ "order_type": {
572
+ "type": "string",
573
+ "enum": [
574
+ "ASC",
575
+ "DESC"
576
+ ]
577
+ },
578
+ "page": {
579
+ "type": "integer",
580
+ "default": 1
581
+ },
582
+ "page_size": {
583
+ "type": "integer",
584
+ "default": 1000
585
+ }
586
+ },
587
+ "required": [
588
+ "advertiser_id",
589
+ "data_level",
590
+ "dimensions",
591
+ "start_date",
592
+ "end_date"
593
+ ]
594
+ }
595
+ },
596
+ {
597
+ "name": "adgroup_update",
598
+ "description": "Update an ad group: name, budget, bid, schedule, targeting, optimization, or status fields supported by TikTok.",
599
+ "method": "POST",
600
+ "path": "/adgroup/update/",
601
+ "input_schema": {
602
+ "type": "object",
603
+ "properties": {
604
+ "advertiser_id": {
605
+ "type": "string"
606
+ },
607
+ "adgroup_id": {
608
+ "type": "string"
609
+ },
610
+ "data": {
611
+ "type": "object",
612
+ "description": "Fields to update. You may pass platform-native fields directly in data."
613
+ }
614
+ },
615
+ "required": [
616
+ "advertiser_id",
617
+ "adgroup_id",
618
+ "data"
619
+ ]
620
+ }
621
+ },
622
+ {
623
+ "name": "adgroup_update_status",
624
+ "description": "Enable, disable, or delete one or more ad groups.",
625
+ "method": "POST",
626
+ "path": "/adgroup/status/update/",
627
+ "input_schema": {
628
+ "type": "object",
629
+ "properties": {
630
+ "advertiser_id": {
631
+ "type": "string"
632
+ },
633
+ "adgroup_ids": {
634
+ "type": "array",
635
+ "items": {
636
+ "type": "string"
637
+ }
638
+ },
639
+ "operation_status": {
640
+ "type": "string",
641
+ "enum": [
642
+ "ENABLE",
643
+ "DISABLE",
644
+ "DELETE"
645
+ ]
646
+ }
647
+ },
648
+ "required": [
649
+ "advertiser_id",
650
+ "adgroup_ids",
651
+ "operation_status"
652
+ ]
653
+ }
654
+ },
655
+ {
656
+ "name": "image_upload",
657
+ "description": "Upload an ad image asset. Use multipart/file payload support when available, or pass image_url/material_id fields supported by TikTok.",
658
+ "method": "POST",
659
+ "path": "/file/image/ad/upload/",
660
+ "input_schema": {
661
+ "type": "object",
662
+ "properties": {
663
+ "advertiser_id": {
664
+ "type": "string"
665
+ },
666
+ "image_file": {
667
+ "type": "string"
668
+ },
669
+ "image_url": {
670
+ "type": "string"
671
+ },
672
+ "upload_type": {
673
+ "type": "string"
674
+ }
675
+ },
676
+ "required": [
677
+ "advertiser_id"
678
+ ]
679
+ }
680
+ },
681
+ {
682
+ "name": "video_upload",
683
+ "description": "Upload an ad video asset. Use multipart/file payload support when available, or pass video_url/material_id fields supported by TikTok.",
684
+ "method": "POST",
685
+ "path": "/file/video/ad/upload/",
686
+ "input_schema": {
687
+ "type": "object",
688
+ "properties": {
689
+ "advertiser_id": {
690
+ "type": "string"
691
+ },
692
+ "video_file": {
693
+ "type": "string"
694
+ },
695
+ "video_url": {
696
+ "type": "string"
697
+ },
698
+ "upload_type": {
699
+ "type": "string"
700
+ }
701
+ },
702
+ "required": [
703
+ "advertiser_id"
704
+ ]
705
+ }
706
+ },
707
+ {
708
+ "name": "custom_audience_list",
709
+ "description": "List custom audiences for an advertiser.",
710
+ "method": "GET",
711
+ "path": "/dmp/custom_audience/list/",
712
+ "input_schema": {
713
+ "type": "object",
714
+ "properties": {
715
+ "advertiser_id": {
716
+ "type": "string"
717
+ },
718
+ "filtering": {
719
+ "type": "object",
720
+ "description": "Optional filters such as custom_audience_ids, audience_type, status."
721
+ },
722
+ "page": {
723
+ "type": "integer"
724
+ },
725
+ "page_size": {
726
+ "type": "integer"
727
+ }
728
+ },
729
+ "required": [
730
+ "advertiser_id"
731
+ ]
732
+ }
733
+ },
734
+ {
735
+ "name": "custom_audience_create",
736
+ "description": "Create a custom audience. Body varies by audience type: customer file, engagement, app activity, pixel, or lookalike.",
737
+ "method": "POST",
738
+ "path": "/dmp/custom_audience/create/",
739
+ "input_schema": {
740
+ "type": "object",
741
+ "properties": {
742
+ "advertiser_id": {
743
+ "type": "string"
744
+ },
745
+ "data": {
746
+ "type": "object",
747
+ "description": "Raw TikTok custom audience creation payload."
748
+ }
749
+ },
750
+ "required": [
751
+ "advertiser_id",
752
+ "data"
753
+ ]
754
+ }
755
+ },
756
+ {
757
+ "name": "custom_audience_update",
758
+ "description": "Update a custom audience.",
759
+ "method": "POST",
760
+ "path": "/dmp/custom_audience/update/",
761
+ "input_schema": {
762
+ "type": "object",
763
+ "properties": {
764
+ "advertiser_id": {
765
+ "type": "string"
766
+ },
767
+ "custom_audience_id": {
768
+ "type": "string"
769
+ },
770
+ "data": {
771
+ "type": "object",
772
+ "description": "Raw TikTok custom audience update payload."
773
+ }
774
+ },
775
+ "required": [
776
+ "advertiser_id",
777
+ "custom_audience_id",
778
+ "data"
779
+ ]
780
+ }
781
+ },
782
+ {
783
+ "name": "ad_delete",
784
+ "description": "Generic delete alias for TikTok ads via status update operation_status=DELETE.",
785
+ "method": "POST",
786
+ "path": "/ad/status/update/",
787
+ "input_schema": {
788
+ "type": "object",
789
+ "properties": {
790
+ "advertiser_id": {
791
+ "type": "string"
792
+ },
793
+ "ad_ids": {
794
+ "type": "array",
795
+ "items": {
796
+ "type": "string"
797
+ }
798
+ },
799
+ "operation_status": {
800
+ "type": "string",
801
+ "enum": [
802
+ "DELETE"
803
+ ]
804
+ }
290
805
  },
291
- "required": ["advertiser_id", "data_level", "dimensions", "start_date", "end_date"]
806
+ "required": [
807
+ "advertiser_id",
808
+ "ad_ids",
809
+ "operation_status"
810
+ ]
292
811
  }
293
812
  }
294
813
  ]