0
Update post by external id
One script reply has been approved by the moderators Verified

Creates or Updates a post by externalId

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

6
export async function main(
7
	auth: Adhook,
8
	externalId: string,
9
	adhookToken: string,
10
	Origin: string,
11
	body: {
12
		id?: string
13
		name?: string
14
		createdByUserId?: string
15
		createdByUserEmail?: string
16
		assigneeUserId?: string
17
		assigneeUserEmail?: string
18
		translationUserId?: string
19
		translationUserEmail?: string
20
		translationStatus?: 'IN_PROGRESS' | 'COMPLETED'
21
		translationDate?: string
22
		deliverContentTillDate?: string
23
		reviewTillDate?: string
24
		type?:
25
			| 'PERSONAL_POST'
26
			| 'PAGE_POST'
27
			| 'STORY'
28
			| 'REELS'
29
			| 'SHORTS'
30
			| 'LINK_CAROUSEL'
31
			| 'DOCUMENT'
32
			| 'POLL'
33
		tenantId?: string
34
		subtenantId?: string
35
		status?:
36
			| 'CREATED'
37
			| 'READY'
38
			| 'PLANNED'
39
			| 'PUBLISHED'
40
			| 'IN_REVIEW'
41
			| 'ACTIVATING'
42
			| 'MANUALLY_ACTIVATING'
43
			| 'ERROR'
44
			| 'DELETED'
45
			| 'CHECK_REVIEW_FEEDBACK'
46
			| 'IMPORTING'
47
		tags?: {
48
			id?: string
49
			userId?: string
50
			tenantId?: string
51
			subtenantId?: string
52
			text?: string
53
			color?: string
54
		}[]
55
		topics?: { id?: string; name?: string }[]
56
		createdAt?: string
57
		updatedAt?: string
58
		publishAt?: string
59
		schedule?: 'PUBLISH_AS_SOON_AS_POSSIBLE' | 'PLANNED_POST_PUBLISH'
60
		publishedAt?: string
61
		individualSchedulePerPlatform?: false | true
62
		processTaskAssigneeUserId?: string
63
		processTaskAssigneeUserIds?: string[]
64
		processReviewMessage?: string
65
		processReviewFeedback?: string
66
		processReviewFeedbackAnswer?: string
67
		channels?: {
68
			channel?:
69
				| 'FACEBOOK'
70
				| 'INSTAGRAM'
71
				| 'GOOGLE_ADWORDS'
72
				| 'GOOGLE_DISPLAY_NETWORK'
73
				| 'GOOGLE_ANALYTICS'
74
				| 'YOUTUBE'
75
				| 'XING'
76
				| 'LINKED_IN'
77
				| 'TWITTER'
78
				| 'GOOGLE_MY_BUSINESS'
79
				| 'TIKTOK'
80
				| 'BITLY'
81
			page?: {
82
				pictureUrl?: string
83
				name?: string
84
				id?: string
85
				search?: string
86
			}
87
			selected?: false | true
88
			accountId?: string
89
			type?:
90
				| 'PERSONAL_POST'
91
				| 'PAGE_POST'
92
				| 'STORY'
93
				| 'REELS'
94
				| 'SHORTS'
95
				| 'LINK_CAROUSEL'
96
				| 'DOCUMENT'
97
				| 'POLL'
98
			shareToFeed?: false | true
99
			collaborators?: { username?: string }[]
100
			poll?: {
101
				question?: string
102
				settings?: {
103
					voteSelectionType?: 'SINGLE_VOTE' | 'MULTIPLE_VOTE'
104
					duration?: 'ONE_DAY' | 'THREE_DAYS' | 'SEVEN_DAYS' | 'FOURTEEN_DAYS'
105
					voterVisibleToAuthor?: false | true
106
				}
107
				options?: {
108
					text?: string
109
					voteCount?: number
110
					votedByViewer?: false | true
111
				}[]
112
				uniqueVotersCount?: number
113
			}
114
			message?: string
115
			mentions?: {
116
				type?: 'PERSON' | 'ORGANIZATION'
117
				externalId?: string
118
				name?: string
119
			}[]
120
			images?: {
121
				thumbnailUrl?: string
122
				url?: string
123
				croppedUrl?: string
124
				croppedImageSize?: number
125
				croppedWidth?: number
126
				croppedHeight?: number
127
				facebookImageUrl?: string
128
				tikTokImageId?: string
129
				tags?: { x?: number; y?: number; name?: string }[]
130
				productTags?: {
131
					x?: number
132
					y?: number
133
					productId?: string
134
					productName?: string
135
				}[]
136
				link?: string
137
				linkTitle?: string
138
				linkDescription?: string
139
				order?: number
140
			}[]
141
			videos?: {
142
				url?: string
143
				size?: number
144
				fileExtension?: string
145
				facebookVideoId?: string
146
				tikTokVideoId?: string
147
				width?: number
148
				height?: number
149
				thumbnailImage?: {
150
					thumbnailUrl?: string
151
					url?: string
152
					croppedUrl?: string
153
					croppedImageSize?: number
154
					croppedWidth?: number
155
					croppedHeight?: number
156
					facebookImageUrl?: string
157
					tikTokImageId?: string
158
					tags?: { x?: number; y?: number; name?: string }[]
159
					productTags?: {
160
						x?: number
161
						y?: number
162
						productId?: string
163
						productName?: string
164
					}[]
165
					link?: string
166
					linkTitle?: string
167
					linkDescription?: string
168
					order?: number
169
				}
170
				thumbnailTimePosition?: number
171
				cutStartTimePosition?: number
172
				cutEndTimePosition?: number
173
				cutUrl?: string
174
				mediaStatus?: 'READY' | 'DELETED' | 'PROCESSING'
175
				mediaVideoId?: string
176
				title?: string
177
				order?: number
178
				fileName?: string
179
				productTags?: {
180
					x?: number
181
					y?: number
182
					productId?: string
183
					productName?: string
184
				}[]
185
			}[]
186
			document?: {
187
				url?: string
188
				fileType?: string
189
				title?: string
190
				size?: number
191
				nbrOfPreviewPages?: number
192
			}
193
			showLinkPreview?: false | true
194
			link?: string
195
			shortenLink?: false | true
196
			shortenedLink?: string
197
			linkTitle?: string
198
			linkDescription?: string
199
			linkCallToAction?:
200
				| 'APPLY_NOW'
201
				| 'BOOK_NOW'
202
				| 'CONTACT_US'
203
				| 'DOWNLOAD'
204
				| 'MORE_OF_THIS'
205
				| 'SHOP_NOW'
206
				| 'ORDER_NOW'
207
				| 'REGISTER'
208
				| 'WATCH_MORE'
209
				| 'NO_BUTTON'
210
				| 'CALL_NOW'
211
				| 'SUBSCRIBE'
212
				| 'GET_QUOTE'
213
				| 'GET_OFFER'
214
				| 'LEARN_MORE'
215
				| 'SIGN_UP'
216
				| 'JOIN'
217
				| 'ATTEND'
218
				| 'REQUEST_DEMO'
219
				| 'LISTEN_NOW'
220
				| 'GET_SHOWTIMES'
221
				| 'UNLOCK_FULL_DOCUMENT'
222
			generatedLinkPreview?: {
223
				link?: string
224
				title?: string
225
				description?: string
226
				imageUrl?: string
227
			}
228
			addLinkToBio?: false | true
229
			publishManually?: false | true
230
			firstComment?: string
231
			customLinkParams?: string
232
			publishAt?: string
233
		}[]
234
		messagePerChannel?: false | true
235
		message?: string
236
		utmTracking?: {
237
			utmSource?: string
238
			utmMedium?: string
239
			utmCampaign?: string
240
			utmTerm?: string
241
			utmContent?: string
242
			customParams?: string
243
		}
244
		images?: {
245
			thumbnailUrl?: string
246
			url?: string
247
			croppedUrl?: string
248
			croppedImageSize?: number
249
			croppedWidth?: number
250
			croppedHeight?: number
251
			facebookImageUrl?: string
252
			tikTokImageId?: string
253
			tags?: { x?: number; y?: number; name?: string }[]
254
			productTags?: {
255
				x?: number
256
				y?: number
257
				productId?: string
258
				productName?: string
259
			}[]
260
			link?: string
261
			linkTitle?: string
262
			linkDescription?: string
263
			order?: number
264
		}[]
265
		videos?: {
266
			url?: string
267
			size?: number
268
			fileExtension?: string
269
			facebookVideoId?: string
270
			tikTokVideoId?: string
271
			width?: number
272
			height?: number
273
			thumbnailImage?: {
274
				thumbnailUrl?: string
275
				url?: string
276
				croppedUrl?: string
277
				croppedImageSize?: number
278
				croppedWidth?: number
279
				croppedHeight?: number
280
				facebookImageUrl?: string
281
				tikTokImageId?: string
282
				tags?: { x?: number; y?: number; name?: string }[]
283
				productTags?: {
284
					x?: number
285
					y?: number
286
					productId?: string
287
					productName?: string
288
				}[]
289
				link?: string
290
				linkTitle?: string
291
				linkDescription?: string
292
				order?: number
293
			}
294
			thumbnailTimePosition?: number
295
			cutStartTimePosition?: number
296
			cutEndTimePosition?: number
297
			cutUrl?: string
298
			mediaStatus?: 'READY' | 'DELETED' | 'PROCESSING'
299
			mediaVideoId?: string
300
			title?: string
301
			order?: number
302
			fileName?: string
303
			productTags?: {
304
				x?: number
305
				y?: number
306
				productId?: string
307
				productName?: string
308
			}[]
309
		}[]
310
		document?: {
311
			url?: string
312
			fileType?: string
313
			title?: string
314
			size?: number
315
			nbrOfPreviewPages?: number
316
		}
317
		showLinkPreview?: false | true
318
		link?: string
319
		shortenLink?: false | true
320
		shortenedLink?: string
321
		linkTitle?: string
322
		linkDescription?: string
323
		linkCallToAction?:
324
			| 'APPLY_NOW'
325
			| 'BOOK_NOW'
326
			| 'CONTACT_US'
327
			| 'DOWNLOAD'
328
			| 'MORE_OF_THIS'
329
			| 'SHOP_NOW'
330
			| 'ORDER_NOW'
331
			| 'REGISTER'
332
			| 'WATCH_MORE'
333
			| 'NO_BUTTON'
334
			| 'CALL_NOW'
335
			| 'SUBSCRIBE'
336
			| 'GET_QUOTE'
337
			| 'GET_OFFER'
338
			| 'LEARN_MORE'
339
			| 'SIGN_UP'
340
			| 'JOIN'
341
			| 'ATTEND'
342
			| 'REQUEST_DEMO'
343
			| 'LISTEN_NOW'
344
			| 'GET_SHOWTIMES'
345
			| 'UNLOCK_FULL_DOCUMENT'
346
		generatedLinkPreview?: {
347
			link?: string
348
			title?: string
349
			description?: string
350
			imageUrl?: string
351
		}
352
		addLinkToBio?: false | true
353
		promotePost?: false | true
354
		selectedMetaPromotion?: { id?: string; name?: string }
355
		selectedTikTokPromotion?: { id?: string; name?: string }
356
		selectedTargetingTemplateId?: string
357
		modifiedTarget?: {
358
			id?: string
359
			name?: string
360
			namingTemplateElementValues?: { elementId?: string; value?: string }[]
361
			gender?: 'ALL' | 'MALE' | 'FEMALE'
362
			language?:
363
				| 'ALL'
364
				| 'DE'
365
				| 'FR'
366
				| 'EN'
367
				| 'IT'
368
				| 'ES'
369
				| 'PT'
370
				| 'NL'
371
				| 'SV'
372
				| 'RO'
373
				| 'CS'
374
				| 'EL'
375
				| 'TR'
376
				| 'PL'
377
				| 'DA'
378
				| 'EU'
379
				| 'CY'
380
				| 'CA'
381
				| 'HU'
382
				| 'SK'
383
				| 'SL'
384
				| 'SQ'
385
				| 'HY'
386
				| 'BS'
387
				| 'BG'
388
				| 'HR'
389
				| 'UK'
390
				| 'NO'
391
				| 'FI'
392
			additionalLanguages?:
393
				| 'ALL'
394
				| 'DE'
395
				| 'FR'
396
				| 'EN'
397
				| 'IT'
398
				| 'ES'
399
				| 'PT'
400
				| 'NL'
401
				| 'SV'
402
				| 'RO'
403
				| 'CS'
404
				| 'EL'
405
				| 'TR'
406
				| 'PL'
407
				| 'DA'
408
				| 'EU'
409
				| 'CY'
410
				| 'CA'
411
				| 'HU'
412
				| 'SK'
413
				| 'SL'
414
				| 'SQ'
415
				| 'HY'
416
				| 'BS'
417
				| 'BG'
418
				| 'HR'
419
				| 'UK'
420
				| 'NO'
421
				| 'FI'[]
422
			linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
423
			linkedInTargetingCriterias?: {
424
				facetUrn?: string
425
				urn?: string
426
				name?: string
427
				children?: {}[]
428
				parentUrn?: string
429
			}[]
430
			linkedInTargetingCriteriaGroups?: {
431
				linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
432
				linkedInTargetingCriterias?: {
433
					facetUrn?: string
434
					urn?: string
435
					name?: string
436
					children?: {}[]
437
					parentUrn?: string
438
				}[]
439
			}[]
440
			googleAdGroups?: {
441
				id?: string
442
				name?: string
443
				type?: 'STANDARD' | 'DYNAMIC'
444
				googleKeywords?: {
445
					name?: string
446
					competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
447
					averageMonghtlySearchVolume?: number
448
					averageCpc?: number
449
					cpc?: number
450
					cpm?: number
451
					link?: string
452
					status?:
453
						| 'COMPLETED'
454
						| 'IN_REVIEW'
455
						| 'IS_RUNNING'
456
						| 'STOP'
457
						| 'REMOVED'
458
						| 'DISAPPROVED'
459
						| 'IS_STOPPING'
460
					bid?: number
461
					finalUrl?: string
462
					averageImpressionsPerMonth?: number
463
				}[]
464
				status?:
465
					| 'COMPLETED'
466
					| 'IN_REVIEW'
467
					| 'IS_RUNNING'
468
					| 'STOP'
469
					| 'REMOVED'
470
					| 'DISAPPROVED'
471
					| 'IS_STOPPING'
472
				bid?: number
473
				targetCpa?: number
474
				targetReturnOnAdSpendPercentage?: number
475
				trackingUrlTemplate?: string
476
				customParameters?: { key?: string; value?: string }[]
477
				adGroupExclusion?: {
478
					googleKeywords?: {
479
						name?: string
480
						competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
481
						averageMonghtlySearchVolume?: number
482
						averageCpc?: number
483
						cpc?: number
484
						cpm?: number
485
						link?: string
486
						status?:
487
							| 'COMPLETED'
488
							| 'IN_REVIEW'
489
							| 'IS_RUNNING'
490
							| 'STOP'
491
							| 'REMOVED'
492
							| 'DISAPPROVED'
493
							| 'IS_STOPPING'
494
						bid?: number
495
						finalUrl?: string
496
						averageImpressionsPerMonth?: number
497
					}[]
498
					retargeting?: {
499
						googleUserLists?: {
500
							retargetingList?: {
501
								googleCustomerId?: string
502
								facebookAccountId?: string
503
								channel?:
504
									| 'FACEBOOK'
505
									| 'INSTAGRAM'
506
									| 'GOOGLE_ADWORDS'
507
									| 'GOOGLE_DISPLAY_NETWORK'
508
									| 'GOOGLE_ANALYTICS'
509
									| 'YOUTUBE'
510
									| 'XING'
511
									| 'LINKED_IN'
512
									| 'TWITTER'
513
									| 'GOOGLE_MY_BUSINESS'
514
									| 'TIKTOK'
515
									| 'BITLY'
516
								name?: string
517
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
518
								userId?: string
519
								googleRetargetingListId?: string
520
								facebookCustomAudienceId?: string
521
								linkedInAudienceId?: string
522
								twitterAudienceId?: string
523
								tikTokAudienceId?: string
524
								urlPath?: string
525
								engagementSource?:
526
									| 'FACEBOOK'
527
									| 'INSTAGRAM'
528
									| 'GOOGLE_ADWORDS'
529
									| 'GOOGLE_DISPLAY_NETWORK'
530
									| 'GOOGLE_ANALYTICS'
531
									| 'YOUTUBE'
532
									| 'XING'
533
									| 'LINKED_IN'
534
									| 'TWITTER'
535
									| 'GOOGLE_MY_BUSINESS'
536
									| 'TIKTOK'
537
									| 'BITLY'
538
								engagementType?: 'ENGAGED' | 'FOLLOWER'
539
								description?: string
540
								audienceSize?: number
541
								retentionDays?: number
542
							}
543
							bidModifier?: number
544
							bidModifierType?: 'INCREASE' | 'DECREASE'
545
						}[]
546
						facebookCustomAudiences?: {
547
							retargetingList?: {
548
								googleCustomerId?: string
549
								facebookAccountId?: string
550
								channel?:
551
									| 'FACEBOOK'
552
									| 'INSTAGRAM'
553
									| 'GOOGLE_ADWORDS'
554
									| 'GOOGLE_DISPLAY_NETWORK'
555
									| 'GOOGLE_ANALYTICS'
556
									| 'YOUTUBE'
557
									| 'XING'
558
									| 'LINKED_IN'
559
									| 'TWITTER'
560
									| 'GOOGLE_MY_BUSINESS'
561
									| 'TIKTOK'
562
									| 'BITLY'
563
								name?: string
564
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
565
								userId?: string
566
								googleRetargetingListId?: string
567
								facebookCustomAudienceId?: string
568
								linkedInAudienceId?: string
569
								twitterAudienceId?: string
570
								tikTokAudienceId?: string
571
								urlPath?: string
572
								engagementSource?:
573
									| 'FACEBOOK'
574
									| 'INSTAGRAM'
575
									| 'GOOGLE_ADWORDS'
576
									| 'GOOGLE_DISPLAY_NETWORK'
577
									| 'GOOGLE_ANALYTICS'
578
									| 'YOUTUBE'
579
									| 'XING'
580
									| 'LINKED_IN'
581
									| 'TWITTER'
582
									| 'GOOGLE_MY_BUSINESS'
583
									| 'TIKTOK'
584
									| 'BITLY'
585
								engagementType?: 'ENGAGED' | 'FOLLOWER'
586
								description?: string
587
								audienceSize?: number
588
								retentionDays?: number
589
							}
590
						}[]
591
						linkedInMatchedAudiences?: {
592
							retargetingList?: {
593
								googleCustomerId?: string
594
								facebookAccountId?: string
595
								channel?:
596
									| 'FACEBOOK'
597
									| 'INSTAGRAM'
598
									| 'GOOGLE_ADWORDS'
599
									| 'GOOGLE_DISPLAY_NETWORK'
600
									| 'GOOGLE_ANALYTICS'
601
									| 'YOUTUBE'
602
									| 'XING'
603
									| 'LINKED_IN'
604
									| 'TWITTER'
605
									| 'GOOGLE_MY_BUSINESS'
606
									| 'TIKTOK'
607
									| 'BITLY'
608
								name?: string
609
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
610
								userId?: string
611
								googleRetargetingListId?: string
612
								facebookCustomAudienceId?: string
613
								linkedInAudienceId?: string
614
								twitterAudienceId?: string
615
								tikTokAudienceId?: string
616
								urlPath?: string
617
								engagementSource?:
618
									| 'FACEBOOK'
619
									| 'INSTAGRAM'
620
									| 'GOOGLE_ADWORDS'
621
									| 'GOOGLE_DISPLAY_NETWORK'
622
									| 'GOOGLE_ANALYTICS'
623
									| 'YOUTUBE'
624
									| 'XING'
625
									| 'LINKED_IN'
626
									| 'TWITTER'
627
									| 'GOOGLE_MY_BUSINESS'
628
									| 'TIKTOK'
629
									| 'BITLY'
630
								engagementType?: 'ENGAGED' | 'FOLLOWER'
631
								description?: string
632
								audienceSize?: number
633
								retentionDays?: number
634
							}
635
						}[]
636
						twitterCustomAudiences?: {
637
							retargetingList?: {
638
								googleCustomerId?: string
639
								facebookAccountId?: string
640
								channel?:
641
									| 'FACEBOOK'
642
									| 'INSTAGRAM'
643
									| 'GOOGLE_ADWORDS'
644
									| 'GOOGLE_DISPLAY_NETWORK'
645
									| 'GOOGLE_ANALYTICS'
646
									| 'YOUTUBE'
647
									| 'XING'
648
									| 'LINKED_IN'
649
									| 'TWITTER'
650
									| 'GOOGLE_MY_BUSINESS'
651
									| 'TIKTOK'
652
									| 'BITLY'
653
								name?: string
654
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
655
								userId?: string
656
								googleRetargetingListId?: string
657
								facebookCustomAudienceId?: string
658
								linkedInAudienceId?: string
659
								twitterAudienceId?: string
660
								tikTokAudienceId?: string
661
								urlPath?: string
662
								engagementSource?:
663
									| 'FACEBOOK'
664
									| 'INSTAGRAM'
665
									| 'GOOGLE_ADWORDS'
666
									| 'GOOGLE_DISPLAY_NETWORK'
667
									| 'GOOGLE_ANALYTICS'
668
									| 'YOUTUBE'
669
									| 'XING'
670
									| 'LINKED_IN'
671
									| 'TWITTER'
672
									| 'GOOGLE_MY_BUSINESS'
673
									| 'TIKTOK'
674
									| 'BITLY'
675
								engagementType?: 'ENGAGED' | 'FOLLOWER'
676
								description?: string
677
								audienceSize?: number
678
								retentionDays?: number
679
							}
680
						}[]
681
						tikTokAudiences?: {
682
							retargetingList?: {
683
								googleCustomerId?: string
684
								facebookAccountId?: string
685
								channel?:
686
									| 'FACEBOOK'
687
									| 'INSTAGRAM'
688
									| 'GOOGLE_ADWORDS'
689
									| 'GOOGLE_DISPLAY_NETWORK'
690
									| 'GOOGLE_ANALYTICS'
691
									| 'YOUTUBE'
692
									| 'XING'
693
									| 'LINKED_IN'
694
									| 'TWITTER'
695
									| 'GOOGLE_MY_BUSINESS'
696
									| 'TIKTOK'
697
									| 'BITLY'
698
								name?: string
699
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
700
								userId?: string
701
								googleRetargetingListId?: string
702
								facebookCustomAudienceId?: string
703
								linkedInAudienceId?: string
704
								twitterAudienceId?: string
705
								tikTokAudienceId?: string
706
								urlPath?: string
707
								engagementSource?:
708
									| 'FACEBOOK'
709
									| 'INSTAGRAM'
710
									| 'GOOGLE_ADWORDS'
711
									| 'GOOGLE_DISPLAY_NETWORK'
712
									| 'GOOGLE_ANALYTICS'
713
									| 'YOUTUBE'
714
									| 'XING'
715
									| 'LINKED_IN'
716
									| 'TWITTER'
717
									| 'GOOGLE_MY_BUSINESS'
718
									| 'TIKTOK'
719
									| 'BITLY'
720
								engagementType?: 'ENGAGED' | 'FOLLOWER'
721
								description?: string
722
								audienceSize?: number
723
								retentionDays?: number
724
							}
725
						}[]
726
					}
727
				}
728
				retargeting?: {
729
					googleUserLists?: {
730
						retargetingList?: {
731
							googleCustomerId?: string
732
							facebookAccountId?: string
733
							channel?:
734
								| 'FACEBOOK'
735
								| 'INSTAGRAM'
736
								| 'GOOGLE_ADWORDS'
737
								| 'GOOGLE_DISPLAY_NETWORK'
738
								| 'GOOGLE_ANALYTICS'
739
								| 'YOUTUBE'
740
								| 'XING'
741
								| 'LINKED_IN'
742
								| 'TWITTER'
743
								| 'GOOGLE_MY_BUSINESS'
744
								| 'TIKTOK'
745
								| 'BITLY'
746
							name?: string
747
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
748
							userId?: string
749
							googleRetargetingListId?: string
750
							facebookCustomAudienceId?: string
751
							linkedInAudienceId?: string
752
							twitterAudienceId?: string
753
							tikTokAudienceId?: string
754
							urlPath?: string
755
							engagementSource?:
756
								| 'FACEBOOK'
757
								| 'INSTAGRAM'
758
								| 'GOOGLE_ADWORDS'
759
								| 'GOOGLE_DISPLAY_NETWORK'
760
								| 'GOOGLE_ANALYTICS'
761
								| 'YOUTUBE'
762
								| 'XING'
763
								| 'LINKED_IN'
764
								| 'TWITTER'
765
								| 'GOOGLE_MY_BUSINESS'
766
								| 'TIKTOK'
767
								| 'BITLY'
768
							engagementType?: 'ENGAGED' | 'FOLLOWER'
769
							description?: string
770
							audienceSize?: number
771
							retentionDays?: number
772
						}
773
						bidModifier?: number
774
						bidModifierType?: 'INCREASE' | 'DECREASE'
775
					}[]
776
					facebookCustomAudiences?: {
777
						retargetingList?: {
778
							googleCustomerId?: string
779
							facebookAccountId?: string
780
							channel?:
781
								| 'FACEBOOK'
782
								| 'INSTAGRAM'
783
								| 'GOOGLE_ADWORDS'
784
								| 'GOOGLE_DISPLAY_NETWORK'
785
								| 'GOOGLE_ANALYTICS'
786
								| 'YOUTUBE'
787
								| 'XING'
788
								| 'LINKED_IN'
789
								| 'TWITTER'
790
								| 'GOOGLE_MY_BUSINESS'
791
								| 'TIKTOK'
792
								| 'BITLY'
793
							name?: string
794
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
795
							userId?: string
796
							googleRetargetingListId?: string
797
							facebookCustomAudienceId?: string
798
							linkedInAudienceId?: string
799
							twitterAudienceId?: string
800
							tikTokAudienceId?: string
801
							urlPath?: string
802
							engagementSource?:
803
								| 'FACEBOOK'
804
								| 'INSTAGRAM'
805
								| 'GOOGLE_ADWORDS'
806
								| 'GOOGLE_DISPLAY_NETWORK'
807
								| 'GOOGLE_ANALYTICS'
808
								| 'YOUTUBE'
809
								| 'XING'
810
								| 'LINKED_IN'
811
								| 'TWITTER'
812
								| 'GOOGLE_MY_BUSINESS'
813
								| 'TIKTOK'
814
								| 'BITLY'
815
							engagementType?: 'ENGAGED' | 'FOLLOWER'
816
							description?: string
817
							audienceSize?: number
818
							retentionDays?: number
819
						}
820
					}[]
821
					linkedInMatchedAudiences?: {
822
						retargetingList?: {
823
							googleCustomerId?: string
824
							facebookAccountId?: string
825
							channel?:
826
								| 'FACEBOOK'
827
								| 'INSTAGRAM'
828
								| 'GOOGLE_ADWORDS'
829
								| 'GOOGLE_DISPLAY_NETWORK'
830
								| 'GOOGLE_ANALYTICS'
831
								| 'YOUTUBE'
832
								| 'XING'
833
								| 'LINKED_IN'
834
								| 'TWITTER'
835
								| 'GOOGLE_MY_BUSINESS'
836
								| 'TIKTOK'
837
								| 'BITLY'
838
							name?: string
839
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
840
							userId?: string
841
							googleRetargetingListId?: string
842
							facebookCustomAudienceId?: string
843
							linkedInAudienceId?: string
844
							twitterAudienceId?: string
845
							tikTokAudienceId?: string
846
							urlPath?: string
847
							engagementSource?:
848
								| 'FACEBOOK'
849
								| 'INSTAGRAM'
850
								| 'GOOGLE_ADWORDS'
851
								| 'GOOGLE_DISPLAY_NETWORK'
852
								| 'GOOGLE_ANALYTICS'
853
								| 'YOUTUBE'
854
								| 'XING'
855
								| 'LINKED_IN'
856
								| 'TWITTER'
857
								| 'GOOGLE_MY_BUSINESS'
858
								| 'TIKTOK'
859
								| 'BITLY'
860
							engagementType?: 'ENGAGED' | 'FOLLOWER'
861
							description?: string
862
							audienceSize?: number
863
							retentionDays?: number
864
						}
865
					}[]
866
					twitterCustomAudiences?: {
867
						retargetingList?: {
868
							googleCustomerId?: string
869
							facebookAccountId?: string
870
							channel?:
871
								| 'FACEBOOK'
872
								| 'INSTAGRAM'
873
								| 'GOOGLE_ADWORDS'
874
								| 'GOOGLE_DISPLAY_NETWORK'
875
								| 'GOOGLE_ANALYTICS'
876
								| 'YOUTUBE'
877
								| 'XING'
878
								| 'LINKED_IN'
879
								| 'TWITTER'
880
								| 'GOOGLE_MY_BUSINESS'
881
								| 'TIKTOK'
882
								| 'BITLY'
883
							name?: string
884
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
885
							userId?: string
886
							googleRetargetingListId?: string
887
							facebookCustomAudienceId?: string
888
							linkedInAudienceId?: string
889
							twitterAudienceId?: string
890
							tikTokAudienceId?: string
891
							urlPath?: string
892
							engagementSource?:
893
								| 'FACEBOOK'
894
								| 'INSTAGRAM'
895
								| 'GOOGLE_ADWORDS'
896
								| 'GOOGLE_DISPLAY_NETWORK'
897
								| 'GOOGLE_ANALYTICS'
898
								| 'YOUTUBE'
899
								| 'XING'
900
								| 'LINKED_IN'
901
								| 'TWITTER'
902
								| 'GOOGLE_MY_BUSINESS'
903
								| 'TIKTOK'
904
								| 'BITLY'
905
							engagementType?: 'ENGAGED' | 'FOLLOWER'
906
							description?: string
907
							audienceSize?: number
908
							retentionDays?: number
909
						}
910
					}[]
911
					tikTokAudiences?: {
912
						retargetingList?: {
913
							googleCustomerId?: string
914
							facebookAccountId?: string
915
							channel?:
916
								| 'FACEBOOK'
917
								| 'INSTAGRAM'
918
								| 'GOOGLE_ADWORDS'
919
								| 'GOOGLE_DISPLAY_NETWORK'
920
								| 'GOOGLE_ANALYTICS'
921
								| 'YOUTUBE'
922
								| 'XING'
923
								| 'LINKED_IN'
924
								| 'TWITTER'
925
								| 'GOOGLE_MY_BUSINESS'
926
								| 'TIKTOK'
927
								| 'BITLY'
928
							name?: string
929
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
930
							userId?: string
931
							googleRetargetingListId?: string
932
							facebookCustomAudienceId?: string
933
							linkedInAudienceId?: string
934
							twitterAudienceId?: string
935
							tikTokAudienceId?: string
936
							urlPath?: string
937
							engagementSource?:
938
								| 'FACEBOOK'
939
								| 'INSTAGRAM'
940
								| 'GOOGLE_ADWORDS'
941
								| 'GOOGLE_DISPLAY_NETWORK'
942
								| 'GOOGLE_ANALYTICS'
943
								| 'YOUTUBE'
944
								| 'XING'
945
								| 'LINKED_IN'
946
								| 'TWITTER'
947
								| 'GOOGLE_MY_BUSINESS'
948
								| 'TIKTOK'
949
								| 'BITLY'
950
							engagementType?: 'ENGAGED' | 'FOLLOWER'
951
							description?: string
952
							audienceSize?: number
953
							retentionDays?: number
954
						}
955
					}[]
956
				}
957
				devices?: {
958
					showOnMobile?: false | true
959
					showOnTablet?: false | true
960
					showOnDesktop?: false | true
961
					mobileBidModifier?: number
962
					mobileBidModifierType?: 'INCREASE' | 'DECREASE'
963
					tabletBidModifier?: number
964
					tabletBidModifierType?: 'INCREASE' | 'DECREASE'
965
					desktopBidModifier?: number
966
					desktopBidModifierType?: 'INCREASE' | 'DECREASE'
967
				}
968
				extension?: {
969
					sitelinkExtensions?: {
970
						feedId?: number
971
						feedItemId?: number
972
						assetId?: number
973
						adwordsCustomerId?: string
974
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
975
						extensionRunStatus?:
976
							| 'ADDED_CAMPAIGN'
977
							| 'ADDED_ADGROUP'
978
							| 'ADDED_ACCOUNT'
979
							| 'IS_CAMPAIGN_LINKED'
980
							| 'IS_ADGROUP_LINKED'
981
							| 'UNLINKING'
982
							| 'UNLINKED'
983
						sitelinkName?: string
984
						sitelinkUrl?: string
985
						sitelinkDescription1?: string
986
						sitelinkDescription2?: string
987
						finalUrls?: string[]
988
						finalMobileUrls?: string[]
989
						sitelinkTrackingUrl?: string
990
					}[]
991
					calloutExtensions?: {
992
						feedId?: number
993
						feedItemId?: number
994
						assetId?: number
995
						adwordsCustomerId?: string
996
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
997
						extensionRunStatus?:
998
							| 'ADDED_CAMPAIGN'
999
							| 'ADDED_ADGROUP'
1000
							| 'ADDED_ACCOUNT'
1001
							| 'IS_CAMPAIGN_LINKED'
1002
							| 'IS_ADGROUP_LINKED'
1003
							| 'UNLINKING'
1004
							| 'UNLINKED'
1005
						calloutText?: string
1006
					}[]
1007
					callExtensions?: {
1008
						feedId?: number
1009
						feedItemId?: number
1010
						assetId?: number
1011
						adwordsCustomerId?: string
1012
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1013
						extensionRunStatus?:
1014
							| 'ADDED_CAMPAIGN'
1015
							| 'ADDED_ADGROUP'
1016
							| 'ADDED_ACCOUNT'
1017
							| 'IS_CAMPAIGN_LINKED'
1018
							| 'IS_ADGROUP_LINKED'
1019
							| 'UNLINKING'
1020
							| 'UNLINKED'
1021
						phoneNumber?: string
1022
						country?: string
1023
					}[]
1024
				}
1025
				adRotationMode?: 'OPTIMIZE' | 'CONVERSION_OPTIMIZE' | 'ROTATE' | 'ROTATE_INDEFINITELY'
1026
				createdFromTargetingTemplateId?: string
1027
			}[]
1028
			twitterTargetingCriterias?: {
1029
				type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
1030
				value?: string
1031
				twitterId?: string
1032
			}[]
1033
			tikTokTargetingCriterias?: {
1034
				id?: string
1035
				name?: string
1036
				type?:
1037
					| 'INTEREST_CATEGORY'
1038
					| 'INTEREST_KEYWORD'
1039
					| 'ACTION_CATEGORY_VIDEO'
1040
					| 'ACTION_CATEGORY_CREATOR'
1041
					| 'HASHTAG'
1042
				children?: {}[]
1043
			}[]
1044
			facebookInterestGroups?: {
1045
				facebookInterests?: {
1046
					id?: string
1047
					type?: string
1048
					name?: string
1049
					audience_size?: number
1050
					children?: {}[]
1051
					path?: string[]
1052
				}[]
1053
			}[]
1054
			facebookInterests?: {
1055
				id?: string
1056
				type?: string
1057
				name?: string
1058
				audience_size?: number
1059
				children?: {}[]
1060
				path?: string[]
1061
			}[]
1062
			facebookAdGroups?: {
1063
				id?: string
1064
				name?: string
1065
				facebookInterests?: {
1066
					id?: string
1067
					type?: string
1068
					name?: string
1069
					audience_size?: number
1070
					children?: {}[]
1071
					path?: string[]
1072
				}[]
1073
				status?:
1074
					| 'COMPLETED'
1075
					| 'IN_REVIEW'
1076
					| 'IS_RUNNING'
1077
					| 'STOP'
1078
					| 'REMOVED'
1079
					| 'DISAPPROVED'
1080
					| 'IS_STOPPING'
1081
				bid?: number
1082
				retargeting?: {
1083
					googleUserLists?: {
1084
						retargetingList?: {
1085
							googleCustomerId?: string
1086
							facebookAccountId?: string
1087
							channel?:
1088
								| 'FACEBOOK'
1089
								| 'INSTAGRAM'
1090
								| 'GOOGLE_ADWORDS'
1091
								| 'GOOGLE_DISPLAY_NETWORK'
1092
								| 'GOOGLE_ANALYTICS'
1093
								| 'YOUTUBE'
1094
								| 'XING'
1095
								| 'LINKED_IN'
1096
								| 'TWITTER'
1097
								| 'GOOGLE_MY_BUSINESS'
1098
								| 'TIKTOK'
1099
								| 'BITLY'
1100
							name?: string
1101
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1102
							userId?: string
1103
							googleRetargetingListId?: string
1104
							facebookCustomAudienceId?: string
1105
							linkedInAudienceId?: string
1106
							twitterAudienceId?: string
1107
							tikTokAudienceId?: string
1108
							urlPath?: string
1109
							engagementSource?:
1110
								| 'FACEBOOK'
1111
								| 'INSTAGRAM'
1112
								| 'GOOGLE_ADWORDS'
1113
								| 'GOOGLE_DISPLAY_NETWORK'
1114
								| 'GOOGLE_ANALYTICS'
1115
								| 'YOUTUBE'
1116
								| 'XING'
1117
								| 'LINKED_IN'
1118
								| 'TWITTER'
1119
								| 'GOOGLE_MY_BUSINESS'
1120
								| 'TIKTOK'
1121
								| 'BITLY'
1122
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1123
							description?: string
1124
							audienceSize?: number
1125
							retentionDays?: number
1126
						}
1127
						bidModifier?: number
1128
						bidModifierType?: 'INCREASE' | 'DECREASE'
1129
					}[]
1130
					facebookCustomAudiences?: {
1131
						retargetingList?: {
1132
							googleCustomerId?: string
1133
							facebookAccountId?: string
1134
							channel?:
1135
								| 'FACEBOOK'
1136
								| 'INSTAGRAM'
1137
								| 'GOOGLE_ADWORDS'
1138
								| 'GOOGLE_DISPLAY_NETWORK'
1139
								| 'GOOGLE_ANALYTICS'
1140
								| 'YOUTUBE'
1141
								| 'XING'
1142
								| 'LINKED_IN'
1143
								| 'TWITTER'
1144
								| 'GOOGLE_MY_BUSINESS'
1145
								| 'TIKTOK'
1146
								| 'BITLY'
1147
							name?: string
1148
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1149
							userId?: string
1150
							googleRetargetingListId?: string
1151
							facebookCustomAudienceId?: string
1152
							linkedInAudienceId?: string
1153
							twitterAudienceId?: string
1154
							tikTokAudienceId?: string
1155
							urlPath?: string
1156
							engagementSource?:
1157
								| 'FACEBOOK'
1158
								| 'INSTAGRAM'
1159
								| 'GOOGLE_ADWORDS'
1160
								| 'GOOGLE_DISPLAY_NETWORK'
1161
								| 'GOOGLE_ANALYTICS'
1162
								| 'YOUTUBE'
1163
								| 'XING'
1164
								| 'LINKED_IN'
1165
								| 'TWITTER'
1166
								| 'GOOGLE_MY_BUSINESS'
1167
								| 'TIKTOK'
1168
								| 'BITLY'
1169
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1170
							description?: string
1171
							audienceSize?: number
1172
							retentionDays?: number
1173
						}
1174
					}[]
1175
					linkedInMatchedAudiences?: {
1176
						retargetingList?: {
1177
							googleCustomerId?: string
1178
							facebookAccountId?: string
1179
							channel?:
1180
								| 'FACEBOOK'
1181
								| 'INSTAGRAM'
1182
								| 'GOOGLE_ADWORDS'
1183
								| 'GOOGLE_DISPLAY_NETWORK'
1184
								| 'GOOGLE_ANALYTICS'
1185
								| 'YOUTUBE'
1186
								| 'XING'
1187
								| 'LINKED_IN'
1188
								| 'TWITTER'
1189
								| 'GOOGLE_MY_BUSINESS'
1190
								| 'TIKTOK'
1191
								| 'BITLY'
1192
							name?: string
1193
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1194
							userId?: string
1195
							googleRetargetingListId?: string
1196
							facebookCustomAudienceId?: string
1197
							linkedInAudienceId?: string
1198
							twitterAudienceId?: string
1199
							tikTokAudienceId?: string
1200
							urlPath?: string
1201
							engagementSource?:
1202
								| 'FACEBOOK'
1203
								| 'INSTAGRAM'
1204
								| 'GOOGLE_ADWORDS'
1205
								| 'GOOGLE_DISPLAY_NETWORK'
1206
								| 'GOOGLE_ANALYTICS'
1207
								| 'YOUTUBE'
1208
								| 'XING'
1209
								| 'LINKED_IN'
1210
								| 'TWITTER'
1211
								| 'GOOGLE_MY_BUSINESS'
1212
								| 'TIKTOK'
1213
								| 'BITLY'
1214
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1215
							description?: string
1216
							audienceSize?: number
1217
							retentionDays?: number
1218
						}
1219
					}[]
1220
					twitterCustomAudiences?: {
1221
						retargetingList?: {
1222
							googleCustomerId?: string
1223
							facebookAccountId?: string
1224
							channel?:
1225
								| 'FACEBOOK'
1226
								| 'INSTAGRAM'
1227
								| 'GOOGLE_ADWORDS'
1228
								| 'GOOGLE_DISPLAY_NETWORK'
1229
								| 'GOOGLE_ANALYTICS'
1230
								| 'YOUTUBE'
1231
								| 'XING'
1232
								| 'LINKED_IN'
1233
								| 'TWITTER'
1234
								| 'GOOGLE_MY_BUSINESS'
1235
								| 'TIKTOK'
1236
								| 'BITLY'
1237
							name?: string
1238
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1239
							userId?: string
1240
							googleRetargetingListId?: string
1241
							facebookCustomAudienceId?: string
1242
							linkedInAudienceId?: string
1243
							twitterAudienceId?: string
1244
							tikTokAudienceId?: string
1245
							urlPath?: string
1246
							engagementSource?:
1247
								| 'FACEBOOK'
1248
								| 'INSTAGRAM'
1249
								| 'GOOGLE_ADWORDS'
1250
								| 'GOOGLE_DISPLAY_NETWORK'
1251
								| 'GOOGLE_ANALYTICS'
1252
								| 'YOUTUBE'
1253
								| 'XING'
1254
								| 'LINKED_IN'
1255
								| 'TWITTER'
1256
								| 'GOOGLE_MY_BUSINESS'
1257
								| 'TIKTOK'
1258
								| 'BITLY'
1259
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1260
							description?: string
1261
							audienceSize?: number
1262
							retentionDays?: number
1263
						}
1264
					}[]
1265
					tikTokAudiences?: {
1266
						retargetingList?: {
1267
							googleCustomerId?: string
1268
							facebookAccountId?: string
1269
							channel?:
1270
								| 'FACEBOOK'
1271
								| 'INSTAGRAM'
1272
								| 'GOOGLE_ADWORDS'
1273
								| 'GOOGLE_DISPLAY_NETWORK'
1274
								| 'GOOGLE_ANALYTICS'
1275
								| 'YOUTUBE'
1276
								| 'XING'
1277
								| 'LINKED_IN'
1278
								| 'TWITTER'
1279
								| 'GOOGLE_MY_BUSINESS'
1280
								| 'TIKTOK'
1281
								| 'BITLY'
1282
							name?: string
1283
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1284
							userId?: string
1285
							googleRetargetingListId?: string
1286
							facebookCustomAudienceId?: string
1287
							linkedInAudienceId?: string
1288
							twitterAudienceId?: string
1289
							tikTokAudienceId?: string
1290
							urlPath?: string
1291
							engagementSource?:
1292
								| 'FACEBOOK'
1293
								| 'INSTAGRAM'
1294
								| 'GOOGLE_ADWORDS'
1295
								| 'GOOGLE_DISPLAY_NETWORK'
1296
								| 'GOOGLE_ANALYTICS'
1297
								| 'YOUTUBE'
1298
								| 'XING'
1299
								| 'LINKED_IN'
1300
								| 'TWITTER'
1301
								| 'GOOGLE_MY_BUSINESS'
1302
								| 'TIKTOK'
1303
								| 'BITLY'
1304
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1305
							description?: string
1306
							audienceSize?: number
1307
							retentionDays?: number
1308
						}
1309
					}[]
1310
				}
1311
				devices?: {
1312
					showOnMobile?: false | true
1313
					showOnTablet?: false | true
1314
					showOnDesktop?: false | true
1315
					mobileBidModifier?: number
1316
					mobileBidModifierType?: 'INCREASE' | 'DECREASE'
1317
					tabletBidModifier?: number
1318
					tabletBidModifierType?: 'INCREASE' | 'DECREASE'
1319
					desktopBidModifier?: number
1320
					desktopBidModifierType?: 'INCREASE' | 'DECREASE'
1321
				}
1322
			}[]
1323
			targetRegions?: {
1324
				type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
1325
				city?: string
1326
				useRadius?: false | true
1327
				radiusInKm?: number
1328
				countryCode?: string
1329
				lat?: number
1330
				lon?: number
1331
				bidModifier?: number
1332
				bidModifierType?: 'INCREASE' | 'DECREASE'
1333
				linkedInUrn?: string
1334
				twitterTargetingValue?: string
1335
				tikTokLocationId?: string
1336
				channel?:
1337
					| 'FACEBOOK'
1338
					| 'INSTAGRAM'
1339
					| 'GOOGLE_ADWORDS'
1340
					| 'GOOGLE_DISPLAY_NETWORK'
1341
					| 'GOOGLE_ANALYTICS'
1342
					| 'YOUTUBE'
1343
					| 'XING'
1344
					| 'LINKED_IN'
1345
					| 'TWITTER'
1346
					| 'GOOGLE_MY_BUSINESS'
1347
					| 'TIKTOK'
1348
					| 'BITLY'
1349
				externalPlaceId?: string
1350
				regionReviewEnabled?: false | true
1351
				regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
1352
			}[]
1353
			targetRegionBehaviour?: {
1354
				interestedInThatRegion?: false | true
1355
				locatedInThatRegion?: false | true
1356
			}
1357
			age?: { value?: number[] }
1358
			yearsOfExperience?: { enabled?: false | true; value?: number[] }
1359
			devices?: {
1360
				showOnMobile?: false | true
1361
				showOnTablet?: false | true
1362
				showOnDesktop?: false | true
1363
				mobileBidModifier?: number
1364
				mobileBidModifierType?: 'INCREASE' | 'DECREASE'
1365
				tabletBidModifier?: number
1366
				tabletBidModifierType?: 'INCREASE' | 'DECREASE'
1367
				desktopBidModifier?: number
1368
				desktopBidModifierType?: 'INCREASE' | 'DECREASE'
1369
			}
1370
			targetExclusion?: {
1371
				facebookInterests?: {
1372
					id?: string
1373
					type?: string
1374
					name?: string
1375
					audience_size?: number
1376
					children?: {}[]
1377
					path?: string[]
1378
				}[]
1379
				linkedInTargetingCriterias?: {
1380
					facetUrn?: string
1381
					urn?: string
1382
					name?: string
1383
					children?: {}[]
1384
					parentUrn?: string
1385
				}[]
1386
				googleKeywords?: {
1387
					name?: string
1388
					competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
1389
					averageMonghtlySearchVolume?: number
1390
					averageCpc?: number
1391
					cpc?: number
1392
					cpm?: number
1393
					link?: string
1394
					status?:
1395
						| 'COMPLETED'
1396
						| 'IN_REVIEW'
1397
						| 'IS_RUNNING'
1398
						| 'STOP'
1399
						| 'REMOVED'
1400
						| 'DISAPPROVED'
1401
						| 'IS_STOPPING'
1402
					bid?: number
1403
					finalUrl?: string
1404
					averageImpressionsPerMonth?: number
1405
				}[]
1406
				targetRegions?: {
1407
					type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
1408
					city?: string
1409
					useRadius?: false | true
1410
					radiusInKm?: number
1411
					countryCode?: string
1412
					lat?: number
1413
					lon?: number
1414
					bidModifier?: number
1415
					bidModifierType?: 'INCREASE' | 'DECREASE'
1416
					linkedInUrn?: string
1417
					twitterTargetingValue?: string
1418
					tikTokLocationId?: string
1419
					channel?:
1420
						| 'FACEBOOK'
1421
						| 'INSTAGRAM'
1422
						| 'GOOGLE_ADWORDS'
1423
						| 'GOOGLE_DISPLAY_NETWORK'
1424
						| 'GOOGLE_ANALYTICS'
1425
						| 'YOUTUBE'
1426
						| 'XING'
1427
						| 'LINKED_IN'
1428
						| 'TWITTER'
1429
						| 'GOOGLE_MY_BUSINESS'
1430
						| 'TIKTOK'
1431
						| 'BITLY'
1432
					externalPlaceId?: string
1433
					regionReviewEnabled?: false | true
1434
					regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
1435
				}[]
1436
				retargeting?: {
1437
					googleUserLists?: {
1438
						retargetingList?: {
1439
							googleCustomerId?: string
1440
							facebookAccountId?: string
1441
							channel?:
1442
								| 'FACEBOOK'
1443
								| 'INSTAGRAM'
1444
								| 'GOOGLE_ADWORDS'
1445
								| 'GOOGLE_DISPLAY_NETWORK'
1446
								| 'GOOGLE_ANALYTICS'
1447
								| 'YOUTUBE'
1448
								| 'XING'
1449
								| 'LINKED_IN'
1450
								| 'TWITTER'
1451
								| 'GOOGLE_MY_BUSINESS'
1452
								| 'TIKTOK'
1453
								| 'BITLY'
1454
							name?: string
1455
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1456
							userId?: string
1457
							googleRetargetingListId?: string
1458
							facebookCustomAudienceId?: string
1459
							linkedInAudienceId?: string
1460
							twitterAudienceId?: string
1461
							tikTokAudienceId?: string
1462
							urlPath?: string
1463
							engagementSource?:
1464
								| 'FACEBOOK'
1465
								| 'INSTAGRAM'
1466
								| 'GOOGLE_ADWORDS'
1467
								| 'GOOGLE_DISPLAY_NETWORK'
1468
								| 'GOOGLE_ANALYTICS'
1469
								| 'YOUTUBE'
1470
								| 'XING'
1471
								| 'LINKED_IN'
1472
								| 'TWITTER'
1473
								| 'GOOGLE_MY_BUSINESS'
1474
								| 'TIKTOK'
1475
								| 'BITLY'
1476
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1477
							description?: string
1478
							audienceSize?: number
1479
							retentionDays?: number
1480
						}
1481
						bidModifier?: number
1482
						bidModifierType?: 'INCREASE' | 'DECREASE'
1483
					}[]
1484
					facebookCustomAudiences?: {
1485
						retargetingList?: {
1486
							googleCustomerId?: string
1487
							facebookAccountId?: string
1488
							channel?:
1489
								| 'FACEBOOK'
1490
								| 'INSTAGRAM'
1491
								| 'GOOGLE_ADWORDS'
1492
								| 'GOOGLE_DISPLAY_NETWORK'
1493
								| 'GOOGLE_ANALYTICS'
1494
								| 'YOUTUBE'
1495
								| 'XING'
1496
								| 'LINKED_IN'
1497
								| 'TWITTER'
1498
								| 'GOOGLE_MY_BUSINESS'
1499
								| 'TIKTOK'
1500
								| 'BITLY'
1501
							name?: string
1502
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1503
							userId?: string
1504
							googleRetargetingListId?: string
1505
							facebookCustomAudienceId?: string
1506
							linkedInAudienceId?: string
1507
							twitterAudienceId?: string
1508
							tikTokAudienceId?: string
1509
							urlPath?: string
1510
							engagementSource?:
1511
								| 'FACEBOOK'
1512
								| 'INSTAGRAM'
1513
								| 'GOOGLE_ADWORDS'
1514
								| 'GOOGLE_DISPLAY_NETWORK'
1515
								| 'GOOGLE_ANALYTICS'
1516
								| 'YOUTUBE'
1517
								| 'XING'
1518
								| 'LINKED_IN'
1519
								| 'TWITTER'
1520
								| 'GOOGLE_MY_BUSINESS'
1521
								| 'TIKTOK'
1522
								| 'BITLY'
1523
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1524
							description?: string
1525
							audienceSize?: number
1526
							retentionDays?: number
1527
						}
1528
					}[]
1529
					linkedInMatchedAudiences?: {
1530
						retargetingList?: {
1531
							googleCustomerId?: string
1532
							facebookAccountId?: string
1533
							channel?:
1534
								| 'FACEBOOK'
1535
								| 'INSTAGRAM'
1536
								| 'GOOGLE_ADWORDS'
1537
								| 'GOOGLE_DISPLAY_NETWORK'
1538
								| 'GOOGLE_ANALYTICS'
1539
								| 'YOUTUBE'
1540
								| 'XING'
1541
								| 'LINKED_IN'
1542
								| 'TWITTER'
1543
								| 'GOOGLE_MY_BUSINESS'
1544
								| 'TIKTOK'
1545
								| 'BITLY'
1546
							name?: string
1547
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1548
							userId?: string
1549
							googleRetargetingListId?: string
1550
							facebookCustomAudienceId?: string
1551
							linkedInAudienceId?: string
1552
							twitterAudienceId?: string
1553
							tikTokAudienceId?: string
1554
							urlPath?: string
1555
							engagementSource?:
1556
								| 'FACEBOOK'
1557
								| 'INSTAGRAM'
1558
								| 'GOOGLE_ADWORDS'
1559
								| 'GOOGLE_DISPLAY_NETWORK'
1560
								| 'GOOGLE_ANALYTICS'
1561
								| 'YOUTUBE'
1562
								| 'XING'
1563
								| 'LINKED_IN'
1564
								| 'TWITTER'
1565
								| 'GOOGLE_MY_BUSINESS'
1566
								| 'TIKTOK'
1567
								| 'BITLY'
1568
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1569
							description?: string
1570
							audienceSize?: number
1571
							retentionDays?: number
1572
						}
1573
					}[]
1574
					twitterCustomAudiences?: {
1575
						retargetingList?: {
1576
							googleCustomerId?: string
1577
							facebookAccountId?: string
1578
							channel?:
1579
								| 'FACEBOOK'
1580
								| 'INSTAGRAM'
1581
								| 'GOOGLE_ADWORDS'
1582
								| 'GOOGLE_DISPLAY_NETWORK'
1583
								| 'GOOGLE_ANALYTICS'
1584
								| 'YOUTUBE'
1585
								| 'XING'
1586
								| 'LINKED_IN'
1587
								| 'TWITTER'
1588
								| 'GOOGLE_MY_BUSINESS'
1589
								| 'TIKTOK'
1590
								| 'BITLY'
1591
							name?: string
1592
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1593
							userId?: string
1594
							googleRetargetingListId?: string
1595
							facebookCustomAudienceId?: string
1596
							linkedInAudienceId?: string
1597
							twitterAudienceId?: string
1598
							tikTokAudienceId?: string
1599
							urlPath?: string
1600
							engagementSource?:
1601
								| 'FACEBOOK'
1602
								| 'INSTAGRAM'
1603
								| 'GOOGLE_ADWORDS'
1604
								| 'GOOGLE_DISPLAY_NETWORK'
1605
								| 'GOOGLE_ANALYTICS'
1606
								| 'YOUTUBE'
1607
								| 'XING'
1608
								| 'LINKED_IN'
1609
								| 'TWITTER'
1610
								| 'GOOGLE_MY_BUSINESS'
1611
								| 'TIKTOK'
1612
								| 'BITLY'
1613
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1614
							description?: string
1615
							audienceSize?: number
1616
							retentionDays?: number
1617
						}
1618
					}[]
1619
					tikTokAudiences?: {
1620
						retargetingList?: {
1621
							googleCustomerId?: string
1622
							facebookAccountId?: string
1623
							channel?:
1624
								| 'FACEBOOK'
1625
								| 'INSTAGRAM'
1626
								| 'GOOGLE_ADWORDS'
1627
								| 'GOOGLE_DISPLAY_NETWORK'
1628
								| 'GOOGLE_ANALYTICS'
1629
								| 'YOUTUBE'
1630
								| 'XING'
1631
								| 'LINKED_IN'
1632
								| 'TWITTER'
1633
								| 'GOOGLE_MY_BUSINESS'
1634
								| 'TIKTOK'
1635
								| 'BITLY'
1636
							name?: string
1637
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1638
							userId?: string
1639
							googleRetargetingListId?: string
1640
							facebookCustomAudienceId?: string
1641
							linkedInAudienceId?: string
1642
							twitterAudienceId?: string
1643
							tikTokAudienceId?: string
1644
							urlPath?: string
1645
							engagementSource?:
1646
								| 'FACEBOOK'
1647
								| 'INSTAGRAM'
1648
								| 'GOOGLE_ADWORDS'
1649
								| 'GOOGLE_DISPLAY_NETWORK'
1650
								| 'GOOGLE_ANALYTICS'
1651
								| 'YOUTUBE'
1652
								| 'XING'
1653
								| 'LINKED_IN'
1654
								| 'TWITTER'
1655
								| 'GOOGLE_MY_BUSINESS'
1656
								| 'TIKTOK'
1657
								| 'BITLY'
1658
							engagementType?: 'ENGAGED' | 'FOLLOWER'
1659
							description?: string
1660
							audienceSize?: number
1661
							retentionDays?: number
1662
						}
1663
					}[]
1664
				}
1665
				linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
1666
				twitterTargetingCriterias?: {
1667
					type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
1668
					value?: string
1669
					twitterId?: string
1670
				}[]
1671
			}
1672
			retargeting?: {
1673
				googleUserLists?: {
1674
					retargetingList?: {
1675
						googleCustomerId?: string
1676
						facebookAccountId?: string
1677
						channel?:
1678
							| 'FACEBOOK'
1679
							| 'INSTAGRAM'
1680
							| 'GOOGLE_ADWORDS'
1681
							| 'GOOGLE_DISPLAY_NETWORK'
1682
							| 'GOOGLE_ANALYTICS'
1683
							| 'YOUTUBE'
1684
							| 'XING'
1685
							| 'LINKED_IN'
1686
							| 'TWITTER'
1687
							| 'GOOGLE_MY_BUSINESS'
1688
							| 'TIKTOK'
1689
							| 'BITLY'
1690
						name?: string
1691
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1692
						userId?: string
1693
						googleRetargetingListId?: string
1694
						facebookCustomAudienceId?: string
1695
						linkedInAudienceId?: string
1696
						twitterAudienceId?: string
1697
						tikTokAudienceId?: string
1698
						urlPath?: string
1699
						engagementSource?:
1700
							| 'FACEBOOK'
1701
							| 'INSTAGRAM'
1702
							| 'GOOGLE_ADWORDS'
1703
							| 'GOOGLE_DISPLAY_NETWORK'
1704
							| 'GOOGLE_ANALYTICS'
1705
							| 'YOUTUBE'
1706
							| 'XING'
1707
							| 'LINKED_IN'
1708
							| 'TWITTER'
1709
							| 'GOOGLE_MY_BUSINESS'
1710
							| 'TIKTOK'
1711
							| 'BITLY'
1712
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1713
						description?: string
1714
						audienceSize?: number
1715
						retentionDays?: number
1716
					}
1717
					bidModifier?: number
1718
					bidModifierType?: 'INCREASE' | 'DECREASE'
1719
				}[]
1720
				facebookCustomAudiences?: {
1721
					retargetingList?: {
1722
						googleCustomerId?: string
1723
						facebookAccountId?: string
1724
						channel?:
1725
							| 'FACEBOOK'
1726
							| 'INSTAGRAM'
1727
							| 'GOOGLE_ADWORDS'
1728
							| 'GOOGLE_DISPLAY_NETWORK'
1729
							| 'GOOGLE_ANALYTICS'
1730
							| 'YOUTUBE'
1731
							| 'XING'
1732
							| 'LINKED_IN'
1733
							| 'TWITTER'
1734
							| 'GOOGLE_MY_BUSINESS'
1735
							| 'TIKTOK'
1736
							| 'BITLY'
1737
						name?: string
1738
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1739
						userId?: string
1740
						googleRetargetingListId?: string
1741
						facebookCustomAudienceId?: string
1742
						linkedInAudienceId?: string
1743
						twitterAudienceId?: string
1744
						tikTokAudienceId?: string
1745
						urlPath?: string
1746
						engagementSource?:
1747
							| 'FACEBOOK'
1748
							| 'INSTAGRAM'
1749
							| 'GOOGLE_ADWORDS'
1750
							| 'GOOGLE_DISPLAY_NETWORK'
1751
							| 'GOOGLE_ANALYTICS'
1752
							| 'YOUTUBE'
1753
							| 'XING'
1754
							| 'LINKED_IN'
1755
							| 'TWITTER'
1756
							| 'GOOGLE_MY_BUSINESS'
1757
							| 'TIKTOK'
1758
							| 'BITLY'
1759
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1760
						description?: string
1761
						audienceSize?: number
1762
						retentionDays?: number
1763
					}
1764
				}[]
1765
				linkedInMatchedAudiences?: {
1766
					retargetingList?: {
1767
						googleCustomerId?: string
1768
						facebookAccountId?: string
1769
						channel?:
1770
							| 'FACEBOOK'
1771
							| 'INSTAGRAM'
1772
							| 'GOOGLE_ADWORDS'
1773
							| 'GOOGLE_DISPLAY_NETWORK'
1774
							| 'GOOGLE_ANALYTICS'
1775
							| 'YOUTUBE'
1776
							| 'XING'
1777
							| 'LINKED_IN'
1778
							| 'TWITTER'
1779
							| 'GOOGLE_MY_BUSINESS'
1780
							| 'TIKTOK'
1781
							| 'BITLY'
1782
						name?: string
1783
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1784
						userId?: string
1785
						googleRetargetingListId?: string
1786
						facebookCustomAudienceId?: string
1787
						linkedInAudienceId?: string
1788
						twitterAudienceId?: string
1789
						tikTokAudienceId?: string
1790
						urlPath?: string
1791
						engagementSource?:
1792
							| 'FACEBOOK'
1793
							| 'INSTAGRAM'
1794
							| 'GOOGLE_ADWORDS'
1795
							| 'GOOGLE_DISPLAY_NETWORK'
1796
							| 'GOOGLE_ANALYTICS'
1797
							| 'YOUTUBE'
1798
							| 'XING'
1799
							| 'LINKED_IN'
1800
							| 'TWITTER'
1801
							| 'GOOGLE_MY_BUSINESS'
1802
							| 'TIKTOK'
1803
							| 'BITLY'
1804
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1805
						description?: string
1806
						audienceSize?: number
1807
						retentionDays?: number
1808
					}
1809
				}[]
1810
				twitterCustomAudiences?: {
1811
					retargetingList?: {
1812
						googleCustomerId?: string
1813
						facebookAccountId?: string
1814
						channel?:
1815
							| 'FACEBOOK'
1816
							| 'INSTAGRAM'
1817
							| 'GOOGLE_ADWORDS'
1818
							| 'GOOGLE_DISPLAY_NETWORK'
1819
							| 'GOOGLE_ANALYTICS'
1820
							| 'YOUTUBE'
1821
							| 'XING'
1822
							| 'LINKED_IN'
1823
							| 'TWITTER'
1824
							| 'GOOGLE_MY_BUSINESS'
1825
							| 'TIKTOK'
1826
							| 'BITLY'
1827
						name?: string
1828
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1829
						userId?: string
1830
						googleRetargetingListId?: string
1831
						facebookCustomAudienceId?: string
1832
						linkedInAudienceId?: string
1833
						twitterAudienceId?: string
1834
						tikTokAudienceId?: string
1835
						urlPath?: string
1836
						engagementSource?:
1837
							| 'FACEBOOK'
1838
							| 'INSTAGRAM'
1839
							| 'GOOGLE_ADWORDS'
1840
							| 'GOOGLE_DISPLAY_NETWORK'
1841
							| 'GOOGLE_ANALYTICS'
1842
							| 'YOUTUBE'
1843
							| 'XING'
1844
							| 'LINKED_IN'
1845
							| 'TWITTER'
1846
							| 'GOOGLE_MY_BUSINESS'
1847
							| 'TIKTOK'
1848
							| 'BITLY'
1849
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1850
						description?: string
1851
						audienceSize?: number
1852
						retentionDays?: number
1853
					}
1854
				}[]
1855
				tikTokAudiences?: {
1856
					retargetingList?: {
1857
						googleCustomerId?: string
1858
						facebookAccountId?: string
1859
						channel?:
1860
							| 'FACEBOOK'
1861
							| 'INSTAGRAM'
1862
							| 'GOOGLE_ADWORDS'
1863
							| 'GOOGLE_DISPLAY_NETWORK'
1864
							| 'GOOGLE_ANALYTICS'
1865
							| 'YOUTUBE'
1866
							| 'XING'
1867
							| 'LINKED_IN'
1868
							| 'TWITTER'
1869
							| 'GOOGLE_MY_BUSINESS'
1870
							| 'TIKTOK'
1871
							| 'BITLY'
1872
						name?: string
1873
						status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
1874
						userId?: string
1875
						googleRetargetingListId?: string
1876
						facebookCustomAudienceId?: string
1877
						linkedInAudienceId?: string
1878
						twitterAudienceId?: string
1879
						tikTokAudienceId?: string
1880
						urlPath?: string
1881
						engagementSource?:
1882
							| 'FACEBOOK'
1883
							| 'INSTAGRAM'
1884
							| 'GOOGLE_ADWORDS'
1885
							| 'GOOGLE_DISPLAY_NETWORK'
1886
							| 'GOOGLE_ANALYTICS'
1887
							| 'YOUTUBE'
1888
							| 'XING'
1889
							| 'LINKED_IN'
1890
							| 'TWITTER'
1891
							| 'GOOGLE_MY_BUSINESS'
1892
							| 'TIKTOK'
1893
							| 'BITLY'
1894
						engagementType?: 'ENGAGED' | 'FOLLOWER'
1895
						description?: string
1896
						audienceSize?: number
1897
						retentionDays?: number
1898
					}
1899
				}[]
1900
			}
1901
			shoppingSettings?: {
1902
				googleMerchantAccount?: { merchantAccountId?: string; name?: string }
1903
				salesCountry?: string
1904
				enableLocal?: false | true
1905
				googleShoppingCampaignType?: 'CLASSIC' | 'SMART'
1906
				productScopeType?: 'NONE' | 'FILTER'
1907
				productScopes?: {
1908
					productDimension?:
1909
						| 'BRAND'
1910
						| 'PRODUCT_NR'
1911
						| 'STATE'
1912
						| 'PRODUCT_TYPE'
1913
						| 'CUSTOM_LABEL_0'
1914
						| 'CUSTOM_LABEL_1'
1915
						| 'CUSTOM_LABEL_2'
1916
						| 'CUSTOM_LABEL_3'
1917
						| 'CUSTOM_LABEL_4'
1918
						| 'CHANNEL'
1919
						| 'CHANNEL_EXCLUSIVE'
1920
					value?: string
1921
				}[]
1922
				facebookProductCatalog?: {
1923
					id?: string
1924
					name?: string
1925
					nbrOfProducts?: number
1926
					nbrOfQualifiedProducts?: number
1927
				}
1928
				facebookDynamicAdsTargetingType?: 'RETARGETING' | 'BROAD'
1929
				facebookProductSet?: {
1930
					id?: string
1931
					name?: string
1932
					nbrOfProducts?: number
1933
				}
1934
				facebookRetargetingIncludedRetentionDays?: number
1935
				facebookRetargetingExcludedRetentionDays?: number
1936
			}
1937
			dynamicSearchSettings?: { domainName?: string; languageCode?: string }
1938
			extension?: {
1939
				sitelinkExtensions?: {
1940
					feedId?: number
1941
					feedItemId?: number
1942
					assetId?: number
1943
					adwordsCustomerId?: string
1944
					extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1945
					extensionRunStatus?:
1946
						| 'ADDED_CAMPAIGN'
1947
						| 'ADDED_ADGROUP'
1948
						| 'ADDED_ACCOUNT'
1949
						| 'IS_CAMPAIGN_LINKED'
1950
						| 'IS_ADGROUP_LINKED'
1951
						| 'UNLINKING'
1952
						| 'UNLINKED'
1953
					sitelinkName?: string
1954
					sitelinkUrl?: string
1955
					sitelinkDescription1?: string
1956
					sitelinkDescription2?: string
1957
					finalUrls?: string[]
1958
					finalMobileUrls?: string[]
1959
					sitelinkTrackingUrl?: string
1960
				}[]
1961
				calloutExtensions?: {
1962
					feedId?: number
1963
					feedItemId?: number
1964
					assetId?: number
1965
					adwordsCustomerId?: string
1966
					extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1967
					extensionRunStatus?:
1968
						| 'ADDED_CAMPAIGN'
1969
						| 'ADDED_ADGROUP'
1970
						| 'ADDED_ACCOUNT'
1971
						| 'IS_CAMPAIGN_LINKED'
1972
						| 'IS_ADGROUP_LINKED'
1973
						| 'UNLINKING'
1974
						| 'UNLINKED'
1975
					calloutText?: string
1976
				}[]
1977
				callExtensions?: {
1978
					feedId?: number
1979
					feedItemId?: number
1980
					assetId?: number
1981
					adwordsCustomerId?: string
1982
					extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
1983
					extensionRunStatus?:
1984
						| 'ADDED_CAMPAIGN'
1985
						| 'ADDED_ADGROUP'
1986
						| 'ADDED_ACCOUNT'
1987
						| 'IS_CAMPAIGN_LINKED'
1988
						| 'IS_ADGROUP_LINKED'
1989
						| 'UNLINKING'
1990
						| 'UNLINKED'
1991
					phoneNumber?: string
1992
					country?: string
1993
				}[]
1994
			}
1995
			status?:
1996
				| 'COMPLETED'
1997
				| 'IN_REVIEW'
1998
				| 'IS_RUNNING'
1999
				| 'STOP'
2000
				| 'REMOVED'
2001
				| 'DISAPPROVED'
2002
				| 'IS_STOPPING'
2003
			createdFromTargetingTemplateId?: string
2004
			facebookSpecialAdCategory?:
2005
				| 'NONE'
2006
				| 'CREDIT'
2007
				| 'EMPLOYMENT'
2008
				| 'HOUSING'
2009
				| 'ISSUES_ELECTIONS_POLITICS'
2010
				| 'ONLINE_GAMBLING_AND_GAMING'
2011
			facebookSpecialAdCategoryCountry?: string
2012
		}
2013
		targetName?: string
2014
		targetInformation?: {
2015
			selectedTargetingTemplateId?: string
2016
			modifiedTarget?: {
2017
				id?: string
2018
				name?: string
2019
				namingTemplateElementValues?: { elementId?: string; value?: string }[]
2020
				gender?: 'ALL' | 'MALE' | 'FEMALE'
2021
				language?:
2022
					| 'ALL'
2023
					| 'DE'
2024
					| 'FR'
2025
					| 'EN'
2026
					| 'IT'
2027
					| 'ES'
2028
					| 'PT'
2029
					| 'NL'
2030
					| 'SV'
2031
					| 'RO'
2032
					| 'CS'
2033
					| 'EL'
2034
					| 'TR'
2035
					| 'PL'
2036
					| 'DA'
2037
					| 'EU'
2038
					| 'CY'
2039
					| 'CA'
2040
					| 'HU'
2041
					| 'SK'
2042
					| 'SL'
2043
					| 'SQ'
2044
					| 'HY'
2045
					| 'BS'
2046
					| 'BG'
2047
					| 'HR'
2048
					| 'UK'
2049
					| 'NO'
2050
					| 'FI'
2051
				additionalLanguages?:
2052
					| 'ALL'
2053
					| 'DE'
2054
					| 'FR'
2055
					| 'EN'
2056
					| 'IT'
2057
					| 'ES'
2058
					| 'PT'
2059
					| 'NL'
2060
					| 'SV'
2061
					| 'RO'
2062
					| 'CS'
2063
					| 'EL'
2064
					| 'TR'
2065
					| 'PL'
2066
					| 'DA'
2067
					| 'EU'
2068
					| 'CY'
2069
					| 'CA'
2070
					| 'HU'
2071
					| 'SK'
2072
					| 'SL'
2073
					| 'SQ'
2074
					| 'HY'
2075
					| 'BS'
2076
					| 'BG'
2077
					| 'HR'
2078
					| 'UK'
2079
					| 'NO'
2080
					| 'FI'[]
2081
				linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
2082
				linkedInTargetingCriterias?: {
2083
					facetUrn?: string
2084
					urn?: string
2085
					name?: string
2086
					children?: {}[]
2087
					parentUrn?: string
2088
				}[]
2089
				linkedInTargetingCriteriaGroups?: {
2090
					linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
2091
					linkedInTargetingCriterias?: {
2092
						facetUrn?: string
2093
						urn?: string
2094
						name?: string
2095
						children?: {}[]
2096
						parentUrn?: string
2097
					}[]
2098
				}[]
2099
				googleAdGroups?: {
2100
					id?: string
2101
					name?: string
2102
					type?: 'STANDARD' | 'DYNAMIC'
2103
					googleKeywords?: {
2104
						name?: string
2105
						competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
2106
						averageMonghtlySearchVolume?: number
2107
						averageCpc?: number
2108
						cpc?: number
2109
						cpm?: number
2110
						link?: string
2111
						status?:
2112
							| 'COMPLETED'
2113
							| 'IN_REVIEW'
2114
							| 'IS_RUNNING'
2115
							| 'STOP'
2116
							| 'REMOVED'
2117
							| 'DISAPPROVED'
2118
							| 'IS_STOPPING'
2119
						bid?: number
2120
						finalUrl?: string
2121
						averageImpressionsPerMonth?: number
2122
					}[]
2123
					status?:
2124
						| 'COMPLETED'
2125
						| 'IN_REVIEW'
2126
						| 'IS_RUNNING'
2127
						| 'STOP'
2128
						| 'REMOVED'
2129
						| 'DISAPPROVED'
2130
						| 'IS_STOPPING'
2131
					bid?: number
2132
					targetCpa?: number
2133
					targetReturnOnAdSpendPercentage?: number
2134
					trackingUrlTemplate?: string
2135
					customParameters?: { key?: string; value?: string }[]
2136
					adGroupExclusion?: {
2137
						googleKeywords?: {
2138
							name?: string
2139
							competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
2140
							averageMonghtlySearchVolume?: number
2141
							averageCpc?: number
2142
							cpc?: number
2143
							cpm?: number
2144
							link?: string
2145
							status?:
2146
								| 'COMPLETED'
2147
								| 'IN_REVIEW'
2148
								| 'IS_RUNNING'
2149
								| 'STOP'
2150
								| 'REMOVED'
2151
								| 'DISAPPROVED'
2152
								| 'IS_STOPPING'
2153
							bid?: number
2154
							finalUrl?: string
2155
							averageImpressionsPerMonth?: number
2156
						}[]
2157
						retargeting?: {
2158
							googleUserLists?: {
2159
								retargetingList?: {
2160
									googleCustomerId?: string
2161
									facebookAccountId?: string
2162
									channel?:
2163
										| 'FACEBOOK'
2164
										| 'INSTAGRAM'
2165
										| 'GOOGLE_ADWORDS'
2166
										| 'GOOGLE_DISPLAY_NETWORK'
2167
										| 'GOOGLE_ANALYTICS'
2168
										| 'YOUTUBE'
2169
										| 'XING'
2170
										| 'LINKED_IN'
2171
										| 'TWITTER'
2172
										| 'GOOGLE_MY_BUSINESS'
2173
										| 'TIKTOK'
2174
										| 'BITLY'
2175
									name?: string
2176
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2177
									userId?: string
2178
									googleRetargetingListId?: string
2179
									facebookCustomAudienceId?: string
2180
									linkedInAudienceId?: string
2181
									twitterAudienceId?: string
2182
									tikTokAudienceId?: string
2183
									urlPath?: string
2184
									engagementSource?:
2185
										| 'FACEBOOK'
2186
										| 'INSTAGRAM'
2187
										| 'GOOGLE_ADWORDS'
2188
										| 'GOOGLE_DISPLAY_NETWORK'
2189
										| 'GOOGLE_ANALYTICS'
2190
										| 'YOUTUBE'
2191
										| 'XING'
2192
										| 'LINKED_IN'
2193
										| 'TWITTER'
2194
										| 'GOOGLE_MY_BUSINESS'
2195
										| 'TIKTOK'
2196
										| 'BITLY'
2197
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2198
									description?: string
2199
									audienceSize?: number
2200
									retentionDays?: number
2201
								}
2202
								bidModifier?: number
2203
								bidModifierType?: 'INCREASE' | 'DECREASE'
2204
							}[]
2205
							facebookCustomAudiences?: {
2206
								retargetingList?: {
2207
									googleCustomerId?: string
2208
									facebookAccountId?: string
2209
									channel?:
2210
										| 'FACEBOOK'
2211
										| 'INSTAGRAM'
2212
										| 'GOOGLE_ADWORDS'
2213
										| 'GOOGLE_DISPLAY_NETWORK'
2214
										| 'GOOGLE_ANALYTICS'
2215
										| 'YOUTUBE'
2216
										| 'XING'
2217
										| 'LINKED_IN'
2218
										| 'TWITTER'
2219
										| 'GOOGLE_MY_BUSINESS'
2220
										| 'TIKTOK'
2221
										| 'BITLY'
2222
									name?: string
2223
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2224
									userId?: string
2225
									googleRetargetingListId?: string
2226
									facebookCustomAudienceId?: string
2227
									linkedInAudienceId?: string
2228
									twitterAudienceId?: string
2229
									tikTokAudienceId?: string
2230
									urlPath?: string
2231
									engagementSource?:
2232
										| 'FACEBOOK'
2233
										| 'INSTAGRAM'
2234
										| 'GOOGLE_ADWORDS'
2235
										| 'GOOGLE_DISPLAY_NETWORK'
2236
										| 'GOOGLE_ANALYTICS'
2237
										| 'YOUTUBE'
2238
										| 'XING'
2239
										| 'LINKED_IN'
2240
										| 'TWITTER'
2241
										| 'GOOGLE_MY_BUSINESS'
2242
										| 'TIKTOK'
2243
										| 'BITLY'
2244
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2245
									description?: string
2246
									audienceSize?: number
2247
									retentionDays?: number
2248
								}
2249
							}[]
2250
							linkedInMatchedAudiences?: {
2251
								retargetingList?: {
2252
									googleCustomerId?: string
2253
									facebookAccountId?: string
2254
									channel?:
2255
										| 'FACEBOOK'
2256
										| 'INSTAGRAM'
2257
										| 'GOOGLE_ADWORDS'
2258
										| 'GOOGLE_DISPLAY_NETWORK'
2259
										| 'GOOGLE_ANALYTICS'
2260
										| 'YOUTUBE'
2261
										| 'XING'
2262
										| 'LINKED_IN'
2263
										| 'TWITTER'
2264
										| 'GOOGLE_MY_BUSINESS'
2265
										| 'TIKTOK'
2266
										| 'BITLY'
2267
									name?: string
2268
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2269
									userId?: string
2270
									googleRetargetingListId?: string
2271
									facebookCustomAudienceId?: string
2272
									linkedInAudienceId?: string
2273
									twitterAudienceId?: string
2274
									tikTokAudienceId?: string
2275
									urlPath?: string
2276
									engagementSource?:
2277
										| 'FACEBOOK'
2278
										| 'INSTAGRAM'
2279
										| 'GOOGLE_ADWORDS'
2280
										| 'GOOGLE_DISPLAY_NETWORK'
2281
										| 'GOOGLE_ANALYTICS'
2282
										| 'YOUTUBE'
2283
										| 'XING'
2284
										| 'LINKED_IN'
2285
										| 'TWITTER'
2286
										| 'GOOGLE_MY_BUSINESS'
2287
										| 'TIKTOK'
2288
										| 'BITLY'
2289
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2290
									description?: string
2291
									audienceSize?: number
2292
									retentionDays?: number
2293
								}
2294
							}[]
2295
							twitterCustomAudiences?: {
2296
								retargetingList?: {
2297
									googleCustomerId?: string
2298
									facebookAccountId?: string
2299
									channel?:
2300
										| 'FACEBOOK'
2301
										| 'INSTAGRAM'
2302
										| 'GOOGLE_ADWORDS'
2303
										| 'GOOGLE_DISPLAY_NETWORK'
2304
										| 'GOOGLE_ANALYTICS'
2305
										| 'YOUTUBE'
2306
										| 'XING'
2307
										| 'LINKED_IN'
2308
										| 'TWITTER'
2309
										| 'GOOGLE_MY_BUSINESS'
2310
										| 'TIKTOK'
2311
										| 'BITLY'
2312
									name?: string
2313
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2314
									userId?: string
2315
									googleRetargetingListId?: string
2316
									facebookCustomAudienceId?: string
2317
									linkedInAudienceId?: string
2318
									twitterAudienceId?: string
2319
									tikTokAudienceId?: string
2320
									urlPath?: string
2321
									engagementSource?:
2322
										| 'FACEBOOK'
2323
										| 'INSTAGRAM'
2324
										| 'GOOGLE_ADWORDS'
2325
										| 'GOOGLE_DISPLAY_NETWORK'
2326
										| 'GOOGLE_ANALYTICS'
2327
										| 'YOUTUBE'
2328
										| 'XING'
2329
										| 'LINKED_IN'
2330
										| 'TWITTER'
2331
										| 'GOOGLE_MY_BUSINESS'
2332
										| 'TIKTOK'
2333
										| 'BITLY'
2334
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2335
									description?: string