0
Create post
One script reply has been approved by the moderators Verified

Creates post

Created by hugo697 42 days ago Viewed 3787 times
0
Submitted by hugo697 Bun
Verified 42 days ago
1
//native
2
type Adhook = {
3
	token: string
4
}
5

6
export async function main(
7
	auth: Adhook,
8
	adhookToken: string,
9
	Origin: string,
10
	body: {
11
		id?: string
12
		name?: string
13
		createdByUserId?: string
14
		createdByUserEmail?: string
15
		assigneeUserId?: string
16
		assigneeUserEmail?: string
17
		translationUserId?: string
18
		translationUserEmail?: string
19
		translationStatus?: 'IN_PROGRESS' | 'COMPLETED'
20
		translationDate?: string
21
		deliverContentTillDate?: string
22
		reviewTillDate?: string
23
		type?:
24
			| 'PERSONAL_POST'
25
			| 'PAGE_POST'
26
			| 'STORY'
27
			| 'REELS'
28
			| 'SHORTS'
29
			| 'LINK_CAROUSEL'
30
			| 'DOCUMENT'
31
			| 'POLL'
32
		tenantId?: string
33
		subtenantId?: string
34
		status?:
35
			| 'CREATED'
36
			| 'READY'
37
			| 'PLANNED'
38
			| 'PUBLISHED'
39
			| 'IN_REVIEW'
40
			| 'ACTIVATING'
41
			| 'MANUALLY_ACTIVATING'
42
			| 'ERROR'
43
			| 'DELETED'
44
			| 'CHECK_REVIEW_FEEDBACK'
45
			| 'IMPORTING'
46
		tags?: {
47
			id?: string
48
			userId?: string
49
			tenantId?: string
50
			subtenantId?: string
51
			text?: string
52
			color?: string
53
		}[]
54
		topics?: { id?: string; name?: string }[]
55
		createdAt?: string
56
		updatedAt?: string
57
		publishAt?: string
58
		schedule?: 'PUBLISH_AS_SOON_AS_POSSIBLE' | 'PLANNED_POST_PUBLISH'
59
		publishedAt?: string
60
		individualSchedulePerPlatform?: false | true
61
		processTaskAssigneeUserId?: string
62
		processTaskAssigneeUserIds?: string[]
63
		processReviewMessage?: string
64
		processReviewFeedback?: string
65
		processReviewFeedbackAnswer?: string
66
		channels?: {
67
			channel?:
68
				| 'FACEBOOK'
69
				| 'INSTAGRAM'
70
				| 'GOOGLE_ADWORDS'
71
				| 'GOOGLE_DISPLAY_NETWORK'
72
				| 'GOOGLE_ANALYTICS'
73
				| 'YOUTUBE'
74
				| 'XING'
75
				| 'LINKED_IN'
76
				| 'TWITTER'
77
				| 'GOOGLE_MY_BUSINESS'
78
				| 'TIKTOK'
79
				| 'BITLY'
80
			page?: {
81
				pictureUrl?: string
82
				name?: string
83
				id?: string
84
				search?: string
85
			}
86
			selected?: false | true
87
			accountId?: string
88
			type?:
89
				| 'PERSONAL_POST'
90
				| 'PAGE_POST'
91
				| 'STORY'
92
				| 'REELS'
93
				| 'SHORTS'
94
				| 'LINK_CAROUSEL'
95
				| 'DOCUMENT'
96
				| 'POLL'
97
			shareToFeed?: false | true
98
			collaborators?: { username?: string }[]
99
			poll?: {
100
				question?: string
101
				settings?: {
102
					voteSelectionType?: 'SINGLE_VOTE' | 'MULTIPLE_VOTE'
103
					duration?: 'ONE_DAY' | 'THREE_DAYS' | 'SEVEN_DAYS' | 'FOURTEEN_DAYS'
104
					voterVisibleToAuthor?: false | true
105
				}
106
				options?: {
107
					text?: string
108
					voteCount?: number
109
					votedByViewer?: false | true
110
				}[]
111
				uniqueVotersCount?: number
112
			}
113
			message?: string
114
			mentions?: {
115
				type?: 'PERSON' | 'ORGANIZATION'
116
				externalId?: string
117
				name?: string
118
			}[]
119
			images?: {
120
				thumbnailUrl?: string
121
				url?: string
122
				croppedUrl?: string
123
				croppedImageSize?: number
124
				croppedWidth?: number
125
				croppedHeight?: number
126
				facebookImageUrl?: string
127
				tikTokImageId?: string
128
				tags?: { x?: number; y?: number; name?: string }[]
129
				productTags?: {
130
					x?: number
131
					y?: number
132
					productId?: string
133
					productName?: string
134
				}[]
135
				link?: string
136
				linkTitle?: string
137
				linkDescription?: string
138
				order?: number
139
			}[]
140
			videos?: {
141
				url?: string
142
				size?: number
143
				fileExtension?: string
144
				facebookVideoId?: string
145
				tikTokVideoId?: string
146
				width?: number
147
				height?: number
148
				thumbnailImage?: {
149
					thumbnailUrl?: string
150
					url?: string
151
					croppedUrl?: string
152
					croppedImageSize?: number
153
					croppedWidth?: number
154
					croppedHeight?: number
155
					facebookImageUrl?: string
156
					tikTokImageId?: string
157
					tags?: { x?: number; y?: number; name?: string }[]
158
					productTags?: {
159
						x?: number
160
						y?: number
161
						productId?: string
162
						productName?: string
163
					}[]
164
					link?: string
165
					linkTitle?: string
166
					linkDescription?: string
167
					order?: number
168
				}
169
				thumbnailTimePosition?: number
170
				cutStartTimePosition?: number
171
				cutEndTimePosition?: number
172
				cutUrl?: string
173
				mediaStatus?: 'READY' | 'DELETED' | 'PROCESSING'
174
				mediaVideoId?: string
175
				title?: string
176
				order?: number
177
				fileName?: string
178
				productTags?: {
179
					x?: number
180
					y?: number
181
					productId?: string
182
					productName?: string
183
				}[]
184
			}[]
185
			document?: {
186
				url?: string
187
				fileType?: string
188
				title?: string
189
				size?: number
190
				nbrOfPreviewPages?: number
191
			}
192
			showLinkPreview?: false | true
193
			link?: string
194
			shortenLink?: false | true
195
			shortenedLink?: string
196
			linkTitle?: string
197
			linkDescription?: string
198
			linkCallToAction?:
199
				| 'APPLY_NOW'
200
				| 'BOOK_NOW'
201
				| 'CONTACT_US'
202
				| 'DOWNLOAD'
203
				| 'MORE_OF_THIS'
204
				| 'SHOP_NOW'
205
				| 'ORDER_NOW'
206
				| 'REGISTER'
207
				| 'WATCH_MORE'
208
				| 'NO_BUTTON'
209
				| 'CALL_NOW'
210
				| 'SUBSCRIBE'
211
				| 'GET_QUOTE'
212
				| 'GET_OFFER'
213
				| 'LEARN_MORE'
214
				| 'SIGN_UP'
215
				| 'JOIN'
216
				| 'ATTEND'
217
				| 'REQUEST_DEMO'
218
				| 'LISTEN_NOW'
219
				| 'GET_SHOWTIMES'
220
				| 'UNLOCK_FULL_DOCUMENT'
221
			generatedLinkPreview?: {
222
				link?: string
223
				title?: string
224
				description?: string
225
				imageUrl?: string
226
			}
227
			addLinkToBio?: false | true
228
			publishManually?: false | true
229
			firstComment?: string
230
			customLinkParams?: string
231
			publishAt?: string
232
		}[]
233
		messagePerChannel?: false | true
234
		message?: string
235
		utmTracking?: {
236
			utmSource?: string
237
			utmMedium?: string
238
			utmCampaign?: string
239
			utmTerm?: string
240
			utmContent?: string
241
			customParams?: string
242
		}
243
		images?: {
244
			thumbnailUrl?: string
245
			url?: string
246
			croppedUrl?: string
247
			croppedImageSize?: number
248
			croppedWidth?: number
249
			croppedHeight?: number
250
			facebookImageUrl?: string
251
			tikTokImageId?: string
252
			tags?: { x?: number; y?: number; name?: string }[]
253
			productTags?: {
254
				x?: number
255
				y?: number
256
				productId?: string
257
				productName?: string
258
			}[]
259
			link?: string
260
			linkTitle?: string
261
			linkDescription?: string
262
			order?: number
263
		}[]
264
		videos?: {
265
			url?: string
266
			size?: number
267
			fileExtension?: string
268
			facebookVideoId?: string
269
			tikTokVideoId?: string
270
			width?: number
271
			height?: number
272
			thumbnailImage?: {
273
				thumbnailUrl?: string
274
				url?: string
275
				croppedUrl?: string
276
				croppedImageSize?: number
277
				croppedWidth?: number
278
				croppedHeight?: number
279
				facebookImageUrl?: string
280
				tikTokImageId?: string
281
				tags?: { x?: number; y?: number; name?: string }[]
282
				productTags?: {
283
					x?: number
284
					y?: number
285
					productId?: string
286
					productName?: string
287
				}[]
288
				link?: string
289
				linkTitle?: string
290
				linkDescription?: string
291
				order?: number
292
			}
293
			thumbnailTimePosition?: number
294
			cutStartTimePosition?: number
295
			cutEndTimePosition?: number
296
			cutUrl?: string
297
			mediaStatus?: 'READY' | 'DELETED' | 'PROCESSING'
298
			mediaVideoId?: string
299
			title?: string
300
			order?: number
301
			fileName?: string
302
			productTags?: {
303
				x?: number
304
				y?: number
305
				productId?: string
306
				productName?: string
307
			}[]
308
		}[]
309
		document?: {
310
			url?: string
311
			fileType?: string
312
			title?: string
313
			size?: number
314
			nbrOfPreviewPages?: number
315
		}
316
		showLinkPreview?: false | true
317
		link?: string
318
		shortenLink?: false | true
319
		shortenedLink?: string
320
		linkTitle?: string
321
		linkDescription?: string
322
		linkCallToAction?:
323
			| 'APPLY_NOW'
324
			| 'BOOK_NOW'
325
			| 'CONTACT_US'
326
			| 'DOWNLOAD'
327
			| 'MORE_OF_THIS'
328
			| 'SHOP_NOW'
329
			| 'ORDER_NOW'
330
			| 'REGISTER'
331
			| 'WATCH_MORE'
332
			| 'NO_BUTTON'
333
			| 'CALL_NOW'
334
			| 'SUBSCRIBE'
335
			| 'GET_QUOTE'
336
			| 'GET_OFFER'
337
			| 'LEARN_MORE'
338
			| 'SIGN_UP'
339
			| 'JOIN'
340
			| 'ATTEND'
341
			| 'REQUEST_DEMO'
342
			| 'LISTEN_NOW'
343
			| 'GET_SHOWTIMES'
344
			| 'UNLOCK_FULL_DOCUMENT'
345
		generatedLinkPreview?: {
346
			link?: string
347
			title?: string
348
			description?: string
349
			imageUrl?: string
350
		}
351
		addLinkToBio?: false | true
352
		promotePost?: false | true
353
		selectedMetaPromotion?: { id?: string; name?: string }
354
		selectedTikTokPromotion?: { id?: string; name?: string }
355
		selectedTargetingTemplateId?: string
356
		modifiedTarget?: {
357
			id?: string
358
			name?: string
359
			namingTemplateElementValues?: { elementId?: string; value?: string }[]
360
			gender?: 'ALL' | 'MALE' | 'FEMALE'
361
			language?:
362
				| 'ALL'
363
				| 'DE'
364
				| 'FR'
365
				| 'EN'
366
				| 'IT'
367
				| 'ES'
368
				| 'PT'
369
				| 'NL'
370
				| 'SV'
371
				| 'RO'
372
				| 'CS'
373
				| 'EL'
374
				| 'TR'
375
				| 'PL'
376
				| 'DA'
377
				| 'EU'
378
				| 'CY'
379
				| 'CA'
380
				| 'HU'
381
				| 'SK'
382
				| 'SL'
383
				| 'SQ'
384
				| 'HY'
385
				| 'BS'
386
				| 'BG'
387
				| 'HR'
388
				| 'UK'
389
				| 'NO'
390
				| 'FI'
391
			additionalLanguages?:
392
				| 'ALL'
393
				| 'DE'
394
				| 'FR'
395
				| 'EN'
396
				| 'IT'
397
				| 'ES'
398
				| 'PT'
399
				| 'NL'
400
				| 'SV'
401
				| 'RO'
402
				| 'CS'
403
				| 'EL'
404
				| 'TR'
405
				| 'PL'
406
				| 'DA'
407
				| 'EU'
408
				| 'CY'
409
				| 'CA'
410
				| 'HU'
411
				| 'SK'
412
				| 'SL'
413
				| 'SQ'
414
				| 'HY'
415
				| 'BS'
416
				| 'BG'
417
				| 'HR'
418
				| 'UK'
419
				| 'NO'
420
				| 'FI'[]
421
			linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
422
			linkedInTargetingCriterias?: {
423
				facetUrn?: string
424
				urn?: string
425
				name?: string
426
				children?: {}[]
427
				parentUrn?: string
428
			}[]
429
			linkedInTargetingCriteriaGroups?: {
430
				linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
431
				linkedInTargetingCriterias?: {
432
					facetUrn?: string
433
					urn?: string
434
					name?: string
435
					children?: {}[]
436
					parentUrn?: string
437
				}[]
438
			}[]
439
			googleAdGroups?: {
440
				id?: string
441
				name?: string
442
				type?: 'STANDARD' | 'DYNAMIC'
443
				googleKeywords?: {
444
					name?: string
445
					competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
446
					averageMonghtlySearchVolume?: number
447
					averageCpc?: number
448
					cpc?: number
449
					cpm?: number
450
					link?: string
451
					status?:
452
						| 'COMPLETED'
453
						| 'IN_REVIEW'
454
						| 'IS_RUNNING'
455
						| 'STOP'
456
						| 'REMOVED'
457
						| 'DISAPPROVED'
458
						| 'IS_STOPPING'
459
					bid?: number
460
					finalUrl?: string
461
					averageImpressionsPerMonth?: number
462
				}[]
463
				status?:
464
					| 'COMPLETED'
465
					| 'IN_REVIEW'
466
					| 'IS_RUNNING'
467
					| 'STOP'
468
					| 'REMOVED'
469
					| 'DISAPPROVED'
470
					| 'IS_STOPPING'
471
				bid?: number
472
				targetCpa?: number
473
				targetReturnOnAdSpendPercentage?: number
474
				trackingUrlTemplate?: string
475
				customParameters?: { key?: string; value?: string }[]
476
				adGroupExclusion?: {
477
					googleKeywords?: {
478
						name?: string
479
						competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
480
						averageMonghtlySearchVolume?: number
481
						averageCpc?: number
482
						cpc?: number
483
						cpm?: number
484
						link?: string
485
						status?:
486
							| 'COMPLETED'
487
							| 'IN_REVIEW'
488
							| 'IS_RUNNING'
489
							| 'STOP'
490
							| 'REMOVED'
491
							| 'DISAPPROVED'
492
							| 'IS_STOPPING'
493
						bid?: number
494
						finalUrl?: string
495
						averageImpressionsPerMonth?: number
496
					}[]
497
					retargeting?: {
498
						googleUserLists?: {
499
							retargetingList?: {
500
								googleCustomerId?: string
501
								facebookAccountId?: string
502
								channel?:
503
									| 'FACEBOOK'
504
									| 'INSTAGRAM'
505
									| 'GOOGLE_ADWORDS'
506
									| 'GOOGLE_DISPLAY_NETWORK'
507
									| 'GOOGLE_ANALYTICS'
508
									| 'YOUTUBE'
509
									| 'XING'
510
									| 'LINKED_IN'
511
									| 'TWITTER'
512
									| 'GOOGLE_MY_BUSINESS'
513
									| 'TIKTOK'
514
									| 'BITLY'
515
								name?: string
516
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
517
								userId?: string
518
								googleRetargetingListId?: string
519
								facebookCustomAudienceId?: string
520
								linkedInAudienceId?: string
521
								twitterAudienceId?: string
522
								tikTokAudienceId?: string
523
								urlPath?: string
524
								engagementSource?:
525
									| 'FACEBOOK'
526
									| 'INSTAGRAM'
527
									| 'GOOGLE_ADWORDS'
528
									| 'GOOGLE_DISPLAY_NETWORK'
529
									| 'GOOGLE_ANALYTICS'
530
									| 'YOUTUBE'
531
									| 'XING'
532
									| 'LINKED_IN'
533
									| 'TWITTER'
534
									| 'GOOGLE_MY_BUSINESS'
535
									| 'TIKTOK'
536
									| 'BITLY'
537
								engagementType?: 'ENGAGED' | 'FOLLOWER'
538
								description?: string
539
								audienceSize?: number
540
								retentionDays?: number
541
							}
542
							bidModifier?: number
543
							bidModifierType?: 'INCREASE' | 'DECREASE'
544
						}[]
545
						facebookCustomAudiences?: {
546
							retargetingList?: {
547
								googleCustomerId?: string
548
								facebookAccountId?: string
549
								channel?:
550
									| 'FACEBOOK'
551
									| 'INSTAGRAM'
552
									| 'GOOGLE_ADWORDS'
553
									| 'GOOGLE_DISPLAY_NETWORK'
554
									| 'GOOGLE_ANALYTICS'
555
									| 'YOUTUBE'
556
									| 'XING'
557
									| 'LINKED_IN'
558
									| 'TWITTER'
559
									| 'GOOGLE_MY_BUSINESS'
560
									| 'TIKTOK'
561
									| 'BITLY'
562
								name?: string
563
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
564
								userId?: string
565
								googleRetargetingListId?: string
566
								facebookCustomAudienceId?: string
567
								linkedInAudienceId?: string
568
								twitterAudienceId?: string
569
								tikTokAudienceId?: string
570
								urlPath?: string
571
								engagementSource?:
572
									| 'FACEBOOK'
573
									| 'INSTAGRAM'
574
									| 'GOOGLE_ADWORDS'
575
									| 'GOOGLE_DISPLAY_NETWORK'
576
									| 'GOOGLE_ANALYTICS'
577
									| 'YOUTUBE'
578
									| 'XING'
579
									| 'LINKED_IN'
580
									| 'TWITTER'
581
									| 'GOOGLE_MY_BUSINESS'
582
									| 'TIKTOK'
583
									| 'BITLY'
584
								engagementType?: 'ENGAGED' | 'FOLLOWER'
585
								description?: string
586
								audienceSize?: number
587
								retentionDays?: number
588
							}
589
						}[]
590
						linkedInMatchedAudiences?: {
591
							retargetingList?: {
592
								googleCustomerId?: string
593
								facebookAccountId?: string
594
								channel?:
595
									| 'FACEBOOK'
596
									| 'INSTAGRAM'
597
									| 'GOOGLE_ADWORDS'
598
									| 'GOOGLE_DISPLAY_NETWORK'
599
									| 'GOOGLE_ANALYTICS'
600
									| 'YOUTUBE'
601
									| 'XING'
602
									| 'LINKED_IN'
603
									| 'TWITTER'
604
									| 'GOOGLE_MY_BUSINESS'
605
									| 'TIKTOK'
606
									| 'BITLY'
607
								name?: string
608
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
609
								userId?: string
610
								googleRetargetingListId?: string
611
								facebookCustomAudienceId?: string
612
								linkedInAudienceId?: string
613
								twitterAudienceId?: string
614
								tikTokAudienceId?: string
615
								urlPath?: string
616
								engagementSource?:
617
									| 'FACEBOOK'
618
									| 'INSTAGRAM'
619
									| 'GOOGLE_ADWORDS'
620
									| 'GOOGLE_DISPLAY_NETWORK'
621
									| 'GOOGLE_ANALYTICS'
622
									| 'YOUTUBE'
623
									| 'XING'
624
									| 'LINKED_IN'
625
									| 'TWITTER'
626
									| 'GOOGLE_MY_BUSINESS'
627
									| 'TIKTOK'
628
									| 'BITLY'
629
								engagementType?: 'ENGAGED' | 'FOLLOWER'
630
								description?: string
631
								audienceSize?: number
632
								retentionDays?: number
633
							}
634
						}[]
635
						twitterCustomAudiences?: {
636
							retargetingList?: {
637
								googleCustomerId?: string
638
								facebookAccountId?: string
639
								channel?:
640
									| 'FACEBOOK'
641
									| 'INSTAGRAM'
642
									| 'GOOGLE_ADWORDS'
643
									| 'GOOGLE_DISPLAY_NETWORK'
644
									| 'GOOGLE_ANALYTICS'
645
									| 'YOUTUBE'
646
									| 'XING'
647
									| 'LINKED_IN'
648
									| 'TWITTER'
649
									| 'GOOGLE_MY_BUSINESS'
650
									| 'TIKTOK'
651
									| 'BITLY'
652
								name?: string
653
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
654
								userId?: string
655
								googleRetargetingListId?: string
656
								facebookCustomAudienceId?: string
657
								linkedInAudienceId?: string
658
								twitterAudienceId?: string
659
								tikTokAudienceId?: string
660
								urlPath?: string
661
								engagementSource?:
662
									| 'FACEBOOK'
663
									| 'INSTAGRAM'
664
									| 'GOOGLE_ADWORDS'
665
									| 'GOOGLE_DISPLAY_NETWORK'
666
									| 'GOOGLE_ANALYTICS'
667
									| 'YOUTUBE'
668
									| 'XING'
669
									| 'LINKED_IN'
670
									| 'TWITTER'
671
									| 'GOOGLE_MY_BUSINESS'
672
									| 'TIKTOK'
673
									| 'BITLY'
674
								engagementType?: 'ENGAGED' | 'FOLLOWER'
675
								description?: string
676
								audienceSize?: number
677
								retentionDays?: number
678
							}
679
						}[]
680
						tikTokAudiences?: {
681
							retargetingList?: {
682
								googleCustomerId?: string
683
								facebookAccountId?: string
684
								channel?:
685
									| 'FACEBOOK'
686
									| 'INSTAGRAM'
687
									| 'GOOGLE_ADWORDS'
688
									| 'GOOGLE_DISPLAY_NETWORK'
689
									| 'GOOGLE_ANALYTICS'
690
									| 'YOUTUBE'
691
									| 'XING'
692
									| 'LINKED_IN'
693
									| 'TWITTER'
694
									| 'GOOGLE_MY_BUSINESS'
695
									| 'TIKTOK'
696
									| 'BITLY'
697
								name?: string
698
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
699
								userId?: string
700
								googleRetargetingListId?: string
701
								facebookCustomAudienceId?: string
702
								linkedInAudienceId?: string
703
								twitterAudienceId?: string
704
								tikTokAudienceId?: string
705
								urlPath?: string
706
								engagementSource?:
707
									| 'FACEBOOK'
708
									| 'INSTAGRAM'
709
									| 'GOOGLE_ADWORDS'
710
									| 'GOOGLE_DISPLAY_NETWORK'
711
									| 'GOOGLE_ANALYTICS'
712
									| 'YOUTUBE'
713
									| 'XING'
714
									| 'LINKED_IN'
715
									| 'TWITTER'
716
									| 'GOOGLE_MY_BUSINESS'
717
									| 'TIKTOK'
718
									| 'BITLY'
719
								engagementType?: 'ENGAGED' | 'FOLLOWER'
720
								description?: string
721
								audienceSize?: number
722
								retentionDays?: number
723
							}
724
						}[]
725
					}
726
				}
727
				retargeting?: {
728
					googleUserLists?: {
729
						retargetingList?: {
730
							googleCustomerId?: string
731
							facebookAccountId?: string
732
							channel?:
733
								| 'FACEBOOK'
734
								| 'INSTAGRAM'
735
								| 'GOOGLE_ADWORDS'
736
								| 'GOOGLE_DISPLAY_NETWORK'
737
								| 'GOOGLE_ANALYTICS'
738
								| 'YOUTUBE'
739
								| 'XING'
740
								| 'LINKED_IN'
741
								| 'TWITTER'
742
								| 'GOOGLE_MY_BUSINESS'
743
								| 'TIKTOK'
744
								| 'BITLY'
745
							name?: string
746
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
747
							userId?: string
748
							googleRetargetingListId?: string
749
							facebookCustomAudienceId?: string
750
							linkedInAudienceId?: string
751
							twitterAudienceId?: string
752
							tikTokAudienceId?: string
753
							urlPath?: string
754
							engagementSource?:
755
								| 'FACEBOOK'
756
								| 'INSTAGRAM'
757
								| 'GOOGLE_ADWORDS'
758
								| 'GOOGLE_DISPLAY_NETWORK'
759
								| 'GOOGLE_ANALYTICS'
760
								| 'YOUTUBE'
761
								| 'XING'
762
								| 'LINKED_IN'
763
								| 'TWITTER'
764
								| 'GOOGLE_MY_BUSINESS'
765
								| 'TIKTOK'
766
								| 'BITLY'
767
							engagementType?: 'ENGAGED' | 'FOLLOWER'
768
							description?: string
769
							audienceSize?: number
770
							retentionDays?: number
771
						}
772
						bidModifier?: number
773
						bidModifierType?: 'INCREASE' | 'DECREASE'
774
					}[]
775
					facebookCustomAudiences?: {
776
						retargetingList?: {
777
							googleCustomerId?: string
778
							facebookAccountId?: string
779
							channel?:
780
								| 'FACEBOOK'
781
								| 'INSTAGRAM'
782
								| 'GOOGLE_ADWORDS'
783
								| 'GOOGLE_DISPLAY_NETWORK'
784
								| 'GOOGLE_ANALYTICS'
785
								| 'YOUTUBE'
786
								| 'XING'
787
								| 'LINKED_IN'
788
								| 'TWITTER'
789
								| 'GOOGLE_MY_BUSINESS'
790
								| 'TIKTOK'
791
								| 'BITLY'
792
							name?: string
793
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
794
							userId?: string
795
							googleRetargetingListId?: string
796
							facebookCustomAudienceId?: string
797
							linkedInAudienceId?: string
798
							twitterAudienceId?: string
799
							tikTokAudienceId?: string
800
							urlPath?: string
801
							engagementSource?:
802
								| 'FACEBOOK'
803
								| 'INSTAGRAM'
804
								| 'GOOGLE_ADWORDS'
805
								| 'GOOGLE_DISPLAY_NETWORK'
806
								| 'GOOGLE_ANALYTICS'
807
								| 'YOUTUBE'
808
								| 'XING'
809
								| 'LINKED_IN'
810
								| 'TWITTER'
811
								| 'GOOGLE_MY_BUSINESS'
812
								| 'TIKTOK'
813
								| 'BITLY'
814
							engagementType?: 'ENGAGED' | 'FOLLOWER'
815
							description?: string
816
							audienceSize?: number
817
							retentionDays?: number
818
						}
819
					}[]
820
					linkedInMatchedAudiences?: {
821
						retargetingList?: {
822
							googleCustomerId?: string
823
							facebookAccountId?: string
824
							channel?:
825
								| 'FACEBOOK'
826
								| 'INSTAGRAM'
827
								| 'GOOGLE_ADWORDS'
828
								| 'GOOGLE_DISPLAY_NETWORK'
829
								| 'GOOGLE_ANALYTICS'
830
								| 'YOUTUBE'
831
								| 'XING'
832
								| 'LINKED_IN'
833
								| 'TWITTER'
834
								| 'GOOGLE_MY_BUSINESS'
835
								| 'TIKTOK'
836
								| 'BITLY'
837
							name?: string
838
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
839
							userId?: string
840
							googleRetargetingListId?: string
841
							facebookCustomAudienceId?: string
842
							linkedInAudienceId?: string
843
							twitterAudienceId?: string
844
							tikTokAudienceId?: string
845
							urlPath?: string
846
							engagementSource?:
847
								| 'FACEBOOK'
848
								| 'INSTAGRAM'
849
								| 'GOOGLE_ADWORDS'
850
								| 'GOOGLE_DISPLAY_NETWORK'
851
								| 'GOOGLE_ANALYTICS'
852
								| 'YOUTUBE'
853
								| 'XING'
854
								| 'LINKED_IN'
855
								| 'TWITTER'
856
								| 'GOOGLE_MY_BUSINESS'
857
								| 'TIKTOK'
858
								| 'BITLY'
859
							engagementType?: 'ENGAGED' | 'FOLLOWER'
860
							description?: string
861
							audienceSize?: number
862
							retentionDays?: number
863
						}
864
					}[]
865
					twitterCustomAudiences?: {
866
						retargetingList?: {
867
							googleCustomerId?: string
868
							facebookAccountId?: string
869
							channel?:
870
								| 'FACEBOOK'
871
								| 'INSTAGRAM'
872
								| 'GOOGLE_ADWORDS'
873
								| 'GOOGLE_DISPLAY_NETWORK'
874
								| 'GOOGLE_ANALYTICS'
875
								| 'YOUTUBE'
876
								| 'XING'
877
								| 'LINKED_IN'
878
								| 'TWITTER'
879
								| 'GOOGLE_MY_BUSINESS'
880
								| 'TIKTOK'
881
								| 'BITLY'
882
							name?: string
883
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
884
							userId?: string
885
							googleRetargetingListId?: string
886
							facebookCustomAudienceId?: string
887
							linkedInAudienceId?: string
888
							twitterAudienceId?: string
889
							tikTokAudienceId?: string
890
							urlPath?: string
891
							engagementSource?:
892
								| 'FACEBOOK'
893
								| 'INSTAGRAM'
894
								| 'GOOGLE_ADWORDS'
895
								| 'GOOGLE_DISPLAY_NETWORK'
896
								| 'GOOGLE_ANALYTICS'
897
								| 'YOUTUBE'
898
								| 'XING'
899
								| 'LINKED_IN'
900
								| 'TWITTER'
901
								| 'GOOGLE_MY_BUSINESS'
902
								| 'TIKTOK'
903
								| 'BITLY'
904
							engagementType?: 'ENGAGED' | 'FOLLOWER'
905
							description?: string
906
							audienceSize?: number
907
							retentionDays?: number
908
						}
909
					}[]
910
					tikTokAudiences?: {
911
						retargetingList?: {
912
							googleCustomerId?: string
913
							facebookAccountId?: string
914
							channel?:
915
								| 'FACEBOOK'
916
								| 'INSTAGRAM'
917
								| 'GOOGLE_ADWORDS'
918
								| 'GOOGLE_DISPLAY_NETWORK'
919
								| 'GOOGLE_ANALYTICS'
920
								| 'YOUTUBE'
921
								| 'XING'
922
								| 'LINKED_IN'
923
								| 'TWITTER'
924
								| 'GOOGLE_MY_BUSINESS'
925
								| 'TIKTOK'
926
								| 'BITLY'
927
							name?: string
928
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
929
							userId?: string
930
							googleRetargetingListId?: string
931
							facebookCustomAudienceId?: string
932
							linkedInAudienceId?: string
933
							twitterAudienceId?: string
934
							tikTokAudienceId?: string
935
							urlPath?: string
936
							engagementSource?:
937
								| 'FACEBOOK'
938
								| 'INSTAGRAM'
939
								| 'GOOGLE_ADWORDS'
940
								| 'GOOGLE_DISPLAY_NETWORK'
941
								| 'GOOGLE_ANALYTICS'
942
								| 'YOUTUBE'
943
								| 'XING'
944
								| 'LINKED_IN'
945
								| 'TWITTER'
946
								| 'GOOGLE_MY_BUSINESS'
947
								| 'TIKTOK'
948
								| 'BITLY'
949
							engagementType?: 'ENGAGED' | 'FOLLOWER'
950
							description?: string
951
							audienceSize?: number
952
							retentionDays?: number
953
						}
954
					}[]
955
				}
956
				devices?: {
957
					showOnMobile?: false | true
958
					showOnTablet?: false | true
959
					showOnDesktop?: false | true
960
					mobileBidModifier?: number
961
					mobileBidModifierType?: 'INCREASE' | 'DECREASE'
962
					tabletBidModifier?: number
963
					tabletBidModifierType?: 'INCREASE' | 'DECREASE'
964
					desktopBidModifier?: number
965
					desktopBidModifierType?: 'INCREASE' | 'DECREASE'
966
				}
967
				extension?: {
968
					sitelinkExtensions?: {
969
						feedId?: number
970
						feedItemId?: number
971
						assetId?: number
972
						adwordsCustomerId?: string
973
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
974
						extensionRunStatus?:
975
							| 'ADDED_CAMPAIGN'
976
							| 'ADDED_ADGROUP'
977
							| 'ADDED_ACCOUNT'
978
							| 'IS_CAMPAIGN_LINKED'
979
							| 'IS_ADGROUP_LINKED'
980
							| 'UNLINKING'
981
							| 'UNLINKED'
982
						sitelinkName?: string
983
						sitelinkUrl?: string
984
						sitelinkDescription1?: string
985
						sitelinkDescription2?: string
986
						finalUrls?: string[]
987
						finalMobileUrls?: string[]
988
						sitelinkTrackingUrl?: string
989
					}[]
990
					calloutExtensions?: {
991
						feedId?: number
992
						feedItemId?: number
993
						assetId?: number
994
						adwordsCustomerId?: string
995
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
996
						extensionRunStatus?:
997
							| 'ADDED_CAMPAIGN'
998
							| 'ADDED_ADGROUP'
999
							| 'ADDED_ACCOUNT'
1000
							| 'IS_CAMPAIGN_LINKED'
1001
							| 'IS_ADGROUP_LINKED'
1002
							| 'UNLINKING'
1003
							| 'UNLINKED'
1004
						calloutText?: string
1005
					}[]
1006
					callExtensions?: {
1007
						feedId?: number
1008
						feedItemId?: number
1009
						assetId?: number
1010
						adwordsCustomerId?: string
1011
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1012
						extensionRunStatus?:
1013
							| 'ADDED_CAMPAIGN'
1014
							| 'ADDED_ADGROUP'
1015
							| 'ADDED_ACCOUNT'
1016
							| 'IS_CAMPAIGN_LINKED'
1017
							| 'IS_ADGROUP_LINKED'
1018
							| 'UNLINKING'
1019
							| 'UNLINKED'
1020
						phoneNumber?: string
1021
						country?: string
1022
					}[]
1023
				}
1024
				adRotationMode?: 'OPTIMIZE' | 'CONVERSION_OPTIMIZE' | 'ROTATE' | 'ROTATE_INDEFINITELY'
1025
				createdFromTargetingTemplateId?: string
1026
			}[]
1027
			twitterTargetingCriterias?: {
1028
				type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
1029
				value?: string
1030
				twitterId?: string
1031
			}[]
1032
			tikTokTargetingCriterias?: {
1033
				id?: string
1034
				name?: string
1035
				type?:
1036
					| 'INTEREST_CATEGORY'
1037
					| 'INTEREST_KEYWORD'
1038
					| 'ACTION_CATEGORY_VIDEO'
1039
					| 'ACTION_CATEGORY_CREATOR'
1040
					| 'HASHTAG'
1041
				children?: {}[]
1042
			}[]
1043
			facebookInterestGroups?: {
1044
				facebookInterests?: {
1045
					id?: string
1046
					type?: string
1047
					name?: string
1048
					audience_size?: number
1049
					children?: {}[]
1050
					path?: string[]
1051
				}[]
1052
			}[]
1053
			facebookInterests?: {
1054
				id?: string
1055
				type?: string
1056
				name?: string
1057
				audience_size?: number
1058
				children?: {}[]
1059
				path?: string[]
1060
			}[]
1061
			facebookAdGroups?: {
1062
				id?: string
1063
				name?: string
1064
				facebookInterests?: {
1065
					id?: string
1066
					type?: string
1067
					name?: string
1068
					audience_size?: number
1069
					children?: {}[]
1070
					path?: string[]
1071
				}[]
1072
				status?:
1073
					| 'COMPLETED'
1074
					| 'IN_REVIEW'
1075
					| 'IS_RUNNING'
1076
					| 'STOP'
1077
					| 'REMOVED'
1078
					| 'DISAPPROVED'
1079
					| 'IS_STOPPING'
1080
				bid?: number
1081
				retargeting?: {
1082
					googleUserLists?: {
1083
						retargetingList?: {
1084
							googleCustomerId?: string
1085
							facebookAccountId?: string
1086
							channel?:
1087
								| 'FACEBOOK'
1088
								| 'INSTAGRAM'
1089
								| 'GOOGLE_ADWORDS'
1090
								| 'GOOGLE_DISPLAY_NETWORK'
1091
								| 'GOOGLE_ANALYTICS'
1092
								| 'YOUTUBE'
1093
								| 'XING'
1094
								| 'LINKED_IN'
1095
								| 'TWITTER'
1096
								| 'GOOGLE_MY_BUSINESS'
1097
								| 'TIKTOK'
1098
								| 'BITLY'
1099
							name?: string
1100
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1101
							userId?: string
1102
							googleRetargetingListId?: string
1103
							facebookCustomAudienceId?: string
1104
							linkedInAudienceId?: string
1105
							twitterAudienceId?: string
1106
							tikTokAudienceId?: string
1107
							urlPath?: string
1108
							engagementSource?:
1109
								| 'FACEBOOK'
1110
								| 'INSTAGRAM'
1111
								| 'GOOGLE_ADWORDS'
1112
								| 'GOOGLE_DISPLAY_NETWORK'
1113
								| 'GOOGLE_ANALYTICS'
1114
								| 'YOUTUBE'
1115
								| 'XING'
1116
								| 'LINKED_IN'
1117
								| 'TWITTER'
1118
								| 'GOOGLE_MY_BUSINESS'
1119
								| 'TIKTOK'
1120
								| 'BITLY'
1121
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1122
							description?: string
1123
							audienceSize?: number
1124
							retentionDays?: number
1125
						}
1126
						bidModifier?: number
1127
						bidModifierType?: 'INCREASE' | 'DECREASE'
1128
					}[]
1129
					facebookCustomAudiences?: {
1130
						retargetingList?: {
1131
							googleCustomerId?: string
1132
							facebookAccountId?: string
1133
							channel?:
1134
								| 'FACEBOOK'
1135
								| 'INSTAGRAM'
1136
								| 'GOOGLE_ADWORDS'
1137
								| 'GOOGLE_DISPLAY_NETWORK'
1138
								| 'GOOGLE_ANALYTICS'
1139
								| 'YOUTUBE'
1140
								| 'XING'
1141
								| 'LINKED_IN'
1142
								| 'TWITTER'
1143
								| 'GOOGLE_MY_BUSINESS'
1144
								| 'TIKTOK'
1145
								| 'BITLY'
1146
							name?: string
1147
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1148
							userId?: string
1149
							googleRetargetingListId?: string
1150
							facebookCustomAudienceId?: string
1151
							linkedInAudienceId?: string
1152
							twitterAudienceId?: string
1153
							tikTokAudienceId?: string
1154
							urlPath?: string
1155
							engagementSource?:
1156
								| 'FACEBOOK'
1157
								| 'INSTAGRAM'
1158
								| 'GOOGLE_ADWORDS'
1159
								| 'GOOGLE_DISPLAY_NETWORK'
1160
								| 'GOOGLE_ANALYTICS'
1161
								| 'YOUTUBE'
1162
								| 'XING'
1163
								| 'LINKED_IN'
1164
								| 'TWITTER'
1165
								| 'GOOGLE_MY_BUSINESS'
1166
								| 'TIKTOK'
1167
								| 'BITLY'
1168
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1169
							description?: string
1170
							audienceSize?: number
1171
							retentionDays?: number
1172
						}
1173
					}[]
1174
					linkedInMatchedAudiences?: {
1175
						retargetingList?: {
1176
							googleCustomerId?: string
1177
							facebookAccountId?: string
1178
							channel?:
1179
								| 'FACEBOOK'
1180
								| 'INSTAGRAM'
1181
								| 'GOOGLE_ADWORDS'
1182
								| 'GOOGLE_DISPLAY_NETWORK'
1183
								| 'GOOGLE_ANALYTICS'
1184
								| 'YOUTUBE'
1185
								| 'XING'
1186
								| 'LINKED_IN'
1187
								| 'TWITTER'
1188
								| 'GOOGLE_MY_BUSINESS'
1189
								| 'TIKTOK'
1190
								| 'BITLY'
1191
							name?: string
1192
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1193
							userId?: string
1194
							googleRetargetingListId?: string
1195
							facebookCustomAudienceId?: string
1196
							linkedInAudienceId?: string
1197
							twitterAudienceId?: string
1198
							tikTokAudienceId?: string
1199
							urlPath?: string
1200
							engagementSource?:
1201
								| 'FACEBOOK'
1202
								| 'INSTAGRAM'
1203
								| 'GOOGLE_ADWORDS'
1204
								| 'GOOGLE_DISPLAY_NETWORK'
1205
								| 'GOOGLE_ANALYTICS'
1206
								| 'YOUTUBE'
1207
								| 'XING'
1208
								| 'LINKED_IN'
1209
								| 'TWITTER'
1210
								| 'GOOGLE_MY_BUSINESS'
1211
								| 'TIKTOK'
1212
								| 'BITLY'
1213
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1214
							description?: string
1215
							audienceSize?: number
1216
							retentionDays?: number
1217
						}
1218
					}[]
1219
					twitterCustomAudiences?: {
1220
						retargetingList?: {
1221
							googleCustomerId?: string
1222
							facebookAccountId?: string
1223
							channel?:
1224
								| 'FACEBOOK'
1225
								| 'INSTAGRAM'
1226
								| 'GOOGLE_ADWORDS'
1227
								| 'GOOGLE_DISPLAY_NETWORK'
1228
								| 'GOOGLE_ANALYTICS'
1229
								| 'YOUTUBE'
1230
								| 'XING'
1231
								| 'LINKED_IN'
1232
								| 'TWITTER'
1233
								| 'GOOGLE_MY_BUSINESS'
1234
								| 'TIKTOK'
1235
								| 'BITLY'
1236
							name?: string
1237
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1238
							userId?: string
1239
							googleRetargetingListId?: string
1240
							facebookCustomAudienceId?: string
1241
							linkedInAudienceId?: string
1242
							twitterAudienceId?: string
1243
							tikTokAudienceId?: string
1244
							urlPath?: string
1245
							engagementSource?:
1246
								| 'FACEBOOK'
1247
								| 'INSTAGRAM'
1248
								| 'GOOGLE_ADWORDS'
1249
								| 'GOOGLE_DISPLAY_NETWORK'
1250
								| 'GOOGLE_ANALYTICS'
1251
								| 'YOUTUBE'
1252
								| 'XING'
1253
								| 'LINKED_IN'
1254
								| 'TWITTER'
1255
								| 'GOOGLE_MY_BUSINESS'
1256
								| 'TIKTOK'
1257
								| 'BITLY'
1258
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1259
							description?: string
1260
							audienceSize?: number
1261
							retentionDays?: number
1262
						}
1263
					}[]
1264
					tikTokAudiences?: {
1265
						retargetingList?: {
1266
							googleCustomerId?: string
1267
							facebookAccountId?: string
1268
							channel?:
1269
								| 'FACEBOOK'
1270
								| 'INSTAGRAM'
1271
								| 'GOOGLE_ADWORDS'
1272
								| 'GOOGLE_DISPLAY_NETWORK'
1273
								| 'GOOGLE_ANALYTICS'
1274
								| 'YOUTUBE'
1275
								| 'XING'
1276
								| 'LINKED_IN'
1277
								| 'TWITTER'
1278
								| 'GOOGLE_MY_BUSINESS'
1279
								| 'TIKTOK'
1280
								| 'BITLY'
1281
							name?: string
1282
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1283
							userId?: string
1284
							googleRetargetingListId?: string
1285
							facebookCustomAudienceId?: string
1286
							linkedInAudienceId?: string
1287
							twitterAudienceId?: string
1288
							tikTokAudienceId?: string
1289
							urlPath?: string
1290
							engagementSource?:
1291
								| 'FACEBOOK'
1292
								| 'INSTAGRAM'
1293
								| 'GOOGLE_ADWORDS'
1294
								| 'GOOGLE_DISPLAY_NETWORK'
1295
								| 'GOOGLE_ANALYTICS'
1296
								| 'YOUTUBE'
1297
								| 'XING'
1298
								| 'LINKED_IN'
1299
								| 'TWITTER'
1300
								| 'GOOGLE_MY_BUSINESS'
1301
								| 'TIKTOK'
1302
								| 'BITLY'
1303
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1304
							description?: string
1305
							audienceSize?: number
1306
							retentionDays?: number
1307
						}
1308
					}[]
1309
				}
1310
				devices?: {
1311
					showOnMobile?: false | true
1312
					showOnTablet?: false | true
1313
					showOnDesktop?: false | true
1314
					mobileBidModifier?: number
1315
					mobileBidModifierType?: 'INCREASE' | 'DECREASE'
1316
					tabletBidModifier?: number
1317
					tabletBidModifierType?: 'INCREASE' | 'DECREASE'
1318
					desktopBidModifier?: number
1319
					desktopBidModifierType?: 'INCREASE' | 'DECREASE'
1320
				}
1321
			}[]
1322
			targetRegions?: {
1323
				type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
1324
				city?: string
1325
				useRadius?: false | true
1326
				radiusInKm?: number
1327
				countryCode?: string
1328
				lat?: number
1329
				lon?: number
1330
				bidModifier?: number
1331
				bidModifierType?: 'INCREASE' | 'DECREASE'
1332
				linkedInUrn?: string
1333
				twitterTargetingValue?: string
1334
				tikTokLocationId?: string
1335
				channel?:
1336
					| 'FACEBOOK'
1337
					| 'INSTAGRAM'
1338
					| 'GOOGLE_ADWORDS'
1339
					| 'GOOGLE_DISPLAY_NETWORK'
1340
					| 'GOOGLE_ANALYTICS'
1341
					| 'YOUTUBE'
1342
					| 'XING'
1343
					| 'LINKED_IN'
1344
					| 'TWITTER'
1345
					| 'GOOGLE_MY_BUSINESS'
1346
					| 'TIKTOK'
1347
					| 'BITLY'
1348
				externalPlaceId?: string
1349
				regionReviewEnabled?: false | true
1350
				regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
1351
			}[]
1352
			targetRegionBehaviour?: {
1353
				interestedInThatRegion?: false | true
1354
				locatedInThatRegion?: false | true
1355
			}
1356
			age?: { value?: number[] }
1357
			yearsOfExperience?: { enabled?: false | true; value?: number[] }
1358
			devices?: {
1359
				showOnMobile?: false | true
1360
				showOnTablet?: false | true
1361
				showOnDesktop?: false | true
1362
				mobileBidModifier?: number
1363
				mobileBidModifierType?: 'INCREASE' | 'DECREASE'
1364
				tabletBidModifier?: number
1365
				tabletBidModifierType?: 'INCREASE' | 'DECREASE'
1366
				desktopBidModifier?: number
1367
				desktopBidModifierType?: 'INCREASE' | 'DECREASE'
1368
			}
1369
			targetExclusion?: {
1370
				facebookInterests?: {
1371
					id?: string
1372
					type?: string
1373
					name?: string
1374
					audience_size?: number
1375
					children?: {}[]
1376
					path?: string[]
1377
				}[]
1378
				linkedInTargetingCriterias?: {
1379
					facetUrn?: string
1380
					urn?: string
1381
					name?: string
1382
					children?: {}[]
1383
					parentUrn?: string
1384
				}[]
1385
				googleKeywords?: {
1386
					name?: string
1387
					competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
1388
					averageMonghtlySearchVolume?: number
1389
					averageCpc?: number
1390
					cpc?: number
1391
					cpm?: number
1392
					link?: string
1393
					status?:
1394
						| 'COMPLETED'
1395
						| 'IN_REVIEW'
1396
						| 'IS_RUNNING'
1397
						| 'STOP'
1398
						| 'REMOVED'
1399
						| 'DISAPPROVED'
1400
						| 'IS_STOPPING'
1401
					bid?: number
1402
					finalUrl?: string
1403
					averageImpressionsPerMonth?: number
1404
				}[]
1405
				targetRegions?: {
1406
					type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
1407
					city?: string
1408
					useRadius?: false | true
1409
					radiusInKm?: number
1410
					countryCode?: string
1411
					lat?: number
1412
					lon?: number
1413
					bidModifier?: number
1414
					bidModifierType?: 'INCREASE' | 'DECREASE'
1415
					linkedInUrn?: string
1416
					twitterTargetingValue?: string
1417
					tikTokLocationId?: string
1418
					channel?:
1419
						| 'FACEBOOK'
1420
						| 'INSTAGRAM'
1421
						| 'GOOGLE_ADWORDS'
1422
						| 'GOOGLE_DISPLAY_NETWORK'
1423
						| 'GOOGLE_ANALYTICS'
1424
						| 'YOUTUBE'
1425
						| 'XING'
1426
						| 'LINKED_IN'
1427
						| 'TWITTER'
1428
						| 'GOOGLE_MY_BUSINESS'
1429
						| 'TIKTOK'
1430
						| 'BITLY'
1431
					externalPlaceId?: string
1432
					regionReviewEnabled?: false | true
1433
					regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
1434
				}[]
1435
				retargeting?: {
1436
					googleUserLists?: {
1437
						retargetingList?: {
1438
							googleCustomerId?: string
1439
							facebookAccountId?: string
1440
							channel?:
1441
								| 'FACEBOOK'
1442
								| 'INSTAGRAM'
1443
								| 'GOOGLE_ADWORDS'
1444
								| 'GOOGLE_DISPLAY_NETWORK'
1445
								| 'GOOGLE_ANALYTICS'
1446
								| 'YOUTUBE'
1447
								| 'XING'
1448
								| 'LINKED_IN'
1449
								| 'TWITTER'
1450
								| 'GOOGLE_MY_BUSINESS'
1451
								| 'TIKTOK'
1452
								| 'BITLY'
1453
							name?: string
1454
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1455
							userId?: string
1456
							googleRetargetingListId?: string
1457
							facebookCustomAudienceId?: string
1458
							linkedInAudienceId?: string
1459
							twitterAudienceId?: string
1460
							tikTokAudienceId?: string
1461
							urlPath?: string
1462
							engagementSource?:
1463
								| 'FACEBOOK'
1464
								| 'INSTAGRAM'
1465
								| 'GOOGLE_ADWORDS'
1466
								| 'GOOGLE_DISPLAY_NETWORK'
1467
								| 'GOOGLE_ANALYTICS'
1468
								| 'YOUTUBE'
1469
								| 'XING'
1470
								| 'LINKED_IN'
1471
								| 'TWITTER'
1472
								| 'GOOGLE_MY_BUSINESS'
1473
								| 'TIKTOK'
1474
								| 'BITLY'
1475
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1476
							description?: string
1477
							audienceSize?: number
1478
							retentionDays?: number
1479
						}
1480
						bidModifier?: number
1481
						bidModifierType?: 'INCREASE' | 'DECREASE'
1482
					}[]
1483
					facebookCustomAudiences?: {
1484
						retargetingList?: {
1485
							googleCustomerId?: string
1486
							facebookAccountId?: string
1487
							channel?:
1488
								| 'FACEBOOK'
1489
								| 'INSTAGRAM'
1490
								| 'GOOGLE_ADWORDS'
1491
								| 'GOOGLE_DISPLAY_NETWORK'
1492
								| 'GOOGLE_ANALYTICS'
1493
								| 'YOUTUBE'
1494
								| 'XING'
1495
								| 'LINKED_IN'
1496
								| 'TWITTER'
1497
								| 'GOOGLE_MY_BUSINESS'
1498
								| 'TIKTOK'
1499
								| 'BITLY'
1500
							name?: string
1501
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1502
							userId?: string
1503
							googleRetargetingListId?: string
1504
							facebookCustomAudienceId?: string
1505
							linkedInAudienceId?: string
1506
							twitterAudienceId?: string
1507
							tikTokAudienceId?: string
1508
							urlPath?: string
1509
							engagementSource?:
1510
								| 'FACEBOOK'
1511
								| 'INSTAGRAM'
1512
								| 'GOOGLE_ADWORDS'
1513
								| 'GOOGLE_DISPLAY_NETWORK'
1514
								| 'GOOGLE_ANALYTICS'
1515
								| 'YOUTUBE'
1516
								| 'XING'
1517
								| 'LINKED_IN'
1518
								| 'TWITTER'
1519
								| 'GOOGLE_MY_BUSINESS'
1520
								| 'TIKTOK'
1521
								| 'BITLY'
1522
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1523
							description?: string
1524
							audienceSize?: number
1525
							retentionDays?: number
1526
						}
1527
					}[]
1528
					linkedInMatchedAudiences?: {
1529
						retargetingList?: {
1530
							googleCustomerId?: string
1531
							facebookAccountId?: string
1532
							channel?:
1533
								| 'FACEBOOK'
1534
								| 'INSTAGRAM'
1535
								| 'GOOGLE_ADWORDS'
1536
								| 'GOOGLE_DISPLAY_NETWORK'
1537
								| 'GOOGLE_ANALYTICS'
1538
								| 'YOUTUBE'
1539
								| 'XING'
1540
								| 'LINKED_IN'
1541
								| 'TWITTER'
1542
								| 'GOOGLE_MY_BUSINESS'
1543
								| 'TIKTOK'
1544
								| 'BITLY'
1545
							name?: string
1546
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1547
							userId?: string
1548
							googleRetargetingListId?: string
1549
							facebookCustomAudienceId?: string
1550
							linkedInAudienceId?: string
1551
							twitterAudienceId?: string
1552
							tikTokAudienceId?: string
1553
							urlPath?: string
1554
							engagementSource?:
1555
								| 'FACEBOOK'
1556
								| 'INSTAGRAM'
1557
								| 'GOOGLE_ADWORDS'
1558
								| 'GOOGLE_DISPLAY_NETWORK'
1559
								| 'GOOGLE_ANALYTICS'
1560
								| 'YOUTUBE'
1561
								| 'XING'
1562
								| 'LINKED_IN'
1563
								| 'TWITTER'
1564
								| 'GOOGLE_MY_BUSINESS'
1565
								| 'TIKTOK'
1566
								| 'BITLY'
1567
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1568
							description?: string
1569
							audienceSize?: number
1570
							retentionDays?: number
1571
						}
1572
					}[]
1573
					twitterCustomAudiences?: {
1574
						retargetingList?: {
1575
							googleCustomerId?: string
1576
							facebookAccountId?: string
1577
							channel?:
1578
								| 'FACEBOOK'
1579
								| 'INSTAGRAM'
1580
								| 'GOOGLE_ADWORDS'
1581
								| 'GOOGLE_DISPLAY_NETWORK'
1582
								| 'GOOGLE_ANALYTICS'
1583
								| 'YOUTUBE'
1584
								| 'XING'
1585
								| 'LINKED_IN'
1586
								| 'TWITTER'
1587
								| 'GOOGLE_MY_BUSINESS'
1588
								| 'TIKTOK'
1589
								| 'BITLY'
1590
							name?: string
1591
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1592
							userId?: string
1593
							googleRetargetingListId?: string
1594
							facebookCustomAudienceId?: string
1595
							linkedInAudienceId?: string
1596
							twitterAudienceId?: string
1597
							tikTokAudienceId?: string
1598
							urlPath?: string
1599
							engagementSource?:
1600
								| 'FACEBOOK'
1601
								| 'INSTAGRAM'
1602
								| 'GOOGLE_ADWORDS'
1603
								| 'GOOGLE_DISPLAY_NETWORK'
1604
								| 'GOOGLE_ANALYTICS'
1605
								| 'YOUTUBE'
1606
								| 'XING'
1607
								| 'LINKED_IN'
1608
								| 'TWITTER'
1609
								| 'GOOGLE_MY_BUSINESS'
1610
								| 'TIKTOK'
1611
								| 'BITLY'
1612
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1613
							description?: string
1614
							audienceSize?: number
1615
							retentionDays?: number
1616
						}
1617
					}[]
1618
					tikTokAudiences?: {
1619
						retargetingList?: {
1620
							googleCustomerId?: string
1621
							facebookAccountId?: string
1622
							channel?:
1623
								| 'FACEBOOK'
1624
								| 'INSTAGRAM'
1625
								| 'GOOGLE_ADWORDS'
1626
								| 'GOOGLE_DISPLAY_NETWORK'
1627
								| 'GOOGLE_ANALYTICS'
1628
								| 'YOUTUBE'
1629
								| 'XING'
1630
								| 'LINKED_IN'
1631
								| 'TWITTER'
1632
								| 'GOOGLE_MY_BUSINESS'
1633
								| 'TIKTOK'
1634
								| 'BITLY'
1635
							name?: string
1636
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1637
							userId?: string
1638
							googleRetargetingListId?: string
1639
							facebookCustomAudienceId?: string
1640
							linkedInAudienceId?: string
1641
							twitterAudienceId?: string
1642
							tikTokAudienceId?: string
1643
							urlPath?: string
1644
							engagementSource?:
1645
								| 'FACEBOOK'
1646
								| 'INSTAGRAM'
1647
								| 'GOOGLE_ADWORDS'
1648
								| 'GOOGLE_DISPLAY_NETWORK'
1649
								| 'GOOGLE_ANALYTICS'
1650
								| 'YOUTUBE'
1651
								| 'XING'
1652
								| 'LINKED_IN'
1653
								| 'TWITTER'
1654
								| 'GOOGLE_MY_BUSINESS'
1655
								| 'TIKTOK'
1656
								| 'BITLY'
1657
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1658
							description?: string
1659
							audienceSize?: number
1660
							retentionDays?: number
1661
						}
1662
					}[]
1663
				}
1664
				linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
1665
				twitterTargetingCriterias?: {
1666
					type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
1667
					value?: string
1668
					twitterId?: string
1669
				}[]
1670
			}
1671
			retargeting?: {
1672
				googleUserLists?: {
1673
					retargetingList?: {
1674
						googleCustomerId?: string
1675
						facebookAccountId?: string
1676
						channel?:
1677
							| 'FACEBOOK'
1678
							| 'INSTAGRAM'
1679
							| 'GOOGLE_ADWORDS'
1680
							| 'GOOGLE_DISPLAY_NETWORK'
1681
							| 'GOOGLE_ANALYTICS'
1682
							| 'YOUTUBE'
1683
							| 'XING'
1684
							| 'LINKED_IN'
1685
							| 'TWITTER'
1686
							| 'GOOGLE_MY_BUSINESS'
1687
							| 'TIKTOK'
1688
							| 'BITLY'
1689
						name?: string
1690
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1691
						userId?: string
1692
						googleRetargetingListId?: string
1693
						facebookCustomAudienceId?: string
1694
						linkedInAudienceId?: string
1695
						twitterAudienceId?: string
1696
						tikTokAudienceId?: string
1697
						urlPath?: string
1698
						engagementSource?:
1699
							| 'FACEBOOK'
1700
							| 'INSTAGRAM'
1701
							| 'GOOGLE_ADWORDS'
1702
							| 'GOOGLE_DISPLAY_NETWORK'
1703
							| 'GOOGLE_ANALYTICS'
1704
							| 'YOUTUBE'
1705
							| 'XING'
1706
							| 'LINKED_IN'
1707
							| 'TWITTER'
1708
							| 'GOOGLE_MY_BUSINESS'
1709
							| 'TIKTOK'
1710
							| 'BITLY'
1711
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1712
						description?: string
1713
						audienceSize?: number
1714
						retentionDays?: number
1715
					}
1716
					bidModifier?: number
1717
					bidModifierType?: 'INCREASE' | 'DECREASE'
1718
				}[]
1719
				facebookCustomAudiences?: {
1720
					retargetingList?: {
1721
						googleCustomerId?: string
1722
						facebookAccountId?: string
1723
						channel?:
1724
							| 'FACEBOOK'
1725
							| 'INSTAGRAM'
1726
							| 'GOOGLE_ADWORDS'
1727
							| 'GOOGLE_DISPLAY_NETWORK'
1728
							| 'GOOGLE_ANALYTICS'
1729
							| 'YOUTUBE'
1730
							| 'XING'
1731
							| 'LINKED_IN'
1732
							| 'TWITTER'
1733
							| 'GOOGLE_MY_BUSINESS'
1734
							| 'TIKTOK'
1735
							| 'BITLY'
1736
						name?: string
1737
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1738
						userId?: string
1739
						googleRetargetingListId?: string
1740
						facebookCustomAudienceId?: string
1741
						linkedInAudienceId?: string
1742
						twitterAudienceId?: string
1743
						tikTokAudienceId?: string
1744
						urlPath?: string
1745
						engagementSource?:
1746
							| 'FACEBOOK'
1747
							| 'INSTAGRAM'
1748
							| 'GOOGLE_ADWORDS'
1749
							| 'GOOGLE_DISPLAY_NETWORK'
1750
							| 'GOOGLE_ANALYTICS'
1751
							| 'YOUTUBE'
1752
							| 'XING'
1753
							| 'LINKED_IN'
1754
							| 'TWITTER'
1755
							| 'GOOGLE_MY_BUSINESS'
1756
							| 'TIKTOK'
1757
							| 'BITLY'
1758
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1759
						description?: string
1760
						audienceSize?: number
1761
						retentionDays?: number
1762
					}
1763
				}[]
1764
				linkedInMatchedAudiences?: {
1765
					retargetingList?: {
1766
						googleCustomerId?: string
1767
						facebookAccountId?: string
1768
						channel?:
1769
							| 'FACEBOOK'
1770
							| 'INSTAGRAM'
1771
							| 'GOOGLE_ADWORDS'
1772
							| 'GOOGLE_DISPLAY_NETWORK'
1773
							| 'GOOGLE_ANALYTICS'
1774
							| 'YOUTUBE'
1775
							| 'XING'
1776
							| 'LINKED_IN'
1777
							| 'TWITTER'
1778
							| 'GOOGLE_MY_BUSINESS'
1779
							| 'TIKTOK'
1780
							| 'BITLY'
1781
						name?: string
1782
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1783
						userId?: string
1784
						googleRetargetingListId?: string
1785
						facebookCustomAudienceId?: string
1786
						linkedInAudienceId?: string
1787
						twitterAudienceId?: string
1788
						tikTokAudienceId?: string
1789
						urlPath?: string
1790
						engagementSource?:
1791
							| 'FACEBOOK'
1792
							| 'INSTAGRAM'
1793
							| 'GOOGLE_ADWORDS'
1794
							| 'GOOGLE_DISPLAY_NETWORK'
1795
							| 'GOOGLE_ANALYTICS'
1796
							| 'YOUTUBE'
1797
							| 'XING'
1798
							| 'LINKED_IN'
1799
							| 'TWITTER'
1800
							| 'GOOGLE_MY_BUSINESS'
1801
							| 'TIKTOK'
1802
							| 'BITLY'
1803
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1804
						description?: string
1805
						audienceSize?: number
1806
						retentionDays?: number
1807
					}
1808
				}[]
1809
				twitterCustomAudiences?: {
1810
					retargetingList?: {
1811
						googleCustomerId?: string
1812
						facebookAccountId?: string
1813
						channel?:
1814
							| 'FACEBOOK'
1815
							| 'INSTAGRAM'
1816
							| 'GOOGLE_ADWORDS'
1817
							| 'GOOGLE_DISPLAY_NETWORK'
1818
							| 'GOOGLE_ANALYTICS'
1819
							| 'YOUTUBE'
1820
							| 'XING'
1821
							| 'LINKED_IN'
1822
							| 'TWITTER'
1823
							| 'GOOGLE_MY_BUSINESS'
1824
							| 'TIKTOK'
1825
							| 'BITLY'
1826
						name?: string
1827
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1828
						userId?: string
1829
						googleRetargetingListId?: string
1830
						facebookCustomAudienceId?: string
1831
						linkedInAudienceId?: string
1832
						twitterAudienceId?: string
1833
						tikTokAudienceId?: string
1834
						urlPath?: string
1835
						engagementSource?:
1836
							| 'FACEBOOK'
1837
							| 'INSTAGRAM'
1838
							| 'GOOGLE_ADWORDS'
1839
							| 'GOOGLE_DISPLAY_NETWORK'
1840
							| 'GOOGLE_ANALYTICS'
1841
							| 'YOUTUBE'
1842
							| 'XING'
1843
							| 'LINKED_IN'
1844
							| 'TWITTER'
1845
							| 'GOOGLE_MY_BUSINESS'
1846
							| 'TIKTOK'
1847
							| 'BITLY'
1848
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1849
						description?: string
1850
						audienceSize?: number
1851
						retentionDays?: number
1852
					}
1853
				}[]
1854
				tikTokAudiences?: {
1855
					retargetingList?: {
1856
						googleCustomerId?: string
1857
						facebookAccountId?: string
1858
						channel?:
1859
							| 'FACEBOOK'
1860
							| 'INSTAGRAM'
1861
							| 'GOOGLE_ADWORDS'
1862
							| 'GOOGLE_DISPLAY_NETWORK'
1863
							| 'GOOGLE_ANALYTICS'
1864
							| 'YOUTUBE'
1865
							| 'XING'
1866
							| 'LINKED_IN'
1867
							| 'TWITTER'
1868
							| 'GOOGLE_MY_BUSINESS'
1869
							| 'TIKTOK'
1870
							| 'BITLY'
1871
						name?: string
1872
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1873
						userId?: string
1874
						googleRetargetingListId?: string
1875
						facebookCustomAudienceId?: string
1876
						linkedInAudienceId?: string
1877
						twitterAudienceId?: string
1878
						tikTokAudienceId?: string
1879
						urlPath?: string
1880
						engagementSource?:
1881
							| 'FACEBOOK'
1882
							| 'INSTAGRAM'
1883
							| 'GOOGLE_ADWORDS'
1884
							| 'GOOGLE_DISPLAY_NETWORK'
1885
							| 'GOOGLE_ANALYTICS'
1886
							| 'YOUTUBE'
1887
							| 'XING'
1888
							| 'LINKED_IN'
1889
							| 'TWITTER'
1890
							| 'GOOGLE_MY_BUSINESS'
1891
							| 'TIKTOK'
1892
							| 'BITLY'
1893
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1894
						description?: string
1895
						audienceSize?: number
1896
						retentionDays?: number
1897
					}
1898
				}[]
1899
			}
1900
			shoppingSettings?: {
1901
				googleMerchantAccount?: { merchantAccountId?: string; name?: string }
1902
				salesCountry?: string
1903
				enableLocal?: false | true
1904
				googleShoppingCampaignType?: 'CLASSIC' | 'SMART'
1905
				productScopeType?: 'NONE' | 'FILTER'
1906
				productScopes?: {
1907
					productDimension?:
1908
						| 'BRAND'
1909
						| 'PRODUCT_NR'
1910
						| 'STATE'
1911
						| 'PRODUCT_TYPE'
1912
						| 'CUSTOM_LABEL_0'
1913
						| 'CUSTOM_LABEL_1'
1914
						| 'CUSTOM_LABEL_2'
1915
						| 'CUSTOM_LABEL_3'
1916
						| 'CUSTOM_LABEL_4'
1917
						| 'CHANNEL'
1918
						| 'CHANNEL_EXCLUSIVE'
1919
					value?: string
1920
				}[]
1921
				facebookProductCatalog?: {
1922
					id?: string
1923
					name?: string
1924
					nbrOfProducts?: number
1925
					nbrOfQualifiedProducts?: number
1926
				}
1927
				facebookDynamicAdsTargetingType?: 'RETARGETING' | 'BROAD'
1928
				facebookProductSet?: {
1929
					id?: string
1930
					name?: string
1931
					nbrOfProducts?: number
1932
				}
1933
				facebookRetargetingIncludedRetentionDays?: number
1934
				facebookRetargetingExcludedRetentionDays?: number
1935
			}
1936
			dynamicSearchSettings?: { domainName?: string; languageCode?: string }
1937
			extension?: {
1938
				sitelinkExtensions?: {
1939
					feedId?: number
1940
					feedItemId?: number
1941
					assetId?: number
1942
					adwordsCustomerId?: string
1943
					extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1944
					extensionRunStatus?:
1945
						| 'ADDED_CAMPAIGN'
1946
						| 'ADDED_ADGROUP'
1947
						| 'ADDED_ACCOUNT'
1948
						| 'IS_CAMPAIGN_LINKED'
1949
						| 'IS_ADGROUP_LINKED'
1950
						| 'UNLINKING'
1951
						| 'UNLINKED'
1952
					sitelinkName?: string
1953
					sitelinkUrl?: string
1954
					sitelinkDescription1?: string
1955
					sitelinkDescription2?: string
1956
					finalUrls?: string[]
1957
					finalMobileUrls?: string[]
1958
					sitelinkTrackingUrl?: string
1959
				}[]
1960
				calloutExtensions?: {
1961
					feedId?: number
1962
					feedItemId?: number
1963
					assetId?: number
1964
					adwordsCustomerId?: string
1965
					extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1966
					extensionRunStatus?:
1967
						| 'ADDED_CAMPAIGN'
1968
						| 'ADDED_ADGROUP'
1969
						| 'ADDED_ACCOUNT'
1970
						| 'IS_CAMPAIGN_LINKED'
1971
						| 'IS_ADGROUP_LINKED'
1972
						| 'UNLINKING'
1973
						| 'UNLINKED'
1974
					calloutText?: string
1975
				}[]
1976
				callExtensions?: {
1977
					feedId?: number
1978
					feedItemId?: number
1979
					assetId?: number
1980
					adwordsCustomerId?: string
1981
					extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1982
					extensionRunStatus?:
1983
						| 'ADDED_CAMPAIGN'
1984
						| 'ADDED_ADGROUP'
1985
						| 'ADDED_ACCOUNT'
1986
						| 'IS_CAMPAIGN_LINKED'
1987
						| 'IS_ADGROUP_LINKED'
1988
						| 'UNLINKING'
1989
						| 'UNLINKED'
1990
					phoneNumber?: string
1991
					country?: string
1992
				}[]
1993
			}
1994
			status?:
1995
				| 'COMPLETED'
1996
				| 'IN_REVIEW'
1997
				| 'IS_RUNNING'
1998
				| 'STOP'
1999
				| 'REMOVED'
2000
				| 'DISAPPROVED'
2001
				| 'IS_STOPPING'
2002
			createdFromTargetingTemplateId?: string
2003
			facebookSpecialAdCategory?:
2004
				| 'NONE'
2005
				| 'CREDIT'
2006
				| 'EMPLOYMENT'
2007
				| 'HOUSING'
2008
				| 'ISSUES_ELECTIONS_POLITICS'
2009
				| 'ONLINE_GAMBLING_AND_GAMING'
2010
			facebookSpecialAdCategoryCountry?: string
2011
		}
2012
		targetName?: string
2013
		targetInformation?: {
2014
			selectedTargetingTemplateId?: string
2015
			modifiedTarget?: {
2016
				id?: string
2017
				name?: string
2018
				namingTemplateElementValues?: { elementId?: string; value?: string }[]
2019
				gender?: 'ALL' | 'MALE' | 'FEMALE'
2020
				language?:
2021
					| 'ALL'
2022
					| 'DE'
2023
					| 'FR'
2024
					| 'EN'
2025
					| 'IT'
2026
					| 'ES'
2027
					| 'PT'
2028
					| 'NL'
2029
					| 'SV'
2030
					| 'RO'
2031
					| 'CS'
2032
					| 'EL'
2033
					| 'TR'
2034
					| 'PL'
2035
					| 'DA'
2036
					| 'EU'
2037
					| 'CY'
2038
					| 'CA'
2039
					| 'HU'
2040
					| 'SK'
2041
					| 'SL'
2042
					| 'SQ'
2043
					| 'HY'
2044
					| 'BS'
2045
					| 'BG'
2046
					| 'HR'
2047
					| 'UK'
2048
					| 'NO'
2049
					| 'FI'
2050
				additionalLanguages?:
2051
					| 'ALL'
2052
					| 'DE'
2053
					| 'FR'
2054
					| 'EN'
2055
					| 'IT'
2056
					| 'ES'
2057
					| 'PT'
2058
					| 'NL'
2059
					| 'SV'
2060
					| 'RO'
2061
					| 'CS'
2062
					| 'EL'
2063
					| 'TR'
2064
					| 'PL'
2065
					| 'DA'
2066
					| 'EU'
2067
					| 'CY'
2068
					| 'CA'
2069
					| 'HU'
2070
					| 'SK'
2071
					| 'SL'
2072
					| 'SQ'
2073
					| 'HY'
2074
					| 'BS'
2075
					| 'BG'
2076
					| 'HR'
2077
					| 'UK'
2078
					| 'NO'
2079
					| 'FI'[]
2080
				linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
2081
				linkedInTargetingCriterias?: {
2082
					facetUrn?: string
2083
					urn?: string
2084
					name?: string
2085
					children?: {}[]
2086
					parentUrn?: string
2087
				}[]
2088
				linkedInTargetingCriteriaGroups?: {
2089
					linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
2090
					linkedInTargetingCriterias?: {
2091
						facetUrn?: string
2092
						urn?: string
2093
						name?: string
2094
						children?: {}[]
2095
						parentUrn?: string
2096
					}[]
2097
				}[]
2098
				googleAdGroups?: {
2099
					id?: string
2100
					name?: string
2101
					type?: 'STANDARD' | 'DYNAMIC'
2102
					googleKeywords?: {
2103
						name?: string
2104
						competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
2105
						averageMonghtlySearchVolume?: number
2106
						averageCpc?: number
2107
						cpc?: number
2108
						cpm?: number
2109
						link?: string
2110
						status?:
2111
							| 'COMPLETED'
2112
							| 'IN_REVIEW'
2113
							| 'IS_RUNNING'
2114
							| 'STOP'
2115
							| 'REMOVED'
2116
							| 'DISAPPROVED'
2117
							| 'IS_STOPPING'
2118
						bid?: number
2119
						finalUrl?: string
2120
						averageImpressionsPerMonth?: number
2121
					}[]
2122
					status?:
2123
						| 'COMPLETED'
2124
						| 'IN_REVIEW'
2125
						| 'IS_RUNNING'
2126
						| 'STOP'
2127
						| 'REMOVED'
2128
						| 'DISAPPROVED'
2129
						| 'IS_STOPPING'
2130
					bid?: number
2131
					targetCpa?: number
2132
					targetReturnOnAdSpendPercentage?: number
2133
					trackingUrlTemplate?: string
2134
					customParameters?: { key?: string; value?: string }[]
2135
					adGroupExclusion?: {
2136
						googleKeywords?: {
2137
							name?: string
2138
							competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
2139
							averageMonghtlySearchVolume?: number
2140
							averageCpc?: number
2141
							cpc?: number
2142
							cpm?: number
2143
							link?: string
2144
							status?:
2145
								| 'COMPLETED'
2146
								| 'IN_REVIEW'
2147
								| 'IS_RUNNING'
2148
								| 'STOP'
2149
								| 'REMOVED'
2150
								| 'DISAPPROVED'
2151
								| 'IS_STOPPING'
2152
							bid?: number
2153
							finalUrl?: string
2154
							averageImpressionsPerMonth?: number
2155
						}[]
2156
						retargeting?: {
2157
							googleUserLists?: {
2158
								retargetingList?: {
2159
									googleCustomerId?: string
2160
									facebookAccountId?: string
2161
									channel?:
2162
										| 'FACEBOOK'
2163
										| 'INSTAGRAM'
2164
										| 'GOOGLE_ADWORDS'
2165
										| 'GOOGLE_DISPLAY_NETWORK'
2166
										| 'GOOGLE_ANALYTICS'
2167
										| 'YOUTUBE'
2168
										| 'XING'
2169
										| 'LINKED_IN'
2170
										| 'TWITTER'
2171
										| 'GOOGLE_MY_BUSINESS'
2172
										| 'TIKTOK'
2173
										| 'BITLY'
2174
									name?: string
2175
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2176
									userId?: string
2177
									googleRetargetingListId?: string
2178
									facebookCustomAudienceId?: string
2179
									linkedInAudienceId?: string
2180
									twitterAudienceId?: string
2181
									tikTokAudienceId?: string
2182
									urlPath?: string
2183
									engagementSource?:
2184
										| 'FACEBOOK'
2185
										| 'INSTAGRAM'
2186
										| 'GOOGLE_ADWORDS'
2187
										| 'GOOGLE_DISPLAY_NETWORK'
2188
										| 'GOOGLE_ANALYTICS'
2189
										| 'YOUTUBE'
2190
										| 'XING'
2191
										| 'LINKED_IN'
2192
										| 'TWITTER'
2193
										| 'GOOGLE_MY_BUSINESS'
2194
										| 'TIKTOK'
2195
										| 'BITLY'
2196
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2197
									description?: string
2198
									audienceSize?: number
2199
									retentionDays?: number
2200
								}
2201
								bidModifier?: number
2202
								bidModifierType?: 'INCREASE' | 'DECREASE'
2203
							}[]
2204
							facebookCustomAudiences?: {
2205
								retargetingList?: {
2206
									googleCustomerId?: string
2207
									facebookAccountId?: string
2208
									channel?:
2209
										| 'FACEBOOK'
2210
										| 'INSTAGRAM'
2211
										| 'GOOGLE_ADWORDS'
2212
										| 'GOOGLE_DISPLAY_NETWORK'
2213
										| 'GOOGLE_ANALYTICS'
2214
										| 'YOUTUBE'
2215
										| 'XING'
2216
										| 'LINKED_IN'
2217
										| 'TWITTER'
2218
										| 'GOOGLE_MY_BUSINESS'
2219
										| 'TIKTOK'
2220
										| 'BITLY'
2221
									name?: string
2222
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2223
									userId?: string
2224
									googleRetargetingListId?: string
2225
									facebookCustomAudienceId?: string
2226
									linkedInAudienceId?: string
2227
									twitterAudienceId?: string
2228
									tikTokAudienceId?: string
2229
									urlPath?: string
2230
									engagementSource?:
2231
										| 'FACEBOOK'
2232
										| 'INSTAGRAM'
2233
										| 'GOOGLE_ADWORDS'
2234
										| 'GOOGLE_DISPLAY_NETWORK'
2235
										| 'GOOGLE_ANALYTICS'
2236
										| 'YOUTUBE'
2237
										| 'XING'
2238
										| 'LINKED_IN'
2239
										| 'TWITTER'
2240
										| 'GOOGLE_MY_BUSINESS'
2241
										| 'TIKTOK'
2242
										| 'BITLY'
2243
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2244
									description?: string
2245
									audienceSize?: number
2246
									retentionDays?: number
2247
								}
2248
							}[]
2249
							linkedInMatchedAudiences?: {
2250
								retargetingList?: {
2251
									googleCustomerId?: string
2252
									facebookAccountId?: string
2253
									channel?:
2254
										| 'FACEBOOK'
2255
										| 'INSTAGRAM'
2256
										| 'GOOGLE_ADWORDS'
2257
										| 'GOOGLE_DISPLAY_NETWORK'
2258
										| 'GOOGLE_ANALYTICS'
2259
										| 'YOUTUBE'
2260
										| 'XING'
2261
										| 'LINKED_IN'
2262
										| 'TWITTER'
2263
										| 'GOOGLE_MY_BUSINESS'
2264
										| 'TIKTOK'
2265
										| 'BITLY'
2266
									name?: string
2267
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2268
									userId?: string
2269
									googleRetargetingListId?: string
2270
									facebookCustomAudienceId?: string
2271
									linkedInAudienceId?: string
2272
									twitterAudienceId?: string
2273
									tikTokAudienceId?: string
2274
									urlPath?: string
2275
									engagementSource?:
2276
										| 'FACEBOOK'
2277
										| 'INSTAGRAM'
2278
										| 'GOOGLE_ADWORDS'
2279
										| 'GOOGLE_DISPLAY_NETWORK'
2280
										| 'GOOGLE_ANALYTICS'
2281
										| 'YOUTUBE'
2282
										| 'XING'
2283
										| 'LINKED_IN'
2284
										| 'TWITTER'
2285
										| 'GOOGLE_MY_BUSINESS'
2286
										| 'TIKTOK'
2287
										| 'BITLY'
2288
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2289
									description?: string
2290
									audienceSize?: number
2291
									retentionDays?: number
2292
								}
2293
							}[]
2294
							twitterCustomAudiences?: {
2295
								retargetingList?: {
2296
									googleCustomerId?: string
2297
									facebookAccountId?: string
2298
									channel?:
2299
										| 'FACEBOOK'
2300
										| 'INSTAGRAM'
2301
										| 'GOOGLE_ADWORDS'
2302
										| 'GOOGLE_DISPLAY_NETWORK'
2303
										| 'GOOGLE_ANALYTICS'
2304
										| 'YOUTUBE'
2305
										| 'XING'
2306
										| 'LINKED_IN'
2307
										| 'TWITTER'
2308
										| 'GOOGLE_MY_BUSINESS'
2309
										| 'TIKTOK'
2310
										| 'BITLY'
2311
									name?: string
2312
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2313
									userId?: string
2314
									googleRetargetingListId?: string
2315
									facebookCustomAudienceId?: string
2316
									linkedInAudienceId?: string
2317
									twitterAudienceId?: string
2318
									tikTokAudienceId?: string
2319
									urlPath?: string
2320
									engagementSource?:
2321
										| 'FACEBOOK'
2322
										| 'INSTAGRAM'
2323
										| 'GOOGLE_ADWORDS'
2324
										| 'GOOGLE_DISPLAY_NETWORK'
2325
										| 'GOOGLE_ANALYTICS'
2326
										| 'YOUTUBE'
2327
										| 'XING'
2328
										| 'LINKED_IN'
2329
										| 'TWITTER'
2330
										| 'GOOGLE_MY_BUSINESS'
2331
										| 'TIKTOK'
2332
										| 'BITLY'
2333
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2334
									description?: string
2335
									audienceSize?: number
2336
									retentionDays?: number
2337
								}
2338
							}[]
2339
							tikTokAudiences?: {
2340
								retargetingList?: {
2341
									googleCustomerId?: string
2342
									facebookAccountId?: string
2343
									channel?:
2344
										| 'FACEBOOK'
2345
										| 'INSTAGRAM'
2346
										| 'GOOGLE_ADWORDS'
2347
										| 'GOOGLE_DISPLAY_NETWORK'
2348
										| 'GOOGLE_ANALYTICS'
2349
										| 'YOUTUBE'
2350
										| 'XING'
2351
										| 'LINKED_IN'
2352
										| 'TWITTER'
2353
										| 'GOOGLE_MY_BUSINESS'
2354
										| 'TIKTOK'
2355
										| 'BITLY'
2356
									name?: string
2357
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2358
									userId?: string
2359
									googleRetargetingListId?: string
2360
									facebookCustomAudienceId?: string
2361
									linkedInAudienceId?: string
2362
									twitterAudienceId?: string
2363
									tikTokAudienceId?: string
2364
									urlPath?: string
2365
									engagementSource?:
2366
										| 'FACEBOOK'
2367
										| 'INSTAGRAM'
2368
										| 'GOOGLE_ADWORDS'
2369
										| 'GOOGLE_DISPLAY_NETWORK'
2370
										| 'GOOGLE_ANALYTICS'
2371
										| 'YOUTUBE'
2372
										| 'XING'
2373
										| 'LINKED_IN'
2374
										| 'TWITTER'
2375
										| 'GOOGLE_MY_BUSINESS'
2376
										| 'TIKTOK'
2377
										| 'BITLY'
2378
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2379
									description?: string
2380
									audienceSize?: number
2381
									retentionDays?: number
2382
								}
2383
							}[]
2384
						}
2385
					}
2386
					retargeting?: {
2387
						googleUserLists?: {
2388
							retargetingList?: {
2389
								googleCustomerId?: string
2390
								facebookAccountId?: string
2391
								channel?:
2392
									| 'FACEBOOK'
2393
									| 'INSTAGRAM'
2394
									| 'GOOGLE_ADWORDS'
2395
									| 'GOOGLE_DISPLAY_NETWORK'
2396
									| 'GOOGLE_ANALYTICS'
2397
									| 'YOUTUBE'
2398
									| 'XING'
2399
									| 'LINKED_IN'
2400
									| 'TWITTER'
2401
									| 'GOOGLE_MY_BUSINESS'
2402
									| 'TIKTOK'
2403
									| 'BITLY'
2404
								name?: string
2405
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2406
								userId?: string
2407
								googleRetargetingListId?: string
2408
								facebookCustomAudienceId?: string
2409
								linkedInAudienceId?: string
2410
								twitterAudienceId?: string
2411
								tikTokAudienceId?: string
2412
								urlPath?: string
2413
								engagementSource?:
2414
									| 'FACEBOOK'
2415
									| 'INSTAGRAM'
2416
									| 'GOOGLE_ADWORDS'
2417
									| 'GOOGLE_DISPLAY_NETWORK'
2418
									| 'GOOGLE_ANALYTICS'
2419
									| 'YOUTUBE'
2420
									| 'XING'
2421
									| 'LINKED_IN'
2422
									| 'TWITTER'
2423
									| 'GOOGLE_MY_BUSINESS'
2424
									| 'TIKTOK'
2425
									| 'BITLY'
2426
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2427
								description?: string
2428
								audienceSize?: number
2429
								retentionDays?: number
2430
							}
2431
							bidModifier?: number
2432
							bidModifierType?: 'INCREASE' | 'DECREASE'
2433
						}[]
2434
						facebookCustomAudiences?: {
2435
							retargetingList?: {
2436
								googleCustomerId?: string
2437
								facebookAccountId?: string
2438
								channel?:
2439
									| 'FACEBOOK'
2440
									| 'INSTAGRAM'
2441
									| 'GOOGLE_ADWORDS'
2442
									| 'GOOGLE_DISPLAY_NETWORK'
2443
									| 'GOOGLE_ANALYTICS'
2444
									| 'YOUTUBE'
2445
									| 'XING'
2446
									| 'LINKED_IN'
2447
									| 'TWITTER'
2448
									| 'GOOGLE_MY_BUSINESS'
2449
									| 'TIKTOK'
2450
									| 'BITLY'
2451
								name?: string
2452
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2453
								userId?: string
2454
								googleRetargetingListId?: string
2455
								facebookCustomAudienceId?: string
2456
								linkedInAudienceId?: string
2457
								twitterAudienceId?: string
2458
								tikTokAudienceId?: string
2459
								urlPath?: string
2460
								engagementSource?:
2461
									| 'FACEBOOK'
2462
									| 'INSTAGRAM'
2463
									| 'GOOGLE_ADWORDS'
2464
									| 'GOOGLE_DISPLAY_NETWORK'
2465
									| 'GOOGLE_ANALYTICS'
2466
									| 'YOUTUBE'
2467
									| 'XING'
2468
									| 'LINKED_IN'
2469
									| 'TWITTER'
2470
									| 'GOOGLE_MY_BUSINESS'
2471
									| 'TIKTOK'
2472
									| 'BITLY'
2473
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2474
								description?: string
2475
								audienceSize?: number
2476
								retentionDays?: number
2477
							}
2478
						}[]
2479
						linkedInMatchedAudiences?: {
2480
							retargetingList?: {
2481
								googleCustomerId?: string
2482
								facebookAccountId?: string
2483
								channel?:
2484
									| 'FACEBOOK'
2485
									| 'INSTAGRAM'
2486
									| 'GOOGLE_ADWORDS'
2487
									| 'GOOGLE_DISPLAY_NETWORK'
2488
									| 'GOOGLE_ANALYTICS'
2489
									| 'YOUTUBE'
2490
									| 'XING'
2491
									| 'LINKED_IN'
2492
									| 'TWITTER'
2493
									| 'GOOGLE_MY_BUSINESS'
2494
									| 'TIKTOK'
2495
									| 'BITLY'
2496
								name?: string
2497
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2498
								userId?: string
2499
								googleRetargetingListId?: string
2500
								facebookCustomAudienceId?: string
2501
								linkedInAudienceId?: string
2502
								twitterAudienceId?: string
2503
								tikTokAudienceId?: string
2504
								urlPath?: string
2505
								engagementSource?:
2506
									| 'FACEBOOK'
2507
									| 'INSTAGRAM'
2508
									| 'GOOGLE_ADWORDS'
2509
									| 'GOOGLE_DISPLAY_NETWORK'
2510
									| 'GOOGLE_ANALYTICS'
2511
									| 'YOUTUBE'
2512
									| 'XING'
2513
									| 'LINKED_IN'
2514
									| 'TWITTER'
2515
									| 'GOOGLE_MY_BUSINESS'
2516
									| 'TIKTOK'
2517
									| 'BITLY'
2518
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2519
								description?: string
2520
								audienceSize?: number
2521
								retentionDays?: number
2522
							}
2523
						}[]
2524
						twitterCustomAudiences?: {
2525
							retargetingList?: {
2526
								googleCustomerId?: string
2527
								facebookAccountId?: string
2528
								channel?:
2529
									| 'FACEBOOK'
2530
									| 'INSTAGRAM'
2531
									| 'GOOGLE_ADWORDS'
2532
									| 'GOOGLE_DISPLAY_NETWORK'
2533
									| 'GOOGLE_ANALYTICS'
2534
									| 'YOUTUBE'
2535
									| 'XING'
2536
									| 'LINKED_IN'
2537
									| 'TWITTER'
2538
									| 'GOOGLE_MY_BUSINESS'
2539
									| 'TIKTOK'
2540
									| 'BITLY'
2541
								name?: string
2542
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2543
								userId?: string
2544
								googleRetargetingListId?: string
2545
								facebookCustomAudienceId?: string
2546
								linkedInAudienceId?: string
2547
								twitterAudienceId?: string
2548
								tikTokAudienceId?: string
2549
								urlPath?: string
2550
								engagementSource?:
2551
									| 'FACEBOOK'
2552
									| 'INSTAGRAM'
2553
									| 'GOOGLE_ADWORDS'
2554
									| 'GOOGLE_DISPLAY_NETWORK'
2555
									| 'GOOGLE_ANALYTICS'
2556
									| 'YOUTUBE'
2557
									| 'XING'
2558
									| 'LINKED_IN'
2559
									| 'TWITTER'
2560
									| 'GOOGLE_MY_BUSINESS'
2561
									| 'TIKTOK'
2562
									| 'BITLY'
2563
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2564
								description?: string
2565
								audienceSize?: number
2566
								retentionDays?: number
2567
							}
2568
						}[]
2569
						tikTokAudiences?: {
2570
							retargetingList?: {
2571
								googleCustomerId?: string
2572
								facebookAccountId?: string
2573
								channel?:
2574
									| 'FACEBOOK'
2575
									| 'INSTAGRAM'
2576
									| 'GOOGLE_ADWORDS'
2577
									| 'GOOGLE_DISPLAY_NETWORK'
2578
									| 'GOOGLE_ANALYTICS'
2579
									| 'YOUTUBE'
2580
									| 'XING'
2581
									| 'LINKED_IN'
2582
									| 'TWITTER'
2583
									| 'GOOGLE_MY_BUSINESS'
2584
									| 'TIKTOK'
2585
									| 'BITLY'
2586
								name?: string
2587
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2588
								userId?: string
2589
								googleRetargetingListId?: string
2590
								facebookCustomAudienceId?: string
2591
								linkedInAudienceId?: string
2592
								twitterAudienceId?: string
2593
								tikTokAudienceId?: string
2594
								urlPath?: string
2595
								engagementSource?:
2596
									| 'FACEBOOK'
2597
									| 'INSTAGRAM'
2598
									| 'GOOGLE_ADWORDS'
2599
									| 'GOOGLE_DISPLAY_NETWORK'
2600
									| 'GOOGLE_ANALYTICS'
2601
									| 'YOUTUBE'
2602
									| 'XING'
2603
									| 'LINKED_IN'
2604
									| 'TWITTER'
2605
									| 'GOOGLE_MY_BUSINESS'
2606
									| 'TIKTOK'
2607
									| 'BITLY'
2608
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2609
								description?: string
2610
								audienceSize?: number
2611
								retentionDays?: number
2612
							}
2613
						}[]
2614
					}
2615
					devices?: {
2616
						showOnMobile?: false | true
2617
						showOnTablet?: false | true
2618
						showOnDesktop?: false | true
2619
						mobileBidModifier?: number
2620
						mobileBidModifierType?: 'INCREASE' | 'DECREASE'
2621
						tabletBidModifier?: number
2622
						tabletBidModifierType?: 'INCREASE' | 'DECREASE'
2623
						desktopBidModifier?: number
2624
						desktopBidModifierType?: 'INCREASE' | 'DECREASE'
2625
					}
2626
					extension?: {
2627
						sitelinkExtensions?: {
2628
							feedId?: number
2629
							feedItemId?: number
2630
							assetId?: number
2631
							adwordsCustomerId?: string
2632
							extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
2633
							extensionRunStatus?:
2634
								| 'ADDED_CAMPAIGN'
2635
								| 'ADDED_ADGROUP'
2636
								| 'ADDED_ACCOUNT'
2637
								| 'IS_CAMPAIGN_LINKED'
2638
								| 'IS_ADGROUP_LINKED'
2639
								| 'UNLINKING'
2640
								| 'UNLINKED'
2641
							sitelinkName?: string
2642
							sitelinkUrl?: string
2643
							sitelinkDescription1?: string
2644
							sitelinkDescription2?: string
2645
							finalUrls?: string[]
2646
							finalMobileUrls?: string[]
2647
							sitelinkTrackingUrl?: string
2648
						}[]
2649
						calloutExtensions?: {
2650
							feedId?: number
2651
							feedItemId?: number
2652
							assetId?: number
2653
							adwordsCustomerId?: string
2654
							extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
2655
							extensionRunStatus?:
2656
								| 'ADDED_CAMPAIGN'
2657
								| 'ADDED_ADGROUP'
2658
								| 'ADDED_ACCOUNT'
2659
								| 'IS_CAMPAIGN_LINKED'
2660
								| 'IS_ADGROUP_LINKED'
2661
								| 'UNLINKING'
2662
								| 'UNLINKED'
2663
							calloutText?: string
2664
						}[]
2665
						callExtensions?: {
2666
							feedId?: number
2667
							feedItemId?: number
2668
							assetId?: number
2669
							adwordsCustomerId?: string
2670
							extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
2671
							extensionRunStatus?:
2672
								| 'ADDED_CAMPAIGN'
2673
								| 'ADDED_ADGROUP'
2674
								| 'ADDED_ACCOUNT'
2675
								| 'IS_CAMPAIGN_LINKED'
2676
								| 'IS_ADGROUP_LINKED'
2677
								| 'UNLINKING'
2678
								| 'UNLINKED'
2679
							phoneNumber?: string
2680
							country?: string
2681
						}[]
2682
					}
2683
					adRotationMode?: 'OPTIMIZE' | 'CONVERSION_OPTIMIZE' | 'ROTATE' | 'ROTATE_INDEFINITELY'
2684
					createdFromTargetingTemplateId?: string
2685
				}[]
2686
				twitterTargetingCriterias?: {
2687
					type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
2688
					value?: string
2689
					twitterId?: string
2690
				}[]
2691
				tikTokTargetingCriterias?: {
2692
					id?: string
2693
					name?: string
2694
					type?:
2695
						| 'INTEREST_CATEGORY'
2696
						| 'INTEREST_KEYWORD'
2697
						| 'ACTION_CATEGORY_VIDEO'
2698
						| 'ACTION_CATEGORY_CREATOR'
2699
						| 'HASHTAG'
2700
					children?: {}[]
2701
				}[]
2702
				facebookInterestGroups?: {
2703
					facebookInterests?: {
2704
						id?: string
2705
						type?: string
2706
						name?: string
2707
						audience_size?: number
2708
						children?: {}[]
2709
						path?: string[]
2710
					}[]
2711
				}[]
2712
				facebookInterests?: {
2713
					id?: string
2714
					type?: string
2715
					name?: string
2716
					audience_size?: number
2717
					children?: {}[]
2718
					path?: string[]
2719
				}[]
2720
				facebookAdGroups?: {
2721
					id?: string
2722
					name?: string
2723
					facebookInterests?: {
2724
						id?: string
2725
						type?: string
2726
						name?: string
2727
						audience_size?: number
2728
						children?: {}[]
2729
						path?: string[]
2730
					}[]
2731
					status?:
2732
						| 'COMPLETED'
2733
						| 'IN_REVIEW'
2734
						| 'IS_RUNNING'
2735
						| 'STOP'
2736
						| 'REMOVED'
2737
						| 'DISAPPROVED'
2738
						| 'IS_STOPPING'
2739
					bid?: number
2740
					retargeting?: {
2741
						googleUserLists?: {
2742
							retargetingList?: {
2743
								googleCustomerId?: string
2744
								facebookAccountId?: string
2745
								channel?:
2746
									| 'FACEBOOK'
2747
									| 'INSTAGRAM'
2748
									| 'GOOGLE_ADWORDS'
2749
									| 'GOOGLE_DISPLAY_NETWORK'
2750
									| 'GOOGLE_ANALYTICS'
2751
									| 'YOUTUBE'
2752
									| 'XING'
2753
									| 'LINKED_IN'
2754
									| 'TWITTER'
2755
									| 'GOOGLE_MY_BUSINESS'
2756
									| 'TIKTOK'
2757
									| 'BITLY'
2758
								name?: string
2759
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2760
								userId?: string
2761
								googleRetargetingListId?: string
2762
								facebookCustomAudienceId?: string
2763
								linkedInAudienceId?: string
2764
								twitterAudienceId?: string
2765
								tikTokAudienceId?: string
2766
								urlPath?: string
2767
								engagementSource?:
2768
									| 'FACEBOOK'
2769
									| 'INSTAGRAM'
2770
									| 'GOOGLE_ADWORDS'
2771
									| 'GOOGLE_DISPLAY_NETWORK'
2772
									| 'GOOGLE_ANALYTICS'
2773
									| 'YOUTUBE'
2774
									| 'XING'
2775
									| 'LINKED_IN'
2776
									| 'TWITTER'
2777
									| 'GOOGLE_MY_BUSINESS'
2778
									| 'TIKTOK'
2779
									| 'BITLY'
2780
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2781
								description?: string
2782
								audienceSize?: number
2783
								retentionDays?: number
2784
							}
2785
							bidModifier?: number
2786
							bidModifierType?: 'INCREASE' | 'DECREASE'
2787
						}[]
2788
						facebookCustomAudiences?: {
2789
							retargetingList?: {
2790
								googleCustomerId?: string
2791
								facebookAccountId?: string
2792
								channel?:
2793
									| 'FACEBOOK'
2794
									| 'INSTAGRAM'
2795
									| 'GOOGLE_ADWORDS'
2796
									| 'GOOGLE_DISPLAY_NETWORK'
2797
									| 'GOOGLE_ANALYTICS'
2798
									| 'YOUTUBE'
2799
									| 'XING'
2800
									| 'LINKED_IN'
2801
									| 'TWITTER'
2802
									| 'GOOGLE_MY_BUSINESS'
2803
									| 'TIKTOK'
2804
									| 'BITLY'
2805
								name?: string
2806
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2807
								userId?: string
2808
								googleRetargetingListId?: string
2809
								facebookCustomAudienceId?: string
2810
								linkedInAudienceId?: string
2811
								twitterAudienceId?: string
2812
								tikTokAudienceId?: string
2813
								urlPath?: string
2814
								engagementSource?:
2815
									| 'FACEBOOK'
2816
									| 'INSTAGRAM'
2817
									| 'GOOGLE_ADWORDS'
2818
									| 'GOOGLE_DISPLAY_NETWORK'
2819
									| 'GOOGLE_ANALYTICS'
2820
									| 'YOUTUBE'
2821
									| 'XING'
2822
									| 'LINKED_IN'
2823
									| 'TWITTER'
2824
									| 'GOOGLE_MY_BUSINESS'
2825
									| 'TIKTOK'
2826
									| 'BITLY'
2827
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2828
								description?: string
2829
								audienceSize?: number
2830
								retentionDays?: number
2831
							}
2832
						}[]
2833
						linkedInMatchedAudiences?: {
2834
							retargetingList?: {
2835
								googleCustomerId?: string
2836
								facebookAccountId?: string
2837
								channel?:
2838
									| 'FACEBOOK'
2839
									| 'INSTAGRAM'
2840
									| 'GOOGLE_ADWORDS'
2841
									| 'GOOGLE_DISPLAY_NETWORK'
2842
									| 'GOOGLE_ANALYTICS'
2843
									| 'YOUTUBE'
2844
									| 'XING'
2845
									| 'LINKED_IN'
2846
									| 'TWITTER'
2847
									| 'GOOGLE_MY_BUSINESS'
2848
									| 'TIKTOK'
2849
									| 'BITLY'
2850
								name?: string
2851
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2852
								userId?: string
2853
								googleRetargetingListId?: string
2854
								facebookCustomAudienceId?: string
2855
								linkedInAudienceId?: string
2856
								twitterAudienceId?: string
2857
								tikTokAudienceId?: string
2858
								urlPath?: string
2859
								engagementSource?:
2860
									| 'FACEBOOK'
2861
									| 'INSTAGRAM'
2862
									| 'GOOGLE_ADWORDS'
2863
									| 'GOOGLE_DISPLAY_NETWORK'
2864
									| 'GOOGLE_ANALYTICS'
2865
									| 'YOUTUBE'
2866
									| 'XING'
2867
									| 'LINKED_IN'
2868
									| 'TWITTER'
2869
									| 'GOOGLE_MY_BUSINESS'
2870
									| 'TIKTOK'
2871
									| 'BITLY'
2872
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2873
								description?: string
2874
								audienceSize?: number
2875
								retentionDays?: number
2876
							}
2877
						}[]
2878
						twitterCustomAudiences?: {
2879
							retargetingList?: {
2880
								googleCustomerId?: string
2881
								facebookAccountId?: string
2882
								channel?:
2883
									| 'FACEBOOK'
2884
									| 'INSTAGRAM'
2885
									| 'GOOGLE_ADWORDS'
2886
									| 'GOOGLE_DISPLAY_NETWORK'
2887
									| 'GOOGLE_ANALYTICS'
2888
									| 'YOUTUBE'
2889
									| 'XING'
2890
									| 'LINKED_IN'
2891
									| 'TWITTER'
2892
									| 'GOOGLE_MY_BUSINESS'
2893
									| 'TIKTOK'
2894
									| 'BITLY'
2895
								name?: string
2896
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2897
								userId?: string
2898
								googleRetargetingListId?: string
2899
								facebookCustomAudienceId?: string
2900
								linkedInAudienceId?: string
2901
								twitterAudienceId?: string
2902
								tikTokAudienceId?: string
2903
								urlPath?: string
2904
								engagementSource?:
2905
									| 'FACEBOOK'
2906
									| 'INSTAGRAM'
2907
									| 'GOOGLE_ADWORDS'
2908
									| 'GOOGLE_DISPLAY_NETWORK'
2909
									| 'GOOGLE_ANALYTICS'
2910
									| 'YOUTUBE'
2911
									| 'XING'
2912
									| 'LINKED_IN'
2913
									| 'TWITTER'
2914
									| 'GOOGLE_MY_BUSINESS'
2915
									| 'TIKTOK'
2916
									| 'BITLY'
2917
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2918
								description?: string
2919
								audienceSize?: number
2920
								retentionDays?: number
2921
							}
2922
						}[]
2923
						tikTokAudiences?: {
2924
							retargetingList?: {
2925
								googleCustomerId?: string
2926
								facebookAccountId?: string
2927
								channel?:
2928
									| 'FACEBOOK'
2929
									| 'INSTAGRAM'
2930
									| 'GOOGLE_ADWORDS'
2931
									| 'GOOGLE_DISPLAY_NETWORK'
2932
									| 'GOOGLE_ANALYTICS'
2933
									| 'YOUTUBE'
2934
									| 'XING'
2935
									| 'LINKED_IN'
2936
									| 'TWITTER'
2937
									| 'GOOGLE_MY_BUSINESS'
2938
									| 'TIKTOK'
2939
									| 'BITLY'
2940
								name?: string
2941
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2942
								userId?: string
2943
								googleRetargetingListId?: string
2944
								facebookCustomAudienceId?: string
2945
								linkedInAudienceId?: string
2946
								twitterAudienceId?: string
2947
								tikTokAudienceId?: string
2948
								urlPath?: string
2949
								engagementSource?:
2950
									| 'FACEBOOK'
2951
									| 'INSTAGRAM'
2952
									| 'GOOGLE_ADWORDS'
2953
									| 'GOOGLE_DISPLAY_NETWORK'
2954
									| 'GOOGLE_ANALYTICS'
2955
									| 'YOUTUBE'
2956
									| 'XING'
2957
									| 'LINKED_IN'
2958
									| 'TWITTER'
2959
									| 'GOOGLE_MY_BUSINESS'
2960
									| 'TIKTOK'
2961
									| 'BITLY'
2962
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2963
								description?: string
2964
								audienceSize?: number
2965
								retentionDays?: number
2966
							}
2967
						}[]
2968
					}
2969
					devices?: {
2970
						showOnMobile?: false | true
2971
						showOnTablet?: false | true
2972
						showOnDesktop?: false | true
2973
						mobileBidModifier?: number
2974
						mobileBidModifierType?: 'INCREASE' | 'DECREASE'
2975
						tabletBidModifier?: number
2976
						tabletBidModifierType?: 'INCREASE' | 'DECREASE'
2977
						desktopBidModifier?: number
2978
						desktopBidModifierType?: 'INCREASE' | 'DECREASE'
2979
					}
2980
				}[]
2981
				targetRegions?: {
2982
					type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
2983
					city?: string
2984
					useRadius?: false | true
2985
					radiusInKm?: number
2986
					countryCode?: string
2987
					lat?: number
2988
					lon?: number
2989
					bidModifier?: number
2990
					bidModifierType?: 'INCREASE' | 'DECREASE'
2991
					linkedInUrn?: string
2992
					twitterTargetingValue?: string
2993
					tikTokLocationId?: string
2994
					channel?:
2995
						| 'FACEBOOK'
2996
						| 'INSTAGRAM'
2997
						| 'GOOGLE_ADWORDS'
2998
						| 'GOOGLE_DISPLAY_NETWORK'
2999
						| 'GOOGLE_ANALYTICS'
3000
						| 'YOUTUBE'
3001
						| 'XING'
3002
						| 'LINKED_IN'
3003
						| 'TWITTER'
3004
						| 'GOOGLE_MY_BUSINESS'
3005
						| 'TIKTOK'
3006
						| 'BITLY'
3007
					externalPlaceId?: string
3008
					regionReviewEnabled?: false | true
3009
					regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
3010
				}[]
3011
				targetRegionBehaviour?: {
3012
					interestedInThatRegion?: false | true
3013
					locatedInThatRegion?: false | true
3014
				}
3015
				age?: { value?: number[] }
3016
				yearsOfExperience?: { enabled?: false | true; value?: number[] }
3017
				devices?: {
3018
					showOnMobile?: false | true
3019
					showOnTablet?: false | true
3020
					showOnDesktop?: false | true
3021
					mobileBidModifier?: number
3022
					mobileBidModifierType?: 'INCREASE' | 'DECREASE'
3023
					tabletBidModifier?: number
3024
					tabletBidModifierType?: 'INCREASE' | 'DECREASE'
3025
					desktopBidModifier?: number
3026
					desktopBidModifierType?: 'INCREASE' | 'DECREASE'
3027
				}
3028
				targetExclusion?: {
3029
					facebookInterests?: {
3030
						id?: string
3031
						type?: string
3032
						name?: string
3033
						audience_size?: number
3034
						children?: {}[]
3035
						path?: string[]
3036
					}[]
3037
					linkedInTargetingCriterias?: {
3038
						facetUrn?: string
3039
						urn?: string
3040
						name?: string
3041
						children?: {}[]
3042
						parentUrn?: string
3043
					}[]
3044
					googleKeywords?: {
3045
						name?: string
3046
						competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
3047
						averageMonghtlySearchVolume?: number
3048
						averageCpc?: number
3049
						cpc?: number
3050
						cpm?: number
3051
						link?: string
3052
						status?:
3053
							| 'COMPLETED'
3054
							| 'IN_REVIEW'
3055
							| 'IS_RUNNING'
3056
							| 'STOP'
3057
							| 'REMOVED'
3058
							| 'DISAPPROVED'
3059
							| 'IS_STOPPING'
3060
						bid?: number
3061
						finalUrl?: string
3062
						averageImpressionsPerMonth?: number
3063
					}[]
3064
					targetRegions?: {
3065
						type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
3066
						city?: string
3067
						useRadius?: false | true
3068
						radiusInKm?: number
3069
						countryCode?: string
3070
						lat?: number
3071
						lon?: number
3072
						bidModifier?: number
3073
						bidModifierType?: 'INCREASE' | 'DECREASE'
3074
						linkedInUrn?: string
3075
						twitterTargetingValue?: string
3076
						tikTokLocationId?: string
3077
						channel?:
3078
							| 'FACEBOOK'
3079
							| 'INSTAGRAM'
3080
							| 'GOOGLE_ADWORDS'
3081
							| 'GOOGLE_DISPLAY_NETWORK'
3082
							| 'GOOGLE_ANALYTICS'
3083
							| 'YOUTUBE'
3084
							| 'XING'
3085
							| 'LINKED_IN'
3086
							| 'TWITTER'
3087
							| 'GOOGLE_MY_BUSINESS'
3088
							| 'TIKTOK'
3089
							| 'BITLY'
3090
						externalPlaceId?: string
3091
						regionReviewEnabled?: false | true
3092
						regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
3093
					}[]
3094
					retargeting?: {
3095
						googleUserLists?: {
3096
							retargetingList?: {
3097
								googleCustomerId?: string
3098
								facebookAccountId?: string
3099
								channel?:
3100
									| 'FACEBOOK'
3101
									| 'INSTAGRAM'
3102
									| 'GOOGLE_ADWORDS'
3103
									| 'GOOGLE_DISPLAY_NETWORK'
3104
									| 'GOOGLE_ANALYTICS'
3105
									| 'YOUTUBE'
3106
									| 'XING'
3107
									| 'LINKED_IN'
3108
									| 'TWITTER'
3109
									| 'GOOGLE_MY_BUSINESS'
3110
									| 'TIKTOK'
3111
									| 'BITLY'
3112
								name?: string
3113
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3114
								userId?: string
3115
								googleRetargetingListId?: string
3116
								facebookCustomAudienceId?: string
3117
								linkedInAudienceId?: string
3118
								twitterAudienceId?: string
3119
								tikTokAudienceId?: string
3120
								urlPath?: string
3121
								engagementSource?:
3122
									| 'FACEBOOK'
3123
									| 'INSTAGRAM'
3124
									| 'GOOGLE_ADWORDS'
3125
									| 'GOOGLE_DISPLAY_NETWORK'
3126
									| 'GOOGLE_ANALYTICS'
3127
									| 'YOUTUBE'
3128
									| 'XING'
3129
									| 'LINKED_IN'
3130
									| 'TWITTER'
3131
									| 'GOOGLE_MY_BUSINESS'
3132
									| 'TIKTOK'
3133
									| 'BITLY'
3134
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3135
								description?: string
3136
								audienceSize?: number
3137
								retentionDays?: number
3138
							}
3139
							bidModifier?: number
3140
							bidModifierType?: 'INCREASE' | 'DECREASE'
3141
						}[]
3142
						facebookCustomAudiences?: {
3143
							retargetingList?: {
3144
								googleCustomerId?: string
3145
								facebookAccountId?: string
3146
								channel?:
3147
									| 'FACEBOOK'
3148
									| 'INSTAGRAM'
3149
									| 'GOOGLE_ADWORDS'
3150
									| 'GOOGLE_DISPLAY_NETWORK'
3151
									| 'GOOGLE_ANALYTICS'
3152
									| 'YOUTUBE'
3153
									| 'XING'
3154
									| 'LINKED_IN'
3155
									| 'TWITTER'
3156
									| 'GOOGLE_MY_BUSINESS'
3157
									| 'TIKTOK'
3158
									| 'BITLY'
3159
								name?: string
3160
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3161
								userId?: string
3162
								googleRetargetingListId?: string
3163
								facebookCustomAudienceId?: string
3164
								linkedInAudienceId?: string
3165
								twitterAudienceId?: string
3166
								tikTokAudienceId?: string
3167
								urlPath?: string
3168
								engagementSource?:
3169
									| 'FACEBOOK'
3170
									| 'INSTAGRAM'
3171
									| 'GOOGLE_ADWORDS'
3172
									| 'GOOGLE_DISPLAY_NETWORK'
3173
									| 'GOOGLE_ANALYTICS'
3174
									| 'YOUTUBE'
3175
									| 'XING'
3176
									| 'LINKED_IN'
3177
									| 'TWITTER'
3178
									| 'GOOGLE_MY_BUSINESS'
3179
									| 'TIKTOK'
3180
									| 'BITLY'
3181
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3182
								description?: string
3183
								audienceSize?: number
3184
								retentionDays?: number
3185
							}
3186
						}[]
3187
						linkedInMatchedAudiences?: {
3188
							retargetingList?: {
3189
								googleCustomerId?: string
3190
								facebookAccountId?: string
3191
								channel?:
3192
									| 'FACEBOOK'
3193
									| 'INSTAGRAM'
3194
									| 'GOOGLE_ADWORDS'
3195
									| 'GOOGLE_DISPLAY_NETWORK'
3196
									| 'GOOGLE_ANALYTICS'
3197
									| 'YOUTUBE'
3198
									| 'XING'
3199
									| 'LINKED_IN'
3200
									| 'TWITTER'
3201
									| 'GOOGLE_MY_BUSINESS'
3202
									| 'TIKTOK'
3203
									| 'BITLY'
3204
								name?: string
3205
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3206
								userId?: string
3207
								googleRetargetingListId?: string
3208
								facebookCustomAudienceId?: string
3209
								linkedInAudienceId?: string
3210
								twitterAudienceId?: string
3211
								tikTokAudienceId?: string
3212
								urlPath?: string
3213
								engagementSource?:
3214
									| 'FACEBOOK'
3215
									| 'INSTAGRAM'
3216
									| 'GOOGLE_ADWORDS'
3217
									| 'GOOGLE_DISPLAY_NETWORK'
3218
									| 'GOOGLE_ANALYTICS'
3219
									| 'YOUTUBE'
3220
									| 'XING'
3221
									| 'LINKED_IN'
3222
									| 'TWITTER'
3223
									| 'GOOGLE_MY_BUSINESS'
3224
									| 'TIKTOK'
3225
									| 'BITLY'
3226
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3227
								description?: string
3228
								audienceSize?: number
3229
								retentionDays?: number
3230
							}
3231
						}[]
3232
						twitterCustomAudiences?: {
3233
							retargetingList?: {
3234
								googleCustomerId?: string
3235
								facebookAccountId?: string
3236
								channel?:
3237
									| 'FACEBOOK'
3238
									| 'INSTAGRAM'
3239
									| 'GOOGLE_ADWORDS'
3240
									| 'GOOGLE_DISPLAY_NETWORK'
3241
									| 'GOOGLE_ANALYTICS'
3242
									| 'YOUTUBE'
3243
									| 'XING'
3244
									| 'LINKED_IN'
3245
									| 'TWITTER'
3246
									| 'GOOGLE_MY_BUSINESS'
3247
									| 'TIKTOK'
3248
									| 'BITLY'
3249
								name?: string
3250
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3251
								userId?: string
3252
								googleRetargetingListId?: string
3253
								facebookCustomAudienceId?: string
3254
								linkedInAudienceId?: string
3255
								twitterAudienceId?: string
3256
								tikTokAudienceId?: string
3257
								urlPath?: string
3258
								engagementSource?:
3259
									| 'FACEBOOK'
3260
									| 'INSTAGRAM'
3261
									| 'GOOGLE_ADWORDS'
3262
									| 'GOOGLE_DISPLAY_NETWORK'
3263
									| 'GOOGLE_ANALYTICS'
3264
									| 'YOUTUBE'
3265
									| 'XING'
3266
									| 'LINKED_IN'
3267
									| 'TWITTER'
3268
									| 'GOOGLE_MY_BUSINESS'
3269
									| 'TIKTOK'
3270
									| 'BITLY'
3271
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3272
								description?: string
3273
								audienceSize?: number
3274
								retentionDays?: number
3275
							}
3276
						}[]
3277
						tikTokAudiences?: {
3278
							retargetingList?: {
3279
								googleCustomerId?: string
3280
								facebookAccountId?: string
3281
								channel?:
3282
									| 'FACEBOOK'
3283
									| 'INSTAGRAM'
3284
									| 'GOOGLE_ADWORDS'
3285
									| 'GOOGLE_DISPLAY_NETWORK'
3286
									| 'GOOGLE_ANALYTICS'
3287
									| 'YOUTUBE'
3288
									| 'XING'
3289
									| 'LINKED_IN'
3290
									| 'TWITTER'
3291
									| 'GOOGLE_MY_BUSINESS'
3292
									| 'TIKTOK'
3293
									| 'BITLY'
3294
								name?: string
3295
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3296
								userId?: string
3297
								googleRetargetingListId?: string
3298
								facebookCustomAudienceId?: string
3299
								linkedInAudienceId?: string
3300
								twitterAudienceId?: string
3301
								tikTokAudienceId?: string
3302
								urlPath?: string
3303
								engagementSource?:
3304
									| 'FACEBOOK'
3305
									| 'INSTAGRAM'
3306
									| 'GOOGLE_ADWORDS'
3307
									| 'GOOGLE_DISPLAY_NETWORK'
3308
									| 'GOOGLE_ANALYTICS'
3309
									| 'YOUTUBE'
3310
									| 'XING'
3311
									| 'LINKED_IN'
3312
									| 'TWITTER'
3313
									| 'GOOGLE_MY_BUSINESS'
3314
									| 'TIKTOK'
3315
									| 'BITLY'
3316
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3317
								description?: string
3318
								audienceSize?: number
3319
								retentionDays?: number
3320
							}
3321
						}[]
3322
					}
3323
					linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
3324
					twitterTargetingCriterias?: {
3325
						type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
3326
						value?: string
3327
						twitterId?: string
3328
					}[]
3329
				}
3330
				retargeting?: {
3331
					googleUserLists?: {
3332
						retargetingList?: {
3333
							googleCustomerId?: string
3334
							facebookAccountId?: string
3335
							channel?:
3336
								| 'FACEBOOK'
3337
								| 'INSTAGRAM'
3338
								| 'GOOGLE_ADWORDS'
3339
								| 'GOOGLE_DISPLAY_NETWORK'
3340
								| 'GOOGLE_ANALYTICS'
3341
								| 'YOUTUBE'
3342
								| 'XING'
3343
								| 'LINKED_IN'
3344
								| 'TWITTER'
3345
								| 'GOOGLE_MY_BUSINESS'
3346
								| 'TIKTOK'
3347
								| 'BITLY'
3348
							name?: string
3349
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3350
							userId?: string
3351
							googleRetargetingListId?: string
3352
							facebookCustomAudienceId?: string
3353
							linkedInAudienceId?: string
3354
							twitterAudienceId?: string
3355
							tikTokAudienceId?: string
3356
							urlPath?: string
3357
							engagementSource?:
3358
								| 'FACEBOOK'
3359
								| 'INSTAGRAM'
3360
								| 'GOOGLE_ADWORDS'
3361
								| 'GOOGLE_DISPLAY_NETWORK'
3362
								| 'GOOGLE_ANALYTICS'
3363
								| 'YOUTUBE'
3364
								| 'XING'
3365
								| 'LINKED_IN'
3366
								| 'TWITTER'
3367
								| 'GOOGLE_MY_BUSINESS'
3368
								| 'TIKTOK'
3369
								| 'BITLY'
3370
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3371
							description?: string
3372
							audienceSize?: number
3373
							retentionDays?: number
3374
						}
3375
						bidModifier?: number
3376
						bidModifierType?: 'INCREASE' | 'DECREASE'
3377
					}[]
3378
					facebookCustomAudiences?: {
3379
						retargetingList?: {
3380
							googleCustomerId?: string
3381
							facebookAccountId?: string
3382
							channel?:
3383
								| 'FACEBOOK'
3384
								| 'INSTAGRAM'
3385
								| 'GOOGLE_ADWORDS'
3386
								| 'GOOGLE_DISPLAY_NETWORK'
3387
								| 'GOOGLE_ANALYTICS'
3388
								| 'YOUTUBE'
3389
								| 'XING'
3390
								| 'LINKED_IN'
3391
								| 'TWITTER'
3392
								| 'GOOGLE_MY_BUSINESS'
3393
								| 'TIKTOK'
3394
								| 'BITLY'
3395
							name?: string
3396
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3397
							userId?: string
3398
							googleRetargetingListId?: string
3399
							facebookCustomAudienceId?: string
3400
							linkedInAudienceId?: string
3401
							twitterAudienceId?: string
3402
							tikTokAudienceId?: string
3403
							urlPath?: string
3404
							engagementSource?:
3405
								| 'FACEBOOK'
3406
								| 'INSTAGRAM'
3407
								| 'GOOGLE_ADWORDS'
3408
								| 'GOOGLE_DISPLAY_NETWORK'
3409
								| 'GOOGLE_ANALYTICS'
3410
								| 'YOUTUBE'
3411
								| 'XING'
3412
								| 'LINKED_IN'
3413
								| 'TWITTER'
3414
								| 'GOOGLE_MY_BUSINESS'
3415
								| 'TIKTOK'
3416
								| 'BITLY'
3417
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3418
							description?: string
3419
							audienceSize?: number
3420
							retentionDays?: number
3421
						}
3422
					}[]
3423
					linkedInMatchedAudiences?: {
3424
						retargetingList?: {
3425
							googleCustomerId?: string
3426
							facebookAccountId?: string
3427
							channel?:
3428
								| 'FACEBOOK'
3429
								| 'INSTAGRAM'
3430
								| 'GOOGLE_ADWORDS'
3431
								| 'GOOGLE_DISPLAY_NETWORK'
3432
								| 'GOOGLE_ANALYTICS'
3433
								| 'YOUTUBE'
3434
								| 'XING'
3435
								| 'LINKED_IN'
3436
								| 'TWITTER'
3437
								| 'GOOGLE_MY_BUSINESS'
3438
								| 'TIKTOK'
3439
								| 'BITLY'
3440
							name?: string
3441
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3442
							userId?: string
3443
							googleRetargetingListId?: string
3444
							facebookCustomAudienceId?: string
3445
							linkedInAudienceId?: string
3446
							twitterAudienceId?: string
3447
							tikTokAudienceId?: string
3448
							urlPath?: string
3449
							engagementSource?:
3450
								| 'FACEBOOK'
3451
								| 'INSTAGRAM'
3452
								| 'GOOGLE_ADWORDS'
3453
								| 'GOOGLE_DISPLAY_NETWORK'
3454
								| 'GOOGLE_ANALYTICS'
3455
								| 'YOUTUBE'
3456
								| 'XING'
3457
								| 'LINKED_IN'
3458
								| 'TWITTER'
3459
								| 'GOOGLE_MY_BUSINESS'
3460
								| 'TIKTOK'
3461
								| 'BITLY'
3462
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3463
							description?: string
3464
							audienceSize?: number
3465
							retentionDays?: number
3466
						}
3467
					}[]
3468
					twitterCustomAudiences?: {
3469
						retargetingList?: {
3470
							googleCustomerId?: string
3471
							facebookAccountId?: string
3472
							channel?:
3473
								| 'FACEBOOK'
3474
								| 'INSTAGRAM'
3475
								| 'GOOGLE_ADWORDS'
3476
								| 'GOOGLE_DISPLAY_NETWORK'
3477
								| 'GOOGLE_ANALYTICS'
3478
								| 'YOUTUBE'
3479
								| 'XING'
3480
								| 'LINKED_IN'
3481
								| 'TWITTER'
3482
								| 'GOOGLE_MY_BUSINESS'
3483
								| 'TIKTOK'
3484
								| 'BITLY'
3485
							name?: string
3486
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3487
							userId?: string
3488
							googleRetargetingListId?: string
3489
							facebookCustomAudienceId?: string
3490
							linkedInAudienceId?: string
3491
							twitterAudienceId?: string
3492
							tikTokAudienceId?: string
3493
							urlPath?: string
3494
							engagementSource?:
3495
								| 'FACEBOOK'
3496
								| 'INSTAGRAM'
3497
								| 'GOOGLE_ADWORDS'
3498
								| 'GOOGLE_DISPLAY_NETWORK'
3499
								| 'GOOGLE_ANALYTICS'
3500
								| 'YOUTUBE'
3501
								| 'XING'
3502
								| 'LINKED_IN'
3503
								| 'TWITTER'
3504
								| 'GOOGLE_MY_BUSINESS'
3505
								| 'TIKTOK'
3506
								| 'BITLY'
3507
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3508
							description?: string
3509
							audienceSize?: number
3510
							retentionDays?: number
3511
						}
3512
					}[]
3513
					tikTokAudiences?: {
3514
						retargetingList?: {
3515
							googleCustomerId?: string
3516
							facebookAccountId?: string
3517
							channel?:
3518
								| 'FACEBOOK'
3519
								| 'INSTAGRAM'
3520
								| 'GOOGLE_ADWORDS'
3521
								| 'GOOGLE_DISPLAY_NETWORK'
3522
								| 'GOOGLE_ANALYTICS'
3523
								| 'YOUTUBE'
3524
								| 'XING'
3525
								| 'LINKED_IN'
3526
								| 'TWITTER'
3527
								| 'GOOGLE_MY_BUSINESS'
3528
								| 'TIKTOK'
3529
								| 'BITLY'
3530
							name?: string
3531
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3532
							userId?: string
3533
							googleRetargetingListId?: string
3534
							facebookCustomAudienceId?: string
3535
							linkedInAudienceId?: string
3536
							twitterAudienceId?: string
3537
							tikTokAudienceId?: string
3538
							urlPath?: string
3539
							engagementSource?:
3540
								| 'FACEBOOK'
3541
								| 'INSTAGRAM'
3542
								| 'GOOGLE_ADWORDS'
3543
								| 'GOOGLE_DISPLAY_NETWORK'
3544
								| 'GOOGLE_ANALYTICS'
3545
								| 'YOUTUBE'
3546
								| 'XING'
3547
								| 'LINKED_IN'
3548
								| 'TWITTER'
3549
								| 'GOOGLE_MY_BUSINESS'
3550
								| 'TIKTOK'
3551
								| 'BITLY'
3552
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3553
							description?: string
3554
							audienceSize?: number
3555
							retentionDays?: number
3556
						}
3557
					}[]
3558
				}
3559
				shoppingSettings?: {
3560
					googleMerchantAccount?: { merchantAccountId?: string; name?: string }
3561
					salesCountry?: string
3562
					enableLocal?: false | true
3563
					googleShoppingCampaignType?: 'CLASSIC' | 'SMART'
3564
					productScopeType?: 'NONE' | 'FILTER'
3565
					productScopes?: {
3566
						productDimension?:
3567
							| 'BRAND'
3568
							| 'PRODUCT_NR'
3569
							| 'STATE'
3570
							| 'PRODUCT_TYPE'
3571
							| 'CUSTOM_LABEL_0'
3572
							| 'CUSTOM_LABEL_1'
3573
							| 'CUSTOM_LABEL_2'
3574
							| 'CUSTOM_LABEL_3'
3575
							| 'CUSTOM_LABEL_4'
3576
							| 'CHANNEL'
3577
							| 'CHANNEL_EXCLUSIVE'
3578
						value?: string
3579
					}[]
3580
					facebookProductCatalog?: {
3581
						id?: string
3582
						name?: string
3583
						nbrOfProducts?: number
3584
						nbrOfQualifiedProducts?: number
3585
					}
3586
					facebookDynamicAdsTargetingType?: 'RETARGETING' | 'BROAD'
3587
					facebookProductSet?: {
3588
						id?: string
3589
						name?: string
3590
						nbrOfProducts?: number
3591
					}
3592
					facebookRetargetingIncludedRetentionDays?: number
3593
					facebookRetargetingExcludedRetentionDays?: number
3594
				}
3595
				dynamicSearchSettings?: { domainName?: string; languageCode?: string }
3596
				extension?: {
3597
					sitelinkExtensions?: {
3598
						feedId?: number
3599
						feedItemId?: number
3600
						assetId?: number
3601
						adwordsCustomerId?: string
3602
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
3603
						extensionRunStatus?:
3604
							| 'ADDED_CAMPAIGN'
3605
							| 'ADDED_ADGROUP'
3606
							| 'ADDED_ACCOUNT'
3607
							| 'IS_CAMPAIGN_LINKED'
3608
							| 'IS_ADGROUP_LINKED'
3609
							| 'UNLINKING'
3610
							| 'UNLINKED'
3611
						sitelinkName?: string
3612
						sitelinkUrl?: string
3613
						sitelinkDescription1?: string
3614
						sitelinkDescription2?: string
3615
						finalUrls?: string[]
3616
						finalMobileUrls?: string[]
3617
						sitelinkTrackingUrl?: string
3618
					}[]
3619
					calloutExtensions?: {
3620
						feedId?: number
3621
						feedItemId?: number
3622
						assetId?: number
3623
						adwordsCustomerId?: string
3624
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
3625
						extensionRunStatus?:
3626
							| 'ADDED_CAMPAIGN'
3627
							| 'ADDED_ADGROUP'
3628
							| 'ADDED_ACCOUNT'
3629
							| 'IS_CAMPAIGN_LINKED'
3630
							| 'IS_ADGROUP_LINKED'
3631
							| 'UNLINKING'
3632
							| 'UNLINKED'
3633
						calloutText?: string
3634
					}[]
3635
					callExtensions?: {
3636
						feedId?: number
3637
						feedItemId?: number
3638
						assetId?: number
3639
						adwordsCustomerId?: string
3640
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
3641
						extensionRunStatus?:
3642
							| 'ADDED_CAMPAIGN'
3643
							| 'ADDED_ADGROUP'
3644
							| 'ADDED_ACCOUNT'
3645
							| 'IS_CAMPAIGN_LINKED'
3646
							| 'IS_ADGROUP_LINKED'
3647
							| 'UNLINKING'
3648
							| 'UNLINKED'
3649
						phoneNumber?: string
3650
						country?: string
3651
					}[]
3652
				}
3653
				status?:
3654
					| 'COMPLETED'
3655
					| 'IN_REVIEW'
3656
					| 'IS_RUNNING'
3657
					| 'STOP'
3658
					| 'REMOVED'
3659
					| 'DISAPPROVED'
3660
					| 'IS_STOPPING'
3661
				createdFromTargetingTemplateId?: string
3662
				facebookSpecialAdCategory?:
3663
					| 'NONE'
3664
					| 'CREDIT'
3665
					| 'EMPLOYMENT'
3666
					| 'HOUSING'
3667
					| 'ISSUES_ELECTIONS_POLITICS'
3668
					| 'ONLINE_GAMBLING_AND_GAMING'
3669
				facebookSpecialAdCategoryCountry?: string
3670
			}
3671
			targetName?: string
3672
			channels?:
3673
				| 'FACEBOOK'
3674
				| 'INSTAGRAM'
3675
				| 'GOOGLE_ADWORDS'
3676
				| 'GOOGLE_DISPLAY_NETWORK'
3677
				| 'GOOGLE_ANALYTICS'
3678
				| 'YOUTUBE'
3679
				| 'XING'
3680
				| 'LINKED_IN'
3681
				| 'TWITTER'
3682
				| 'GOOGLE_MY_BUSINESS'
3683
				| 'TIKTOK'
3684
				| 'BITLY'[]
3685
		}[]
3686
		adChannels?: {
3687
			channel?:
3688
				| 'FACEBOOK'
3689
				| 'INSTAGRAM'
3690
				| 'GOOGLE_ADWORDS'
3691
				| 'GOOGLE_DISPLAY_NETWORK'
3692
				| 'GOOGLE_ANALYTICS'
3693
				| 'YOUTUBE'
3694
				| 'XING'
3695
				| 'LINKED_IN'
3696
				| 'TWITTER'
3697
				| 'GOOGLE_MY_BUSINESS'
3698
				| 'TIKTOK'
3699
				| 'BITLY'
3700
			placement?:
3701
				| 'GOOGLE_DISPLAY_NETWORK'
3702
				| 'YOUTUBE'
3703
				| 'GOOGLE_MY_BUSINESS'
3704
				| 'GOOGLE_SEARCH_NETWORK'
3705
				| 'FACEBOOK_TIMELINE'
3706
				| 'FACEBOOK_AUDIENCE_NETWORK'
3707
				| 'INSTAGRAM_TIMELINE'
3708
				| 'GOOGLE_SHOPPING'
3709
				| 'FACEBOOK_MESSENGER'
3710
				| 'LINKEDIN_CONTENT'
3711
				| 'LINKEDIN_TEXT'
3712
				| 'LINKEDIN_INMAIL'
3713
				| 'LINKEDIN_DYNAMIC'
3714
				| 'FACEBOOK_STORIES'
3715
				| 'FACEBOOK_INSTANT_ARTICLES'
3716
				| 'FACEBOOK_RIGHT_HAND_COLUMN'
3717
				| 'FACEBOOK_MARKETPLACE'
3718
				| 'INSTAGRAM_STORIES'
3719
				| 'FACEBOOK_MESSENGER_STORIES'
3720
				| 'FACEBOOK_SEARCH'
3721
				| 'FACEBOOK_INSTREAM_VIDEO'
3722
				| 'FACEBOOK_REELS'
3723
				| 'INSTAGRAM_EXPLORE_HOME'
3724
				| 'INSTAGRAM_PROFILE_FEED'
3725
				| 'INSTAGRAM_PROFILE_REELS'
3726
				| 'LINKEDIN_AUDIENCE_NETWORK'
3727
				| 'TWITTER_ALL'
3728
				| 'TWITTER_PUBLISHER_NETWORK'
3729
				| 'TWITTER_SEARCH'
3730
				| 'TWITTER_TIMELINE'
3731
				| 'TWITTER_PROFILE'
3732
				| 'FACEBOOK_UNKNOWN'
3733
				| 'FACEBOOK_VIDEO_FEED'
3734
				| 'INSTAGRAM_REELS'
3735
				| 'INSTAGRAM_SHOP'
3736
				| 'INSTAGRAM_EXPLORE'
3737
				| 'TIKTOK_FEED'
3738
				| 'META_AUTOMATIC'
3739
			selected?: false | true
3740
		}[]
3741
		nbrOfDays?: number
3742
		totalBudget?: number
3743
		facebookBudget?: number
3744
		instagramBudget?: number
3745
		linkedInBudget?: number
3746
		twitterBudget?: number
3747
		tikTokBudget?: number
3748
		currency?:
3749
			| 'ALL'
3750
			| 'CHF'
3751
			| 'USD'
3752
			| 'EUR'
3753
			| 'AED'
3754
			| 'AFN'
3755
			| 'AMD'
3756
			| 'ANG'
3757
			| 'AOA'
3758
			| 'ARS'
3759
			| 'AUD'
3760
			| 'AWG'
3761
			| 'AZN'
3762
			| 'BAM'
3763
			| 'BBD'
3764
			| 'BDT'
3765
			| 'BGN'
3766
			| 'BHD'
3767
			| 'BIF'
3768
			| 'BMD'
3769
			| 'BND'
3770
			| 'BOB'
3771
			| 'BOV'
3772
			| 'BRL'
3773
			| 'BSD'
3774
			| 'BTN'
3775
			| 'BWP'
3776
			| 'BYN'
3777
			| 'BZD'
3778
			| 'CAD'
3779
			| 'CDF'
3780
			| 'CHE'
3781
			| 'CHW'
3782
			| 'CLF'
3783
			| 'CLP'
3784
			| 'CNY'
3785
			| 'COP'
3786
			| 'COU'
3787
			| 'CRC'
3788
			| 'CUC'
3789
			| 'CUP'
3790
			| 'CVE'
3791
			| 'CZK'
3792
			| 'DJF'
3793
			| 'DKK'
3794
			| 'DOP'
3795
			| 'DZD'
3796
			| 'EGP'
3797
			| 'ERN'
3798
			| 'ETB'
3799
			| 'FJD'
3800
			| 'FKP'
3801
			| 'GBP'
3802
			| 'GEL'
3803
			| 'GHS'
3804
			| 'GIP'
3805
			| 'GMD'
3806
			| 'GNF'
3807
			| 'GTQ'
3808
			| 'GYD'
3809
			| 'HKD'
3810
			| 'HNL'
3811
			| 'HRK'
3812
			| 'HTG'
3813
			| 'HUF'
3814
			| 'IDR'
3815
			| 'ILS'
3816
			| 'INR'
3817
			| 'IQD'
3818
			| 'IRR'
3819
			| 'ISK'
3820
			| 'JMD'
3821
			| 'JOD'
3822
			| 'JPY'
3823
			| 'KES'
3824
			| 'KGS'
3825
			| 'KHR'
3826
			| 'KMF'
3827
			| 'KPW'
3828
			| 'KRW'
3829
			| 'KWD'
3830
			| 'KYD'
3831
			| 'KZT'
3832
			| 'LAK'
3833
			| 'LBP'
3834
			| 'LKR'
3835
			| 'LRD'
3836
			| 'LSL'
3837
			| 'LYD'
3838
			| 'MAD'
3839
			| 'MDL'
3840
			| 'MGA'
3841
			| 'MKD'
3842
			| 'MMK'
3843
			| 'MNT'
3844
			| 'MOP'
3845
			| 'MRU'
3846
			| 'MUR'
3847
			| 'MVR'
3848
			| 'MWK'
3849
			| 'MXN'
3850
			| 'MXV'
3851
			| 'MYR'
3852
			| 'MZN'
3853
			| 'NAD'
3854
			| 'NGN'
3855
			| 'NIO'
3856
			| 'NOK'
3857
			| 'NPR'
3858
			| 'NZD'
3859
			| 'OMR'
3860
			| 'PAB'
3861
			| 'PEN'
3862
			| 'PGK'
3863
			| 'PHP'
3864
			| 'PKR'
3865
			| 'PLN'
3866
			| 'PYG'
3867
			| 'QAR'
3868
			| 'RON'
3869
			| 'RSD'
3870
			| 'RUB'
3871
			| 'RWF'
3872
			| 'SAR'
3873
			| 'SBD'
3874
			| 'SCR'
3875
			| 'SDG'
3876
			| 'SEK'
3877
			| 'SGD'
3878
			| 'SHP'
3879
			| 'SLL'
3880
			| 'SOS'
3881
			| 'SRD'
3882
			| 'SSP'
3883
			| 'STN'
3884
			| 'SVC'
3885
			| 'SYP'
3886
			| 'SZL'
3887
			| 'THB'
3888
			| 'TJS'
3889
			| 'TMT'
3890
			| 'TND'
3891
			| 'TOP'
3892
			| 'TRY'
3893
			| 'TTD'
3894
			| 'TWD'
3895
			| 'TZS'
3896
			| 'UAH'
3897
			| 'UGX'
3898
			| 'UYI'
3899
			| 'UYU'
3900
			| 'UYW'
3901
			| 'UZS'
3902
			| 'VES'
3903
			| 'VND'
3904
			| 'VUV'
3905
			| 'WST'
3906
			| 'XAF'
3907
			| 'XCD'
3908
			| 'XOF'
3909
			| 'XPF'
3910
			| 'XSU'
3911
			| 'YER'
3912
			| 'ZAR'
3913
			| 'ZMW'
3914
			| 'ZWL'
3915
		promotionType?:
3916
			| 'RETARGETING'
3917
			| 'TRAFFIC'
3918
			| 'CONVERSIONS'
3919
			| 'SHOPPING'
3920
			| 'CARS'
3921
			| 'REAL_ESTATE'
3922
			| 'JOBS'
3923
			| 'EVENTS'
3924
			| 'APP'
3925
			| 'ENGAGEMENT'
3926
			| 'VIDEO_VIEWS'
3927
			| 'CALLS'
3928
			| 'REACH'
3929
			| 'FOLLOWERS'
3930
			| 'PROFILE_VIEWS'
3931
			| 'LEADS'
3932
			| 'PERFORMANCE_MAX'
3933
		campaignName?: string
3934
		adName?: string
3935
		createdFromAdTemplateId?: string
3936
		createdFromPostTemplateId?: string
3937
		createdFromPostGenerationId?: string
3938
		remark?: string
3939
		postTargeting?: {
3940
			linkedInLanguageTargeting?: false | true
3941
			selectedLinkedInLanguages?:
3942
				| 'ALL'
3943
				| 'DE'
3944
				| 'FR'
3945
				| 'EN'
3946
				| 'IT'
3947
				| 'ES'
3948
				| 'PT'
3949
				| 'NL'
3950
				| 'SV'
3951
				| 'RO'
3952
				| 'CS'
3953
				| 'EL'
3954
				| 'TR'
3955
				| 'PL'
3956
				| 'DA'
3957
				| 'EU'
3958
				| 'CY'
3959
				| 'CA'
3960
				| 'HU'
3961
				| 'SK'
3962
				| 'SL'
3963
				| 'SQ'
3964
				| 'HY'
3965
				| 'BS'
3966
				| 'BG'
3967
				| 'HR'
3968
				| 'UK'
3969
				| 'NO'
3970
				| 'FI'[]
3971
			linkedInRegionTargeting?: false | true
3972
			selectedLinkedInRegions?: { id?: string; name?: string }[]
3973
			facebookRegionTargeting?: false | true
3974
			selectedFacebookCountries?: { id?: string; name?: string }[]
3975
			facebookLocaleTargeting?: false | true
3976
			selectedFacebookLocales?: { id?: string; name?: string }[]
3977
		}
3978
		location?: {
3979
			id?: string
3980
			name?: string
3981
			type?: 'CITY' | 'COUNTRY' | 'PAGE'
3982
		}
3983
		activationErrorMessage?: string
3984
		activationErrorChannel?:
3985
			| 'FACEBOOK'
3986
			| 'INSTAGRAM'
3987
			| 'GOOGLE_ADWORDS'
3988
			| 'GOOGLE_DISPLAY_NETWORK'
3989
			| 'GOOGLE_ANALYTICS'
3990
			| 'YOUTUBE'
3991
			| 'XING'
3992
			| 'LINKED_IN'
3993
			| 'TWITTER'
3994
			| 'GOOGLE_MY_BUSINESS'
3995
			| 'TIKTOK'
3996
			| 'BITLY'
3997
		facebookBudgetOptimization?: 'CAMPAIGN_BUDGET_OPTIMIZATION' | 'ADSET_BUDGET_OPTIMIZATION'
3998
		facebookTrafficOptimization?: 'LINK_CLICKS' | 'LANDING_PAGE_VIEWS'
3999
		facebookInstagramAdMode?: 'SEPARATE_ADGROUPS' | 'SAME_ADGROUP'
4000
		linkedInBidType?: 'AUTOMATIC' | 'MANUAL'
4001
		linkedInBiddingOptimization?:
4002
			| 'MAXIMIZE_CLICKS'
4003
			| 'MAXIMIZE_IMPRESSIONS'
4004
			| 'MAXIMIZE_CONVERSIONS'
4005
			| 'MAXIMIZE_LEADS'
4006
		linkedInCostType?: 'CPC' | 'CPM'
4007
		linkedInMaxBid?: number
4008
		firstComment?: string
4009
		promotionStartDate?: string
4010
		promotionEndDate?: string
4011
		importOrigin?:
4012
			| 'FACEBOOK'
4013
			| 'INSTAGRAM'
4014
			| 'GOOGLE_ADWORDS'
4015
			| 'GOOGLE_DISPLAY_NETWORK'
4016
			| 'GOOGLE_ANALYTICS'
4017
			| 'YOUTUBE'
4018
			| 'XING'
4019
			| 'LINKED_IN'
4020
			| 'TWITTER'
4021
			| 'GOOGLE_MY_BUSINESS'
4022
			| 'TIKTOK'
4023
			| 'BITLY'
4024
		sendNotificationOnPublication?: false | true
4025
		externalPlatformDataSynchronizedAt?: string
4026
		externalId?: string
4027
	}
4028
) {
4029
	const url = new URL(`https://app.adhook.io/v1/posts`)
4030

4031
	const response = await fetch(url, {
4032
		method: 'POST',
4033
		headers: {
4034
			adhookToken: adhookToken,
4035
			Authorization: `Bearer ${auth.token}`,
4036
			Origin: Origin,
4037
			'Content-Type': 'application/json'
4038
		},
4039
		body: JSON.stringify(body)
4040
	})
4041

4042
	if (!response.ok) {
4043
		const text = await response.text()
4044
		throw new Error(`${response.status} ${text}`)
4045
	}
4046

4047
	return await response.json()
4048
}
4049