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 14 days ago Viewed 1208 times
0
Submitted by hugo697 Bun
Verified 14 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
2336
									audienceSize?: number
2337
									retentionDays?: number
2338
								}
2339
							}[]
2340
							tikTokAudiences?: {
2341
								retargetingList?: {
2342
									googleCustomerId?: string
2343
									facebookAccountId?: string
2344
									channel?:
2345
										| 'FACEBOOK'
2346
										| 'INSTAGRAM'
2347
										| 'GOOGLE_ADWORDS'
2348
										| 'GOOGLE_DISPLAY_NETWORK'
2349
										| 'GOOGLE_ANALYTICS'
2350
										| 'YOUTUBE'
2351
										| 'XING'
2352
										| 'LINKED_IN'
2353
										| 'TWITTER'
2354
										| 'GOOGLE_MY_BUSINESS'
2355
										| 'TIKTOK'
2356
										| 'BITLY'
2357
									name?: string
2358
									status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2359
									userId?: string
2360
									googleRetargetingListId?: string
2361
									facebookCustomAudienceId?: string
2362
									linkedInAudienceId?: string
2363
									twitterAudienceId?: string
2364
									tikTokAudienceId?: string
2365
									urlPath?: string
2366
									engagementSource?:
2367
										| 'FACEBOOK'
2368
										| 'INSTAGRAM'
2369
										| 'GOOGLE_ADWORDS'
2370
										| 'GOOGLE_DISPLAY_NETWORK'
2371
										| 'GOOGLE_ANALYTICS'
2372
										| 'YOUTUBE'
2373
										| 'XING'
2374
										| 'LINKED_IN'
2375
										| 'TWITTER'
2376
										| 'GOOGLE_MY_BUSINESS'
2377
										| 'TIKTOK'
2378
										| 'BITLY'
2379
									engagementType?: 'ENGAGED' | 'FOLLOWER'
2380
									description?: string
2381
									audienceSize?: number
2382
									retentionDays?: number
2383
								}
2384
							}[]
2385
						}
2386
					}
2387
					retargeting?: {
2388
						googleUserLists?: {
2389
							retargetingList?: {
2390
								googleCustomerId?: string
2391
								facebookAccountId?: string
2392
								channel?:
2393
									| 'FACEBOOK'
2394
									| 'INSTAGRAM'
2395
									| 'GOOGLE_ADWORDS'
2396
									| 'GOOGLE_DISPLAY_NETWORK'
2397
									| 'GOOGLE_ANALYTICS'
2398
									| 'YOUTUBE'
2399
									| 'XING'
2400
									| 'LINKED_IN'
2401
									| 'TWITTER'
2402
									| 'GOOGLE_MY_BUSINESS'
2403
									| 'TIKTOK'
2404
									| 'BITLY'
2405
								name?: string
2406
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2407
								userId?: string
2408
								googleRetargetingListId?: string
2409
								facebookCustomAudienceId?: string
2410
								linkedInAudienceId?: string
2411
								twitterAudienceId?: string
2412
								tikTokAudienceId?: string
2413
								urlPath?: string
2414
								engagementSource?:
2415
									| 'FACEBOOK'
2416
									| 'INSTAGRAM'
2417
									| 'GOOGLE_ADWORDS'
2418
									| 'GOOGLE_DISPLAY_NETWORK'
2419
									| 'GOOGLE_ANALYTICS'
2420
									| 'YOUTUBE'
2421
									| 'XING'
2422
									| 'LINKED_IN'
2423
									| 'TWITTER'
2424
									| 'GOOGLE_MY_BUSINESS'
2425
									| 'TIKTOK'
2426
									| 'BITLY'
2427
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2428
								description?: string
2429
								audienceSize?: number
2430
								retentionDays?: number
2431
							}
2432
							bidModifier?: number
2433
							bidModifierType?: 'INCREASE' | 'DECREASE'
2434
						}[]
2435
						facebookCustomAudiences?: {
2436
							retargetingList?: {
2437
								googleCustomerId?: string
2438
								facebookAccountId?: string
2439
								channel?:
2440
									| 'FACEBOOK'
2441
									| 'INSTAGRAM'
2442
									| 'GOOGLE_ADWORDS'
2443
									| 'GOOGLE_DISPLAY_NETWORK'
2444
									| 'GOOGLE_ANALYTICS'
2445
									| 'YOUTUBE'
2446
									| 'XING'
2447
									| 'LINKED_IN'
2448
									| 'TWITTER'
2449
									| 'GOOGLE_MY_BUSINESS'
2450
									| 'TIKTOK'
2451
									| 'BITLY'
2452
								name?: string
2453
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2454
								userId?: string
2455
								googleRetargetingListId?: string
2456
								facebookCustomAudienceId?: string
2457
								linkedInAudienceId?: string
2458
								twitterAudienceId?: string
2459
								tikTokAudienceId?: string
2460
								urlPath?: string
2461
								engagementSource?:
2462
									| 'FACEBOOK'
2463
									| 'INSTAGRAM'
2464
									| 'GOOGLE_ADWORDS'
2465
									| 'GOOGLE_DISPLAY_NETWORK'
2466
									| 'GOOGLE_ANALYTICS'
2467
									| 'YOUTUBE'
2468
									| 'XING'
2469
									| 'LINKED_IN'
2470
									| 'TWITTER'
2471
									| 'GOOGLE_MY_BUSINESS'
2472
									| 'TIKTOK'
2473
									| 'BITLY'
2474
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2475
								description?: string
2476
								audienceSize?: number
2477
								retentionDays?: number
2478
							}
2479
						}[]
2480
						linkedInMatchedAudiences?: {
2481
							retargetingList?: {
2482
								googleCustomerId?: string
2483
								facebookAccountId?: string
2484
								channel?:
2485
									| 'FACEBOOK'
2486
									| 'INSTAGRAM'
2487
									| 'GOOGLE_ADWORDS'
2488
									| 'GOOGLE_DISPLAY_NETWORK'
2489
									| 'GOOGLE_ANALYTICS'
2490
									| 'YOUTUBE'
2491
									| 'XING'
2492
									| 'LINKED_IN'
2493
									| 'TWITTER'
2494
									| 'GOOGLE_MY_BUSINESS'
2495
									| 'TIKTOK'
2496
									| 'BITLY'
2497
								name?: string
2498
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2499
								userId?: string
2500
								googleRetargetingListId?: string
2501
								facebookCustomAudienceId?: string
2502
								linkedInAudienceId?: string
2503
								twitterAudienceId?: string
2504
								tikTokAudienceId?: string
2505
								urlPath?: string
2506
								engagementSource?:
2507
									| 'FACEBOOK'
2508
									| 'INSTAGRAM'
2509
									| 'GOOGLE_ADWORDS'
2510
									| 'GOOGLE_DISPLAY_NETWORK'
2511
									| 'GOOGLE_ANALYTICS'
2512
									| 'YOUTUBE'
2513
									| 'XING'
2514
									| 'LINKED_IN'
2515
									| 'TWITTER'
2516
									| 'GOOGLE_MY_BUSINESS'
2517
									| 'TIKTOK'
2518
									| 'BITLY'
2519
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2520
								description?: string
2521
								audienceSize?: number
2522
								retentionDays?: number
2523
							}
2524
						}[]
2525
						twitterCustomAudiences?: {
2526
							retargetingList?: {
2527
								googleCustomerId?: string
2528
								facebookAccountId?: string
2529
								channel?:
2530
									| 'FACEBOOK'
2531
									| 'INSTAGRAM'
2532
									| 'GOOGLE_ADWORDS'
2533
									| 'GOOGLE_DISPLAY_NETWORK'
2534
									| 'GOOGLE_ANALYTICS'
2535
									| 'YOUTUBE'
2536
									| 'XING'
2537
									| 'LINKED_IN'
2538
									| 'TWITTER'
2539
									| 'GOOGLE_MY_BUSINESS'
2540
									| 'TIKTOK'
2541
									| 'BITLY'
2542
								name?: string
2543
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2544
								userId?: string
2545
								googleRetargetingListId?: string
2546
								facebookCustomAudienceId?: string
2547
								linkedInAudienceId?: string
2548
								twitterAudienceId?: string
2549
								tikTokAudienceId?: string
2550
								urlPath?: string
2551
								engagementSource?:
2552
									| 'FACEBOOK'
2553
									| 'INSTAGRAM'
2554
									| 'GOOGLE_ADWORDS'
2555
									| 'GOOGLE_DISPLAY_NETWORK'
2556
									| 'GOOGLE_ANALYTICS'
2557
									| 'YOUTUBE'
2558
									| 'XING'
2559
									| 'LINKED_IN'
2560
									| 'TWITTER'
2561
									| 'GOOGLE_MY_BUSINESS'
2562
									| 'TIKTOK'
2563
									| 'BITLY'
2564
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2565
								description?: string
2566
								audienceSize?: number
2567
								retentionDays?: number
2568
							}
2569
						}[]
2570
						tikTokAudiences?: {
2571
							retargetingList?: {
2572
								googleCustomerId?: string
2573
								facebookAccountId?: string
2574
								channel?:
2575
									| 'FACEBOOK'
2576
									| 'INSTAGRAM'
2577
									| 'GOOGLE_ADWORDS'
2578
									| 'GOOGLE_DISPLAY_NETWORK'
2579
									| 'GOOGLE_ANALYTICS'
2580
									| 'YOUTUBE'
2581
									| 'XING'
2582
									| 'LINKED_IN'
2583
									| 'TWITTER'
2584
									| 'GOOGLE_MY_BUSINESS'
2585
									| 'TIKTOK'
2586
									| 'BITLY'
2587
								name?: string
2588
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2589
								userId?: string
2590
								googleRetargetingListId?: string
2591
								facebookCustomAudienceId?: string
2592
								linkedInAudienceId?: string
2593
								twitterAudienceId?: string
2594
								tikTokAudienceId?: string
2595
								urlPath?: string
2596
								engagementSource?:
2597
									| 'FACEBOOK'
2598
									| 'INSTAGRAM'
2599
									| 'GOOGLE_ADWORDS'
2600
									| 'GOOGLE_DISPLAY_NETWORK'
2601
									| 'GOOGLE_ANALYTICS'
2602
									| 'YOUTUBE'
2603
									| 'XING'
2604
									| 'LINKED_IN'
2605
									| 'TWITTER'
2606
									| 'GOOGLE_MY_BUSINESS'
2607
									| 'TIKTOK'
2608
									| 'BITLY'
2609
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2610
								description?: string
2611
								audienceSize?: number
2612
								retentionDays?: number
2613
							}
2614
						}[]
2615
					}
2616
					devices?: {
2617
						showOnMobile?: false | true
2618
						showOnTablet?: false | true
2619
						showOnDesktop?: false | true
2620
						mobileBidModifier?: number
2621
						mobileBidModifierType?: 'INCREASE' | 'DECREASE'
2622
						tabletBidModifier?: number
2623
						tabletBidModifierType?: 'INCREASE' | 'DECREASE'
2624
						desktopBidModifier?: number
2625
						desktopBidModifierType?: 'INCREASE' | 'DECREASE'
2626
					}
2627
					extension?: {
2628
						sitelinkExtensions?: {
2629
							feedId?: number
2630
							feedItemId?: number
2631
							assetId?: number
2632
							adwordsCustomerId?: string
2633
							extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
2634
							extensionRunStatus?:
2635
								| 'ADDED_CAMPAIGN'
2636
								| 'ADDED_ADGROUP'
2637
								| 'ADDED_ACCOUNT'
2638
								| 'IS_CAMPAIGN_LINKED'
2639
								| 'IS_ADGROUP_LINKED'
2640
								| 'UNLINKING'
2641
								| 'UNLINKED'
2642
							sitelinkName?: string
2643
							sitelinkUrl?: string
2644
							sitelinkDescription1?: string
2645
							sitelinkDescription2?: string
2646
							finalUrls?: string[]
2647
							finalMobileUrls?: string[]
2648
							sitelinkTrackingUrl?: string
2649
						}[]
2650
						calloutExtensions?: {
2651
							feedId?: number
2652
							feedItemId?: number
2653
							assetId?: number
2654
							adwordsCustomerId?: string
2655
							extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
2656
							extensionRunStatus?:
2657
								| 'ADDED_CAMPAIGN'
2658
								| 'ADDED_ADGROUP'
2659
								| 'ADDED_ACCOUNT'
2660
								| 'IS_CAMPAIGN_LINKED'
2661
								| 'IS_ADGROUP_LINKED'
2662
								| 'UNLINKING'
2663
								| 'UNLINKED'
2664
							calloutText?: string
2665
						}[]
2666
						callExtensions?: {
2667
							feedId?: number
2668
							feedItemId?: number
2669
							assetId?: number
2670
							adwordsCustomerId?: string
2671
							extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
2672
							extensionRunStatus?:
2673
								| 'ADDED_CAMPAIGN'
2674
								| 'ADDED_ADGROUP'
2675
								| 'ADDED_ACCOUNT'
2676
								| 'IS_CAMPAIGN_LINKED'
2677
								| 'IS_ADGROUP_LINKED'
2678
								| 'UNLINKING'
2679
								| 'UNLINKED'
2680
							phoneNumber?: string
2681
							country?: string
2682
						}[]
2683
					}
2684
					adRotationMode?: 'OPTIMIZE' | 'CONVERSION_OPTIMIZE' | 'ROTATE' | 'ROTATE_INDEFINITELY'
2685
					createdFromTargetingTemplateId?: string
2686
				}[]
2687
				twitterTargetingCriterias?: {
2688
					type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
2689
					value?: string
2690
					twitterId?: string
2691
				}[]
2692
				tikTokTargetingCriterias?: {
2693
					id?: string
2694
					name?: string
2695
					type?:
2696
						| 'INTEREST_CATEGORY'
2697
						| 'INTEREST_KEYWORD'
2698
						| 'ACTION_CATEGORY_VIDEO'
2699
						| 'ACTION_CATEGORY_CREATOR'
2700
						| 'HASHTAG'
2701
					children?: {}[]
2702
				}[]
2703
				facebookInterestGroups?: {
2704
					facebookInterests?: {
2705
						id?: string
2706
						type?: string
2707
						name?: string
2708
						audience_size?: number
2709
						children?: {}[]
2710
						path?: string[]
2711
					}[]
2712
				}[]
2713
				facebookInterests?: {
2714
					id?: string
2715
					type?: string
2716
					name?: string
2717
					audience_size?: number
2718
					children?: {}[]
2719
					path?: string[]
2720
				}[]
2721
				facebookAdGroups?: {
2722
					id?: string
2723
					name?: string
2724
					facebookInterests?: {
2725
						id?: string
2726
						type?: string
2727
						name?: string
2728
						audience_size?: number
2729
						children?: {}[]
2730
						path?: string[]
2731
					}[]
2732
					status?:
2733
						| 'COMPLETED'
2734
						| 'IN_REVIEW'
2735
						| 'IS_RUNNING'
2736
						| 'STOP'
2737
						| 'REMOVED'
2738
						| 'DISAPPROVED'
2739
						| 'IS_STOPPING'
2740
					bid?: number
2741
					retargeting?: {
2742
						googleUserLists?: {
2743
							retargetingList?: {
2744
								googleCustomerId?: string
2745
								facebookAccountId?: string
2746
								channel?:
2747
									| 'FACEBOOK'
2748
									| 'INSTAGRAM'
2749
									| 'GOOGLE_ADWORDS'
2750
									| 'GOOGLE_DISPLAY_NETWORK'
2751
									| 'GOOGLE_ANALYTICS'
2752
									| 'YOUTUBE'
2753
									| 'XING'
2754
									| 'LINKED_IN'
2755
									| 'TWITTER'
2756
									| 'GOOGLE_MY_BUSINESS'
2757
									| 'TIKTOK'
2758
									| 'BITLY'
2759
								name?: string
2760
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2761
								userId?: string
2762
								googleRetargetingListId?: string
2763
								facebookCustomAudienceId?: string
2764
								linkedInAudienceId?: string
2765
								twitterAudienceId?: string
2766
								tikTokAudienceId?: string
2767
								urlPath?: string
2768
								engagementSource?:
2769
									| 'FACEBOOK'
2770
									| 'INSTAGRAM'
2771
									| 'GOOGLE_ADWORDS'
2772
									| 'GOOGLE_DISPLAY_NETWORK'
2773
									| 'GOOGLE_ANALYTICS'
2774
									| 'YOUTUBE'
2775
									| 'XING'
2776
									| 'LINKED_IN'
2777
									| 'TWITTER'
2778
									| 'GOOGLE_MY_BUSINESS'
2779
									| 'TIKTOK'
2780
									| 'BITLY'
2781
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2782
								description?: string
2783
								audienceSize?: number
2784
								retentionDays?: number
2785
							}
2786
							bidModifier?: number
2787
							bidModifierType?: 'INCREASE' | 'DECREASE'
2788
						}[]
2789
						facebookCustomAudiences?: {
2790
							retargetingList?: {
2791
								googleCustomerId?: string
2792
								facebookAccountId?: string
2793
								channel?:
2794
									| 'FACEBOOK'
2795
									| 'INSTAGRAM'
2796
									| 'GOOGLE_ADWORDS'
2797
									| 'GOOGLE_DISPLAY_NETWORK'
2798
									| 'GOOGLE_ANALYTICS'
2799
									| 'YOUTUBE'
2800
									| 'XING'
2801
									| 'LINKED_IN'
2802
									| 'TWITTER'
2803
									| 'GOOGLE_MY_BUSINESS'
2804
									| 'TIKTOK'
2805
									| 'BITLY'
2806
								name?: string
2807
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2808
								userId?: string
2809
								googleRetargetingListId?: string
2810
								facebookCustomAudienceId?: string
2811
								linkedInAudienceId?: string
2812
								twitterAudienceId?: string
2813
								tikTokAudienceId?: string
2814
								urlPath?: string
2815
								engagementSource?:
2816
									| 'FACEBOOK'
2817
									| 'INSTAGRAM'
2818
									| 'GOOGLE_ADWORDS'
2819
									| 'GOOGLE_DISPLAY_NETWORK'
2820
									| 'GOOGLE_ANALYTICS'
2821
									| 'YOUTUBE'
2822
									| 'XING'
2823
									| 'LINKED_IN'
2824
									| 'TWITTER'
2825
									| 'GOOGLE_MY_BUSINESS'
2826
									| 'TIKTOK'
2827
									| 'BITLY'
2828
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2829
								description?: string
2830
								audienceSize?: number
2831
								retentionDays?: number
2832
							}
2833
						}[]
2834
						linkedInMatchedAudiences?: {
2835
							retargetingList?: {
2836
								googleCustomerId?: string
2837
								facebookAccountId?: string
2838
								channel?:
2839
									| 'FACEBOOK'
2840
									| 'INSTAGRAM'
2841
									| 'GOOGLE_ADWORDS'
2842
									| 'GOOGLE_DISPLAY_NETWORK'
2843
									| 'GOOGLE_ANALYTICS'
2844
									| 'YOUTUBE'
2845
									| 'XING'
2846
									| 'LINKED_IN'
2847
									| 'TWITTER'
2848
									| 'GOOGLE_MY_BUSINESS'
2849
									| 'TIKTOK'
2850
									| 'BITLY'
2851
								name?: string
2852
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2853
								userId?: string
2854
								googleRetargetingListId?: string
2855
								facebookCustomAudienceId?: string
2856
								linkedInAudienceId?: string
2857
								twitterAudienceId?: string
2858
								tikTokAudienceId?: string
2859
								urlPath?: string
2860
								engagementSource?:
2861
									| 'FACEBOOK'
2862
									| 'INSTAGRAM'
2863
									| 'GOOGLE_ADWORDS'
2864
									| 'GOOGLE_DISPLAY_NETWORK'
2865
									| 'GOOGLE_ANALYTICS'
2866
									| 'YOUTUBE'
2867
									| 'XING'
2868
									| 'LINKED_IN'
2869
									| 'TWITTER'
2870
									| 'GOOGLE_MY_BUSINESS'
2871
									| 'TIKTOK'
2872
									| 'BITLY'
2873
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2874
								description?: string
2875
								audienceSize?: number
2876
								retentionDays?: number
2877
							}
2878
						}[]
2879
						twitterCustomAudiences?: {
2880
							retargetingList?: {
2881
								googleCustomerId?: string
2882
								facebookAccountId?: string
2883
								channel?:
2884
									| 'FACEBOOK'
2885
									| 'INSTAGRAM'
2886
									| 'GOOGLE_ADWORDS'
2887
									| 'GOOGLE_DISPLAY_NETWORK'
2888
									| 'GOOGLE_ANALYTICS'
2889
									| 'YOUTUBE'
2890
									| 'XING'
2891
									| 'LINKED_IN'
2892
									| 'TWITTER'
2893
									| 'GOOGLE_MY_BUSINESS'
2894
									| 'TIKTOK'
2895
									| 'BITLY'
2896
								name?: string
2897
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2898
								userId?: string
2899
								googleRetargetingListId?: string
2900
								facebookCustomAudienceId?: string
2901
								linkedInAudienceId?: string
2902
								twitterAudienceId?: string
2903
								tikTokAudienceId?: string
2904
								urlPath?: string
2905
								engagementSource?:
2906
									| 'FACEBOOK'
2907
									| 'INSTAGRAM'
2908
									| 'GOOGLE_ADWORDS'
2909
									| 'GOOGLE_DISPLAY_NETWORK'
2910
									| 'GOOGLE_ANALYTICS'
2911
									| 'YOUTUBE'
2912
									| 'XING'
2913
									| 'LINKED_IN'
2914
									| 'TWITTER'
2915
									| 'GOOGLE_MY_BUSINESS'
2916
									| 'TIKTOK'
2917
									| 'BITLY'
2918
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2919
								description?: string
2920
								audienceSize?: number
2921
								retentionDays?: number
2922
							}
2923
						}[]
2924
						tikTokAudiences?: {
2925
							retargetingList?: {
2926
								googleCustomerId?: string
2927
								facebookAccountId?: string
2928
								channel?:
2929
									| 'FACEBOOK'
2930
									| 'INSTAGRAM'
2931
									| 'GOOGLE_ADWORDS'
2932
									| 'GOOGLE_DISPLAY_NETWORK'
2933
									| 'GOOGLE_ANALYTICS'
2934
									| 'YOUTUBE'
2935
									| 'XING'
2936
									| 'LINKED_IN'
2937
									| 'TWITTER'
2938
									| 'GOOGLE_MY_BUSINESS'
2939
									| 'TIKTOK'
2940
									| 'BITLY'
2941
								name?: string
2942
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
2943
								userId?: string
2944
								googleRetargetingListId?: string
2945
								facebookCustomAudienceId?: string
2946
								linkedInAudienceId?: string
2947
								twitterAudienceId?: string
2948
								tikTokAudienceId?: string
2949
								urlPath?: string
2950
								engagementSource?:
2951
									| 'FACEBOOK'
2952
									| 'INSTAGRAM'
2953
									| 'GOOGLE_ADWORDS'
2954
									| 'GOOGLE_DISPLAY_NETWORK'
2955
									| 'GOOGLE_ANALYTICS'
2956
									| 'YOUTUBE'
2957
									| 'XING'
2958
									| 'LINKED_IN'
2959
									| 'TWITTER'
2960
									| 'GOOGLE_MY_BUSINESS'
2961
									| 'TIKTOK'
2962
									| 'BITLY'
2963
								engagementType?: 'ENGAGED' | 'FOLLOWER'
2964
								description?: string
2965
								audienceSize?: number
2966
								retentionDays?: number
2967
							}
2968
						}[]
2969
					}
2970
					devices?: {
2971
						showOnMobile?: false | true
2972
						showOnTablet?: false | true
2973
						showOnDesktop?: false | true
2974
						mobileBidModifier?: number
2975
						mobileBidModifierType?: 'INCREASE' | 'DECREASE'
2976
						tabletBidModifier?: number
2977
						tabletBidModifierType?: 'INCREASE' | 'DECREASE'
2978
						desktopBidModifier?: number
2979
						desktopBidModifierType?: 'INCREASE' | 'DECREASE'
2980
					}
2981
				}[]
2982
				targetRegions?: {
2983
					type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
2984
					city?: string
2985
					useRadius?: false | true
2986
					radiusInKm?: number
2987
					countryCode?: string
2988
					lat?: number
2989
					lon?: number
2990
					bidModifier?: number
2991
					bidModifierType?: 'INCREASE' | 'DECREASE'
2992
					linkedInUrn?: string
2993
					twitterTargetingValue?: string
2994
					tikTokLocationId?: string
2995
					channel?:
2996
						| 'FACEBOOK'
2997
						| 'INSTAGRAM'
2998
						| 'GOOGLE_ADWORDS'
2999
						| 'GOOGLE_DISPLAY_NETWORK'
3000
						| 'GOOGLE_ANALYTICS'
3001
						| 'YOUTUBE'
3002
						| 'XING'
3003
						| 'LINKED_IN'
3004
						| 'TWITTER'
3005
						| 'GOOGLE_MY_BUSINESS'
3006
						| 'TIKTOK'
3007
						| 'BITLY'
3008
					externalPlaceId?: string
3009
					regionReviewEnabled?: false | true
3010
					regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
3011
				}[]
3012
				targetRegionBehaviour?: {
3013
					interestedInThatRegion?: false | true
3014
					locatedInThatRegion?: false | true
3015
				}
3016
				age?: { value?: number[] }
3017
				yearsOfExperience?: { enabled?: false | true; value?: number[] }
3018
				devices?: {
3019
					showOnMobile?: false | true
3020
					showOnTablet?: false | true
3021
					showOnDesktop?: false | true
3022
					mobileBidModifier?: number
3023
					mobileBidModifierType?: 'INCREASE' | 'DECREASE'
3024
					tabletBidModifier?: number
3025
					tabletBidModifierType?: 'INCREASE' | 'DECREASE'
3026
					desktopBidModifier?: number
3027
					desktopBidModifierType?: 'INCREASE' | 'DECREASE'
3028
				}
3029
				targetExclusion?: {
3030
					facebookInterests?: {
3031
						id?: string
3032
						type?: string
3033
						name?: string
3034
						audience_size?: number
3035
						children?: {}[]
3036
						path?: string[]
3037
					}[]
3038
					linkedInTargetingCriterias?: {
3039
						facetUrn?: string
3040
						urn?: string
3041
						name?: string
3042
						children?: {}[]
3043
						parentUrn?: string
3044
					}[]
3045
					googleKeywords?: {
3046
						name?: string
3047
						competition?: 'LOW' | 'MEDIUM' | 'HIGH' | 'UNKNOWN'
3048
						averageMonghtlySearchVolume?: number
3049
						averageCpc?: number
3050
						cpc?: number
3051
						cpm?: number
3052
						link?: string
3053
						status?:
3054
							| 'COMPLETED'
3055
							| 'IN_REVIEW'
3056
							| 'IS_RUNNING'
3057
							| 'STOP'
3058
							| 'REMOVED'
3059
							| 'DISAPPROVED'
3060
							| 'IS_STOPPING'
3061
						bid?: number
3062
						finalUrl?: string
3063
						averageImpressionsPerMonth?: number
3064
					}[]
3065
					targetRegions?: {
3066
						type?: 'CITY' | 'REGION' | 'ZIP' | 'COORDINATE'
3067
						city?: string
3068
						useRadius?: false | true
3069
						radiusInKm?: number
3070
						countryCode?: string
3071
						lat?: number
3072
						lon?: number
3073
						bidModifier?: number
3074
						bidModifierType?: 'INCREASE' | 'DECREASE'
3075
						linkedInUrn?: string
3076
						twitterTargetingValue?: string
3077
						tikTokLocationId?: string
3078
						channel?:
3079
							| 'FACEBOOK'
3080
							| 'INSTAGRAM'
3081
							| 'GOOGLE_ADWORDS'
3082
							| 'GOOGLE_DISPLAY_NETWORK'
3083
							| 'GOOGLE_ANALYTICS'
3084
							| 'YOUTUBE'
3085
							| 'XING'
3086
							| 'LINKED_IN'
3087
							| 'TWITTER'
3088
							| 'GOOGLE_MY_BUSINESS'
3089
							| 'TIKTOK'
3090
							| 'BITLY'
3091
						externalPlaceId?: string
3092
						regionReviewEnabled?: false | true
3093
						regionReviewStatus?: 'PENDING_APPROVAL' | 'APPROVED' | 'NOT_APPROVED'
3094
					}[]
3095
					retargeting?: {
3096
						googleUserLists?: {
3097
							retargetingList?: {
3098
								googleCustomerId?: string
3099
								facebookAccountId?: string
3100
								channel?:
3101
									| 'FACEBOOK'
3102
									| 'INSTAGRAM'
3103
									| 'GOOGLE_ADWORDS'
3104
									| 'GOOGLE_DISPLAY_NETWORK'
3105
									| 'GOOGLE_ANALYTICS'
3106
									| 'YOUTUBE'
3107
									| 'XING'
3108
									| 'LINKED_IN'
3109
									| 'TWITTER'
3110
									| 'GOOGLE_MY_BUSINESS'
3111
									| 'TIKTOK'
3112
									| 'BITLY'
3113
								name?: string
3114
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3115
								userId?: string
3116
								googleRetargetingListId?: string
3117
								facebookCustomAudienceId?: string
3118
								linkedInAudienceId?: string
3119
								twitterAudienceId?: string
3120
								tikTokAudienceId?: string
3121
								urlPath?: string
3122
								engagementSource?:
3123
									| 'FACEBOOK'
3124
									| 'INSTAGRAM'
3125
									| 'GOOGLE_ADWORDS'
3126
									| 'GOOGLE_DISPLAY_NETWORK'
3127
									| 'GOOGLE_ANALYTICS'
3128
									| 'YOUTUBE'
3129
									| 'XING'
3130
									| 'LINKED_IN'
3131
									| 'TWITTER'
3132
									| 'GOOGLE_MY_BUSINESS'
3133
									| 'TIKTOK'
3134
									| 'BITLY'
3135
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3136
								description?: string
3137
								audienceSize?: number
3138
								retentionDays?: number
3139
							}
3140
							bidModifier?: number
3141
							bidModifierType?: 'INCREASE' | 'DECREASE'
3142
						}[]
3143
						facebookCustomAudiences?: {
3144
							retargetingList?: {
3145
								googleCustomerId?: string
3146
								facebookAccountId?: string
3147
								channel?:
3148
									| 'FACEBOOK'
3149
									| 'INSTAGRAM'
3150
									| 'GOOGLE_ADWORDS'
3151
									| 'GOOGLE_DISPLAY_NETWORK'
3152
									| 'GOOGLE_ANALYTICS'
3153
									| 'YOUTUBE'
3154
									| 'XING'
3155
									| 'LINKED_IN'
3156
									| 'TWITTER'
3157
									| 'GOOGLE_MY_BUSINESS'
3158
									| 'TIKTOK'
3159
									| 'BITLY'
3160
								name?: string
3161
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3162
								userId?: string
3163
								googleRetargetingListId?: string
3164
								facebookCustomAudienceId?: string
3165
								linkedInAudienceId?: string
3166
								twitterAudienceId?: string
3167
								tikTokAudienceId?: string
3168
								urlPath?: string
3169
								engagementSource?:
3170
									| 'FACEBOOK'
3171
									| 'INSTAGRAM'
3172
									| 'GOOGLE_ADWORDS'
3173
									| 'GOOGLE_DISPLAY_NETWORK'
3174
									| 'GOOGLE_ANALYTICS'
3175
									| 'YOUTUBE'
3176
									| 'XING'
3177
									| 'LINKED_IN'
3178
									| 'TWITTER'
3179
									| 'GOOGLE_MY_BUSINESS'
3180
									| 'TIKTOK'
3181
									| 'BITLY'
3182
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3183
								description?: string
3184
								audienceSize?: number
3185
								retentionDays?: number
3186
							}
3187
						}[]
3188
						linkedInMatchedAudiences?: {
3189
							retargetingList?: {
3190
								googleCustomerId?: string
3191
								facebookAccountId?: string
3192
								channel?:
3193
									| 'FACEBOOK'
3194
									| 'INSTAGRAM'
3195
									| 'GOOGLE_ADWORDS'
3196
									| 'GOOGLE_DISPLAY_NETWORK'
3197
									| 'GOOGLE_ANALYTICS'
3198
									| 'YOUTUBE'
3199
									| 'XING'
3200
									| 'LINKED_IN'
3201
									| 'TWITTER'
3202
									| 'GOOGLE_MY_BUSINESS'
3203
									| 'TIKTOK'
3204
									| 'BITLY'
3205
								name?: string
3206
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3207
								userId?: string
3208
								googleRetargetingListId?: string
3209
								facebookCustomAudienceId?: string
3210
								linkedInAudienceId?: string
3211
								twitterAudienceId?: string
3212
								tikTokAudienceId?: string
3213
								urlPath?: string
3214
								engagementSource?:
3215
									| 'FACEBOOK'
3216
									| 'INSTAGRAM'
3217
									| 'GOOGLE_ADWORDS'
3218
									| 'GOOGLE_DISPLAY_NETWORK'
3219
									| 'GOOGLE_ANALYTICS'
3220
									| 'YOUTUBE'
3221
									| 'XING'
3222
									| 'LINKED_IN'
3223
									| 'TWITTER'
3224
									| 'GOOGLE_MY_BUSINESS'
3225
									| 'TIKTOK'
3226
									| 'BITLY'
3227
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3228
								description?: string
3229
								audienceSize?: number
3230
								retentionDays?: number
3231
							}
3232
						}[]
3233
						twitterCustomAudiences?: {
3234
							retargetingList?: {
3235
								googleCustomerId?: string
3236
								facebookAccountId?: string
3237
								channel?:
3238
									| 'FACEBOOK'
3239
									| 'INSTAGRAM'
3240
									| 'GOOGLE_ADWORDS'
3241
									| 'GOOGLE_DISPLAY_NETWORK'
3242
									| 'GOOGLE_ANALYTICS'
3243
									| 'YOUTUBE'
3244
									| 'XING'
3245
									| 'LINKED_IN'
3246
									| 'TWITTER'
3247
									| 'GOOGLE_MY_BUSINESS'
3248
									| 'TIKTOK'
3249
									| 'BITLY'
3250
								name?: string
3251
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3252
								userId?: string
3253
								googleRetargetingListId?: string
3254
								facebookCustomAudienceId?: string
3255
								linkedInAudienceId?: string
3256
								twitterAudienceId?: string
3257
								tikTokAudienceId?: string
3258
								urlPath?: string
3259
								engagementSource?:
3260
									| 'FACEBOOK'
3261
									| 'INSTAGRAM'
3262
									| 'GOOGLE_ADWORDS'
3263
									| 'GOOGLE_DISPLAY_NETWORK'
3264
									| 'GOOGLE_ANALYTICS'
3265
									| 'YOUTUBE'
3266
									| 'XING'
3267
									| 'LINKED_IN'
3268
									| 'TWITTER'
3269
									| 'GOOGLE_MY_BUSINESS'
3270
									| 'TIKTOK'
3271
									| 'BITLY'
3272
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3273
								description?: string
3274
								audienceSize?: number
3275
								retentionDays?: number
3276
							}
3277
						}[]
3278
						tikTokAudiences?: {
3279
							retargetingList?: {
3280
								googleCustomerId?: string
3281
								facebookAccountId?: string
3282
								channel?:
3283
									| 'FACEBOOK'
3284
									| 'INSTAGRAM'
3285
									| 'GOOGLE_ADWORDS'
3286
									| 'GOOGLE_DISPLAY_NETWORK'
3287
									| 'GOOGLE_ANALYTICS'
3288
									| 'YOUTUBE'
3289
									| 'XING'
3290
									| 'LINKED_IN'
3291
									| 'TWITTER'
3292
									| 'GOOGLE_MY_BUSINESS'
3293
									| 'TIKTOK'
3294
									| 'BITLY'
3295
								name?: string
3296
								status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3297
								userId?: string
3298
								googleRetargetingListId?: string
3299
								facebookCustomAudienceId?: string
3300
								linkedInAudienceId?: string
3301
								twitterAudienceId?: string
3302
								tikTokAudienceId?: string
3303
								urlPath?: string
3304
								engagementSource?:
3305
									| 'FACEBOOK'
3306
									| 'INSTAGRAM'
3307
									| 'GOOGLE_ADWORDS'
3308
									| 'GOOGLE_DISPLAY_NETWORK'
3309
									| 'GOOGLE_ANALYTICS'
3310
									| 'YOUTUBE'
3311
									| 'XING'
3312
									| 'LINKED_IN'
3313
									| 'TWITTER'
3314
									| 'GOOGLE_MY_BUSINESS'
3315
									| 'TIKTOK'
3316
									| 'BITLY'
3317
								engagementType?: 'ENGAGED' | 'FOLLOWER'
3318
								description?: string
3319
								audienceSize?: number
3320
								retentionDays?: number
3321
							}
3322
						}[]
3323
					}
3324
					linkedInTargetingEntityLinkOperator?: 'AND' | 'OR'
3325
					twitterTargetingCriterias?: {
3326
						type?: 'KEYWORD' | 'FOLLOWER_LOOKALIKE'
3327
						value?: string
3328
						twitterId?: string
3329
					}[]
3330
				}
3331
				retargeting?: {
3332
					googleUserLists?: {
3333
						retargetingList?: {
3334
							googleCustomerId?: string
3335
							facebookAccountId?: string
3336
							channel?:
3337
								| 'FACEBOOK'
3338
								| 'INSTAGRAM'
3339
								| 'GOOGLE_ADWORDS'
3340
								| 'GOOGLE_DISPLAY_NETWORK'
3341
								| 'GOOGLE_ANALYTICS'
3342
								| 'YOUTUBE'
3343
								| 'XING'
3344
								| 'LINKED_IN'
3345
								| 'TWITTER'
3346
								| 'GOOGLE_MY_BUSINESS'
3347
								| 'TIKTOK'
3348
								| 'BITLY'
3349
							name?: string
3350
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3351
							userId?: string
3352
							googleRetargetingListId?: string
3353
							facebookCustomAudienceId?: string
3354
							linkedInAudienceId?: string
3355
							twitterAudienceId?: string
3356
							tikTokAudienceId?: string
3357
							urlPath?: string
3358
							engagementSource?:
3359
								| 'FACEBOOK'
3360
								| 'INSTAGRAM'
3361
								| 'GOOGLE_ADWORDS'
3362
								| 'GOOGLE_DISPLAY_NETWORK'
3363
								| 'GOOGLE_ANALYTICS'
3364
								| 'YOUTUBE'
3365
								| 'XING'
3366
								| 'LINKED_IN'
3367
								| 'TWITTER'
3368
								| 'GOOGLE_MY_BUSINESS'
3369
								| 'TIKTOK'
3370
								| 'BITLY'
3371
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3372
							description?: string
3373
							audienceSize?: number
3374
							retentionDays?: number
3375
						}
3376
						bidModifier?: number
3377
						bidModifierType?: 'INCREASE' | 'DECREASE'
3378
					}[]
3379
					facebookCustomAudiences?: {
3380
						retargetingList?: {
3381
							googleCustomerId?: string
3382
							facebookAccountId?: string
3383
							channel?:
3384
								| 'FACEBOOK'
3385
								| 'INSTAGRAM'
3386
								| 'GOOGLE_ADWORDS'
3387
								| 'GOOGLE_DISPLAY_NETWORK'
3388
								| 'GOOGLE_ANALYTICS'
3389
								| 'YOUTUBE'
3390
								| 'XING'
3391
								| 'LINKED_IN'
3392
								| 'TWITTER'
3393
								| 'GOOGLE_MY_BUSINESS'
3394
								| 'TIKTOK'
3395
								| 'BITLY'
3396
							name?: string
3397
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3398
							userId?: string
3399
							googleRetargetingListId?: string
3400
							facebookCustomAudienceId?: string
3401
							linkedInAudienceId?: string
3402
							twitterAudienceId?: string
3403
							tikTokAudienceId?: string
3404
							urlPath?: string
3405
							engagementSource?:
3406
								| 'FACEBOOK'
3407
								| 'INSTAGRAM'
3408
								| 'GOOGLE_ADWORDS'
3409
								| 'GOOGLE_DISPLAY_NETWORK'
3410
								| 'GOOGLE_ANALYTICS'
3411
								| 'YOUTUBE'
3412
								| 'XING'
3413
								| 'LINKED_IN'
3414
								| 'TWITTER'
3415
								| 'GOOGLE_MY_BUSINESS'
3416
								| 'TIKTOK'
3417
								| 'BITLY'
3418
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3419
							description?: string
3420
							audienceSize?: number
3421
							retentionDays?: number
3422
						}
3423
					}[]
3424
					linkedInMatchedAudiences?: {
3425
						retargetingList?: {
3426
							googleCustomerId?: string
3427
							facebookAccountId?: string
3428
							channel?:
3429
								| 'FACEBOOK'
3430
								| 'INSTAGRAM'
3431
								| 'GOOGLE_ADWORDS'
3432
								| 'GOOGLE_DISPLAY_NETWORK'
3433
								| 'GOOGLE_ANALYTICS'
3434
								| 'YOUTUBE'
3435
								| 'XING'
3436
								| 'LINKED_IN'
3437
								| 'TWITTER'
3438
								| 'GOOGLE_MY_BUSINESS'
3439
								| 'TIKTOK'
3440
								| 'BITLY'
3441
							name?: string
3442
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3443
							userId?: string
3444
							googleRetargetingListId?: string
3445
							facebookCustomAudienceId?: string
3446
							linkedInAudienceId?: string
3447
							twitterAudienceId?: string
3448
							tikTokAudienceId?: string
3449
							urlPath?: string
3450
							engagementSource?:
3451
								| 'FACEBOOK'
3452
								| 'INSTAGRAM'
3453
								| 'GOOGLE_ADWORDS'
3454
								| 'GOOGLE_DISPLAY_NETWORK'
3455
								| 'GOOGLE_ANALYTICS'
3456
								| 'YOUTUBE'
3457
								| 'XING'
3458
								| 'LINKED_IN'
3459
								| 'TWITTER'
3460
								| 'GOOGLE_MY_BUSINESS'
3461
								| 'TIKTOK'
3462
								| 'BITLY'
3463
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3464
							description?: string
3465
							audienceSize?: number
3466
							retentionDays?: number
3467
						}
3468
					}[]
3469
					twitterCustomAudiences?: {
3470
						retargetingList?: {
3471
							googleCustomerId?: string
3472
							facebookAccountId?: string
3473
							channel?:
3474
								| 'FACEBOOK'
3475
								| 'INSTAGRAM'
3476
								| 'GOOGLE_ADWORDS'
3477
								| 'GOOGLE_DISPLAY_NETWORK'
3478
								| 'GOOGLE_ANALYTICS'
3479
								| 'YOUTUBE'
3480
								| 'XING'
3481
								| 'LINKED_IN'
3482
								| 'TWITTER'
3483
								| 'GOOGLE_MY_BUSINESS'
3484
								| 'TIKTOK'
3485
								| 'BITLY'
3486
							name?: string
3487
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3488
							userId?: string
3489
							googleRetargetingListId?: string
3490
							facebookCustomAudienceId?: string
3491
							linkedInAudienceId?: string
3492
							twitterAudienceId?: string
3493
							tikTokAudienceId?: string
3494
							urlPath?: string
3495
							engagementSource?:
3496
								| 'FACEBOOK'
3497
								| 'INSTAGRAM'
3498
								| 'GOOGLE_ADWORDS'
3499
								| 'GOOGLE_DISPLAY_NETWORK'
3500
								| 'GOOGLE_ANALYTICS'
3501
								| 'YOUTUBE'
3502
								| 'XING'
3503
								| 'LINKED_IN'
3504
								| 'TWITTER'
3505
								| 'GOOGLE_MY_BUSINESS'
3506
								| 'TIKTOK'
3507
								| 'BITLY'
3508
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3509
							description?: string
3510
							audienceSize?: number
3511
							retentionDays?: number
3512
						}
3513
					}[]
3514
					tikTokAudiences?: {
3515
						retargetingList?: {
3516
							googleCustomerId?: string
3517
							facebookAccountId?: string
3518
							channel?:
3519
								| 'FACEBOOK'
3520
								| 'INSTAGRAM'
3521
								| 'GOOGLE_ADWORDS'
3522
								| 'GOOGLE_DISPLAY_NETWORK'
3523
								| 'GOOGLE_ANALYTICS'
3524
								| 'YOUTUBE'
3525
								| 'XING'
3526
								| 'LINKED_IN'
3527
								| 'TWITTER'
3528
								| 'GOOGLE_MY_BUSINESS'
3529
								| 'TIKTOK'
3530
								| 'BITLY'
3531
							name?: string
3532
							status?: 'OPEN' | 'NOT_ENOUGH_USERS' | 'CLOSED'
3533
							userId?: string
3534
							googleRetargetingListId?: string
3535
							facebookCustomAudienceId?: string
3536
							linkedInAudienceId?: string
3537
							twitterAudienceId?: string
3538
							tikTokAudienceId?: string
3539
							urlPath?: string
3540
							engagementSource?:
3541
								| 'FACEBOOK'
3542
								| 'INSTAGRAM'
3543
								| 'GOOGLE_ADWORDS'
3544
								| 'GOOGLE_DISPLAY_NETWORK'
3545
								| 'GOOGLE_ANALYTICS'
3546
								| 'YOUTUBE'
3547
								| 'XING'
3548
								| 'LINKED_IN'
3549
								| 'TWITTER'
3550
								| 'GOOGLE_MY_BUSINESS'
3551
								| 'TIKTOK'
3552
								| 'BITLY'
3553
							engagementType?: 'ENGAGED' | 'FOLLOWER'
3554
							description?: string
3555
							audienceSize?: number
3556
							retentionDays?: number
3557
						}
3558
					}[]
3559
				}
3560
				shoppingSettings?: {
3561
					googleMerchantAccount?: { merchantAccountId?: string; name?: string }
3562
					salesCountry?: string
3563
					enableLocal?: false | true
3564
					googleShoppingCampaignType?: 'CLASSIC' | 'SMART'
3565
					productScopeType?: 'NONE' | 'FILTER'
3566
					productScopes?: {
3567
						productDimension?:
3568
							| 'BRAND'
3569
							| 'PRODUCT_NR'
3570
							| 'STATE'
3571
							| 'PRODUCT_TYPE'
3572
							| 'CUSTOM_LABEL_0'
3573
							| 'CUSTOM_LABEL_1'
3574
							| 'CUSTOM_LABEL_2'
3575
							| 'CUSTOM_LABEL_3'
3576
							| 'CUSTOM_LABEL_4'
3577
							| 'CHANNEL'
3578
							| 'CHANNEL_EXCLUSIVE'
3579
						value?: string
3580
					}[]
3581
					facebookProductCatalog?: {
3582
						id?: string
3583
						name?: string
3584
						nbrOfProducts?: number
3585
						nbrOfQualifiedProducts?: number
3586
					}
3587
					facebookDynamicAdsTargetingType?: 'RETARGETING' | 'BROAD'
3588
					facebookProductSet?: {
3589
						id?: string
3590
						name?: string
3591
						nbrOfProducts?: number
3592
					}
3593
					facebookRetargetingIncludedRetentionDays?: number
3594
					facebookRetargetingExcludedRetentionDays?: number
3595
				}
3596
				dynamicSearchSettings?: { domainName?: string; languageCode?: string }
3597
				extension?: {
3598
					sitelinkExtensions?: {
3599
						feedId?: number
3600
						feedItemId?: number
3601
						assetId?: number
3602
						adwordsCustomerId?: string
3603
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
3604
						extensionRunStatus?:
3605
							| 'ADDED_CAMPAIGN'
3606
							| 'ADDED_ADGROUP'
3607
							| 'ADDED_ACCOUNT'
3608
							| 'IS_CAMPAIGN_LINKED'
3609
							| 'IS_ADGROUP_LINKED'
3610
							| 'UNLINKING'
3611
							| 'UNLINKED'
3612
						sitelinkName?: string
3613
						sitelinkUrl?: string
3614
						sitelinkDescription1?: string
3615
						sitelinkDescription2?: string
3616
						finalUrls?: string[]
3617
						finalMobileUrls?: string[]
3618
						sitelinkTrackingUrl?: string
3619
					}[]
3620
					calloutExtensions?: {
3621
						feedId?: number
3622
						feedItemId?: number
3623
						assetId?: number
3624
						adwordsCustomerId?: string
3625
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
3626
						extensionRunStatus?:
3627
							| 'ADDED_CAMPAIGN'
3628
							| 'ADDED_ADGROUP'
3629
							| 'ADDED_ACCOUNT'
3630
							| 'IS_CAMPAIGN_LINKED'
3631
							| 'IS_ADGROUP_LINKED'
3632
							| 'UNLINKING'
3633
							| 'UNLINKED'
3634
						calloutText?: string
3635
					}[]
3636
					callExtensions?: {
3637
						feedId?: number
3638
						feedItemId?: number
3639
						assetId?: number
3640
						adwordsCustomerId?: string
3641
						extensionStatus?: 'ACCOUNT' | 'CAMPAIGN' | 'ADGROUP' | 'NONE'
3642
						extensionRunStatus?:
3643
							| 'ADDED_CAMPAIGN'
3644
							| 'ADDED_ADGROUP'
3645
							| 'ADDED_ACCOUNT'
3646
							| 'IS_CAMPAIGN_LINKED'
3647
							| 'IS_ADGROUP_LINKED'
3648
							| 'UNLINKING'
3649
							| 'UNLINKED'
3650
						phoneNumber?: string
3651
						country?: string
3652
					}[]
3653
				}
3654
				status?:
3655
					| 'COMPLETED'
3656
					| 'IN_REVIEW'
3657
					| 'IS_RUNNING'
3658
					| 'STOP'
3659
					| 'REMOVED'
3660
					| 'DISAPPROVED'
3661
					| 'IS_STOPPING'
3662
				createdFromTargetingTemplateId?: string
3663
				facebookSpecialAdCategory?:
3664
					| 'NONE'
3665
					| 'CREDIT'
3666
					| 'EMPLOYMENT'
3667
					| 'HOUSING'
3668
					| 'ISSUES_ELECTIONS_POLITICS'
3669
					| 'ONLINE_GAMBLING_AND_GAMING'
3670
				facebookSpecialAdCategoryCountry?: string
3671
			}
3672
			targetName?: string
3673
			channels?:
3674
				| 'FACEBOOK'
3675
				| 'INSTAGRAM'
3676
				| 'GOOGLE_ADWORDS'
3677
				| 'GOOGLE_DISPLAY_NETWORK'
3678
				| 'GOOGLE_ANALYTICS'
3679
				| 'YOUTUBE'
3680
				| 'XING'
3681
				| 'LINKED_IN'
3682
				| 'TWITTER'
3683
				| 'GOOGLE_MY_BUSINESS'
3684
				| 'TIKTOK'
3685
				| 'BITLY'[]
3686
		}[]
3687
		adChannels?: {
3688
			channel?:
3689
				| 'FACEBOOK'
3690
				| 'INSTAGRAM'
3691
				| 'GOOGLE_ADWORDS'
3692
				| 'GOOGLE_DISPLAY_NETWORK'
3693
				| 'GOOGLE_ANALYTICS'
3694
				| 'YOUTUBE'
3695
				| 'XING'
3696
				| 'LINKED_IN'
3697
				| 'TWITTER'
3698
				| 'GOOGLE_MY_BUSINESS'
3699
				| 'TIKTOK'
3700
				| 'BITLY'
3701
			placement?:
3702
				| 'GOOGLE_DISPLAY_NETWORK'
3703
				| 'YOUTUBE'
3704
				| 'GOOGLE_MY_BUSINESS'
3705
				| 'GOOGLE_SEARCH_NETWORK'
3706
				| 'FACEBOOK_TIMELINE'
3707
				| 'FACEBOOK_AUDIENCE_NETWORK'
3708
				| 'INSTAGRAM_TIMELINE'
3709
				| 'GOOGLE_SHOPPING'
3710
				| 'FACEBOOK_MESSENGER'
3711
				| 'LINKEDIN_CONTENT'
3712
				| 'LINKEDIN_TEXT'
3713
				| 'LINKEDIN_INMAIL'
3714
				| 'LINKEDIN_DYNAMIC'
3715
				| 'FACEBOOK_STORIES'
3716
				| 'FACEBOOK_INSTANT_ARTICLES'
3717
				| 'FACEBOOK_RIGHT_HAND_COLUMN'
3718
				| 'FACEBOOK_MARKETPLACE'
3719
				| 'INSTAGRAM_STORIES'
3720
				| 'FACEBOOK_MESSENGER_STORIES'
3721
				| 'FACEBOOK_SEARCH'
3722
				| 'FACEBOOK_INSTREAM_VIDEO'
3723
				| 'FACEBOOK_REELS'
3724
				| 'INSTAGRAM_EXPLORE_HOME'
3725
				| 'INSTAGRAM_PROFILE_FEED'
3726
				| 'INSTAGRAM_PROFILE_REELS'
3727
				| 'LINKEDIN_AUDIENCE_NETWORK'
3728
				| 'TWITTER_ALL'
3729
				| 'TWITTER_PUBLISHER_NETWORK'
3730
				| 'TWITTER_SEARCH'
3731
				| 'TWITTER_TIMELINE'
3732
				| 'TWITTER_PROFILE'
3733
				| 'FACEBOOK_UNKNOWN'
3734
				| 'FACEBOOK_VIDEO_FEED'
3735
				| 'INSTAGRAM_REELS'
3736
				| 'INSTAGRAM_SHOP'
3737
				| 'INSTAGRAM_EXPLORE'
3738
				| 'TIKTOK_FEED'
3739
				| 'META_AUTOMATIC'
3740
			selected?: false | true
3741
		}[]
3742
		nbrOfDays?: number
3743
		totalBudget?: number
3744
		facebookBudget?: number
3745
		instagramBudget?: number
3746
		linkedInBudget?: number
3747
		twitterBudget?: number
3748
		tikTokBudget?: number
3749
		currency?:
3750
			| 'ALL'
3751
			| 'CHF'
3752
			| 'USD'
3753
			| 'EUR'
3754
			| 'AED'
3755
			| 'AFN'
3756
			| 'AMD'
3757
			| 'ANG'
3758
			| 'AOA'
3759
			| 'ARS'
3760
			| 'AUD'
3761
			| 'AWG'
3762
			| 'AZN'
3763
			| 'BAM'
3764
			| 'BBD'
3765
			| 'BDT'
3766
			| 'BGN'
3767
			| 'BHD'
3768
			| 'BIF'
3769
			| 'BMD'
3770
			| 'BND'
3771
			| 'BOB'
3772
			| 'BOV'
3773
			| 'BRL'
3774
			| 'BSD'
3775
			| 'BTN'
3776
			| 'BWP'
3777
			| 'BYN'
3778
			| 'BZD'
3779
			| 'CAD'
3780
			| 'CDF'
3781
			| 'CHE'
3782
			| 'CHW'
3783
			| 'CLF'
3784
			| 'CLP'
3785
			| 'CNY'
3786
			| 'COP'
3787
			| 'COU'
3788
			| 'CRC'
3789
			| 'CUC'
3790
			| 'CUP'
3791
			| 'CVE'
3792
			| 'CZK'
3793
			| 'DJF'
3794
			| 'DKK'
3795
			| 'DOP'
3796
			| 'DZD'
3797
			| 'EGP'
3798
			| 'ERN'
3799
			| 'ETB'
3800
			| 'FJD'
3801
			| 'FKP'
3802
			| 'GBP'
3803
			| 'GEL'
3804
			| 'GHS'
3805
			| 'GIP'
3806
			| 'GMD'
3807
			| 'GNF'
3808
			| 'GTQ'
3809
			| 'GYD'
3810
			| 'HKD'
3811
			| 'HNL'
3812
			| 'HRK'
3813
			| 'HTG'
3814
			| 'HUF'
3815
			| 'IDR'
3816
			| 'ILS'
3817
			| 'INR'
3818
			| 'IQD'
3819
			| 'IRR'
3820
			| 'ISK'
3821
			| 'JMD'
3822
			| 'JOD'
3823
			| 'JPY'
3824
			| 'KES'
3825
			| 'KGS'
3826
			| 'KHR'
3827
			| 'KMF'
3828
			| 'KPW'
3829
			| 'KRW'
3830
			| 'KWD'
3831
			| 'KYD'
3832
			| 'KZT'
3833
			| 'LAK'
3834
			| 'LBP'
3835
			| 'LKR'
3836
			| 'LRD'
3837
			| 'LSL'
3838
			| 'LYD'
3839
			| 'MAD'
3840
			| 'MDL'
3841
			| 'MGA'
3842
			| 'MKD'
3843
			| 'MMK'
3844
			| 'MNT'
3845
			| 'MOP'
3846
			| 'MRU'
3847
			| 'MUR'
3848
			| 'MVR'
3849
			| 'MWK'
3850
			| 'MXN'
3851
			| 'MXV'
3852
			| 'MYR'
3853
			| 'MZN'
3854
			| 'NAD'
3855
			| 'NGN'
3856
			| 'NIO'
3857
			| 'NOK'
3858
			| 'NPR'
3859
			| 'NZD'
3860
			| 'OMR'
3861
			| 'PAB'
3862
			| 'PEN'
3863
			| 'PGK'
3864
			| 'PHP'
3865
			| 'PKR'
3866
			| 'PLN'
3867
			| 'PYG'
3868
			| 'QAR'
3869
			| 'RON'
3870
			| 'RSD'
3871
			| 'RUB'
3872
			| 'RWF'
3873
			| 'SAR'
3874
			| 'SBD'
3875
			| 'SCR'
3876
			| 'SDG'
3877
			| 'SEK'
3878
			| 'SGD'
3879
			| 'SHP'
3880
			| 'SLL'
3881
			| 'SOS'
3882
			| 'SRD'
3883
			| 'SSP'
3884
			| 'STN'
3885
			| 'SVC'
3886
			| 'SYP'
3887
			| 'SZL'
3888
			| 'THB'
3889
			| 'TJS'
3890
			| 'TMT'
3891
			| 'TND'
3892
			| 'TOP'
3893
			| 'TRY'
3894
			| 'TTD'
3895
			| 'TWD'
3896
			| 'TZS'
3897
			| 'UAH'
3898
			| 'UGX'
3899
			| 'UYI'
3900
			| 'UYU'
3901
			| 'UYW'
3902
			| 'UZS'
3903
			| 'VES'
3904
			| 'VND'
3905
			| 'VUV'
3906
			| 'WST'
3907
			| 'XAF'
3908
			| 'XCD'
3909
			| 'XOF'
3910
			| 'XPF'
3911
			| 'XSU'
3912
			| 'YER'
3913
			| 'ZAR'
3914
			| 'ZMW'
3915
			| 'ZWL'
3916
		promotionType?:
3917
			| 'RETARGETING'
3918
			| 'TRAFFIC'
3919
			| 'CONVERSIONS'
3920
			| 'SHOPPING'
3921
			| 'CARS'
3922
			| 'REAL_ESTATE'
3923
			| 'JOBS'
3924
			| 'EVENTS'
3925
			| 'APP'
3926
			| 'ENGAGEMENT'
3927
			| 'VIDEO_VIEWS'
3928
			| 'CALLS'
3929
			| 'REACH'
3930
			| 'FOLLOWERS'
3931
			| 'PROFILE_VIEWS'
3932
			| 'LEADS'
3933
			| 'PERFORMANCE_MAX'
3934
		campaignName?: string
3935
		adName?: string
3936
		createdFromAdTemplateId?: string
3937
		createdFromPostTemplateId?: string
3938
		createdFromPostGenerationId?: string
3939
		remark?: string
3940
		postTargeting?: {
3941
			linkedInLanguageTargeting?: false | true
3942
			selectedLinkedInLanguages?:
3943
				| 'ALL'
3944
				| 'DE'
3945
				| 'FR'
3946
				| 'EN'
3947
				| 'IT'
3948
				| 'ES'
3949
				| 'PT'
3950
				| 'NL'
3951
				| 'SV'
3952
				| 'RO'
3953
				| 'CS'
3954
				| 'EL'
3955
				| 'TR'
3956
				| 'PL'
3957
				| 'DA'
3958
				| 'EU'
3959
				| 'CY'
3960
				| 'CA'
3961
				| 'HU'
3962
				| 'SK'
3963
				| 'SL'
3964
				| 'SQ'
3965
				| 'HY'
3966
				| 'BS'
3967
				| 'BG'
3968
				| 'HR'
3969
				| 'UK'
3970
				| 'NO'
3971
				| 'FI'[]
3972
			linkedInRegionTargeting?: false | true
3973
			selectedLinkedInRegions?: { id?: string; name?: string }[]
3974
			facebookRegionTargeting?: false | true
3975
			selectedFacebookCountries?: { id?: string; name?: string }[]
3976
			facebookLocaleTargeting?: false | true
3977
			selectedFacebookLocales?: { id?: string; name?: string }[]
3978
		}
3979
		location?: {
3980
			id?: string
3981
			name?: string
3982
			type?: 'CITY' | 'COUNTRY' | 'PAGE'
3983
		}
3984
		activationErrorMessage?: string
3985
		activationErrorChannel?:
3986
			| 'FACEBOOK'
3987
			| 'INSTAGRAM'
3988
			| 'GOOGLE_ADWORDS'
3989
			| 'GOOGLE_DISPLAY_NETWORK'
3990
			| 'GOOGLE_ANALYTICS'
3991
			| 'YOUTUBE'
3992
			| 'XING'
3993
			| 'LINKED_IN'
3994
			| 'TWITTER'
3995
			| 'GOOGLE_MY_BUSINESS'
3996
			| 'TIKTOK'
3997
			| 'BITLY'
3998
		facebookBudgetOptimization?: 'CAMPAIGN_BUDGET_OPTIMIZATION' | 'ADSET_BUDGET_OPTIMIZATION'
3999
		facebookTrafficOptimization?: 'LINK_CLICKS' | 'LANDING_PAGE_VIEWS'
4000
		facebookInstagramAdMode?: 'SEPARATE_ADGROUPS' | 'SAME_ADGROUP'
4001
		linkedInBidType?: 'AUTOMATIC' | 'MANUAL'
4002
		linkedInBiddingOptimization?:
4003
			| 'MAXIMIZE_CLICKS'
4004
			| 'MAXIMIZE_IMPRESSIONS'
4005
			| 'MAXIMIZE_CONVERSIONS'
4006
			| 'MAXIMIZE_LEADS'
4007
		linkedInCostType?: 'CPC' | 'CPM'
4008
		linkedInMaxBid?: number
4009
		firstComment?: string
4010
		promotionStartDate?: string
4011
		promotionEndDate?: string
4012
		importOrigin?:
4013
			| 'FACEBOOK'
4014
			| 'INSTAGRAM'
4015
			| 'GOOGLE_ADWORDS'
4016
			| 'GOOGLE_DISPLAY_NETWORK'
4017
			| 'GOOGLE_ANALYTICS'
4018
			| 'YOUTUBE'
4019
			| 'XING'
4020
			| 'LINKED_IN'
4021
			| 'TWITTER'
4022
			| 'GOOGLE_MY_BUSINESS'
4023
			| 'TIKTOK'
4024
			| 'BITLY'
4025
		sendNotificationOnPublication?: false | true
4026
		externalPlatformDataSynchronizedAt?: string
4027
		externalId?: string
4028
	}
4029
) {
4030
	const url = new URL(`https://app.adhook.io/v1/posts/externalId/${externalId}`)
4031

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

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

4048
	return await response.json()
4049
}
4050