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

Creates post

Created by hugo697 56 days ago Viewed 5067 times
0
Submitted by hugo697 Bun
Verified 56 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'