@postrun/js 3.2.0 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-A6DM6I6G.js → chunk-62WCSNZ4.js} +2100 -70
- package/dist/chunk-62WCSNZ4.js.map +1 -0
- package/dist/{chunk-PE3ULG66.js → chunk-W37M2JFI.js} +570 -8
- package/dist/chunk-W37M2JFI.js.map +1 -0
- package/dist/index.cjs +2734 -134
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +320 -16
- package/dist/index.d.ts +320 -16
- package/dist/index.js +3 -3
- package/dist/query.cjs +1792 -591
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +13734 -2807
- package/dist/query.d.ts +13734 -2807
- package/dist/query.js +1736 -592
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +2277 -67
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +4739 -124
- package/dist/schemas/index.d.ts +4739 -124
- package/dist/schemas/index.js +2 -2
- package/dist/server.cjs +2068 -68
- package/dist/server.cjs.map +1 -1
- package/dist/server.d.cts +1 -1
- package/dist/server.d.ts +1 -1
- package/dist/server.js +2 -2
- package/dist/{types.gen-K4cuIpk3.d.cts → types.gen-D7Xl9jUZ.d.cts} +13577 -3224
- package/dist/{types.gen-K4cuIpk3.d.ts → types.gen-D7Xl9jUZ.d.ts} +13577 -3224
- package/package.json +1 -1
- package/dist/chunk-A6DM6I6G.js.map +0 -1
- package/dist/chunk-PE3ULG66.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -823,6 +823,8 @@ var zErrorCode = z__namespace.enum([
|
|
|
823
823
|
"connection_discovery_failed",
|
|
824
824
|
"tiktok_creator_info_unavailable",
|
|
825
825
|
"tiktok_cannot_post_now",
|
|
826
|
+
"cover_unavailable",
|
|
827
|
+
"cover_not_ready",
|
|
826
828
|
"media_processing",
|
|
827
829
|
"media_upload_init_failed",
|
|
828
830
|
"media_upload_incomplete",
|
|
@@ -830,11 +832,14 @@ var zErrorCode = z__namespace.enum([
|
|
|
830
832
|
"not_publishable",
|
|
831
833
|
"invalid_connection",
|
|
832
834
|
"invalid_media",
|
|
835
|
+
"invalid_asset",
|
|
836
|
+
"invalid_audience",
|
|
833
837
|
"profile_scope_invalid",
|
|
834
838
|
"media_unprobeable",
|
|
835
839
|
"media_too_large",
|
|
836
840
|
"media_aspect_ratio_unsupported",
|
|
837
841
|
"media_resolution_too_low",
|
|
842
|
+
"media_resolution_too_high",
|
|
838
843
|
"media_gif_unsupported",
|
|
839
844
|
"media_format_recompressed",
|
|
840
845
|
"media_resolution_downscaled",
|
|
@@ -843,6 +848,7 @@ var zErrorCode = z__namespace.enum([
|
|
|
843
848
|
"video_audio_codec_unsupported",
|
|
844
849
|
"video_too_large",
|
|
845
850
|
"video_too_small",
|
|
851
|
+
"video_bitrate_too_low",
|
|
846
852
|
"video_dimensions_unsupported",
|
|
847
853
|
"video_dimensions_too_large",
|
|
848
854
|
"video_fps_unsupported",
|
|
@@ -922,6 +928,11 @@ var zErrorCode = z__namespace.enum([
|
|
|
922
928
|
"google_auth_expired",
|
|
923
929
|
"google_permission_denied",
|
|
924
930
|
"google_request_failed",
|
|
931
|
+
"tiktok_ads_rate_limited",
|
|
932
|
+
"tiktok_ads_server_error",
|
|
933
|
+
"tiktok_ads_auth_expired",
|
|
934
|
+
"tiktok_ads_permission_denied",
|
|
935
|
+
"tiktok_ads_request_failed",
|
|
925
936
|
"google_conversion_duplicate",
|
|
926
937
|
"google_conversion_invalid_click_id",
|
|
927
938
|
"google_conversion_event_too_old",
|
|
@@ -1023,6 +1034,7 @@ var zMedia = z__namespace.object({
|
|
|
1023
1034
|
"media_too_large",
|
|
1024
1035
|
"media_aspect_ratio_unsupported",
|
|
1025
1036
|
"media_resolution_too_low",
|
|
1037
|
+
"media_resolution_too_high",
|
|
1026
1038
|
"media_gif_unsupported",
|
|
1027
1039
|
"media_format_recompressed",
|
|
1028
1040
|
"media_resolution_downscaled",
|
|
@@ -1031,6 +1043,7 @@ var zMedia = z__namespace.object({
|
|
|
1031
1043
|
"video_audio_codec_unsupported",
|
|
1032
1044
|
"video_too_large",
|
|
1033
1045
|
"video_too_small",
|
|
1046
|
+
"video_bitrate_too_low",
|
|
1034
1047
|
"video_dimensions_unsupported",
|
|
1035
1048
|
"video_dimensions_too_large",
|
|
1036
1049
|
"video_fps_unsupported",
|
|
@@ -1077,6 +1090,7 @@ var zMedia = z__namespace.object({
|
|
|
1077
1090
|
"media_too_large",
|
|
1078
1091
|
"media_aspect_ratio_unsupported",
|
|
1079
1092
|
"media_resolution_too_low",
|
|
1093
|
+
"media_resolution_too_high",
|
|
1080
1094
|
"media_gif_unsupported",
|
|
1081
1095
|
"media_format_recompressed",
|
|
1082
1096
|
"media_resolution_downscaled",
|
|
@@ -1085,6 +1099,7 @@ var zMedia = z__namespace.object({
|
|
|
1085
1099
|
"video_audio_codec_unsupported",
|
|
1086
1100
|
"video_too_large",
|
|
1087
1101
|
"video_too_small",
|
|
1102
|
+
"video_bitrate_too_low",
|
|
1088
1103
|
"video_dimensions_unsupported",
|
|
1089
1104
|
"video_dimensions_too_large",
|
|
1090
1105
|
"video_fps_unsupported",
|
|
@@ -1113,6 +1128,7 @@ var zMedia = z__namespace.object({
|
|
|
1113
1128
|
"media_too_large",
|
|
1114
1129
|
"media_aspect_ratio_unsupported",
|
|
1115
1130
|
"media_resolution_too_low",
|
|
1131
|
+
"media_resolution_too_high",
|
|
1116
1132
|
"media_gif_unsupported",
|
|
1117
1133
|
"media_format_recompressed",
|
|
1118
1134
|
"media_resolution_downscaled",
|
|
@@ -1121,6 +1137,7 @@ var zMedia = z__namespace.object({
|
|
|
1121
1137
|
"video_audio_codec_unsupported",
|
|
1122
1138
|
"video_too_large",
|
|
1123
1139
|
"video_too_small",
|
|
1140
|
+
"video_bitrate_too_low",
|
|
1124
1141
|
"video_dimensions_unsupported",
|
|
1125
1142
|
"video_dimensions_too_large",
|
|
1126
1143
|
"video_fps_unsupported",
|
|
@@ -1284,6 +1301,8 @@ var zPostVariant = z__namespace.union([
|
|
|
1284
1301
|
"connection_discovery_failed",
|
|
1285
1302
|
"tiktok_creator_info_unavailable",
|
|
1286
1303
|
"tiktok_cannot_post_now",
|
|
1304
|
+
"cover_unavailable",
|
|
1305
|
+
"cover_not_ready",
|
|
1287
1306
|
"media_processing",
|
|
1288
1307
|
"media_upload_init_failed",
|
|
1289
1308
|
"media_upload_incomplete",
|
|
@@ -1291,11 +1310,14 @@ var zPostVariant = z__namespace.union([
|
|
|
1291
1310
|
"not_publishable",
|
|
1292
1311
|
"invalid_connection",
|
|
1293
1312
|
"invalid_media",
|
|
1313
|
+
"invalid_asset",
|
|
1314
|
+
"invalid_audience",
|
|
1294
1315
|
"profile_scope_invalid",
|
|
1295
1316
|
"media_unprobeable",
|
|
1296
1317
|
"media_too_large",
|
|
1297
1318
|
"media_aspect_ratio_unsupported",
|
|
1298
1319
|
"media_resolution_too_low",
|
|
1320
|
+
"media_resolution_too_high",
|
|
1299
1321
|
"media_gif_unsupported",
|
|
1300
1322
|
"media_format_recompressed",
|
|
1301
1323
|
"media_resolution_downscaled",
|
|
@@ -1304,6 +1326,7 @@ var zPostVariant = z__namespace.union([
|
|
|
1304
1326
|
"video_audio_codec_unsupported",
|
|
1305
1327
|
"video_too_large",
|
|
1306
1328
|
"video_too_small",
|
|
1329
|
+
"video_bitrate_too_low",
|
|
1307
1330
|
"video_dimensions_unsupported",
|
|
1308
1331
|
"video_dimensions_too_large",
|
|
1309
1332
|
"video_fps_unsupported",
|
|
@@ -1383,6 +1406,11 @@ var zPostVariant = z__namespace.union([
|
|
|
1383
1406
|
"google_auth_expired",
|
|
1384
1407
|
"google_permission_denied",
|
|
1385
1408
|
"google_request_failed",
|
|
1409
|
+
"tiktok_ads_rate_limited",
|
|
1410
|
+
"tiktok_ads_server_error",
|
|
1411
|
+
"tiktok_ads_auth_expired",
|
|
1412
|
+
"tiktok_ads_permission_denied",
|
|
1413
|
+
"tiktok_ads_request_failed",
|
|
1386
1414
|
"google_conversion_duplicate",
|
|
1387
1415
|
"google_conversion_invalid_click_id",
|
|
1388
1416
|
"google_conversion_event_too_old",
|
|
@@ -1465,6 +1493,8 @@ var zPostVariant = z__namespace.union([
|
|
|
1465
1493
|
"connection_discovery_failed",
|
|
1466
1494
|
"tiktok_creator_info_unavailable",
|
|
1467
1495
|
"tiktok_cannot_post_now",
|
|
1496
|
+
"cover_unavailable",
|
|
1497
|
+
"cover_not_ready",
|
|
1468
1498
|
"media_processing",
|
|
1469
1499
|
"media_upload_init_failed",
|
|
1470
1500
|
"media_upload_incomplete",
|
|
@@ -1472,11 +1502,14 @@ var zPostVariant = z__namespace.union([
|
|
|
1472
1502
|
"not_publishable",
|
|
1473
1503
|
"invalid_connection",
|
|
1474
1504
|
"invalid_media",
|
|
1505
|
+
"invalid_asset",
|
|
1506
|
+
"invalid_audience",
|
|
1475
1507
|
"profile_scope_invalid",
|
|
1476
1508
|
"media_unprobeable",
|
|
1477
1509
|
"media_too_large",
|
|
1478
1510
|
"media_aspect_ratio_unsupported",
|
|
1479
1511
|
"media_resolution_too_low",
|
|
1512
|
+
"media_resolution_too_high",
|
|
1480
1513
|
"media_gif_unsupported",
|
|
1481
1514
|
"media_format_recompressed",
|
|
1482
1515
|
"media_resolution_downscaled",
|
|
@@ -1485,6 +1518,7 @@ var zPostVariant = z__namespace.union([
|
|
|
1485
1518
|
"video_audio_codec_unsupported",
|
|
1486
1519
|
"video_too_large",
|
|
1487
1520
|
"video_too_small",
|
|
1521
|
+
"video_bitrate_too_low",
|
|
1488
1522
|
"video_dimensions_unsupported",
|
|
1489
1523
|
"video_dimensions_too_large",
|
|
1490
1524
|
"video_fps_unsupported",
|
|
@@ -1564,6 +1598,11 @@ var zPostVariant = z__namespace.union([
|
|
|
1564
1598
|
"google_auth_expired",
|
|
1565
1599
|
"google_permission_denied",
|
|
1566
1600
|
"google_request_failed",
|
|
1601
|
+
"tiktok_ads_rate_limited",
|
|
1602
|
+
"tiktok_ads_server_error",
|
|
1603
|
+
"tiktok_ads_auth_expired",
|
|
1604
|
+
"tiktok_ads_permission_denied",
|
|
1605
|
+
"tiktok_ads_request_failed",
|
|
1567
1606
|
"google_conversion_duplicate",
|
|
1568
1607
|
"google_conversion_invalid_click_id",
|
|
1569
1608
|
"google_conversion_event_too_old",
|
|
@@ -1630,6 +1669,8 @@ var zPostVariant = z__namespace.union([
|
|
|
1630
1669
|
"connection_discovery_failed",
|
|
1631
1670
|
"tiktok_creator_info_unavailable",
|
|
1632
1671
|
"tiktok_cannot_post_now",
|
|
1672
|
+
"cover_unavailable",
|
|
1673
|
+
"cover_not_ready",
|
|
1633
1674
|
"media_processing",
|
|
1634
1675
|
"media_upload_init_failed",
|
|
1635
1676
|
"media_upload_incomplete",
|
|
@@ -1637,11 +1678,14 @@ var zPostVariant = z__namespace.union([
|
|
|
1637
1678
|
"not_publishable",
|
|
1638
1679
|
"invalid_connection",
|
|
1639
1680
|
"invalid_media",
|
|
1681
|
+
"invalid_asset",
|
|
1682
|
+
"invalid_audience",
|
|
1640
1683
|
"profile_scope_invalid",
|
|
1641
1684
|
"media_unprobeable",
|
|
1642
1685
|
"media_too_large",
|
|
1643
1686
|
"media_aspect_ratio_unsupported",
|
|
1644
1687
|
"media_resolution_too_low",
|
|
1688
|
+
"media_resolution_too_high",
|
|
1645
1689
|
"media_gif_unsupported",
|
|
1646
1690
|
"media_format_recompressed",
|
|
1647
1691
|
"media_resolution_downscaled",
|
|
@@ -1650,6 +1694,7 @@ var zPostVariant = z__namespace.union([
|
|
|
1650
1694
|
"video_audio_codec_unsupported",
|
|
1651
1695
|
"video_too_large",
|
|
1652
1696
|
"video_too_small",
|
|
1697
|
+
"video_bitrate_too_low",
|
|
1653
1698
|
"video_dimensions_unsupported",
|
|
1654
1699
|
"video_dimensions_too_large",
|
|
1655
1700
|
"video_fps_unsupported",
|
|
@@ -1729,6 +1774,11 @@ var zPostVariant = z__namespace.union([
|
|
|
1729
1774
|
"google_auth_expired",
|
|
1730
1775
|
"google_permission_denied",
|
|
1731
1776
|
"google_request_failed",
|
|
1777
|
+
"tiktok_ads_rate_limited",
|
|
1778
|
+
"tiktok_ads_server_error",
|
|
1779
|
+
"tiktok_ads_auth_expired",
|
|
1780
|
+
"tiktok_ads_permission_denied",
|
|
1781
|
+
"tiktok_ads_request_failed",
|
|
1732
1782
|
"google_conversion_duplicate",
|
|
1733
1783
|
"google_conversion_invalid_click_id",
|
|
1734
1784
|
"google_conversion_event_too_old",
|
|
@@ -1796,6 +1846,8 @@ var zPostVariant = z__namespace.union([
|
|
|
1796
1846
|
"connection_discovery_failed",
|
|
1797
1847
|
"tiktok_creator_info_unavailable",
|
|
1798
1848
|
"tiktok_cannot_post_now",
|
|
1849
|
+
"cover_unavailable",
|
|
1850
|
+
"cover_not_ready",
|
|
1799
1851
|
"media_processing",
|
|
1800
1852
|
"media_upload_init_failed",
|
|
1801
1853
|
"media_upload_incomplete",
|
|
@@ -1803,11 +1855,14 @@ var zPostVariant = z__namespace.union([
|
|
|
1803
1855
|
"not_publishable",
|
|
1804
1856
|
"invalid_connection",
|
|
1805
1857
|
"invalid_media",
|
|
1858
|
+
"invalid_asset",
|
|
1859
|
+
"invalid_audience",
|
|
1806
1860
|
"profile_scope_invalid",
|
|
1807
1861
|
"media_unprobeable",
|
|
1808
1862
|
"media_too_large",
|
|
1809
1863
|
"media_aspect_ratio_unsupported",
|
|
1810
1864
|
"media_resolution_too_low",
|
|
1865
|
+
"media_resolution_too_high",
|
|
1811
1866
|
"media_gif_unsupported",
|
|
1812
1867
|
"media_format_recompressed",
|
|
1813
1868
|
"media_resolution_downscaled",
|
|
@@ -1816,6 +1871,7 @@ var zPostVariant = z__namespace.union([
|
|
|
1816
1871
|
"video_audio_codec_unsupported",
|
|
1817
1872
|
"video_too_large",
|
|
1818
1873
|
"video_too_small",
|
|
1874
|
+
"video_bitrate_too_low",
|
|
1819
1875
|
"video_dimensions_unsupported",
|
|
1820
1876
|
"video_dimensions_too_large",
|
|
1821
1877
|
"video_fps_unsupported",
|
|
@@ -1895,6 +1951,11 @@ var zPostVariant = z__namespace.union([
|
|
|
1895
1951
|
"google_auth_expired",
|
|
1896
1952
|
"google_permission_denied",
|
|
1897
1953
|
"google_request_failed",
|
|
1954
|
+
"tiktok_ads_rate_limited",
|
|
1955
|
+
"tiktok_ads_server_error",
|
|
1956
|
+
"tiktok_ads_auth_expired",
|
|
1957
|
+
"tiktok_ads_permission_denied",
|
|
1958
|
+
"tiktok_ads_request_failed",
|
|
1898
1959
|
"google_conversion_duplicate",
|
|
1899
1960
|
"google_conversion_invalid_click_id",
|
|
1900
1961
|
"google_conversion_event_too_old",
|
|
@@ -1966,6 +2027,8 @@ var zPostVariant = z__namespace.union([
|
|
|
1966
2027
|
"connection_discovery_failed",
|
|
1967
2028
|
"tiktok_creator_info_unavailable",
|
|
1968
2029
|
"tiktok_cannot_post_now",
|
|
2030
|
+
"cover_unavailable",
|
|
2031
|
+
"cover_not_ready",
|
|
1969
2032
|
"media_processing",
|
|
1970
2033
|
"media_upload_init_failed",
|
|
1971
2034
|
"media_upload_incomplete",
|
|
@@ -1973,11 +2036,14 @@ var zPostVariant = z__namespace.union([
|
|
|
1973
2036
|
"not_publishable",
|
|
1974
2037
|
"invalid_connection",
|
|
1975
2038
|
"invalid_media",
|
|
2039
|
+
"invalid_asset",
|
|
2040
|
+
"invalid_audience",
|
|
1976
2041
|
"profile_scope_invalid",
|
|
1977
2042
|
"media_unprobeable",
|
|
1978
2043
|
"media_too_large",
|
|
1979
2044
|
"media_aspect_ratio_unsupported",
|
|
1980
2045
|
"media_resolution_too_low",
|
|
2046
|
+
"media_resolution_too_high",
|
|
1981
2047
|
"media_gif_unsupported",
|
|
1982
2048
|
"media_format_recompressed",
|
|
1983
2049
|
"media_resolution_downscaled",
|
|
@@ -1986,6 +2052,7 @@ var zPostVariant = z__namespace.union([
|
|
|
1986
2052
|
"video_audio_codec_unsupported",
|
|
1987
2053
|
"video_too_large",
|
|
1988
2054
|
"video_too_small",
|
|
2055
|
+
"video_bitrate_too_low",
|
|
1989
2056
|
"video_dimensions_unsupported",
|
|
1990
2057
|
"video_dimensions_too_large",
|
|
1991
2058
|
"video_fps_unsupported",
|
|
@@ -2065,6 +2132,11 @@ var zPostVariant = z__namespace.union([
|
|
|
2065
2132
|
"google_auth_expired",
|
|
2066
2133
|
"google_permission_denied",
|
|
2067
2134
|
"google_request_failed",
|
|
2135
|
+
"tiktok_ads_rate_limited",
|
|
2136
|
+
"tiktok_ads_server_error",
|
|
2137
|
+
"tiktok_ads_auth_expired",
|
|
2138
|
+
"tiktok_ads_permission_denied",
|
|
2139
|
+
"tiktok_ads_request_failed",
|
|
2068
2140
|
"google_conversion_duplicate",
|
|
2069
2141
|
"google_conversion_invalid_click_id",
|
|
2070
2142
|
"google_conversion_event_too_old",
|
|
@@ -2719,6 +2791,10 @@ z__namespace.object({
|
|
|
2719
2791
|
dry_run: z__namespace.boolean(),
|
|
2720
2792
|
executed: z__namespace.boolean()
|
|
2721
2793
|
});
|
|
2794
|
+
z__namespace.object({
|
|
2795
|
+
youtube_url: z__namespace.string(),
|
|
2796
|
+
title: z__namespace.string().min(1).max(255).optional()
|
|
2797
|
+
});
|
|
2722
2798
|
z__namespace.object({
|
|
2723
2799
|
id: z__namespace.string(),
|
|
2724
2800
|
resource_name: z__namespace.string(),
|
|
@@ -2735,11 +2811,13 @@ z__namespace.union([
|
|
|
2735
2811
|
z__namespace.object({
|
|
2736
2812
|
type: z__namespace.literal("location"),
|
|
2737
2813
|
geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/),
|
|
2738
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2814
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2815
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2739
2816
|
}),
|
|
2740
2817
|
z__namespace.object({
|
|
2741
2818
|
type: z__namespace.literal("language"),
|
|
2742
|
-
language_constant: z__namespace.string().min(1)
|
|
2819
|
+
language_constant: z__namespace.string().min(1),
|
|
2820
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2743
2821
|
})
|
|
2744
2822
|
]);
|
|
2745
2823
|
z__namespace.union([
|
|
@@ -2754,7 +2832,8 @@ z__namespace.union([
|
|
|
2754
2832
|
"AGE_RANGE_65_UP",
|
|
2755
2833
|
"AGE_RANGE_UNDETERMINED"
|
|
2756
2834
|
]),
|
|
2757
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2835
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2836
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2758
2837
|
}),
|
|
2759
2838
|
z__namespace.object({
|
|
2760
2839
|
type: z__namespace.literal("gender"),
|
|
@@ -2763,7 +2842,8 @@ z__namespace.union([
|
|
|
2763
2842
|
"FEMALE",
|
|
2764
2843
|
"UNDETERMINED"
|
|
2765
2844
|
]),
|
|
2766
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2845
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2846
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2767
2847
|
}),
|
|
2768
2848
|
z__namespace.object({
|
|
2769
2849
|
type: z__namespace.literal("income_range"),
|
|
@@ -2776,7 +2856,8 @@ z__namespace.union([
|
|
|
2776
2856
|
"INCOME_RANGE_90_UP",
|
|
2777
2857
|
"INCOME_RANGE_UNDETERMINED"
|
|
2778
2858
|
]),
|
|
2779
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2859
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2860
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2780
2861
|
}),
|
|
2781
2862
|
z__namespace.object({
|
|
2782
2863
|
type: z__namespace.literal("parental_status"),
|
|
@@ -2785,28 +2866,98 @@ z__namespace.union([
|
|
|
2785
2866
|
"NOT_A_PARENT",
|
|
2786
2867
|
"UNDETERMINED"
|
|
2787
2868
|
]),
|
|
2788
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2869
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2870
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2789
2871
|
}),
|
|
2790
2872
|
z__namespace.object({
|
|
2791
2873
|
type: z__namespace.literal("user_list"),
|
|
2792
2874
|
user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/),
|
|
2793
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2875
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2876
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2794
2877
|
}),
|
|
2795
2878
|
z__namespace.object({
|
|
2796
2879
|
type: z__namespace.literal("audience"),
|
|
2797
2880
|
audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/),
|
|
2798
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2881
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2882
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2799
2883
|
}),
|
|
2800
2884
|
z__namespace.object({
|
|
2801
2885
|
type: z__namespace.literal("custom_audience"),
|
|
2802
2886
|
custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/),
|
|
2803
|
-
negative: z__namespace.boolean().optional().default(false)
|
|
2887
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2888
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2804
2889
|
})
|
|
2805
2890
|
]);
|
|
2806
2891
|
z__namespace.object({
|
|
2807
2892
|
positive_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
|
|
2808
2893
|
negative_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
|
|
2809
2894
|
});
|
|
2895
|
+
z__namespace.object({
|
|
2896
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
2897
|
+
headlines: z__namespace.array(z__namespace.object({
|
|
2898
|
+
text: z__namespace.string().min(1).max(30),
|
|
2899
|
+
pinned_field: z__namespace.enum([
|
|
2900
|
+
"HEADLINE_1",
|
|
2901
|
+
"HEADLINE_2",
|
|
2902
|
+
"HEADLINE_3"
|
|
2903
|
+
]).optional()
|
|
2904
|
+
})).min(3).max(15).optional(),
|
|
2905
|
+
descriptions: z__namespace.array(z__namespace.object({
|
|
2906
|
+
text: z__namespace.string().min(1).max(90)
|
|
2907
|
+
})).min(2).max(4).optional(),
|
|
2908
|
+
path1: z__namespace.string().max(15).optional(),
|
|
2909
|
+
path2: z__namespace.string().max(15).optional(),
|
|
2910
|
+
final_mobile_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
2911
|
+
tracking_url_template: z__namespace.string().min(1).optional(),
|
|
2912
|
+
final_url_suffix: z__namespace.string().min(1).optional(),
|
|
2913
|
+
url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional()
|
|
2914
|
+
});
|
|
2915
|
+
z__namespace.object({
|
|
2916
|
+
marketing_images: z__namespace.array(z__namespace.object({
|
|
2917
|
+
asset: z__namespace.string().min(1)
|
|
2918
|
+
})).min(1).max(15).optional(),
|
|
2919
|
+
square_marketing_images: z__namespace.array(z__namespace.object({
|
|
2920
|
+
asset: z__namespace.string().min(1)
|
|
2921
|
+
})).min(1).max(15).optional(),
|
|
2922
|
+
logo_images: z__namespace.array(z__namespace.object({
|
|
2923
|
+
asset: z__namespace.string().min(1)
|
|
2924
|
+
})).min(1).max(5).optional(),
|
|
2925
|
+
square_logo_images: z__namespace.array(z__namespace.object({
|
|
2926
|
+
asset: z__namespace.string().min(1)
|
|
2927
|
+
})).min(1).max(5).optional(),
|
|
2928
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
2929
|
+
headlines: z__namespace.array(z__namespace.object({
|
|
2930
|
+
text: z__namespace.string().min(1).max(30)
|
|
2931
|
+
})).min(1).max(5).optional(),
|
|
2932
|
+
long_headline: z__namespace.object({
|
|
2933
|
+
text: z__namespace.string().min(1).max(90)
|
|
2934
|
+
}).optional(),
|
|
2935
|
+
descriptions: z__namespace.array(z__namespace.object({
|
|
2936
|
+
text: z__namespace.string().min(1).max(90)
|
|
2937
|
+
})).min(1).max(5).optional(),
|
|
2938
|
+
business_name: z__namespace.string().min(1).max(25).optional(),
|
|
2939
|
+
call_to_action_text: z__namespace.string().min(1).optional(),
|
|
2940
|
+
main_color: z__namespace.string().min(1).optional(),
|
|
2941
|
+
accent_color: z__namespace.string().min(1).optional(),
|
|
2942
|
+
final_mobile_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
2943
|
+
tracking_url_template: z__namespace.string().min(1).optional(),
|
|
2944
|
+
final_url_suffix: z__namespace.string().min(1).optional(),
|
|
2945
|
+
url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional()
|
|
2946
|
+
});
|
|
2947
|
+
var zGoogleAdsCampaignBidding = z__namespace.union([
|
|
2948
|
+
z__namespace.object({
|
|
2949
|
+
strategy: z__namespace.literal("target_cpa"),
|
|
2950
|
+
target_cpa_micros: z__namespace.int().gt(0).lte(9007199254740991)
|
|
2951
|
+
}),
|
|
2952
|
+
z__namespace.object({
|
|
2953
|
+
strategy: z__namespace.literal("target_roas"),
|
|
2954
|
+
target_roas: z__namespace.number().gte(0.01).lte(1e3)
|
|
2955
|
+
}),
|
|
2956
|
+
z__namespace.object({
|
|
2957
|
+
strategy: z__namespace.literal("maximize_conversion_value"),
|
|
2958
|
+
target_roas: z__namespace.number().gte(0.01).lte(1e3)
|
|
2959
|
+
})
|
|
2960
|
+
]);
|
|
2810
2961
|
var zGoogleAdsInsightLevel = z__namespace.enum([
|
|
2811
2962
|
"account",
|
|
2812
2963
|
"campaign",
|
|
@@ -2863,12 +3014,119 @@ z__namespace.object({
|
|
|
2863
3014
|
since: z__namespace.iso.date(),
|
|
2864
3015
|
until: z__namespace.iso.date()
|
|
2865
3016
|
});
|
|
3017
|
+
var zGoogleAdsPmaxAssetSet = z__namespace.object({
|
|
3018
|
+
headlines: z__namespace.array(z__namespace.string().min(1).max(30)).min(3).max(15),
|
|
3019
|
+
long_headlines: z__namespace.array(z__namespace.string().min(1).max(90)).min(1).max(5),
|
|
3020
|
+
descriptions: z__namespace.array(z__namespace.string().min(1).max(90)).min(2).max(5),
|
|
3021
|
+
business_name: z__namespace.string().min(1).max(25),
|
|
3022
|
+
marketing_images: z__namespace.array(z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/)).min(1).max(20),
|
|
3023
|
+
square_marketing_images: z__namespace.array(z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/)).min(1).max(20),
|
|
3024
|
+
logos: z__namespace.array(z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/)).min(1).max(5),
|
|
3025
|
+
portrait_marketing_images: z__namespace.array(z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/)).max(20).optional(),
|
|
3026
|
+
landscape_logos: z__namespace.array(z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/)).max(20).optional(),
|
|
3027
|
+
youtube_videos: z__namespace.array(z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/)).max(15).optional()
|
|
3028
|
+
});
|
|
3029
|
+
z__namespace.object({
|
|
3030
|
+
name: z__namespace.string().min(1).max(128),
|
|
3031
|
+
budget_micros: z__namespace.int().gt(0).lte(9007199254740991),
|
|
3032
|
+
bidding: z__namespace.enum(["maximize_conversions", "maximize_conversion_value"]),
|
|
3033
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
3034
|
+
asset_group_name: z__namespace.string().min(1).max(128),
|
|
3035
|
+
status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
|
|
3036
|
+
assets: zGoogleAdsPmaxAssetSet
|
|
3037
|
+
});
|
|
3038
|
+
z__namespace.object({
|
|
3039
|
+
campaign_id: z__namespace.string().nullable(),
|
|
3040
|
+
campaign_resource_name: z__namespace.string().nullable(),
|
|
3041
|
+
asset_group_id: z__namespace.string().nullable(),
|
|
3042
|
+
asset_group_resource_name: z__namespace.string().nullable(),
|
|
3043
|
+
budget_id: z__namespace.string().nullable(),
|
|
3044
|
+
dry_run: z__namespace.boolean(),
|
|
3045
|
+
executed: z__namespace.boolean()
|
|
3046
|
+
});
|
|
3047
|
+
var zGoogleAdsAssetGroup = z__namespace.object({
|
|
3048
|
+
id: z__namespace.string(),
|
|
3049
|
+
name: z__namespace.string().nullable(),
|
|
3050
|
+
status: z__namespace.enum([
|
|
3051
|
+
"UNSPECIFIED",
|
|
3052
|
+
"UNKNOWN",
|
|
3053
|
+
"ENABLED",
|
|
3054
|
+
"PAUSED",
|
|
3055
|
+
"REMOVED"
|
|
3056
|
+
]),
|
|
3057
|
+
ad_strength: z__namespace.enum([
|
|
3058
|
+
"UNSPECIFIED",
|
|
3059
|
+
"UNKNOWN",
|
|
3060
|
+
"PENDING",
|
|
3061
|
+
"NO_ADS",
|
|
3062
|
+
"POOR",
|
|
3063
|
+
"AVERAGE",
|
|
3064
|
+
"GOOD",
|
|
3065
|
+
"EXCELLENT"
|
|
3066
|
+
]),
|
|
3067
|
+
campaign: z__namespace.string().nullable(),
|
|
3068
|
+
path1: z__namespace.string().nullable(),
|
|
3069
|
+
path2: z__namespace.string().nullable()
|
|
3070
|
+
});
|
|
3071
|
+
z__namespace.object({
|
|
3072
|
+
asset_group_name: z__namespace.string().min(1).max(128),
|
|
3073
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
3074
|
+
status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
|
|
3075
|
+
assets: zGoogleAdsPmaxAssetSet
|
|
3076
|
+
});
|
|
3077
|
+
z__namespace.object({
|
|
3078
|
+
name: z__namespace.string().min(1).max(128).optional(),
|
|
3079
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
3080
|
+
path1: z__namespace.string().min(1).max(15).optional(),
|
|
3081
|
+
path2: z__namespace.string().min(1).max(15).optional()
|
|
3082
|
+
});
|
|
3083
|
+
var zGoogleAdsAssetFieldTypeFull = z__namespace.enum([
|
|
3084
|
+
"UNSPECIFIED",
|
|
3085
|
+
"UNKNOWN",
|
|
3086
|
+
"HEADLINE",
|
|
3087
|
+
"DESCRIPTION",
|
|
3088
|
+
"MANDATORY_AD_TEXT",
|
|
3089
|
+
"MARKETING_IMAGE",
|
|
3090
|
+
"MEDIA_BUNDLE",
|
|
3091
|
+
"YOUTUBE_VIDEO",
|
|
3092
|
+
"BOOK_ON_GOOGLE",
|
|
3093
|
+
"LEAD_FORM",
|
|
3094
|
+
"PROMOTION",
|
|
3095
|
+
"CALLOUT",
|
|
3096
|
+
"STRUCTURED_SNIPPET",
|
|
3097
|
+
"SITELINK",
|
|
3098
|
+
"MOBILE_APP",
|
|
3099
|
+
"HOTEL_CALLOUT",
|
|
3100
|
+
"CALL",
|
|
3101
|
+
"PRICE",
|
|
3102
|
+
"LONG_HEADLINE",
|
|
3103
|
+
"BUSINESS_NAME",
|
|
3104
|
+
"SQUARE_MARKETING_IMAGE",
|
|
3105
|
+
"PORTRAIT_MARKETING_IMAGE",
|
|
3106
|
+
"LOGO",
|
|
3107
|
+
"LANDSCAPE_LOGO",
|
|
3108
|
+
"VIDEO",
|
|
3109
|
+
"CALL_TO_ACTION_SELECTION",
|
|
3110
|
+
"AD_IMAGE",
|
|
3111
|
+
"BUSINESS_LOGO",
|
|
3112
|
+
"HOTEL_PROPERTY",
|
|
3113
|
+
"DEMAND_GEN_CAROUSEL_CARD",
|
|
3114
|
+
"BUSINESS_MESSAGE",
|
|
3115
|
+
"TALL_PORTRAIT_MARKETING_IMAGE",
|
|
3116
|
+
"RELATED_YOUTUBE_VIDEOS",
|
|
3117
|
+
"LANDING_PAGE_PREVIEW",
|
|
3118
|
+
"LONG_DESCRIPTION",
|
|
3119
|
+
"CALL_TO_ACTION",
|
|
3120
|
+
"CLASSIC_DISPLAY_IMAGE"
|
|
3121
|
+
]);
|
|
2866
3122
|
var zGoogleAdTreeNode = z__namespace.object({
|
|
2867
3123
|
level: z__namespace.enum([
|
|
2868
3124
|
"campaign",
|
|
2869
3125
|
"ad_group",
|
|
2870
3126
|
"ad",
|
|
2871
|
-
"keyword"
|
|
3127
|
+
"keyword",
|
|
3128
|
+
"asset_group",
|
|
3129
|
+
"asset_group_asset"
|
|
2872
3130
|
]),
|
|
2873
3131
|
id: z__namespace.string().min(1),
|
|
2874
3132
|
name: z__namespace.string().nullable(),
|
|
@@ -2896,6 +3154,17 @@ var zGoogleAdTreeNode = z__namespace.object({
|
|
|
2896
3154
|
"TRAVEL",
|
|
2897
3155
|
"DEMAND_GEN"
|
|
2898
3156
|
]).nullable(),
|
|
3157
|
+
field_type: zGoogleAdsAssetFieldTypeFull.nullable(),
|
|
3158
|
+
primary_status: z__namespace.enum([
|
|
3159
|
+
"UNSPECIFIED",
|
|
3160
|
+
"UNKNOWN",
|
|
3161
|
+
"ELIGIBLE",
|
|
3162
|
+
"PAUSED",
|
|
3163
|
+
"REMOVED",
|
|
3164
|
+
"PENDING",
|
|
3165
|
+
"LIMITED",
|
|
3166
|
+
"NOT_ELIGIBLE"
|
|
3167
|
+
]).nullable(),
|
|
2899
3168
|
child_kind: z__namespace.enum([
|
|
2900
3169
|
"ad_group",
|
|
2901
3170
|
"asset_group",
|
|
@@ -2920,6 +3189,107 @@ z__namespace.object({
|
|
|
2920
3189
|
object: z__namespace.literal("list"),
|
|
2921
3190
|
data: z__namespace.array(zGoogleAdTreeNode)
|
|
2922
3191
|
});
|
|
3192
|
+
var zGoogleAdsAssetGroupAsset = z__namespace.object({
|
|
3193
|
+
id: z__namespace.string().regex(/^\d+~\d+~\d+$/),
|
|
3194
|
+
field_type: zGoogleAdsAssetFieldTypeFull,
|
|
3195
|
+
asset: z__namespace.string(),
|
|
3196
|
+
asset_type: z__namespace.enum([
|
|
3197
|
+
"UNSPECIFIED",
|
|
3198
|
+
"UNKNOWN",
|
|
3199
|
+
"YOUTUBE_VIDEO",
|
|
3200
|
+
"MEDIA_BUNDLE",
|
|
3201
|
+
"IMAGE",
|
|
3202
|
+
"TEXT",
|
|
3203
|
+
"LEAD_FORM",
|
|
3204
|
+
"BOOK_ON_GOOGLE",
|
|
3205
|
+
"PROMOTION",
|
|
3206
|
+
"CALLOUT",
|
|
3207
|
+
"STRUCTURED_SNIPPET",
|
|
3208
|
+
"SITELINK",
|
|
3209
|
+
"PAGE_FEED",
|
|
3210
|
+
"DYNAMIC_EDUCATION",
|
|
3211
|
+
"MOBILE_APP",
|
|
3212
|
+
"HOTEL_CALLOUT",
|
|
3213
|
+
"CALL",
|
|
3214
|
+
"PRICE",
|
|
3215
|
+
"CALL_TO_ACTION",
|
|
3216
|
+
"DYNAMIC_REAL_ESTATE",
|
|
3217
|
+
"DYNAMIC_CUSTOM",
|
|
3218
|
+
"DYNAMIC_HOTELS_AND_RENTALS",
|
|
3219
|
+
"DYNAMIC_FLIGHTS",
|
|
3220
|
+
"DYNAMIC_TRAVEL",
|
|
3221
|
+
"DYNAMIC_LOCAL",
|
|
3222
|
+
"DYNAMIC_JOBS",
|
|
3223
|
+
"LOCATION",
|
|
3224
|
+
"HOTEL_PROPERTY",
|
|
3225
|
+
"DEMAND_GEN_CAROUSEL_CARD",
|
|
3226
|
+
"BUSINESS_MESSAGE",
|
|
3227
|
+
"APP_DEEP_LINK",
|
|
3228
|
+
"YOUTUBE_VIDEO_LIST"
|
|
3229
|
+
]),
|
|
3230
|
+
text: z__namespace.string().nullable(),
|
|
3231
|
+
status: z__namespace.enum([
|
|
3232
|
+
"UNSPECIFIED",
|
|
3233
|
+
"UNKNOWN",
|
|
3234
|
+
"ENABLED",
|
|
3235
|
+
"REMOVED",
|
|
3236
|
+
"PAUSED"
|
|
3237
|
+
])
|
|
3238
|
+
});
|
|
3239
|
+
z__namespace.union([
|
|
3240
|
+
z__namespace.object({
|
|
3241
|
+
kind: z__namespace.literal("asset"),
|
|
3242
|
+
field_type: z__namespace.enum([
|
|
3243
|
+
"MARKETING_IMAGE",
|
|
3244
|
+
"SQUARE_MARKETING_IMAGE",
|
|
3245
|
+
"LOGO",
|
|
3246
|
+
"PORTRAIT_MARKETING_IMAGE",
|
|
3247
|
+
"LANDSCAPE_LOGO",
|
|
3248
|
+
"YOUTUBE_VIDEO"
|
|
3249
|
+
]),
|
|
3250
|
+
asset: z__namespace.string().regex(/^customers\/\d+\/assets\/\d+$/),
|
|
3251
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
3252
|
+
}),
|
|
3253
|
+
z__namespace.object({
|
|
3254
|
+
kind: z__namespace.literal("text"),
|
|
3255
|
+
field_type: z__namespace.enum([
|
|
3256
|
+
"HEADLINE",
|
|
3257
|
+
"LONG_HEADLINE",
|
|
3258
|
+
"DESCRIPTION",
|
|
3259
|
+
"BUSINESS_NAME"
|
|
3260
|
+
]),
|
|
3261
|
+
text: z__namespace.string().min(1),
|
|
3262
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
3263
|
+
})
|
|
3264
|
+
]);
|
|
3265
|
+
var zGoogleAdsAssetGroupSignal = z__namespace.object({
|
|
3266
|
+
id: z__namespace.string().regex(/^\d+~\d+$/),
|
|
3267
|
+
asset_group: z__namespace.string().nullable(),
|
|
3268
|
+
type: z__namespace.enum(["audience", "search_theme"]),
|
|
3269
|
+
audience: z__namespace.string().nullable(),
|
|
3270
|
+
search_theme: z__namespace.string().nullable(),
|
|
3271
|
+
approval_status: z__namespace.enum([
|
|
3272
|
+
"UNSPECIFIED",
|
|
3273
|
+
"UNKNOWN",
|
|
3274
|
+
"APPROVED",
|
|
3275
|
+
"LIMITED",
|
|
3276
|
+
"DISAPPROVED",
|
|
3277
|
+
"UNDER_REVIEW"
|
|
3278
|
+
]),
|
|
3279
|
+
disapproval_reasons: z__namespace.array(z__namespace.string())
|
|
3280
|
+
});
|
|
3281
|
+
z__namespace.union([
|
|
3282
|
+
z__namespace.object({
|
|
3283
|
+
type: z__namespace.literal("audience"),
|
|
3284
|
+
audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/),
|
|
3285
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
3286
|
+
}),
|
|
3287
|
+
z__namespace.object({
|
|
3288
|
+
type: z__namespace.literal("search_theme"),
|
|
3289
|
+
text: z__namespace.string().min(1).max(80),
|
|
3290
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
3291
|
+
})
|
|
3292
|
+
]);
|
|
2923
3293
|
var zGoogleAdsConversionConsent = z__namespace.object({
|
|
2924
3294
|
ad_user_data: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional(),
|
|
2925
3295
|
ad_personalization: z__namespace.enum(["CONSENT_GRANTED", "CONSENT_DENIED"]).optional()
|
|
@@ -2980,6 +3350,8 @@ var zGoogleAdsConversionStatusReason = z__namespace.object({
|
|
|
2980
3350
|
"connection_discovery_failed",
|
|
2981
3351
|
"tiktok_creator_info_unavailable",
|
|
2982
3352
|
"tiktok_cannot_post_now",
|
|
3353
|
+
"cover_unavailable",
|
|
3354
|
+
"cover_not_ready",
|
|
2983
3355
|
"media_processing",
|
|
2984
3356
|
"media_upload_init_failed",
|
|
2985
3357
|
"media_upload_incomplete",
|
|
@@ -2987,11 +3359,14 @@ var zGoogleAdsConversionStatusReason = z__namespace.object({
|
|
|
2987
3359
|
"not_publishable",
|
|
2988
3360
|
"invalid_connection",
|
|
2989
3361
|
"invalid_media",
|
|
3362
|
+
"invalid_asset",
|
|
3363
|
+
"invalid_audience",
|
|
2990
3364
|
"profile_scope_invalid",
|
|
2991
3365
|
"media_unprobeable",
|
|
2992
3366
|
"media_too_large",
|
|
2993
3367
|
"media_aspect_ratio_unsupported",
|
|
2994
3368
|
"media_resolution_too_low",
|
|
3369
|
+
"media_resolution_too_high",
|
|
2995
3370
|
"media_gif_unsupported",
|
|
2996
3371
|
"media_format_recompressed",
|
|
2997
3372
|
"media_resolution_downscaled",
|
|
@@ -3000,6 +3375,7 @@ var zGoogleAdsConversionStatusReason = z__namespace.object({
|
|
|
3000
3375
|
"video_audio_codec_unsupported",
|
|
3001
3376
|
"video_too_large",
|
|
3002
3377
|
"video_too_small",
|
|
3378
|
+
"video_bitrate_too_low",
|
|
3003
3379
|
"video_dimensions_unsupported",
|
|
3004
3380
|
"video_dimensions_too_large",
|
|
3005
3381
|
"video_fps_unsupported",
|
|
@@ -3079,6 +3455,11 @@ var zGoogleAdsConversionStatusReason = z__namespace.object({
|
|
|
3079
3455
|
"google_auth_expired",
|
|
3080
3456
|
"google_permission_denied",
|
|
3081
3457
|
"google_request_failed",
|
|
3458
|
+
"tiktok_ads_rate_limited",
|
|
3459
|
+
"tiktok_ads_server_error",
|
|
3460
|
+
"tiktok_ads_auth_expired",
|
|
3461
|
+
"tiktok_ads_permission_denied",
|
|
3462
|
+
"tiktok_ads_request_failed",
|
|
3082
3463
|
"google_conversion_duplicate",
|
|
3083
3464
|
"google_conversion_invalid_click_id",
|
|
3084
3465
|
"google_conversion_event_too_old",
|
|
@@ -3118,6 +3499,748 @@ var zGoogleAdsConversionRequest = z__namespace.object({
|
|
|
3118
3499
|
event_count: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
|
|
3119
3500
|
created_at: z__namespace.string()
|
|
3120
3501
|
});
|
|
3502
|
+
var zTikTokAdvertiser = z__namespace.object({
|
|
3503
|
+
advertiser_id: z__namespace.string(),
|
|
3504
|
+
advertiser_name: z__namespace.string()
|
|
3505
|
+
});
|
|
3506
|
+
var zTikTokBusinessCenter = z__namespace.object({
|
|
3507
|
+
bc_id: z__namespace.string(),
|
|
3508
|
+
name: z__namespace.string()
|
|
3509
|
+
});
|
|
3510
|
+
var zTikTokIdentityType = z__namespace.enum([
|
|
3511
|
+
"CUSTOMIZED_USER",
|
|
3512
|
+
"AUTH_CODE",
|
|
3513
|
+
"TT_USER",
|
|
3514
|
+
"BC_AUTH_TT",
|
|
3515
|
+
"TTS_TT"
|
|
3516
|
+
]);
|
|
3517
|
+
var zTikTokIdentity = z__namespace.object({
|
|
3518
|
+
identity_id: z__namespace.string(),
|
|
3519
|
+
identity_type: zTikTokIdentityType,
|
|
3520
|
+
display_name: z__namespace.string().nullable(),
|
|
3521
|
+
profile_image: z__namespace.string().nullable()
|
|
3522
|
+
});
|
|
3523
|
+
var zTikTokCampaign = z__namespace.object({
|
|
3524
|
+
advertiser_id: z__namespace.string().regex(/^\d+$/),
|
|
3525
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
3526
|
+
campaign_name: z__namespace.string(),
|
|
3527
|
+
create_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/),
|
|
3528
|
+
operation_status: z__namespace.enum([
|
|
3529
|
+
"ENABLE",
|
|
3530
|
+
"DISABLE",
|
|
3531
|
+
"DELETE"
|
|
3532
|
+
]).nullable(),
|
|
3533
|
+
secondary_status: z__namespace.enum([
|
|
3534
|
+
"CAMPAIGN_STATUS_DELETE",
|
|
3535
|
+
"CAMPAIGN_STATUS_ADVERTISER_AUDIT_DENY",
|
|
3536
|
+
"CAMPAIGN_STATUS_ADVERTISER_AUDIT",
|
|
3537
|
+
"ADVERTISER_CONTRACT_PENDING",
|
|
3538
|
+
"ADVERTISER_ACCOUNT_PUNISH",
|
|
3539
|
+
"CAMPAIGN_STATUS_BUDGET_EXCEED",
|
|
3540
|
+
"CAMPAIGN_STATUS_DISABLE",
|
|
3541
|
+
"CAMPAIGN_STATUS_AWAITING_RELEASE",
|
|
3542
|
+
"CAMPAIGN_STATUS_IDENTITY_USED_BY_GMV_MAX_AD",
|
|
3543
|
+
"CAMPAIGN_STATUS_ENABLE",
|
|
3544
|
+
"CAMPAIGN_STATUS_TTS_TT_ASSET_UNAVAILABLE",
|
|
3545
|
+
"CAMPAIGN_STATUS_TTS_TT_IDENTITY_UNAVAILABLE",
|
|
3546
|
+
"CAMPAIGN_STATUS_TIKTOK_SHOP_UNAVAILABLE",
|
|
3547
|
+
"CAMPAIGN_STATUS_REVIEW_DISAPPROVED",
|
|
3548
|
+
"CAMPAIGN_STATUS_AD_UNAVAILABLE",
|
|
3549
|
+
"CAMPAIGN_STATUS_PRODUCT_UNAVAILABLE",
|
|
3550
|
+
"CAMPAIGN_STATUS_LIVE_GMV_MAX_AUTHORIZATION_CANCEL",
|
|
3551
|
+
"CAMPAIGN_STATUS_PRODUCT_GMV_MAX_AUTHORIZATION_CANCEL",
|
|
3552
|
+
"CAMPAIGN_STATUS_IDENTITY_USED_BY_LIVE_GMV_MAX",
|
|
3553
|
+
"CAMPAIGN_STATUS_PRODUCT_USED_BY_PRODUCT_GMV_MAX",
|
|
3554
|
+
"CAMPAIGN_STATUS_ALL",
|
|
3555
|
+
"CAMPAIGN_STATUS_NOT_DELETE"
|
|
3556
|
+
]).nullish(),
|
|
3557
|
+
modify_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/).nullish(),
|
|
3558
|
+
objective_type: z__namespace.enum([
|
|
3559
|
+
"APP_PROMOTION",
|
|
3560
|
+
"WEB_CONVERSIONS",
|
|
3561
|
+
"REACH",
|
|
3562
|
+
"TRAFFIC",
|
|
3563
|
+
"VIDEO_VIEWS",
|
|
3564
|
+
"ENGAGEMENT",
|
|
3565
|
+
"PRODUCT_SALES",
|
|
3566
|
+
"LEAD_GENERATION",
|
|
3567
|
+
"RF_REACH",
|
|
3568
|
+
"TOPVIEW_REACH",
|
|
3569
|
+
"BRAND_CONSIDERATION",
|
|
3570
|
+
"APP_INSTALL",
|
|
3571
|
+
"CONVERSIONS",
|
|
3572
|
+
"CATALOG_SALES",
|
|
3573
|
+
"SHOP_PURCHASES",
|
|
3574
|
+
"RF_APP_INSTALL",
|
|
3575
|
+
"RF_ENGAGEMENT",
|
|
3576
|
+
"RF_TRAFFIC",
|
|
3577
|
+
"RF_VIDEO_VIEW"
|
|
3578
|
+
]).nullish(),
|
|
3579
|
+
objective: z__namespace.enum(["APP", "LANDING_PAGE"]).nullish(),
|
|
3580
|
+
campaign_system_origin: z__namespace.enum(["PROMOTE", "TT_ADS_PLATFORM"]).nullish(),
|
|
3581
|
+
app_promotion_type: z__namespace.enum([
|
|
3582
|
+
"UNSET",
|
|
3583
|
+
"APP_INSTALL",
|
|
3584
|
+
"APP_RETARGETING",
|
|
3585
|
+
"APP_PREREGISTRATION",
|
|
3586
|
+
"APP_POSTS_PROMOTION"
|
|
3587
|
+
]).nullish(),
|
|
3588
|
+
virtual_objective_type: z__namespace.enum(["SALES"]).nullish(),
|
|
3589
|
+
sales_destination: z__namespace.enum([
|
|
3590
|
+
"TIKTOK_SHOP",
|
|
3591
|
+
"WEBSITE",
|
|
3592
|
+
"APP",
|
|
3593
|
+
"WEB_AND_APP"
|
|
3594
|
+
]).nullish(),
|
|
3595
|
+
is_search_campaign: z__namespace.boolean().nullish(),
|
|
3596
|
+
campaign_automation_type: z__namespace.enum([
|
|
3597
|
+
"MANUAL",
|
|
3598
|
+
"SMART_PLUS",
|
|
3599
|
+
"UPGRADED_SMART_PLUS"
|
|
3600
|
+
]).nullish(),
|
|
3601
|
+
is_smart_performance_campaign: z__namespace.boolean().nullish(),
|
|
3602
|
+
campaign_type: z__namespace.enum(["REGULAR_CAMPAIGN", "IOS14_CAMPAIGN"]).nullish(),
|
|
3603
|
+
app_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
3604
|
+
is_advanced_dedicated_campaign: z__namespace.boolean().nullish(),
|
|
3605
|
+
disable_skan_campaign: z__namespace.boolean().nullish(),
|
|
3606
|
+
bid_align_type: z__namespace.enum(["SAN", "SKAN"]).nullish(),
|
|
3607
|
+
campaign_app_profile_page_state: z__namespace.enum([
|
|
3608
|
+
"INVALID",
|
|
3609
|
+
"UNSET",
|
|
3610
|
+
"ON",
|
|
3611
|
+
"OFF"
|
|
3612
|
+
]).nullish(),
|
|
3613
|
+
rf_campaign_type: z__namespace.enum([
|
|
3614
|
+
"STANDARD",
|
|
3615
|
+
"PULSE",
|
|
3616
|
+
"TOPVIEW"
|
|
3617
|
+
]).nullish(),
|
|
3618
|
+
campaign_product_source: z__namespace.enum(["CATALOG", "STORE"]).nullish(),
|
|
3619
|
+
catalog_enabled: z__namespace.boolean().nullish(),
|
|
3620
|
+
special_industries: z__namespace.unknown().optional(),
|
|
3621
|
+
budget_optimize_on: z__namespace.boolean().nullish(),
|
|
3622
|
+
bid_type: z__namespace.enum(["BID_TYPE_CUSTOM", "BID_TYPE_NO_BID"]).nullish(),
|
|
3623
|
+
deep_bid_type: z__namespace.enum([
|
|
3624
|
+
"DEFAULT",
|
|
3625
|
+
"MIN",
|
|
3626
|
+
"PACING",
|
|
3627
|
+
"VO_MIN",
|
|
3628
|
+
"VO_MIN_ROAS",
|
|
3629
|
+
"VO_HIGHEST_VALUE",
|
|
3630
|
+
"AEO"
|
|
3631
|
+
]).nullish(),
|
|
3632
|
+
roas_bid: z__namespace.number().nullish(),
|
|
3633
|
+
optimization_goal: z__namespace.enum([
|
|
3634
|
+
"CLICK",
|
|
3635
|
+
"CONVERT",
|
|
3636
|
+
"INSTALL",
|
|
3637
|
+
"IN_APP_EVENT",
|
|
3638
|
+
"SHOW",
|
|
3639
|
+
"REACH",
|
|
3640
|
+
"LEAD_GENERATION",
|
|
3641
|
+
"CONVERSATION",
|
|
3642
|
+
"FOLLOWERS",
|
|
3643
|
+
"PAGE_VISIT",
|
|
3644
|
+
"VALUE",
|
|
3645
|
+
"AUTOMATIC_VALUE_OPTIMIZATION",
|
|
3646
|
+
"MT_LIVE_ROOM",
|
|
3647
|
+
"PRODUCT_CLICK_IN_LIVE",
|
|
3648
|
+
"ENGAGED_VIEW",
|
|
3649
|
+
"ENGAGED_VIEW_FIFTEEN",
|
|
3650
|
+
"TRAFFIC_LANDING_PAGE_VIEW",
|
|
3651
|
+
"DESTINATION_VISIT",
|
|
3652
|
+
"PREFERRED_LEAD",
|
|
3653
|
+
"PROFILE_VIEWS",
|
|
3654
|
+
"VIDEO_VIEW",
|
|
3655
|
+
"CONVERSION_LEADS",
|
|
3656
|
+
"GMV",
|
|
3657
|
+
"PURCHASES",
|
|
3658
|
+
"INITIATE_CHECKOUTS"
|
|
3659
|
+
]).nullish(),
|
|
3660
|
+
budget_mode: z__namespace.enum([
|
|
3661
|
+
"BUDGET_MODE_DAY",
|
|
3662
|
+
"BUDGET_MODE_DYNAMIC_DAILY_BUDGET",
|
|
3663
|
+
"BUDGET_MODE_TOTAL",
|
|
3664
|
+
"BUDGET_MODE_INFINITE"
|
|
3665
|
+
]).nullish(),
|
|
3666
|
+
budget: z__namespace.number().nullish(),
|
|
3667
|
+
rta_id: z__namespace.string().nullish(),
|
|
3668
|
+
rta_bid_enabled: z__namespace.boolean().nullish(),
|
|
3669
|
+
rta_product_selection_enabled: z__namespace.boolean().nullish(),
|
|
3670
|
+
postback_window_mode: z__namespace.enum([
|
|
3671
|
+
"POSTBACK_WINDOW_MODE1",
|
|
3672
|
+
"POSTBACK_WINDOW_MODE2",
|
|
3673
|
+
"POSTBACK_WINDOW_MODE3"
|
|
3674
|
+
]).nullish(),
|
|
3675
|
+
is_new_structure: z__namespace.boolean().nullish(),
|
|
3676
|
+
po_number: z__namespace.string().nullish()
|
|
3677
|
+
});
|
|
3678
|
+
var zTikTokCampaignObjective = z__namespace.enum([
|
|
3679
|
+
"TRAFFIC",
|
|
3680
|
+
"REACH",
|
|
3681
|
+
"VIDEO_VIEWS",
|
|
3682
|
+
"ENGAGEMENT",
|
|
3683
|
+
"WEB_CONVERSIONS"
|
|
3684
|
+
]);
|
|
3685
|
+
var zTikTokBudgetMode = z__namespace.enum([
|
|
3686
|
+
"BUDGET_MODE_DAY",
|
|
3687
|
+
"BUDGET_MODE_TOTAL",
|
|
3688
|
+
"BUDGET_MODE_INFINITE"
|
|
3689
|
+
]);
|
|
3690
|
+
var zTikTokOptimizationGoal = z__namespace.enum([
|
|
3691
|
+
"CLICK",
|
|
3692
|
+
"REACH",
|
|
3693
|
+
"ENGAGED_VIEW",
|
|
3694
|
+
"ENGAGED_VIEW_FIFTEEN",
|
|
3695
|
+
"FOLLOWERS",
|
|
3696
|
+
"CONVERT",
|
|
3697
|
+
"VALUE"
|
|
3698
|
+
]);
|
|
3699
|
+
var zTikTokAdGroupBudgetMode = z__namespace.enum(["BUDGET_MODE_DAY", "BUDGET_MODE_TOTAL"]);
|
|
3700
|
+
var zTikTokDeepBidType = z__namespace.enum(["VO_MIN_ROAS", "VO_HIGHEST_VALUE"]);
|
|
3701
|
+
var zTikTokAdGroupPlacement = z__namespace.enum([
|
|
3702
|
+
"PLACEMENT_TIKTOK",
|
|
3703
|
+
"PLACEMENT_PANGLE",
|
|
3704
|
+
"PLACEMENT_GLOBAL_APP_BUNDLE"
|
|
3705
|
+
]);
|
|
3706
|
+
var zTikTokPromotionType = z__namespace.enum(["WEBSITE"]);
|
|
3707
|
+
var zTikTokAdIdentityType = z__namespace.enum(["CUSTOMIZED_USER"]);
|
|
3708
|
+
var zTikTokAdFormat = z__namespace.enum(["SINGLE_VIDEO"]);
|
|
3709
|
+
var zTikTokOperationStatus = z__namespace.enum(["ENABLE", "DISABLE"]);
|
|
3710
|
+
z__namespace.object({
|
|
3711
|
+
object: z__namespace.literal("campaign"),
|
|
3712
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
3713
|
+
operation_status: zTikTokOperationStatus
|
|
3714
|
+
});
|
|
3715
|
+
z__namespace.object({
|
|
3716
|
+
object: z__namespace.literal("ad_group"),
|
|
3717
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/),
|
|
3718
|
+
operation_status: zTikTokOperationStatus
|
|
3719
|
+
});
|
|
3720
|
+
z__namespace.object({
|
|
3721
|
+
object: z__namespace.literal("ad"),
|
|
3722
|
+
ad_id: z__namespace.string().regex(/^\d+$/),
|
|
3723
|
+
operation_status: zTikTokOperationStatus
|
|
3724
|
+
});
|
|
3725
|
+
var zTikTokAdGroupBudgetKind = z__namespace.enum(["lifetime", "scheduled"]);
|
|
3726
|
+
z__namespace.object({
|
|
3727
|
+
object: z__namespace.literal("campaign"),
|
|
3728
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
3729
|
+
budget: z__namespace.number().gt(0)
|
|
3730
|
+
});
|
|
3731
|
+
z__namespace.object({
|
|
3732
|
+
object: z__namespace.literal("ad_group"),
|
|
3733
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/),
|
|
3734
|
+
budget: z__namespace.number().gt(0),
|
|
3735
|
+
budget_kind: zTikTokAdGroupBudgetKind
|
|
3736
|
+
});
|
|
3737
|
+
var zTikTokRemoveOperationStatus = z__namespace.enum(["DELETE"]);
|
|
3738
|
+
z__namespace.object({
|
|
3739
|
+
object: z__namespace.literal("campaign"),
|
|
3740
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
3741
|
+
operation_status: zTikTokRemoveOperationStatus
|
|
3742
|
+
});
|
|
3743
|
+
z__namespace.object({
|
|
3744
|
+
object: z__namespace.literal("ad_group"),
|
|
3745
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/),
|
|
3746
|
+
operation_status: zTikTokRemoveOperationStatus
|
|
3747
|
+
});
|
|
3748
|
+
z__namespace.object({
|
|
3749
|
+
object: z__namespace.literal("ad"),
|
|
3750
|
+
ad_id: z__namespace.string().regex(/^\d+$/),
|
|
3751
|
+
operation_status: zTikTokRemoveOperationStatus
|
|
3752
|
+
});
|
|
3753
|
+
var zTikTokAdGroup = z__namespace.object({
|
|
3754
|
+
advertiser_id: z__namespace.string().regex(/^\d+$/),
|
|
3755
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
3756
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/),
|
|
3757
|
+
adgroup_name: z__namespace.string(),
|
|
3758
|
+
campaign_name: z__namespace.string(),
|
|
3759
|
+
create_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/),
|
|
3760
|
+
operation_status: z__namespace.enum([
|
|
3761
|
+
"ENABLE",
|
|
3762
|
+
"DISABLE",
|
|
3763
|
+
"DELETE"
|
|
3764
|
+
]).nullable(),
|
|
3765
|
+
secondary_status: z__namespace.enum([
|
|
3766
|
+
"ADGROUP_STATUS_DELETE",
|
|
3767
|
+
"ADGROUP_STATUS_CAMPAIGN_DELETE",
|
|
3768
|
+
"ADGROUP_STATUS_ADVERTISER_AUDIT_DENY",
|
|
3769
|
+
"ADGROUP_STATUS_ADVERTISER_AUDIT",
|
|
3770
|
+
"ADVERTISER_CONTRACT_PENDING",
|
|
3771
|
+
"ADVERTISER_ACCOUNT_PUNISH",
|
|
3772
|
+
"ADGROUP_STATUS_CAMPAIGN_EXCEED",
|
|
3773
|
+
"ADGROUP_STATUS_BUDGET_EXCEED",
|
|
3774
|
+
"ADGROUP_STATUS_BALANCE_EXCEED",
|
|
3775
|
+
"ADGROUP_STATUS_ADGROUP_PRE_ONLINE",
|
|
3776
|
+
"ADGROUP_STATUS_AUDIT_DENY",
|
|
3777
|
+
"ADGROUP_STATUS_REAUDIT",
|
|
3778
|
+
"ADGROUP_STATUS_AUDIT",
|
|
3779
|
+
"ADGROUP_STATUS_CREATE",
|
|
3780
|
+
"ADGROUP_STATUS_FROZEN",
|
|
3781
|
+
"ADGROUP_STATUS_NOT_START",
|
|
3782
|
+
"ADGROUP_STATUS_LIVE_NOT_START",
|
|
3783
|
+
"ADGROUP_STATUS_CAMPAIGN_DISABLE",
|
|
3784
|
+
"ADGROUP_STATUS_DISABLE",
|
|
3785
|
+
"ADGROUP_STATUS_SHADOW_ADGROUP_REAUDIT",
|
|
3786
|
+
"ADGROUP_STATUS_PIXEL_UNBIND",
|
|
3787
|
+
"ADGROUP_STATUS_PARTIAL_AUDIT_NO_DELIVERY",
|
|
3788
|
+
"ADGROUP_STATUS_PARTIAL_AUDIT_DELIVERY_OK",
|
|
3789
|
+
"ADGROUP_STATUS_INDUSTRY_QUALIFICATION_MISSING",
|
|
3790
|
+
"ADGROUP_STATUS_INDUSTRY_QUALIFICATION_EXPIRED",
|
|
3791
|
+
"ADGROUP_STATUS_INDUSTRY_QUALIFICATION_DENY",
|
|
3792
|
+
"ADGROUP_STATUS_ASSET_AUTHORIZATION_LOST",
|
|
3793
|
+
"ADGROUP_STATUS_TRANSCODING_FAIL",
|
|
3794
|
+
"ADGROUP_STATUS_ADGROUP_QUOTA_LIMIT",
|
|
3795
|
+
"ADGROUP_STATUS_IDENTITY_USED_BY_GMV_MAX_AD",
|
|
3796
|
+
"ADGROUP_STATUS_SEARCH_KEYWORDS_IN_REVIEW",
|
|
3797
|
+
"ADGROUP_STATUS_SEARCH_KEYWORDS_NOT_AVAILABLE",
|
|
3798
|
+
"ADGROUP_STATUS_SEARCH_KEYWORDS_PARTIAL_APPROVED",
|
|
3799
|
+
"ADGROUP_STATUS_DELIVERY_OK",
|
|
3800
|
+
"ADGROUP_STATUS_REVIEW_PARTIALLY_APPROVED",
|
|
3801
|
+
"ADGROUP_STATUS_TIME_DONE",
|
|
3802
|
+
"ADGROUP_STATUS_RF_DEDUCTION_FAILED",
|
|
3803
|
+
"ADGROUP_STATUS_RF_NO_VALID_CREATIVE",
|
|
3804
|
+
"ADGROUP_STATUS_RF_CLOSED_OTHERS",
|
|
3805
|
+
"ADGROUP_STATUS_RF_SHORT_BALANCE",
|
|
3806
|
+
"ADGROUP_STATUS_RF_BOOKING",
|
|
3807
|
+
"ADGROUP_STATUS_RF_NO_DELIVERY_CREATIVE",
|
|
3808
|
+
"ADGROUP_STATUS_RF_SCHEDULE",
|
|
3809
|
+
"ADGROUP_STATUS_RF_TERMINATE",
|
|
3810
|
+
"ADGROUP_STATUS_RF_AD_AUDIT_DENY",
|
|
3811
|
+
"ADVERTISER_ACCOUNT_INVALID",
|
|
3812
|
+
"ADGROUP_STATUS_RF_ADGROUP_INVALID",
|
|
3813
|
+
"ADGROUP_STATUS_RF_WITHDRAW_ORDER",
|
|
3814
|
+
"ADGROUP_STATUS_RF_TIME_DONE",
|
|
3815
|
+
"ADGROUP_STATUS_PROMOTE_AD_NOT_APPROVED",
|
|
3816
|
+
"ADGROUP_STATUS_PROMOTE_WITHDRAW_ORDER",
|
|
3817
|
+
"ADGROUP_STATUS_ALL",
|
|
3818
|
+
"ADGROUP_STATUS_NOT_DELETE"
|
|
3819
|
+
]).nullish(),
|
|
3820
|
+
modify_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/).nullish(),
|
|
3821
|
+
optimization_goal: z__namespace.enum([
|
|
3822
|
+
"CLICK",
|
|
3823
|
+
"CONVERT",
|
|
3824
|
+
"INSTALL",
|
|
3825
|
+
"IN_APP_EVENT",
|
|
3826
|
+
"SHOW",
|
|
3827
|
+
"REACH",
|
|
3828
|
+
"LEAD_GENERATION",
|
|
3829
|
+
"CONVERSATION",
|
|
3830
|
+
"FOLLOWERS",
|
|
3831
|
+
"PAGE_VISIT",
|
|
3832
|
+
"VALUE",
|
|
3833
|
+
"AUTOMATIC_VALUE_OPTIMIZATION",
|
|
3834
|
+
"MT_LIVE_ROOM",
|
|
3835
|
+
"PRODUCT_CLICK_IN_LIVE",
|
|
3836
|
+
"ENGAGED_VIEW",
|
|
3837
|
+
"ENGAGED_VIEW_FIFTEEN",
|
|
3838
|
+
"TRAFFIC_LANDING_PAGE_VIEW",
|
|
3839
|
+
"DESTINATION_VISIT",
|
|
3840
|
+
"PREFERRED_LEAD",
|
|
3841
|
+
"PROFILE_VIEWS",
|
|
3842
|
+
"VIDEO_VIEW",
|
|
3843
|
+
"CONVERSION_LEADS",
|
|
3844
|
+
"GMV",
|
|
3845
|
+
"PURCHASES",
|
|
3846
|
+
"INITIATE_CHECKOUTS"
|
|
3847
|
+
]).nullish(),
|
|
3848
|
+
optimization_event: z__namespace.string().nullish(),
|
|
3849
|
+
secondary_optimization_event: z__namespace.string().nullish(),
|
|
3850
|
+
deep_bid_type: z__namespace.enum([
|
|
3851
|
+
"DEFAULT",
|
|
3852
|
+
"MIN",
|
|
3853
|
+
"PACING",
|
|
3854
|
+
"VO_MIN",
|
|
3855
|
+
"VO_MIN_ROAS",
|
|
3856
|
+
"VO_HIGHEST_VALUE",
|
|
3857
|
+
"AEO"
|
|
3858
|
+
]).nullish(),
|
|
3859
|
+
bid_type: z__namespace.enum(["BID_TYPE_CUSTOM", "BID_TYPE_NO_BID"]).nullish(),
|
|
3860
|
+
bid_price: z__namespace.number().nullish(),
|
|
3861
|
+
conversion_bid_price: z__namespace.number().nullish(),
|
|
3862
|
+
deep_cpa_bid: z__namespace.number().nullish(),
|
|
3863
|
+
roas_bid: z__namespace.number().nullish(),
|
|
3864
|
+
billing_event: z__namespace.enum([
|
|
3865
|
+
"CPC",
|
|
3866
|
+
"CPM",
|
|
3867
|
+
"CPV",
|
|
3868
|
+
"OCPM",
|
|
3869
|
+
"GD",
|
|
3870
|
+
"OCPC"
|
|
3871
|
+
]).nullish(),
|
|
3872
|
+
pacing: z__namespace.enum(["PACING_MODE_SMOOTH", "PACING_MODE_FAST"]).nullish(),
|
|
3873
|
+
budget: z__namespace.number().nullish(),
|
|
3874
|
+
budget_mode: z__namespace.enum([
|
|
3875
|
+
"BUDGET_MODE_DAY",
|
|
3876
|
+
"BUDGET_MODE_DYNAMIC_DAILY_BUDGET",
|
|
3877
|
+
"BUDGET_MODE_TOTAL",
|
|
3878
|
+
"BUDGET_MODE_INFINITE"
|
|
3879
|
+
]).nullish(),
|
|
3880
|
+
schedule_type: z__namespace.enum(["SCHEDULE_FROM_NOW", "SCHEDULE_START_END"]).nullish(),
|
|
3881
|
+
schedule_start_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/).nullish(),
|
|
3882
|
+
schedule_end_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/).nullish(),
|
|
3883
|
+
dayparting: z__namespace.string().nullish(),
|
|
3884
|
+
promotion_type: z__namespace.enum([
|
|
3885
|
+
"APP_ANDROID",
|
|
3886
|
+
"APP_IOS",
|
|
3887
|
+
"MINI_APP",
|
|
3888
|
+
"MINI_GAME",
|
|
3889
|
+
"GAME",
|
|
3890
|
+
"WEBSITE",
|
|
3891
|
+
"LEAD_GENERATION",
|
|
3892
|
+
"LEAD_GEN_CLICK_TO_TT_DIRECT_MESSAGE",
|
|
3893
|
+
"LEAD_GEN_CLICK_TO_SOCIAL_MEDIA_APP_MESSAGE",
|
|
3894
|
+
"LEAD_GEN_CLICK_TO_CALL",
|
|
3895
|
+
"WEBSITE_OR_DISPLAY",
|
|
3896
|
+
"TIKTOK_SHOP",
|
|
3897
|
+
"VIDEO_SHOPPING",
|
|
3898
|
+
"LIVE_SHOPPING",
|
|
3899
|
+
"PSA_PRODUCT"
|
|
3900
|
+
]).nullish(),
|
|
3901
|
+
placement_type: z__namespace.enum(["PLACEMENT_TYPE_AUTOMATIC", "PLACEMENT_TYPE_NORMAL"]).nullish(),
|
|
3902
|
+
placements: z__namespace.unknown().optional(),
|
|
3903
|
+
pixel_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
3904
|
+
app_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
3905
|
+
location_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).nullish(),
|
|
3906
|
+
zipcode_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).nullish(),
|
|
3907
|
+
languages: z__namespace.array(z__namespace.string()).nullish(),
|
|
3908
|
+
age_groups: z__namespace.unknown().optional(),
|
|
3909
|
+
gender: z__namespace.enum([
|
|
3910
|
+
"GENDER_UNLIMITED",
|
|
3911
|
+
"GENDER_MALE",
|
|
3912
|
+
"GENDER_FEMALE"
|
|
3913
|
+
]).nullish(),
|
|
3914
|
+
operating_systems: z__namespace.unknown().optional(),
|
|
3915
|
+
audience_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).nullish(),
|
|
3916
|
+
excluded_audience_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).nullish(),
|
|
3917
|
+
saved_audience_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
3918
|
+
comment_disabled: z__namespace.boolean().nullish(),
|
|
3919
|
+
video_download_disabled: z__namespace.boolean().nullish(),
|
|
3920
|
+
share_disabled: z__namespace.boolean().nullish(),
|
|
3921
|
+
creative_material_mode: z__namespace.enum(["CUSTOM", "SMART_CREATIVE"]).nullish(),
|
|
3922
|
+
search_result_enabled: z__namespace.boolean().nullish(),
|
|
3923
|
+
skip_learning_phase: z__namespace.boolean().nullish(),
|
|
3924
|
+
is_new_structure: z__namespace.boolean().nullish()
|
|
3925
|
+
});
|
|
3926
|
+
var zTikTokAd = z__namespace.object({
|
|
3927
|
+
advertiser_id: z__namespace.string().regex(/^\d+$/),
|
|
3928
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
3929
|
+
campaign_name: z__namespace.string(),
|
|
3930
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/),
|
|
3931
|
+
adgroup_name: z__namespace.string(),
|
|
3932
|
+
ad_id: z__namespace.string().regex(/^\d+$/),
|
|
3933
|
+
ad_name: z__namespace.string(),
|
|
3934
|
+
create_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/),
|
|
3935
|
+
operation_status: z__namespace.enum([
|
|
3936
|
+
"ENABLE",
|
|
3937
|
+
"DISABLE",
|
|
3938
|
+
"FROZEN"
|
|
3939
|
+
]).nullable(),
|
|
3940
|
+
secondary_status: z__namespace.enum([
|
|
3941
|
+
"AD_STATUS_CAMPAIGN_DELETE",
|
|
3942
|
+
"AD_STATUS_ADGROUP_DELETE",
|
|
3943
|
+
"AD_STATUS_DELETE",
|
|
3944
|
+
"AD_STATUS_ADVERTISER_AUDIT_DENY",
|
|
3945
|
+
"AD_STATUS_ADVERTISER_AUDIT",
|
|
3946
|
+
"ADVERTISER_CONTRACT_PENDING",
|
|
3947
|
+
"ADVERTISER_ACCOUNT_PUNISH",
|
|
3948
|
+
"AD_STATUS_BALANCE_EXCEED",
|
|
3949
|
+
"AD_STATUS_CAMPAIGN_EXCEED",
|
|
3950
|
+
"AD_STATUS_BUDGET_EXCEED",
|
|
3951
|
+
"AD_STATUS_AD_PRE_ONLINE",
|
|
3952
|
+
"AD_STATUS_AUDIT",
|
|
3953
|
+
"AD_STATUS_REAUDIT",
|
|
3954
|
+
"AD_STATUS_AUDIT_DENY",
|
|
3955
|
+
"AD_STATUS_ADGROUP_AUDIT_DENY",
|
|
3956
|
+
"AD_STATUS_ADGROUP_PARTIAL_AUDIT_NO_DELIVERY",
|
|
3957
|
+
"AD_STATUS_REVIEW_PARTIALLY_APPROVED",
|
|
3958
|
+
"AD_STATUS_PARTIAL_AUDIT_DELIVERY_OK",
|
|
3959
|
+
"AD_STATUS_PARTIAL_AUDIT_NO_DELIVERY",
|
|
3960
|
+
"AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_MISSING",
|
|
3961
|
+
"AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_EXPIRED",
|
|
3962
|
+
"AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_DENY",
|
|
3963
|
+
"AD_STATUS_MUSIC_AUTHORIZATION_MISSING",
|
|
3964
|
+
"AD_STATUS_LIVE_OFFLINE",
|
|
3965
|
+
"AD_STATUS_NOT_START",
|
|
3966
|
+
"AD_STATUS_DONE",
|
|
3967
|
+
"AD_STATUS_CAMPAIGN_DISABLE",
|
|
3968
|
+
"AD_STATUS_ADGROUP_DISABLE",
|
|
3969
|
+
"AD_STATUS_DISABLE",
|
|
3970
|
+
"AD_STATUS_DELIVERY_OK",
|
|
3971
|
+
"AD_STATUS_PROCESS_AUDIO",
|
|
3972
|
+
"AD_STATUS_TRANSCODING_FAIL",
|
|
3973
|
+
"AD_STATUS_ADGROUP_ASSET_AUTHORIZATION_LOST",
|
|
3974
|
+
"AD_STATUS_ASSET_AUTHORIZATION_LOST",
|
|
3975
|
+
"AD_STATUS_AD_QUOTA_LIMIT",
|
|
3976
|
+
"AD_STATUS_PRODUCT_UNAVAILABLE",
|
|
3977
|
+
"AD_STATUS_ANCHOR_UNAVAILABLE",
|
|
3978
|
+
"AD_STATUS_NO_AUTHORIZATION_OF_SHOWCASE",
|
|
3979
|
+
"AD_STATUS_RF_ADGROUP_CLOSED",
|
|
3980
|
+
"AD_STATUS_PROMOTE_AD_OFFLINE_AUDIT",
|
|
3981
|
+
"AD_STATUS_PROMOTE_ADGROUP_CLOSED",
|
|
3982
|
+
"AD_STATUS_ALL",
|
|
3983
|
+
"AD_STATUS_NOT_DELETE"
|
|
3984
|
+
]).nullish(),
|
|
3985
|
+
modify_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/).nullish(),
|
|
3986
|
+
identity_id: z__namespace.string().nullish(),
|
|
3987
|
+
identity_type: z__namespace.enum([
|
|
3988
|
+
"CUSTOMIZED_USER",
|
|
3989
|
+
"AUTH_CODE",
|
|
3990
|
+
"TT_USER",
|
|
3991
|
+
"BC_AUTH_TT"
|
|
3992
|
+
]).nullish(),
|
|
3993
|
+
identity_authorized_bc_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
3994
|
+
ad_format: z__namespace.enum([
|
|
3995
|
+
"SINGLE_IMAGE",
|
|
3996
|
+
"SINGLE_VIDEO",
|
|
3997
|
+
"CAROUSEL_ADS",
|
|
3998
|
+
"LIVE_CONTENT",
|
|
3999
|
+
"CATALOG_CAROUSEL",
|
|
4000
|
+
"CAROUSEL"
|
|
4001
|
+
]).nullish(),
|
|
4002
|
+
video_id: z__namespace.string().nullish(),
|
|
4003
|
+
image_ids: z__namespace.array(z__namespace.string()).nullish(),
|
|
4004
|
+
tiktok_item_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
4005
|
+
ad_text: z__namespace.string().nullish(),
|
|
4006
|
+
ad_texts: z__namespace.array(z__namespace.string()).nullish(),
|
|
4007
|
+
call_to_action: z__namespace.enum([
|
|
4008
|
+
"APPLY_NOW",
|
|
4009
|
+
"BOOK_NOW",
|
|
4010
|
+
"CALL_NOW",
|
|
4011
|
+
"CHECK_AVAILABLILITY",
|
|
4012
|
+
"CONTACT_US",
|
|
4013
|
+
"DOWNLOAD_NOW",
|
|
4014
|
+
"EXPERIENCE_NOW",
|
|
4015
|
+
"GET_QUOTE",
|
|
4016
|
+
"GET_SHOWTIMES",
|
|
4017
|
+
"GET_TICKETS_NOW",
|
|
4018
|
+
"INSTALL_NOW",
|
|
4019
|
+
"INTERESTED",
|
|
4020
|
+
"LEARN_MORE",
|
|
4021
|
+
"LISTEN_NOW",
|
|
4022
|
+
"ORDER_NOW",
|
|
4023
|
+
"PLAY_GAME",
|
|
4024
|
+
"PREORDER_NOW",
|
|
4025
|
+
"READ_MORE",
|
|
4026
|
+
"SEND_MESSAGE",
|
|
4027
|
+
"SHOP_NOW",
|
|
4028
|
+
"SIGN_UP",
|
|
4029
|
+
"SUBSCRIBE",
|
|
4030
|
+
"VIEW_NOW",
|
|
4031
|
+
"VIEW_PROFILE",
|
|
4032
|
+
"VISIT_STORE",
|
|
4033
|
+
"WATCH_LIVE",
|
|
4034
|
+
"WATCH_NOW",
|
|
4035
|
+
"JOIN_THIS_HASHTAG",
|
|
4036
|
+
"SHOOT_WITH_THIS_EFFECT",
|
|
4037
|
+
"VIEW_VIDEO_WITH_THIS_EFFECT"
|
|
4038
|
+
]).nullish(),
|
|
4039
|
+
call_to_action_id: z__namespace.string().regex(/^\d+$/).nullish(),
|
|
4040
|
+
landing_page_url: z__namespace.string().nullish(),
|
|
4041
|
+
display_name: z__namespace.string().nullish(),
|
|
4042
|
+
profile_image_url: z__namespace.string().nullish(),
|
|
4043
|
+
click_tracking_url: z__namespace.string().nullish(),
|
|
4044
|
+
impression_tracking_url: z__namespace.string().nullish(),
|
|
4045
|
+
optimization_event: z__namespace.string().nullish(),
|
|
4046
|
+
is_aco: z__namespace.boolean().nullish(),
|
|
4047
|
+
is_new_structure: z__namespace.boolean().nullish()
|
|
4048
|
+
});
|
|
4049
|
+
z__namespace.object({
|
|
4050
|
+
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
4051
|
+
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
4052
|
+
level: z__namespace.enum([
|
|
4053
|
+
"advertiser",
|
|
4054
|
+
"campaign",
|
|
4055
|
+
"ad_group",
|
|
4056
|
+
"ad"
|
|
4057
|
+
]).optional().default("campaign"),
|
|
4058
|
+
dimensions: z__namespace.array(z__namespace.enum([
|
|
4059
|
+
"advertiser_id",
|
|
4060
|
+
"campaign_id",
|
|
4061
|
+
"adgroup_id",
|
|
4062
|
+
"ad_id",
|
|
4063
|
+
"stat_time_day",
|
|
4064
|
+
"stat_time_hour"
|
|
4065
|
+
])).min(1),
|
|
4066
|
+
metrics: z__namespace.array(z__namespace.enum([
|
|
4067
|
+
"spend",
|
|
4068
|
+
"impressions",
|
|
4069
|
+
"reach",
|
|
4070
|
+
"frequency",
|
|
4071
|
+
"cpm",
|
|
4072
|
+
"cost_per_1000_reached",
|
|
4073
|
+
"clicks",
|
|
4074
|
+
"ctr",
|
|
4075
|
+
"cpc",
|
|
4076
|
+
"conversion",
|
|
4077
|
+
"cost_per_conversion",
|
|
4078
|
+
"conversion_rate_v2",
|
|
4079
|
+
"real_time_conversion",
|
|
4080
|
+
"complete_payment_roas",
|
|
4081
|
+
"total_purchase",
|
|
4082
|
+
"total_purchase_value",
|
|
4083
|
+
"video_play_actions",
|
|
4084
|
+
"video_watched_2s",
|
|
4085
|
+
"video_watched_6s",
|
|
4086
|
+
"video_views_p25",
|
|
4087
|
+
"video_views_p50",
|
|
4088
|
+
"video_views_p75",
|
|
4089
|
+
"video_views_p100",
|
|
4090
|
+
"likes",
|
|
4091
|
+
"comments",
|
|
4092
|
+
"shares",
|
|
4093
|
+
"follows",
|
|
4094
|
+
"profile_visits",
|
|
4095
|
+
"engagements"
|
|
4096
|
+
])).min(1).optional().default([
|
|
4097
|
+
"spend",
|
|
4098
|
+
"impressions",
|
|
4099
|
+
"clicks",
|
|
4100
|
+
"conversion"
|
|
4101
|
+
]),
|
|
4102
|
+
filtering: z__namespace.object({
|
|
4103
|
+
campaign_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
4104
|
+
adgroup_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
4105
|
+
ad_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional()
|
|
4106
|
+
}).optional(),
|
|
4107
|
+
start_date: z__namespace.iso.date(),
|
|
4108
|
+
end_date: z__namespace.iso.date()
|
|
4109
|
+
});
|
|
4110
|
+
var zTikTokAdsInsightsRow = z__namespace.object({
|
|
4111
|
+
dimensions: z__namespace.object({
|
|
4112
|
+
advertiser_id: z__namespace.string().optional(),
|
|
4113
|
+
campaign_id: z__namespace.string().optional(),
|
|
4114
|
+
adgroup_id: z__namespace.string().optional(),
|
|
4115
|
+
ad_id: z__namespace.string().optional(),
|
|
4116
|
+
stat_time_day: z__namespace.string().optional(),
|
|
4117
|
+
stat_time_hour: z__namespace.string().optional()
|
|
4118
|
+
}),
|
|
4119
|
+
metrics: z__namespace.object({
|
|
4120
|
+
spend: z__namespace.number().nullish(),
|
|
4121
|
+
impressions: z__namespace.number().nullish(),
|
|
4122
|
+
reach: z__namespace.number().nullish(),
|
|
4123
|
+
frequency: z__namespace.number().nullish(),
|
|
4124
|
+
cpm: z__namespace.number().nullish(),
|
|
4125
|
+
cost_per_1000_reached: z__namespace.number().nullish(),
|
|
4126
|
+
clicks: z__namespace.number().nullish(),
|
|
4127
|
+
ctr: z__namespace.number().nullish(),
|
|
4128
|
+
cpc: z__namespace.number().nullish(),
|
|
4129
|
+
conversion: z__namespace.number().nullish(),
|
|
4130
|
+
cost_per_conversion: z__namespace.number().nullish(),
|
|
4131
|
+
conversion_rate_v2: z__namespace.number().nullish(),
|
|
4132
|
+
real_time_conversion: z__namespace.number().nullish(),
|
|
4133
|
+
complete_payment_roas: z__namespace.number().nullish(),
|
|
4134
|
+
total_purchase: z__namespace.number().nullish(),
|
|
4135
|
+
total_purchase_value: z__namespace.number().nullish(),
|
|
4136
|
+
video_play_actions: z__namespace.number().nullish(),
|
|
4137
|
+
video_watched_2s: z__namespace.number().nullish(),
|
|
4138
|
+
video_watched_6s: z__namespace.number().nullish(),
|
|
4139
|
+
video_views_p25: z__namespace.number().nullish(),
|
|
4140
|
+
video_views_p50: z__namespace.number().nullish(),
|
|
4141
|
+
video_views_p75: z__namespace.number().nullish(),
|
|
4142
|
+
video_views_p100: z__namespace.number().nullish(),
|
|
4143
|
+
likes: z__namespace.number().nullish(),
|
|
4144
|
+
comments: z__namespace.number().nullish(),
|
|
4145
|
+
shares: z__namespace.number().nullish(),
|
|
4146
|
+
follows: z__namespace.number().nullish(),
|
|
4147
|
+
profile_visits: z__namespace.number().nullish(),
|
|
4148
|
+
engagements: z__namespace.number().nullish()
|
|
4149
|
+
})
|
|
4150
|
+
});
|
|
4151
|
+
z__namespace.object({
|
|
4152
|
+
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
4153
|
+
metrics: z__namespace.array(z__namespace.enum([
|
|
4154
|
+
"spend",
|
|
4155
|
+
"impressions",
|
|
4156
|
+
"reach",
|
|
4157
|
+
"frequency",
|
|
4158
|
+
"cpm",
|
|
4159
|
+
"cost_per_1000_reached",
|
|
4160
|
+
"clicks",
|
|
4161
|
+
"ctr",
|
|
4162
|
+
"cpc",
|
|
4163
|
+
"conversion",
|
|
4164
|
+
"cost_per_conversion",
|
|
4165
|
+
"conversion_rate_v2",
|
|
4166
|
+
"real_time_conversion",
|
|
4167
|
+
"complete_payment_roas",
|
|
4168
|
+
"total_purchase",
|
|
4169
|
+
"total_purchase_value",
|
|
4170
|
+
"video_play_actions",
|
|
4171
|
+
"video_watched_2s",
|
|
4172
|
+
"video_watched_6s",
|
|
4173
|
+
"video_views_p25",
|
|
4174
|
+
"video_views_p50",
|
|
4175
|
+
"video_views_p75",
|
|
4176
|
+
"video_views_p100",
|
|
4177
|
+
"likes",
|
|
4178
|
+
"comments",
|
|
4179
|
+
"shares",
|
|
4180
|
+
"follows",
|
|
4181
|
+
"profile_visits",
|
|
4182
|
+
"engagements"
|
|
4183
|
+
])).min(1).optional().default([
|
|
4184
|
+
"spend",
|
|
4185
|
+
"impressions",
|
|
4186
|
+
"clicks",
|
|
4187
|
+
"conversion",
|
|
4188
|
+
"complete_payment_roas"
|
|
4189
|
+
]),
|
|
4190
|
+
start_date: z__namespace.iso.date(),
|
|
4191
|
+
end_date: z__namespace.iso.date()
|
|
4192
|
+
});
|
|
4193
|
+
var zTikTokAdTreeNode = z__namespace.object({
|
|
4194
|
+
level: z__namespace.enum([
|
|
4195
|
+
"campaign",
|
|
4196
|
+
"ad_group",
|
|
4197
|
+
"ad"
|
|
4198
|
+
]),
|
|
4199
|
+
id: z__namespace.string().regex(/^\d+$/),
|
|
4200
|
+
name: z__namespace.string().nullable(),
|
|
4201
|
+
parent_id: z__namespace.string().regex(/^\d+$/).nullable(),
|
|
4202
|
+
child_kind: z__namespace.enum([
|
|
4203
|
+
"ad_group",
|
|
4204
|
+
"ad",
|
|
4205
|
+
"none"
|
|
4206
|
+
]),
|
|
4207
|
+
expandable: z__namespace.boolean(),
|
|
4208
|
+
metrics: z__namespace.object({
|
|
4209
|
+
spend: z__namespace.number().nullish(),
|
|
4210
|
+
impressions: z__namespace.number().nullish(),
|
|
4211
|
+
reach: z__namespace.number().nullish(),
|
|
4212
|
+
frequency: z__namespace.number().nullish(),
|
|
4213
|
+
cpm: z__namespace.number().nullish(),
|
|
4214
|
+
cost_per_1000_reached: z__namespace.number().nullish(),
|
|
4215
|
+
clicks: z__namespace.number().nullish(),
|
|
4216
|
+
ctr: z__namespace.number().nullish(),
|
|
4217
|
+
cpc: z__namespace.number().nullish(),
|
|
4218
|
+
conversion: z__namespace.number().nullish(),
|
|
4219
|
+
cost_per_conversion: z__namespace.number().nullish(),
|
|
4220
|
+
conversion_rate_v2: z__namespace.number().nullish(),
|
|
4221
|
+
real_time_conversion: z__namespace.number().nullish(),
|
|
4222
|
+
complete_payment_roas: z__namespace.number().nullish(),
|
|
4223
|
+
total_purchase: z__namespace.number().nullish(),
|
|
4224
|
+
total_purchase_value: z__namespace.number().nullish(),
|
|
4225
|
+
video_play_actions: z__namespace.number().nullish(),
|
|
4226
|
+
video_watched_2s: z__namespace.number().nullish(),
|
|
4227
|
+
video_watched_6s: z__namespace.number().nullish(),
|
|
4228
|
+
video_views_p25: z__namespace.number().nullish(),
|
|
4229
|
+
video_views_p50: z__namespace.number().nullish(),
|
|
4230
|
+
video_views_p75: z__namespace.number().nullish(),
|
|
4231
|
+
video_views_p100: z__namespace.number().nullish(),
|
|
4232
|
+
likes: z__namespace.number().nullish(),
|
|
4233
|
+
comments: z__namespace.number().nullish(),
|
|
4234
|
+
shares: z__namespace.number().nullish(),
|
|
4235
|
+
follows: z__namespace.number().nullish(),
|
|
4236
|
+
profile_visits: z__namespace.number().nullish(),
|
|
4237
|
+
engagements: z__namespace.number().nullish()
|
|
4238
|
+
})
|
|
4239
|
+
});
|
|
4240
|
+
z__namespace.object({
|
|
4241
|
+
object: z__namespace.literal("list"),
|
|
4242
|
+
data: z__namespace.array(zTikTokAdTreeNode)
|
|
4243
|
+
});
|
|
3121
4244
|
z__namespace.string().min(1).max(255);
|
|
3122
4245
|
z__namespace.object({
|
|
3123
4246
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
@@ -3226,6 +4349,7 @@ z__namespace.object({
|
|
|
3226
4349
|
platform: z__namespace.enum([
|
|
3227
4350
|
"meta_ads",
|
|
3228
4351
|
"google_ads",
|
|
4352
|
+
"tiktok_ads",
|
|
3229
4353
|
"x",
|
|
3230
4354
|
"linkedin",
|
|
3231
4355
|
"facebook_page",
|
|
@@ -3269,7 +4393,8 @@ z__namespace.object({
|
|
|
3269
4393
|
"facebook_page",
|
|
3270
4394
|
"instagram",
|
|
3271
4395
|
"tiktok",
|
|
3272
|
-
"google_ads"
|
|
4396
|
+
"google_ads",
|
|
4397
|
+
"tiktok_ads"
|
|
3273
4398
|
])).min(1).optional(),
|
|
3274
4399
|
raw: z__namespace.boolean().optional().default(false),
|
|
3275
4400
|
alt_text: z__namespace.string().max(1e3).optional(),
|
|
@@ -3303,6 +4428,7 @@ z__namespace.object({
|
|
|
3303
4428
|
"media_too_large",
|
|
3304
4429
|
"media_aspect_ratio_unsupported",
|
|
3305
4430
|
"media_resolution_too_low",
|
|
4431
|
+
"media_resolution_too_high",
|
|
3306
4432
|
"media_gif_unsupported",
|
|
3307
4433
|
"media_format_recompressed",
|
|
3308
4434
|
"media_resolution_downscaled",
|
|
@@ -3311,6 +4437,7 @@ z__namespace.object({
|
|
|
3311
4437
|
"video_audio_codec_unsupported",
|
|
3312
4438
|
"video_too_large",
|
|
3313
4439
|
"video_too_small",
|
|
4440
|
+
"video_bitrate_too_low",
|
|
3314
4441
|
"video_dimensions_unsupported",
|
|
3315
4442
|
"video_dimensions_too_large",
|
|
3316
4443
|
"video_fps_unsupported",
|
|
@@ -3357,6 +4484,7 @@ z__namespace.object({
|
|
|
3357
4484
|
"media_too_large",
|
|
3358
4485
|
"media_aspect_ratio_unsupported",
|
|
3359
4486
|
"media_resolution_too_low",
|
|
4487
|
+
"media_resolution_too_high",
|
|
3360
4488
|
"media_gif_unsupported",
|
|
3361
4489
|
"media_format_recompressed",
|
|
3362
4490
|
"media_resolution_downscaled",
|
|
@@ -3365,6 +4493,7 @@ z__namespace.object({
|
|
|
3365
4493
|
"video_audio_codec_unsupported",
|
|
3366
4494
|
"video_too_large",
|
|
3367
4495
|
"video_too_small",
|
|
4496
|
+
"video_bitrate_too_low",
|
|
3368
4497
|
"video_dimensions_unsupported",
|
|
3369
4498
|
"video_dimensions_too_large",
|
|
3370
4499
|
"video_fps_unsupported",
|
|
@@ -3393,6 +4522,7 @@ z__namespace.object({
|
|
|
3393
4522
|
"media_too_large",
|
|
3394
4523
|
"media_aspect_ratio_unsupported",
|
|
3395
4524
|
"media_resolution_too_low",
|
|
4525
|
+
"media_resolution_too_high",
|
|
3396
4526
|
"media_gif_unsupported",
|
|
3397
4527
|
"media_format_recompressed",
|
|
3398
4528
|
"media_resolution_downscaled",
|
|
@@ -3401,6 +4531,7 @@ z__namespace.object({
|
|
|
3401
4531
|
"video_audio_codec_unsupported",
|
|
3402
4532
|
"video_too_large",
|
|
3403
4533
|
"video_too_small",
|
|
4534
|
+
"video_bitrate_too_low",
|
|
3404
4535
|
"video_dimensions_unsupported",
|
|
3405
4536
|
"video_dimensions_too_large",
|
|
3406
4537
|
"video_fps_unsupported",
|
|
@@ -3465,7 +4596,8 @@ z__namespace.object({
|
|
|
3465
4596
|
"facebook_page",
|
|
3466
4597
|
"instagram",
|
|
3467
4598
|
"tiktok",
|
|
3468
|
-
"google_ads"
|
|
4599
|
+
"google_ads",
|
|
4600
|
+
"tiktok_ads"
|
|
3469
4601
|
])).min(1).optional()
|
|
3470
4602
|
});
|
|
3471
4603
|
z__namespace.object({
|
|
@@ -3646,6 +4778,8 @@ z__namespace.object({
|
|
|
3646
4778
|
"connection_discovery_failed",
|
|
3647
4779
|
"tiktok_creator_info_unavailable",
|
|
3648
4780
|
"tiktok_cannot_post_now",
|
|
4781
|
+
"cover_unavailable",
|
|
4782
|
+
"cover_not_ready",
|
|
3649
4783
|
"media_processing",
|
|
3650
4784
|
"media_upload_init_failed",
|
|
3651
4785
|
"media_upload_incomplete",
|
|
@@ -3653,11 +4787,14 @@ z__namespace.object({
|
|
|
3653
4787
|
"not_publishable",
|
|
3654
4788
|
"invalid_connection",
|
|
3655
4789
|
"invalid_media",
|
|
4790
|
+
"invalid_asset",
|
|
4791
|
+
"invalid_audience",
|
|
3656
4792
|
"profile_scope_invalid",
|
|
3657
4793
|
"media_unprobeable",
|
|
3658
4794
|
"media_too_large",
|
|
3659
4795
|
"media_aspect_ratio_unsupported",
|
|
3660
4796
|
"media_resolution_too_low",
|
|
4797
|
+
"media_resolution_too_high",
|
|
3661
4798
|
"media_gif_unsupported",
|
|
3662
4799
|
"media_format_recompressed",
|
|
3663
4800
|
"media_resolution_downscaled",
|
|
@@ -3666,6 +4803,7 @@ z__namespace.object({
|
|
|
3666
4803
|
"video_audio_codec_unsupported",
|
|
3667
4804
|
"video_too_large",
|
|
3668
4805
|
"video_too_small",
|
|
4806
|
+
"video_bitrate_too_low",
|
|
3669
4807
|
"video_dimensions_unsupported",
|
|
3670
4808
|
"video_dimensions_too_large",
|
|
3671
4809
|
"video_fps_unsupported",
|
|
@@ -3745,6 +4883,11 @@ z__namespace.object({
|
|
|
3745
4883
|
"google_auth_expired",
|
|
3746
4884
|
"google_permission_denied",
|
|
3747
4885
|
"google_request_failed",
|
|
4886
|
+
"tiktok_ads_rate_limited",
|
|
4887
|
+
"tiktok_ads_server_error",
|
|
4888
|
+
"tiktok_ads_auth_expired",
|
|
4889
|
+
"tiktok_ads_permission_denied",
|
|
4890
|
+
"tiktok_ads_request_failed",
|
|
3748
4891
|
"google_conversion_duplicate",
|
|
3749
4892
|
"google_conversion_invalid_click_id",
|
|
3750
4893
|
"google_conversion_event_too_old",
|
|
@@ -4136,6 +5279,7 @@ z__namespace.object({
|
|
|
4136
5279
|
bidding: z__namespace.enum([
|
|
4137
5280
|
"manual_cpc",
|
|
4138
5281
|
"maximize_conversions",
|
|
5282
|
+
"maximize_conversion_value",
|
|
4139
5283
|
"target_spend"
|
|
4140
5284
|
]),
|
|
4141
5285
|
status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
|
|
@@ -4223,6 +5367,17 @@ z__namespace.object({
|
|
|
4223
5367
|
connection_id: z__namespace.string(),
|
|
4224
5368
|
id: z__namespace.string().regex(/^\d+$/)
|
|
4225
5369
|
});
|
|
5370
|
+
z__namespace.object({
|
|
5371
|
+
dry_run: z__namespace.boolean().optional().default(false),
|
|
5372
|
+
bidding: zGoogleAdsCampaignBidding
|
|
5373
|
+
});
|
|
5374
|
+
z__namespace.object({
|
|
5375
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
5376
|
+
});
|
|
5377
|
+
z__namespace.object({
|
|
5378
|
+
connection_id: z__namespace.string(),
|
|
5379
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
5380
|
+
});
|
|
4226
5381
|
z__namespace.object({
|
|
4227
5382
|
dry_run: z__namespace.boolean().optional().default(false)
|
|
4228
5383
|
});
|
|
@@ -4284,16 +5439,6 @@ z__namespace.object({
|
|
|
4284
5439
|
object: z__namespace.literal("list"),
|
|
4285
5440
|
data: z__namespace.array(zGoogleAdsCampaignCriterion)
|
|
4286
5441
|
});
|
|
4287
|
-
z__namespace.object({
|
|
4288
|
-
dry_run: z__namespace.boolean().optional().default(false),
|
|
4289
|
-
type: z__namespace.union([
|
|
4290
|
-
z__namespace.literal("location"),
|
|
4291
|
-
z__namespace.literal("language")
|
|
4292
|
-
]),
|
|
4293
|
-
geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/).optional(),
|
|
4294
|
-
negative: z__namespace.boolean().optional().default(false),
|
|
4295
|
-
language_constant: z__namespace.string().min(1).optional()
|
|
4296
|
-
});
|
|
4297
5442
|
z__namespace.object({
|
|
4298
5443
|
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
4299
5444
|
});
|
|
@@ -4427,50 +5572,6 @@ z__namespace.object({
|
|
|
4427
5572
|
object: z__namespace.literal("list"),
|
|
4428
5573
|
data: z__namespace.array(zGoogleAdsAdGroupCriterion)
|
|
4429
5574
|
});
|
|
4430
|
-
z__namespace.object({
|
|
4431
|
-
dry_run: z__namespace.boolean().optional().default(false),
|
|
4432
|
-
type: z__namespace.union([
|
|
4433
|
-
z__namespace.literal("age_range"),
|
|
4434
|
-
z__namespace.literal("gender"),
|
|
4435
|
-
z__namespace.literal("income_range"),
|
|
4436
|
-
z__namespace.literal("parental_status"),
|
|
4437
|
-
z__namespace.literal("user_list"),
|
|
4438
|
-
z__namespace.literal("audience"),
|
|
4439
|
-
z__namespace.literal("custom_audience")
|
|
4440
|
-
]),
|
|
4441
|
-
age_range: z__namespace.enum([
|
|
4442
|
-
"AGE_RANGE_18_24",
|
|
4443
|
-
"AGE_RANGE_25_34",
|
|
4444
|
-
"AGE_RANGE_35_44",
|
|
4445
|
-
"AGE_RANGE_45_54",
|
|
4446
|
-
"AGE_RANGE_55_64",
|
|
4447
|
-
"AGE_RANGE_65_UP",
|
|
4448
|
-
"AGE_RANGE_UNDETERMINED"
|
|
4449
|
-
]).optional(),
|
|
4450
|
-
negative: z__namespace.boolean().optional().default(false),
|
|
4451
|
-
gender: z__namespace.enum([
|
|
4452
|
-
"MALE",
|
|
4453
|
-
"FEMALE",
|
|
4454
|
-
"UNDETERMINED"
|
|
4455
|
-
]).optional(),
|
|
4456
|
-
income_range: z__namespace.enum([
|
|
4457
|
-
"INCOME_RANGE_0_50",
|
|
4458
|
-
"INCOME_RANGE_50_60",
|
|
4459
|
-
"INCOME_RANGE_60_70",
|
|
4460
|
-
"INCOME_RANGE_70_80",
|
|
4461
|
-
"INCOME_RANGE_80_90",
|
|
4462
|
-
"INCOME_RANGE_90_UP",
|
|
4463
|
-
"INCOME_RANGE_UNDETERMINED"
|
|
4464
|
-
]).optional(),
|
|
4465
|
-
parental_status: z__namespace.enum([
|
|
4466
|
-
"PARENT",
|
|
4467
|
-
"NOT_A_PARENT",
|
|
4468
|
-
"UNDETERMINED"
|
|
4469
|
-
]).optional(),
|
|
4470
|
-
user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/).optional(),
|
|
4471
|
-
audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/).optional(),
|
|
4472
|
-
custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/).optional()
|
|
4473
|
-
});
|
|
4474
5575
|
z__namespace.object({
|
|
4475
5576
|
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
4476
5577
|
});
|
|
@@ -4565,6 +5666,34 @@ z__namespace.object({
|
|
|
4565
5666
|
connection_id: z__namespace.string(),
|
|
4566
5667
|
id: z__namespace.string().regex(/^\d+~\d+$/)
|
|
4567
5668
|
});
|
|
5669
|
+
z__namespace.object({
|
|
5670
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
5671
|
+
headlines: z__namespace.array(z__namespace.object({
|
|
5672
|
+
text: z__namespace.string().min(1).max(30),
|
|
5673
|
+
pinned_field: z__namespace.enum([
|
|
5674
|
+
"HEADLINE_1",
|
|
5675
|
+
"HEADLINE_2",
|
|
5676
|
+
"HEADLINE_3"
|
|
5677
|
+
]).optional()
|
|
5678
|
+
})).min(3).max(15).optional(),
|
|
5679
|
+
descriptions: z__namespace.array(z__namespace.object({
|
|
5680
|
+
text: z__namespace.string().min(1).max(90)
|
|
5681
|
+
})).min(2).max(4).optional(),
|
|
5682
|
+
path1: z__namespace.string().max(15).optional(),
|
|
5683
|
+
path2: z__namespace.string().max(15).optional(),
|
|
5684
|
+
final_mobile_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
5685
|
+
tracking_url_template: z__namespace.string().min(1).optional(),
|
|
5686
|
+
final_url_suffix: z__namespace.string().min(1).optional(),
|
|
5687
|
+
url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
|
|
5688
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
5689
|
+
});
|
|
5690
|
+
z__namespace.object({
|
|
5691
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
5692
|
+
});
|
|
5693
|
+
z__namespace.object({
|
|
5694
|
+
connection_id: z__namespace.string(),
|
|
5695
|
+
id: z__namespace.string().regex(/^\d+~\d+$/)
|
|
5696
|
+
});
|
|
4568
5697
|
z__namespace.object({
|
|
4569
5698
|
ad_group: z__namespace.string().regex(/^\d+$/),
|
|
4570
5699
|
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
@@ -4603,7 +5732,47 @@ z__namespace.object({
|
|
|
4603
5732
|
connection_id: z__namespace.string()
|
|
4604
5733
|
});
|
|
4605
5734
|
z__namespace.object({
|
|
4606
|
-
|
|
5735
|
+
marketing_images: z__namespace.array(z__namespace.object({
|
|
5736
|
+
asset: z__namespace.string().min(1)
|
|
5737
|
+
})).min(1).max(15).optional(),
|
|
5738
|
+
square_marketing_images: z__namespace.array(z__namespace.object({
|
|
5739
|
+
asset: z__namespace.string().min(1)
|
|
5740
|
+
})).min(1).max(15).optional(),
|
|
5741
|
+
logo_images: z__namespace.array(z__namespace.object({
|
|
5742
|
+
asset: z__namespace.string().min(1)
|
|
5743
|
+
})).min(1).max(5).optional(),
|
|
5744
|
+
square_logo_images: z__namespace.array(z__namespace.object({
|
|
5745
|
+
asset: z__namespace.string().min(1)
|
|
5746
|
+
})).min(1).max(5).optional(),
|
|
5747
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
5748
|
+
headlines: z__namespace.array(z__namespace.object({
|
|
5749
|
+
text: z__namespace.string().min(1).max(30)
|
|
5750
|
+
})).min(1).max(5).optional(),
|
|
5751
|
+
long_headline: z__namespace.object({
|
|
5752
|
+
text: z__namespace.string().min(1).max(90)
|
|
5753
|
+
}).optional(),
|
|
5754
|
+
descriptions: z__namespace.array(z__namespace.object({
|
|
5755
|
+
text: z__namespace.string().min(1).max(90)
|
|
5756
|
+
})).min(1).max(5).optional(),
|
|
5757
|
+
business_name: z__namespace.string().min(1).max(25).optional(),
|
|
5758
|
+
call_to_action_text: z__namespace.string().min(1).optional(),
|
|
5759
|
+
main_color: z__namespace.string().min(1).optional(),
|
|
5760
|
+
accent_color: z__namespace.string().min(1).optional(),
|
|
5761
|
+
final_mobile_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
5762
|
+
tracking_url_template: z__namespace.string().min(1).optional(),
|
|
5763
|
+
final_url_suffix: z__namespace.string().min(1).optional(),
|
|
5764
|
+
url_custom_parameters: z__namespace.array(zGoogleAdsUrlCustomParameter).min(1).max(8).optional(),
|
|
5765
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
5766
|
+
});
|
|
5767
|
+
z__namespace.object({
|
|
5768
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
5769
|
+
});
|
|
5770
|
+
z__namespace.object({
|
|
5771
|
+
connection_id: z__namespace.string(),
|
|
5772
|
+
id: z__namespace.string().regex(/^\d+~\d+$/)
|
|
5773
|
+
});
|
|
5774
|
+
z__namespace.object({
|
|
5775
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
4607
5776
|
});
|
|
4608
5777
|
z__namespace.object({
|
|
4609
5778
|
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
@@ -5274,79 +6443,861 @@ z__namespace.object({
|
|
|
5274
6443
|
z__namespace.object({
|
|
5275
6444
|
connection_id: z__namespace.string()
|
|
5276
6445
|
});
|
|
6446
|
+
z__namespace.object({
|
|
6447
|
+
youtube_url: z__namespace.string(),
|
|
6448
|
+
title: z__namespace.string().min(1).max(255).optional(),
|
|
6449
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6450
|
+
});
|
|
6451
|
+
z__namespace.object({
|
|
6452
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6453
|
+
});
|
|
6454
|
+
z__namespace.object({
|
|
6455
|
+
connection_id: z__namespace.string()
|
|
6456
|
+
});
|
|
6457
|
+
z__namespace.object({
|
|
6458
|
+
connection_id: z__namespace.string()
|
|
6459
|
+
});
|
|
6460
|
+
z__namespace.object({
|
|
6461
|
+
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
6462
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
6463
|
+
});
|
|
6464
|
+
z__namespace.object({
|
|
6465
|
+
object: z__namespace.literal("list"),
|
|
6466
|
+
data: z__namespace.array(zGoogleAdsAssetGroup)
|
|
6467
|
+
});
|
|
6468
|
+
z__namespace.object({
|
|
6469
|
+
connection_id: z__namespace.string(),
|
|
6470
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
6471
|
+
});
|
|
6472
|
+
z__namespace.object({
|
|
6473
|
+
name: z__namespace.string().min(1).max(128).optional(),
|
|
6474
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1).optional(),
|
|
6475
|
+
path1: z__namespace.string().min(1).max(15).optional(),
|
|
6476
|
+
path2: z__namespace.string().min(1).max(15).optional(),
|
|
6477
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6478
|
+
});
|
|
6479
|
+
z__namespace.object({
|
|
6480
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6481
|
+
});
|
|
6482
|
+
z__namespace.object({
|
|
6483
|
+
connection_id: z__namespace.string(),
|
|
6484
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
6485
|
+
});
|
|
6486
|
+
z__namespace.object({
|
|
6487
|
+
asset_group_name: z__namespace.string().min(1).max(128),
|
|
6488
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
6489
|
+
status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
|
|
6490
|
+
assets: zGoogleAdsPmaxAssetSet,
|
|
6491
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6492
|
+
});
|
|
6493
|
+
z__namespace.object({
|
|
6494
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6495
|
+
});
|
|
6496
|
+
z__namespace.object({
|
|
6497
|
+
connection_id: z__namespace.string(),
|
|
6498
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
6499
|
+
});
|
|
6500
|
+
z__namespace.object({
|
|
6501
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6502
|
+
});
|
|
6503
|
+
z__namespace.object({
|
|
6504
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6505
|
+
});
|
|
6506
|
+
z__namespace.object({
|
|
6507
|
+
connection_id: z__namespace.string(),
|
|
6508
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
6509
|
+
});
|
|
6510
|
+
z__namespace.object({
|
|
6511
|
+
id: z__namespace.string(),
|
|
6512
|
+
status: z__namespace.enum(["ENABLED", "PAUSED"]),
|
|
6513
|
+
dry_run: z__namespace.boolean(),
|
|
6514
|
+
executed: z__namespace.boolean()
|
|
6515
|
+
});
|
|
6516
|
+
z__namespace.object({
|
|
6517
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6518
|
+
});
|
|
6519
|
+
z__namespace.object({
|
|
6520
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6521
|
+
});
|
|
6522
|
+
z__namespace.object({
|
|
6523
|
+
connection_id: z__namespace.string(),
|
|
6524
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
6525
|
+
});
|
|
6526
|
+
z__namespace.object({
|
|
6527
|
+
id: z__namespace.string(),
|
|
6528
|
+
status: z__namespace.enum(["ENABLED", "PAUSED"]),
|
|
6529
|
+
dry_run: z__namespace.boolean(),
|
|
6530
|
+
executed: z__namespace.boolean()
|
|
6531
|
+
});
|
|
6532
|
+
z__namespace.object({
|
|
6533
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6534
|
+
});
|
|
6535
|
+
z__namespace.object({
|
|
6536
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6537
|
+
});
|
|
6538
|
+
z__namespace.object({
|
|
6539
|
+
connection_id: z__namespace.string(),
|
|
6540
|
+
id: z__namespace.string().regex(/^\d+$/)
|
|
6541
|
+
});
|
|
6542
|
+
z__namespace.object({
|
|
6543
|
+
connection_id: z__namespace.string(),
|
|
6544
|
+
asset_group_id: z__namespace.string().regex(/^\d+$/)
|
|
6545
|
+
});
|
|
6546
|
+
z__namespace.object({
|
|
6547
|
+
status: zGoogleAdsReadStatusFilter.optional()
|
|
6548
|
+
});
|
|
6549
|
+
z__namespace.object({
|
|
6550
|
+
object: z__namespace.literal("list"),
|
|
6551
|
+
data: z__namespace.array(zGoogleAdsAssetGroupAsset)
|
|
6552
|
+
});
|
|
6553
|
+
z__namespace.object({
|
|
6554
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6555
|
+
});
|
|
6556
|
+
z__namespace.object({
|
|
6557
|
+
connection_id: z__namespace.string(),
|
|
6558
|
+
asset_group_id: z__namespace.string().regex(/^\d+$/)
|
|
6559
|
+
});
|
|
6560
|
+
z__namespace.object({
|
|
6561
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6562
|
+
});
|
|
6563
|
+
z__namespace.object({
|
|
6564
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6565
|
+
});
|
|
6566
|
+
z__namespace.object({
|
|
6567
|
+
connection_id: z__namespace.string(),
|
|
6568
|
+
asset_group_id: z__namespace.string().regex(/^\d+$/),
|
|
6569
|
+
id: z__namespace.string().regex(/^\d+~\d+~\d+$/)
|
|
6570
|
+
});
|
|
6571
|
+
z__namespace.object({
|
|
6572
|
+
connection_id: z__namespace.string(),
|
|
6573
|
+
asset_group_id: z__namespace.string().regex(/^\d+$/)
|
|
6574
|
+
});
|
|
6575
|
+
z__namespace.object({
|
|
6576
|
+
object: z__namespace.literal("list"),
|
|
6577
|
+
data: z__namespace.array(zGoogleAdsAssetGroupSignal)
|
|
6578
|
+
});
|
|
6579
|
+
z__namespace.object({
|
|
6580
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6581
|
+
});
|
|
6582
|
+
z__namespace.object({
|
|
6583
|
+
connection_id: z__namespace.string(),
|
|
6584
|
+
asset_group_id: z__namespace.string().regex(/^\d+$/)
|
|
6585
|
+
});
|
|
6586
|
+
z__namespace.object({
|
|
6587
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6588
|
+
});
|
|
6589
|
+
z__namespace.object({
|
|
6590
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6591
|
+
});
|
|
6592
|
+
z__namespace.object({
|
|
6593
|
+
connection_id: z__namespace.string(),
|
|
6594
|
+
asset_group_id: z__namespace.string().regex(/^\d+$/),
|
|
6595
|
+
id: z__namespace.string().regex(/^\d+~\d+$/)
|
|
6596
|
+
});
|
|
6597
|
+
z__namespace.object({
|
|
6598
|
+
name: z__namespace.string().min(1).max(128),
|
|
6599
|
+
budget_micros: z__namespace.int().gt(0).lte(9007199254740991),
|
|
6600
|
+
bidding: z__namespace.enum(["maximize_conversions", "maximize_conversion_value"]),
|
|
6601
|
+
final_urls: z__namespace.array(z__namespace.url()).min(1),
|
|
6602
|
+
asset_group_name: z__namespace.string().min(1).max(128),
|
|
6603
|
+
status: z__namespace.enum(["ENABLED", "PAUSED"]).optional().default("PAUSED"),
|
|
6604
|
+
assets: zGoogleAdsPmaxAssetSet,
|
|
6605
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
6606
|
+
});
|
|
6607
|
+
z__namespace.object({
|
|
6608
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6609
|
+
});
|
|
6610
|
+
z__namespace.object({
|
|
6611
|
+
connection_id: z__namespace.string()
|
|
6612
|
+
});
|
|
5277
6613
|
z__namespace.object({
|
|
5278
6614
|
id: z__namespace.string()
|
|
5279
6615
|
});
|
|
6616
|
+
z__namespace.object({
|
|
6617
|
+
connection_id: z__namespace.string()
|
|
6618
|
+
});
|
|
6619
|
+
z__namespace.object({
|
|
6620
|
+
object: z__namespace.literal("list"),
|
|
6621
|
+
data: z__namespace.array(zTikTokAdvertiser)
|
|
6622
|
+
});
|
|
6623
|
+
z__namespace.object({
|
|
6624
|
+
connection_id: z__namespace.string()
|
|
6625
|
+
});
|
|
6626
|
+
z__namespace.object({
|
|
6627
|
+
object: z__namespace.literal("list"),
|
|
6628
|
+
data: z__namespace.array(zTikTokBusinessCenter)
|
|
6629
|
+
});
|
|
6630
|
+
z__namespace.object({
|
|
6631
|
+
connection_id: z__namespace.string()
|
|
6632
|
+
});
|
|
5280
6633
|
z__namespace.object({
|
|
5281
6634
|
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
5282
6635
|
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
5283
|
-
|
|
5284
|
-
|
|
5285
|
-
|
|
5286
|
-
"
|
|
5287
|
-
"
|
|
5288
|
-
"
|
|
5289
|
-
"
|
|
5290
|
-
"
|
|
5291
|
-
"
|
|
5292
|
-
"
|
|
5293
|
-
"
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
"
|
|
5297
|
-
"
|
|
5298
|
-
"
|
|
6636
|
+
campaign_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
6637
|
+
campaign_name: z__namespace.string().optional(),
|
|
6638
|
+
objective_type: z__namespace.enum([
|
|
6639
|
+
"APP_PROMOTION",
|
|
6640
|
+
"WEB_CONVERSIONS",
|
|
6641
|
+
"REACH",
|
|
6642
|
+
"TRAFFIC",
|
|
6643
|
+
"VIDEO_VIEWS",
|
|
6644
|
+
"ENGAGEMENT",
|
|
6645
|
+
"PRODUCT_SALES",
|
|
6646
|
+
"LEAD_GENERATION",
|
|
6647
|
+
"RF_REACH",
|
|
6648
|
+
"TOPVIEW_REACH",
|
|
6649
|
+
"BRAND_CONSIDERATION",
|
|
6650
|
+
"APP_INSTALL",
|
|
6651
|
+
"CONVERSIONS",
|
|
6652
|
+
"CATALOG_SALES",
|
|
6653
|
+
"SHOP_PURCHASES",
|
|
6654
|
+
"RF_APP_INSTALL",
|
|
6655
|
+
"RF_ENGAGEMENT",
|
|
6656
|
+
"RF_TRAFFIC",
|
|
6657
|
+
"RF_VIDEO_VIEW"
|
|
5299
6658
|
]).optional(),
|
|
5300
|
-
|
|
5301
|
-
"
|
|
5302
|
-
"
|
|
5303
|
-
"
|
|
5304
|
-
"
|
|
6659
|
+
primary_status: z__namespace.enum([
|
|
6660
|
+
"STATUS_DELETE",
|
|
6661
|
+
"STATUS_DELIVERY_OK",
|
|
6662
|
+
"STATUS_DISABLE",
|
|
6663
|
+
"STATUS_NOT_DELIVERY",
|
|
6664
|
+
"STATUS_RF_CLOSED",
|
|
6665
|
+
"STATUS_FROZEN",
|
|
6666
|
+
"STATUS_ALL",
|
|
6667
|
+
"STATUS_NOT_DELETE"
|
|
5305
6668
|
]).optional(),
|
|
5306
|
-
|
|
5307
|
-
|
|
5308
|
-
|
|
6669
|
+
secondary_status: z__namespace.enum([
|
|
6670
|
+
"CAMPAIGN_STATUS_DELETE",
|
|
6671
|
+
"CAMPAIGN_STATUS_ADVERTISER_AUDIT_DENY",
|
|
6672
|
+
"CAMPAIGN_STATUS_ADVERTISER_AUDIT",
|
|
6673
|
+
"ADVERTISER_CONTRACT_PENDING",
|
|
6674
|
+
"ADVERTISER_ACCOUNT_PUNISH",
|
|
6675
|
+
"CAMPAIGN_STATUS_BUDGET_EXCEED",
|
|
6676
|
+
"CAMPAIGN_STATUS_DISABLE",
|
|
6677
|
+
"CAMPAIGN_STATUS_AWAITING_RELEASE",
|
|
6678
|
+
"CAMPAIGN_STATUS_IDENTITY_USED_BY_GMV_MAX_AD",
|
|
6679
|
+
"CAMPAIGN_STATUS_ENABLE",
|
|
6680
|
+
"CAMPAIGN_STATUS_TTS_TT_ASSET_UNAVAILABLE",
|
|
6681
|
+
"CAMPAIGN_STATUS_TTS_TT_IDENTITY_UNAVAILABLE",
|
|
6682
|
+
"CAMPAIGN_STATUS_TIKTOK_SHOP_UNAVAILABLE",
|
|
6683
|
+
"CAMPAIGN_STATUS_REVIEW_DISAPPROVED",
|
|
6684
|
+
"CAMPAIGN_STATUS_AD_UNAVAILABLE",
|
|
6685
|
+
"CAMPAIGN_STATUS_PRODUCT_UNAVAILABLE",
|
|
6686
|
+
"CAMPAIGN_STATUS_LIVE_GMV_MAX_AUTHORIZATION_CANCEL",
|
|
6687
|
+
"CAMPAIGN_STATUS_PRODUCT_GMV_MAX_AUTHORIZATION_CANCEL",
|
|
6688
|
+
"CAMPAIGN_STATUS_IDENTITY_USED_BY_LIVE_GMV_MAX",
|
|
6689
|
+
"CAMPAIGN_STATUS_PRODUCT_USED_BY_PRODUCT_GMV_MAX",
|
|
6690
|
+
"CAMPAIGN_STATUS_ALL",
|
|
6691
|
+
"CAMPAIGN_STATUS_NOT_DELETE"
|
|
6692
|
+
]).optional()
|
|
5309
6693
|
});
|
|
5310
6694
|
z__namespace.object({
|
|
5311
6695
|
object: z__namespace.literal("list"),
|
|
5312
|
-
data: z__namespace.array(
|
|
5313
|
-
|
|
5314
|
-
|
|
5315
|
-
|
|
5316
|
-
|
|
5317
|
-
|
|
5318
|
-
|
|
5319
|
-
|
|
5320
|
-
|
|
5321
|
-
|
|
5322
|
-
|
|
5323
|
-
|
|
5324
|
-
|
|
5325
|
-
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5331
|
-
|
|
5332
|
-
|
|
5333
|
-
|
|
5334
|
-
|
|
5335
|
-
|
|
5336
|
-
|
|
5337
|
-
|
|
5338
|
-
|
|
5339
|
-
|
|
5340
|
-
|
|
5341
|
-
|
|
5342
|
-
|
|
5343
|
-
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5349
|
-
|
|
6696
|
+
data: z__namespace.array(zTikTokCampaign),
|
|
6697
|
+
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
6698
|
+
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
6699
|
+
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
6700
|
+
has_more: z__namespace.boolean()
|
|
6701
|
+
});
|
|
6702
|
+
z__namespace.object({
|
|
6703
|
+
objective_type: zTikTokCampaignObjective,
|
|
6704
|
+
campaign_name: z__namespace.string().min(1).max(512),
|
|
6705
|
+
budget_mode: zTikTokBudgetMode,
|
|
6706
|
+
budget: z__namespace.number().gt(0).optional(),
|
|
6707
|
+
budget_optimize_on: z__namespace.boolean().optional(),
|
|
6708
|
+
operation_status: zTikTokOperationStatus.optional().default("ENABLE")
|
|
6709
|
+
});
|
|
6710
|
+
z__namespace.object({
|
|
6711
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6712
|
+
});
|
|
6713
|
+
z__namespace.object({
|
|
6714
|
+
connection_id: z__namespace.string()
|
|
6715
|
+
});
|
|
6716
|
+
z__namespace.object({
|
|
6717
|
+
operation_status: zTikTokOperationStatus
|
|
6718
|
+
});
|
|
6719
|
+
z__namespace.object({
|
|
6720
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6721
|
+
});
|
|
6722
|
+
z__namespace.object({
|
|
6723
|
+
connection_id: z__namespace.string(),
|
|
6724
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
6725
|
+
});
|
|
6726
|
+
z__namespace.object({
|
|
6727
|
+
budget: z__namespace.number().gt(0)
|
|
6728
|
+
});
|
|
6729
|
+
z__namespace.object({
|
|
6730
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6731
|
+
});
|
|
6732
|
+
z__namespace.object({
|
|
6733
|
+
connection_id: z__namespace.string(),
|
|
6734
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
6735
|
+
});
|
|
6736
|
+
z__namespace.object({
|
|
6737
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6738
|
+
});
|
|
6739
|
+
z__namespace.object({
|
|
6740
|
+
connection_id: z__namespace.string(),
|
|
6741
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
6742
|
+
});
|
|
6743
|
+
z__namespace.object({
|
|
6744
|
+
connection_id: z__namespace.string()
|
|
6745
|
+
});
|
|
6746
|
+
z__namespace.object({
|
|
6747
|
+
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
6748
|
+
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
6749
|
+
campaign_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
6750
|
+
adgroup_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
6751
|
+
adgroup_name: z__namespace.string().optional(),
|
|
6752
|
+
objective_type: z__namespace.enum([
|
|
6753
|
+
"APP_PROMOTION",
|
|
6754
|
+
"WEB_CONVERSIONS",
|
|
6755
|
+
"REACH",
|
|
6756
|
+
"TRAFFIC",
|
|
6757
|
+
"VIDEO_VIEWS",
|
|
6758
|
+
"ENGAGEMENT",
|
|
6759
|
+
"PRODUCT_SALES",
|
|
6760
|
+
"LEAD_GENERATION",
|
|
6761
|
+
"RF_REACH",
|
|
6762
|
+
"TOPVIEW_REACH",
|
|
6763
|
+
"BRAND_CONSIDERATION",
|
|
6764
|
+
"APP_INSTALL",
|
|
6765
|
+
"CONVERSIONS",
|
|
6766
|
+
"CATALOG_SALES",
|
|
6767
|
+
"SHOP_PURCHASES",
|
|
6768
|
+
"RF_APP_INSTALL",
|
|
6769
|
+
"RF_ENGAGEMENT",
|
|
6770
|
+
"RF_TRAFFIC",
|
|
6771
|
+
"RF_VIDEO_VIEW"
|
|
6772
|
+
]).optional(),
|
|
6773
|
+
primary_status: z__namespace.enum([
|
|
6774
|
+
"STATUS_DELIVERY_OK",
|
|
6775
|
+
"STATUS_DISABLE",
|
|
6776
|
+
"STATUS_NOT_DELIVERY",
|
|
6777
|
+
"STATUS_DELETE",
|
|
6778
|
+
"STATUS_TIME_DONE",
|
|
6779
|
+
"STATUS_RF_CLOSED",
|
|
6780
|
+
"STATUS_FROZEN",
|
|
6781
|
+
"STATUS_ALL",
|
|
6782
|
+
"STATUS_NOT_DELETE"
|
|
6783
|
+
]).optional(),
|
|
6784
|
+
secondary_status: z__namespace.enum([
|
|
6785
|
+
"ADGROUP_STATUS_DELETE",
|
|
6786
|
+
"ADGROUP_STATUS_CAMPAIGN_DELETE",
|
|
6787
|
+
"ADGROUP_STATUS_ADVERTISER_AUDIT_DENY",
|
|
6788
|
+
"ADGROUP_STATUS_ADVERTISER_AUDIT",
|
|
6789
|
+
"ADVERTISER_CONTRACT_PENDING",
|
|
6790
|
+
"ADVERTISER_ACCOUNT_PUNISH",
|
|
6791
|
+
"ADGROUP_STATUS_CAMPAIGN_EXCEED",
|
|
6792
|
+
"ADGROUP_STATUS_BUDGET_EXCEED",
|
|
6793
|
+
"ADGROUP_STATUS_BALANCE_EXCEED",
|
|
6794
|
+
"ADGROUP_STATUS_ADGROUP_PRE_ONLINE",
|
|
6795
|
+
"ADGROUP_STATUS_AUDIT_DENY",
|
|
6796
|
+
"ADGROUP_STATUS_REAUDIT",
|
|
6797
|
+
"ADGROUP_STATUS_AUDIT",
|
|
6798
|
+
"ADGROUP_STATUS_CREATE",
|
|
6799
|
+
"ADGROUP_STATUS_FROZEN",
|
|
6800
|
+
"ADGROUP_STATUS_NOT_START",
|
|
6801
|
+
"ADGROUP_STATUS_LIVE_NOT_START",
|
|
6802
|
+
"ADGROUP_STATUS_CAMPAIGN_DISABLE",
|
|
6803
|
+
"ADGROUP_STATUS_DISABLE",
|
|
6804
|
+
"ADGROUP_STATUS_SHADOW_ADGROUP_REAUDIT",
|
|
6805
|
+
"ADGROUP_STATUS_PIXEL_UNBIND",
|
|
6806
|
+
"ADGROUP_STATUS_PARTIAL_AUDIT_NO_DELIVERY",
|
|
6807
|
+
"ADGROUP_STATUS_PARTIAL_AUDIT_DELIVERY_OK",
|
|
6808
|
+
"ADGROUP_STATUS_INDUSTRY_QUALIFICATION_MISSING",
|
|
6809
|
+
"ADGROUP_STATUS_INDUSTRY_QUALIFICATION_EXPIRED",
|
|
6810
|
+
"ADGROUP_STATUS_INDUSTRY_QUALIFICATION_DENY",
|
|
6811
|
+
"ADGROUP_STATUS_ASSET_AUTHORIZATION_LOST",
|
|
6812
|
+
"ADGROUP_STATUS_TRANSCODING_FAIL",
|
|
6813
|
+
"ADGROUP_STATUS_ADGROUP_QUOTA_LIMIT",
|
|
6814
|
+
"ADGROUP_STATUS_IDENTITY_USED_BY_GMV_MAX_AD",
|
|
6815
|
+
"ADGROUP_STATUS_SEARCH_KEYWORDS_IN_REVIEW",
|
|
6816
|
+
"ADGROUP_STATUS_SEARCH_KEYWORDS_NOT_AVAILABLE",
|
|
6817
|
+
"ADGROUP_STATUS_SEARCH_KEYWORDS_PARTIAL_APPROVED",
|
|
6818
|
+
"ADGROUP_STATUS_DELIVERY_OK",
|
|
6819
|
+
"ADGROUP_STATUS_REVIEW_PARTIALLY_APPROVED",
|
|
6820
|
+
"ADGROUP_STATUS_TIME_DONE",
|
|
6821
|
+
"ADGROUP_STATUS_RF_DEDUCTION_FAILED",
|
|
6822
|
+
"ADGROUP_STATUS_RF_NO_VALID_CREATIVE",
|
|
6823
|
+
"ADGROUP_STATUS_RF_CLOSED_OTHERS",
|
|
6824
|
+
"ADGROUP_STATUS_RF_SHORT_BALANCE",
|
|
6825
|
+
"ADGROUP_STATUS_RF_BOOKING",
|
|
6826
|
+
"ADGROUP_STATUS_RF_NO_DELIVERY_CREATIVE",
|
|
6827
|
+
"ADGROUP_STATUS_RF_SCHEDULE",
|
|
6828
|
+
"ADGROUP_STATUS_RF_TERMINATE",
|
|
6829
|
+
"ADGROUP_STATUS_RF_AD_AUDIT_DENY",
|
|
6830
|
+
"ADVERTISER_ACCOUNT_INVALID",
|
|
6831
|
+
"ADGROUP_STATUS_RF_ADGROUP_INVALID",
|
|
6832
|
+
"ADGROUP_STATUS_RF_WITHDRAW_ORDER",
|
|
6833
|
+
"ADGROUP_STATUS_RF_TIME_DONE",
|
|
6834
|
+
"ADGROUP_STATUS_PROMOTE_AD_NOT_APPROVED",
|
|
6835
|
+
"ADGROUP_STATUS_PROMOTE_WITHDRAW_ORDER",
|
|
6836
|
+
"ADGROUP_STATUS_ALL",
|
|
6837
|
+
"ADGROUP_STATUS_NOT_DELETE"
|
|
6838
|
+
]).optional()
|
|
6839
|
+
});
|
|
6840
|
+
z__namespace.object({
|
|
6841
|
+
object: z__namespace.literal("list"),
|
|
6842
|
+
data: z__namespace.array(zTikTokAdGroup),
|
|
6843
|
+
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
6844
|
+
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
6845
|
+
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
6846
|
+
has_more: z__namespace.boolean()
|
|
6847
|
+
});
|
|
6848
|
+
z__namespace.object({
|
|
6849
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
6850
|
+
adgroup_name: z__namespace.string().min(1).max(512),
|
|
6851
|
+
optimization_goal: zTikTokOptimizationGoal,
|
|
6852
|
+
operation_status: z__namespace.enum(["ENABLE", "DISABLE"]).optional().default("ENABLE"),
|
|
6853
|
+
bid_type: z__namespace.enum(["BID_TYPE_CUSTOM", "BID_TYPE_NO_BID"]).optional(),
|
|
6854
|
+
bid_price: z__namespace.number().gt(0).optional(),
|
|
6855
|
+
conversion_bid_price: z__namespace.number().gt(0).optional(),
|
|
6856
|
+
deep_bid_type: zTikTokDeepBidType.optional(),
|
|
6857
|
+
roas_bid: z__namespace.number().gt(0).optional(),
|
|
6858
|
+
pacing: z__namespace.enum(["PACING_MODE_SMOOTH", "PACING_MODE_FAST"]),
|
|
6859
|
+
budget_mode: zTikTokAdGroupBudgetMode,
|
|
6860
|
+
budget: z__namespace.number().gt(0),
|
|
6861
|
+
schedule_type: z__namespace.enum(["SCHEDULE_FROM_NOW", "SCHEDULE_START_END"]),
|
|
6862
|
+
schedule_start_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/),
|
|
6863
|
+
schedule_end_time: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2}$/).optional(),
|
|
6864
|
+
promotion_type: zTikTokPromotionType.optional(),
|
|
6865
|
+
placement_type: z__namespace.enum(["PLACEMENT_TYPE_AUTOMATIC", "PLACEMENT_TYPE_NORMAL"]).optional(),
|
|
6866
|
+
placements: z__namespace.array(zTikTokAdGroupPlacement).min(1).optional(),
|
|
6867
|
+
pixel_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
6868
|
+
optimization_event: z__namespace.string().optional(),
|
|
6869
|
+
gender: z__namespace.enum([
|
|
6870
|
+
"GENDER_UNLIMITED",
|
|
6871
|
+
"GENDER_MALE",
|
|
6872
|
+
"GENDER_FEMALE"
|
|
6873
|
+
]).optional(),
|
|
6874
|
+
age_groups: z__namespace.array(z__namespace.enum([
|
|
6875
|
+
"AGE_13_17",
|
|
6876
|
+
"AGE_18_24",
|
|
6877
|
+
"AGE_25_34",
|
|
6878
|
+
"AGE_35_44",
|
|
6879
|
+
"AGE_45_54",
|
|
6880
|
+
"AGE_55_100"
|
|
6881
|
+
])).min(1).optional(),
|
|
6882
|
+
languages: z__namespace.array(z__namespace.string()).optional(),
|
|
6883
|
+
operating_systems: z__namespace.array(z__namespace.enum(["ANDROID", "IOS"])).max(1).optional(),
|
|
6884
|
+
location_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(3e3).optional(),
|
|
6885
|
+
zipcode_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(3e3).optional(),
|
|
6886
|
+
audience_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).optional(),
|
|
6887
|
+
excluded_audience_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).optional(),
|
|
6888
|
+
saved_audience_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
6889
|
+
comment_disabled: z__namespace.boolean().optional(),
|
|
6890
|
+
video_download_disabled: z__namespace.boolean().optional(),
|
|
6891
|
+
share_disabled: z__namespace.boolean().optional()
|
|
6892
|
+
});
|
|
6893
|
+
z__namespace.object({
|
|
6894
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6895
|
+
});
|
|
6896
|
+
z__namespace.object({
|
|
6897
|
+
connection_id: z__namespace.string()
|
|
6898
|
+
});
|
|
6899
|
+
z__namespace.object({
|
|
6900
|
+
operation_status: zTikTokOperationStatus
|
|
6901
|
+
});
|
|
6902
|
+
z__namespace.object({
|
|
6903
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6904
|
+
});
|
|
6905
|
+
z__namespace.object({
|
|
6906
|
+
connection_id: z__namespace.string(),
|
|
6907
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/)
|
|
6908
|
+
});
|
|
6909
|
+
z__namespace.object({
|
|
6910
|
+
budget: z__namespace.number().gt(0),
|
|
6911
|
+
budget_kind: zTikTokAdGroupBudgetKind
|
|
6912
|
+
});
|
|
6913
|
+
z__namespace.object({
|
|
6914
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6915
|
+
});
|
|
6916
|
+
z__namespace.object({
|
|
6917
|
+
connection_id: z__namespace.string(),
|
|
6918
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/)
|
|
6919
|
+
});
|
|
6920
|
+
z__namespace.object({
|
|
6921
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
6922
|
+
});
|
|
6923
|
+
z__namespace.object({
|
|
6924
|
+
connection_id: z__namespace.string(),
|
|
6925
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/)
|
|
6926
|
+
});
|
|
6927
|
+
z__namespace.object({
|
|
6928
|
+
connection_id: z__namespace.string()
|
|
6929
|
+
});
|
|
6930
|
+
z__namespace.object({
|
|
6931
|
+
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
6932
|
+
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
6933
|
+
campaign_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
6934
|
+
adgroup_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
6935
|
+
ad_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
6936
|
+
ad_name: z__namespace.string().optional(),
|
|
6937
|
+
objective_type: z__namespace.enum([
|
|
6938
|
+
"APP_PROMOTION",
|
|
6939
|
+
"WEB_CONVERSIONS",
|
|
6940
|
+
"REACH",
|
|
6941
|
+
"TRAFFIC",
|
|
6942
|
+
"VIDEO_VIEWS",
|
|
6943
|
+
"ENGAGEMENT",
|
|
6944
|
+
"PRODUCT_SALES",
|
|
6945
|
+
"LEAD_GENERATION",
|
|
6946
|
+
"RF_REACH",
|
|
6947
|
+
"TOPVIEW_REACH",
|
|
6948
|
+
"BRAND_CONSIDERATION",
|
|
6949
|
+
"APP_INSTALL",
|
|
6950
|
+
"CONVERSIONS",
|
|
6951
|
+
"CATALOG_SALES",
|
|
6952
|
+
"SHOP_PURCHASES",
|
|
6953
|
+
"RF_APP_INSTALL",
|
|
6954
|
+
"RF_ENGAGEMENT",
|
|
6955
|
+
"RF_TRAFFIC",
|
|
6956
|
+
"RF_VIDEO_VIEW"
|
|
6957
|
+
]).optional(),
|
|
6958
|
+
primary_status: z__namespace.enum([
|
|
6959
|
+
"STATUS_DELIVERY_OK",
|
|
6960
|
+
"STATUS_DISABLE",
|
|
6961
|
+
"STATUS_NOT_DELIVERY",
|
|
6962
|
+
"STATUS_DELETE",
|
|
6963
|
+
"STATUS_TIME_DONE",
|
|
6964
|
+
"STATUS_RF_CLOSED",
|
|
6965
|
+
"STATUS_FROZEN",
|
|
6966
|
+
"STATUS_ALL",
|
|
6967
|
+
"STATUS_NOT_DELETE"
|
|
6968
|
+
]).optional(),
|
|
6969
|
+
secondary_status: z__namespace.enum([
|
|
6970
|
+
"AD_STATUS_CAMPAIGN_DELETE",
|
|
6971
|
+
"AD_STATUS_ADGROUP_DELETE",
|
|
6972
|
+
"AD_STATUS_DELETE",
|
|
6973
|
+
"AD_STATUS_ADVERTISER_AUDIT_DENY",
|
|
6974
|
+
"AD_STATUS_ADVERTISER_AUDIT",
|
|
6975
|
+
"ADVERTISER_CONTRACT_PENDING",
|
|
6976
|
+
"ADVERTISER_ACCOUNT_PUNISH",
|
|
6977
|
+
"AD_STATUS_BALANCE_EXCEED",
|
|
6978
|
+
"AD_STATUS_CAMPAIGN_EXCEED",
|
|
6979
|
+
"AD_STATUS_BUDGET_EXCEED",
|
|
6980
|
+
"AD_STATUS_AD_PRE_ONLINE",
|
|
6981
|
+
"AD_STATUS_AUDIT",
|
|
6982
|
+
"AD_STATUS_REAUDIT",
|
|
6983
|
+
"AD_STATUS_AUDIT_DENY",
|
|
6984
|
+
"AD_STATUS_ADGROUP_AUDIT_DENY",
|
|
6985
|
+
"AD_STATUS_ADGROUP_PARTIAL_AUDIT_NO_DELIVERY",
|
|
6986
|
+
"AD_STATUS_REVIEW_PARTIALLY_APPROVED",
|
|
6987
|
+
"AD_STATUS_PARTIAL_AUDIT_DELIVERY_OK",
|
|
6988
|
+
"AD_STATUS_PARTIAL_AUDIT_NO_DELIVERY",
|
|
6989
|
+
"AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_MISSING",
|
|
6990
|
+
"AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_EXPIRED",
|
|
6991
|
+
"AD_STATUS_ADGROUP_INDUSTRY_QUALIFICATION_DENY",
|
|
6992
|
+
"AD_STATUS_MUSIC_AUTHORIZATION_MISSING",
|
|
6993
|
+
"AD_STATUS_LIVE_OFFLINE",
|
|
6994
|
+
"AD_STATUS_NOT_START",
|
|
6995
|
+
"AD_STATUS_DONE",
|
|
6996
|
+
"AD_STATUS_CAMPAIGN_DISABLE",
|
|
6997
|
+
"AD_STATUS_ADGROUP_DISABLE",
|
|
6998
|
+
"AD_STATUS_DISABLE",
|
|
6999
|
+
"AD_STATUS_DELIVERY_OK",
|
|
7000
|
+
"AD_STATUS_PROCESS_AUDIO",
|
|
7001
|
+
"AD_STATUS_TRANSCODING_FAIL",
|
|
7002
|
+
"AD_STATUS_ADGROUP_ASSET_AUTHORIZATION_LOST",
|
|
7003
|
+
"AD_STATUS_ASSET_AUTHORIZATION_LOST",
|
|
7004
|
+
"AD_STATUS_AD_QUOTA_LIMIT",
|
|
7005
|
+
"AD_STATUS_PRODUCT_UNAVAILABLE",
|
|
7006
|
+
"AD_STATUS_ANCHOR_UNAVAILABLE",
|
|
7007
|
+
"AD_STATUS_NO_AUTHORIZATION_OF_SHOWCASE",
|
|
7008
|
+
"AD_STATUS_RF_ADGROUP_CLOSED",
|
|
7009
|
+
"AD_STATUS_PROMOTE_AD_OFFLINE_AUDIT",
|
|
7010
|
+
"AD_STATUS_PROMOTE_ADGROUP_CLOSED",
|
|
7011
|
+
"AD_STATUS_ALL",
|
|
7012
|
+
"AD_STATUS_NOT_DELETE"
|
|
7013
|
+
]).optional()
|
|
7014
|
+
});
|
|
7015
|
+
z__namespace.object({
|
|
7016
|
+
object: z__namespace.literal("list"),
|
|
7017
|
+
data: z__namespace.array(zTikTokAd),
|
|
7018
|
+
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
7019
|
+
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
7020
|
+
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
7021
|
+
has_more: z__namespace.boolean()
|
|
7022
|
+
});
|
|
7023
|
+
z__namespace.object({
|
|
7024
|
+
adgroup_id: z__namespace.string().regex(/^\d+$/),
|
|
7025
|
+
ad_name: z__namespace.string().max(512),
|
|
7026
|
+
identity_type: zTikTokAdIdentityType,
|
|
7027
|
+
identity_id: z__namespace.string().min(1),
|
|
7028
|
+
ad_format: zTikTokAdFormat,
|
|
7029
|
+
ad_text: z__namespace.string().max(100),
|
|
7030
|
+
call_to_action: z__namespace.enum([
|
|
7031
|
+
"APPLY_NOW",
|
|
7032
|
+
"BOOK_NOW",
|
|
7033
|
+
"CALL_NOW",
|
|
7034
|
+
"CHECK_AVAILABLILITY",
|
|
7035
|
+
"CONTACT_US",
|
|
7036
|
+
"DOWNLOAD_NOW",
|
|
7037
|
+
"EXPERIENCE_NOW",
|
|
7038
|
+
"GET_QUOTE",
|
|
7039
|
+
"GET_SHOWTIMES",
|
|
7040
|
+
"GET_TICKETS_NOW",
|
|
7041
|
+
"INSTALL_NOW",
|
|
7042
|
+
"INTERESTED",
|
|
7043
|
+
"LEARN_MORE",
|
|
7044
|
+
"LISTEN_NOW",
|
|
7045
|
+
"ORDER_NOW",
|
|
7046
|
+
"PLAY_GAME",
|
|
7047
|
+
"PREORDER_NOW",
|
|
7048
|
+
"READ_MORE",
|
|
7049
|
+
"SEND_MESSAGE",
|
|
7050
|
+
"SHOP_NOW",
|
|
7051
|
+
"SIGN_UP",
|
|
7052
|
+
"SUBSCRIBE",
|
|
7053
|
+
"VIEW_NOW",
|
|
7054
|
+
"VIEW_PROFILE",
|
|
7055
|
+
"VISIT_STORE",
|
|
7056
|
+
"WATCH_LIVE",
|
|
7057
|
+
"WATCH_NOW",
|
|
7058
|
+
"JOIN_THIS_HASHTAG",
|
|
7059
|
+
"SHOOT_WITH_THIS_EFFECT",
|
|
7060
|
+
"VIEW_VIDEO_WITH_THIS_EFFECT"
|
|
7061
|
+
]).optional(),
|
|
7062
|
+
call_to_action_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
7063
|
+
landing_page_url: z__namespace.url().optional(),
|
|
7064
|
+
display_name: z__namespace.string().min(1).max(40).optional(),
|
|
7065
|
+
operation_status: z__namespace.enum(["ENABLE", "DISABLE"]).optional().default("ENABLE"),
|
|
7066
|
+
video_media_id: z__namespace.string(),
|
|
7067
|
+
cover_media_id: z__namespace.string().optional()
|
|
7068
|
+
});
|
|
7069
|
+
z__namespace.object({
|
|
7070
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
7071
|
+
});
|
|
7072
|
+
z__namespace.object({
|
|
7073
|
+
connection_id: z__namespace.string()
|
|
7074
|
+
});
|
|
7075
|
+
z__namespace.object({
|
|
7076
|
+
operation_status: zTikTokOperationStatus
|
|
7077
|
+
});
|
|
7078
|
+
z__namespace.object({
|
|
7079
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
7080
|
+
});
|
|
7081
|
+
z__namespace.object({
|
|
7082
|
+
connection_id: z__namespace.string(),
|
|
7083
|
+
ad_id: z__namespace.string().regex(/^\d+$/)
|
|
7084
|
+
});
|
|
7085
|
+
z__namespace.object({
|
|
7086
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
7087
|
+
});
|
|
7088
|
+
z__namespace.object({
|
|
7089
|
+
connection_id: z__namespace.string(),
|
|
7090
|
+
ad_id: z__namespace.string().regex(/^\d+$/)
|
|
7091
|
+
});
|
|
7092
|
+
z__namespace.object({
|
|
7093
|
+
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
7094
|
+
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
7095
|
+
level: z__namespace.enum([
|
|
7096
|
+
"advertiser",
|
|
7097
|
+
"campaign",
|
|
7098
|
+
"ad_group",
|
|
7099
|
+
"ad"
|
|
7100
|
+
]).optional().default("campaign"),
|
|
7101
|
+
dimensions: z__namespace.array(z__namespace.enum([
|
|
7102
|
+
"advertiser_id",
|
|
7103
|
+
"campaign_id",
|
|
7104
|
+
"adgroup_id",
|
|
7105
|
+
"ad_id",
|
|
7106
|
+
"stat_time_day",
|
|
7107
|
+
"stat_time_hour"
|
|
7108
|
+
])).min(1),
|
|
7109
|
+
metrics: z__namespace.array(z__namespace.enum([
|
|
7110
|
+
"spend",
|
|
7111
|
+
"impressions",
|
|
7112
|
+
"reach",
|
|
7113
|
+
"frequency",
|
|
7114
|
+
"cpm",
|
|
7115
|
+
"cost_per_1000_reached",
|
|
7116
|
+
"clicks",
|
|
7117
|
+
"ctr",
|
|
7118
|
+
"cpc",
|
|
7119
|
+
"conversion",
|
|
7120
|
+
"cost_per_conversion",
|
|
7121
|
+
"conversion_rate_v2",
|
|
7122
|
+
"real_time_conversion",
|
|
7123
|
+
"complete_payment_roas",
|
|
7124
|
+
"total_purchase",
|
|
7125
|
+
"total_purchase_value",
|
|
7126
|
+
"video_play_actions",
|
|
7127
|
+
"video_watched_2s",
|
|
7128
|
+
"video_watched_6s",
|
|
7129
|
+
"video_views_p25",
|
|
7130
|
+
"video_views_p50",
|
|
7131
|
+
"video_views_p75",
|
|
7132
|
+
"video_views_p100",
|
|
7133
|
+
"likes",
|
|
7134
|
+
"comments",
|
|
7135
|
+
"shares",
|
|
7136
|
+
"follows",
|
|
7137
|
+
"profile_visits",
|
|
7138
|
+
"engagements"
|
|
7139
|
+
])).min(1).optional().default([
|
|
7140
|
+
"spend",
|
|
7141
|
+
"impressions",
|
|
7142
|
+
"clicks",
|
|
7143
|
+
"conversion"
|
|
7144
|
+
]),
|
|
7145
|
+
filtering: z__namespace.object({
|
|
7146
|
+
campaign_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
7147
|
+
adgroup_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional(),
|
|
7148
|
+
ad_ids: z__namespace.array(z__namespace.string().regex(/^\d+$/)).max(100).optional()
|
|
7149
|
+
}).optional(),
|
|
7150
|
+
start_date: z__namespace.iso.date(),
|
|
7151
|
+
end_date: z__namespace.iso.date()
|
|
7152
|
+
});
|
|
7153
|
+
z__namespace.object({
|
|
7154
|
+
connection_id: z__namespace.string()
|
|
7155
|
+
});
|
|
7156
|
+
z__namespace.object({
|
|
7157
|
+
object: z__namespace.literal("list"),
|
|
7158
|
+
data: z__namespace.array(zTikTokAdsInsightsRow),
|
|
7159
|
+
total: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
7160
|
+
limit: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
7161
|
+
offset: z__namespace.int().gte(-9007199254740991).lte(9007199254740991),
|
|
7162
|
+
has_more: z__namespace.boolean()
|
|
7163
|
+
});
|
|
7164
|
+
z__namespace.object({
|
|
7165
|
+
connection_id: z__namespace.string()
|
|
7166
|
+
});
|
|
7167
|
+
z__namespace.object({
|
|
7168
|
+
campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
|
|
7169
|
+
metrics: z__namespace.array(z__namespace.enum([
|
|
7170
|
+
"spend",
|
|
7171
|
+
"impressions",
|
|
7172
|
+
"reach",
|
|
7173
|
+
"frequency",
|
|
7174
|
+
"cpm",
|
|
7175
|
+
"cost_per_1000_reached",
|
|
7176
|
+
"clicks",
|
|
7177
|
+
"ctr",
|
|
7178
|
+
"cpc",
|
|
7179
|
+
"conversion",
|
|
7180
|
+
"cost_per_conversion",
|
|
7181
|
+
"conversion_rate_v2",
|
|
7182
|
+
"real_time_conversion",
|
|
7183
|
+
"complete_payment_roas",
|
|
7184
|
+
"total_purchase",
|
|
7185
|
+
"total_purchase_value",
|
|
7186
|
+
"video_play_actions",
|
|
7187
|
+
"video_watched_2s",
|
|
7188
|
+
"video_watched_6s",
|
|
7189
|
+
"video_views_p25",
|
|
7190
|
+
"video_views_p50",
|
|
7191
|
+
"video_views_p75",
|
|
7192
|
+
"video_views_p100",
|
|
7193
|
+
"likes",
|
|
7194
|
+
"comments",
|
|
7195
|
+
"shares",
|
|
7196
|
+
"follows",
|
|
7197
|
+
"profile_visits",
|
|
7198
|
+
"engagements"
|
|
7199
|
+
])).min(1).optional().default([
|
|
7200
|
+
"spend",
|
|
7201
|
+
"impressions",
|
|
7202
|
+
"clicks",
|
|
7203
|
+
"conversion",
|
|
7204
|
+
"complete_payment_roas"
|
|
7205
|
+
]),
|
|
7206
|
+
start_date: z__namespace.iso.date(),
|
|
7207
|
+
end_date: z__namespace.iso.date()
|
|
7208
|
+
});
|
|
7209
|
+
z__namespace.object({
|
|
7210
|
+
connection_id: z__namespace.string()
|
|
7211
|
+
});
|
|
7212
|
+
z__namespace.object({
|
|
7213
|
+
identity_type: zTikTokIdentityType.optional(),
|
|
7214
|
+
page: z__namespace.int().gte(1).lte(9007199254740991).optional(),
|
|
7215
|
+
page_size: z__namespace.int().gte(1).lte(100).optional()
|
|
7216
|
+
});
|
|
7217
|
+
z__namespace.object({
|
|
7218
|
+
object: z__namespace.literal("list"),
|
|
7219
|
+
data: z__namespace.array(zTikTokIdentity)
|
|
7220
|
+
});
|
|
7221
|
+
z__namespace.object({
|
|
7222
|
+
display_name: z__namespace.string().min(1).max(100),
|
|
7223
|
+
image_url: z__namespace.url()
|
|
7224
|
+
});
|
|
7225
|
+
z__namespace.object({
|
|
7226
|
+
"Idempotency-Key": z__namespace.string().min(1).max(255).optional()
|
|
7227
|
+
});
|
|
7228
|
+
z__namespace.object({
|
|
7229
|
+
connection_id: z__namespace.string()
|
|
7230
|
+
});
|
|
7231
|
+
z__namespace.object({
|
|
7232
|
+
limit: z__namespace.int().gte(1).lte(100).optional().default(20),
|
|
7233
|
+
offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
|
|
7234
|
+
profile_id: z__namespace.string().optional(),
|
|
7235
|
+
connection_id: z__namespace.string().optional(),
|
|
7236
|
+
platform: z__namespace.enum([
|
|
7237
|
+
"meta_ads",
|
|
7238
|
+
"google_ads",
|
|
7239
|
+
"tiktok_ads",
|
|
7240
|
+
"x",
|
|
7241
|
+
"linkedin",
|
|
7242
|
+
"facebook_page",
|
|
7243
|
+
"instagram",
|
|
7244
|
+
"tiktok"
|
|
7245
|
+
]).optional(),
|
|
7246
|
+
status: z__namespace.enum([
|
|
7247
|
+
"pending",
|
|
7248
|
+
"success",
|
|
7249
|
+
"error"
|
|
7250
|
+
]).optional(),
|
|
7251
|
+
source: z__namespace.enum([
|
|
7252
|
+
"api",
|
|
7253
|
+
"dashboard",
|
|
7254
|
+
"mcp",
|
|
7255
|
+
"scheduler"
|
|
7256
|
+
]).optional(),
|
|
7257
|
+
action: z__namespace.string().min(1).optional(),
|
|
7258
|
+
created_after: z__namespace.iso.datetime({ offset: true }).optional(),
|
|
7259
|
+
created_before: z__namespace.iso.datetime({ offset: true }).optional()
|
|
7260
|
+
});
|
|
7261
|
+
z__namespace.object({
|
|
7262
|
+
object: z__namespace.literal("list"),
|
|
7263
|
+
data: z__namespace.array(z__namespace.object({
|
|
7264
|
+
id: z__namespace.string(),
|
|
7265
|
+
source: z__namespace.enum([
|
|
7266
|
+
"api",
|
|
7267
|
+
"dashboard",
|
|
7268
|
+
"mcp",
|
|
7269
|
+
"scheduler"
|
|
7270
|
+
]),
|
|
7271
|
+
action: z__namespace.string(),
|
|
7272
|
+
status: z__namespace.enum([
|
|
7273
|
+
"pending",
|
|
7274
|
+
"success",
|
|
7275
|
+
"error"
|
|
7276
|
+
]),
|
|
7277
|
+
status_code: z__namespace.int().gte(-9007199254740991).lte(9007199254740991).nullable(),
|
|
7278
|
+
platform: z__namespace.enum([
|
|
7279
|
+
"meta_ads",
|
|
7280
|
+
"google_ads",
|
|
7281
|
+
"tiktok_ads",
|
|
7282
|
+
"x",
|
|
7283
|
+
"linkedin",
|
|
7284
|
+
"facebook_page",
|
|
7285
|
+
"instagram",
|
|
7286
|
+
"tiktok"
|
|
7287
|
+
]).nullable(),
|
|
7288
|
+
request_method: z__namespace.string().nullable(),
|
|
7289
|
+
request_path: z__namespace.string().nullable(),
|
|
7290
|
+
request_body: z__namespace.unknown().nullish(),
|
|
7291
|
+
response_body: z__namespace.unknown().nullish(),
|
|
7292
|
+
error: z__namespace.object({
|
|
7293
|
+
code: z__namespace.enum([
|
|
7294
|
+
"unauthorized",
|
|
7295
|
+
"forbidden",
|
|
7296
|
+
"not_found",
|
|
7297
|
+
"conflict",
|
|
7298
|
+
"validation_failed",
|
|
7299
|
+
"rate_limited",
|
|
7300
|
+
"internal_error",
|
|
5350
7301
|
"idempotency_key_invalid",
|
|
5351
7302
|
"idempotency_key_reused",
|
|
5352
7303
|
"idempotency_request_in_progress",
|
|
@@ -5357,6 +7308,8 @@ z__namespace.object({
|
|
|
5357
7308
|
"connection_discovery_failed",
|
|
5358
7309
|
"tiktok_creator_info_unavailable",
|
|
5359
7310
|
"tiktok_cannot_post_now",
|
|
7311
|
+
"cover_unavailable",
|
|
7312
|
+
"cover_not_ready",
|
|
5360
7313
|
"media_processing",
|
|
5361
7314
|
"media_upload_init_failed",
|
|
5362
7315
|
"media_upload_incomplete",
|
|
@@ -5364,11 +7317,14 @@ z__namespace.object({
|
|
|
5364
7317
|
"not_publishable",
|
|
5365
7318
|
"invalid_connection",
|
|
5366
7319
|
"invalid_media",
|
|
7320
|
+
"invalid_asset",
|
|
7321
|
+
"invalid_audience",
|
|
5367
7322
|
"profile_scope_invalid",
|
|
5368
7323
|
"media_unprobeable",
|
|
5369
7324
|
"media_too_large",
|
|
5370
7325
|
"media_aspect_ratio_unsupported",
|
|
5371
7326
|
"media_resolution_too_low",
|
|
7327
|
+
"media_resolution_too_high",
|
|
5372
7328
|
"media_gif_unsupported",
|
|
5373
7329
|
"media_format_recompressed",
|
|
5374
7330
|
"media_resolution_downscaled",
|
|
@@ -5377,6 +7333,7 @@ z__namespace.object({
|
|
|
5377
7333
|
"video_audio_codec_unsupported",
|
|
5378
7334
|
"video_too_large",
|
|
5379
7335
|
"video_too_small",
|
|
7336
|
+
"video_bitrate_too_low",
|
|
5380
7337
|
"video_dimensions_unsupported",
|
|
5381
7338
|
"video_dimensions_too_large",
|
|
5382
7339
|
"video_fps_unsupported",
|
|
@@ -5456,6 +7413,11 @@ z__namespace.object({
|
|
|
5456
7413
|
"google_auth_expired",
|
|
5457
7414
|
"google_permission_denied",
|
|
5458
7415
|
"google_request_failed",
|
|
7416
|
+
"tiktok_ads_rate_limited",
|
|
7417
|
+
"tiktok_ads_server_error",
|
|
7418
|
+
"tiktok_ads_auth_expired",
|
|
7419
|
+
"tiktok_ads_permission_denied",
|
|
7420
|
+
"tiktok_ads_request_failed",
|
|
5459
7421
|
"google_conversion_duplicate",
|
|
5460
7422
|
"google_conversion_invalid_click_id",
|
|
5461
7423
|
"google_conversion_event_too_old",
|
|
@@ -5517,6 +7479,8 @@ z__namespace.object({
|
|
|
5517
7479
|
"connection_discovery_failed",
|
|
5518
7480
|
"tiktok_creator_info_unavailable",
|
|
5519
7481
|
"tiktok_cannot_post_now",
|
|
7482
|
+
"cover_unavailable",
|
|
7483
|
+
"cover_not_ready",
|
|
5520
7484
|
"media_processing",
|
|
5521
7485
|
"media_upload_init_failed",
|
|
5522
7486
|
"media_upload_incomplete",
|
|
@@ -5524,11 +7488,14 @@ z__namespace.object({
|
|
|
5524
7488
|
"not_publishable",
|
|
5525
7489
|
"invalid_connection",
|
|
5526
7490
|
"invalid_media",
|
|
7491
|
+
"invalid_asset",
|
|
7492
|
+
"invalid_audience",
|
|
5527
7493
|
"profile_scope_invalid",
|
|
5528
7494
|
"media_unprobeable",
|
|
5529
7495
|
"media_too_large",
|
|
5530
7496
|
"media_aspect_ratio_unsupported",
|
|
5531
7497
|
"media_resolution_too_low",
|
|
7498
|
+
"media_resolution_too_high",
|
|
5532
7499
|
"media_gif_unsupported",
|
|
5533
7500
|
"media_format_recompressed",
|
|
5534
7501
|
"media_resolution_downscaled",
|
|
@@ -5537,6 +7504,7 @@ z__namespace.object({
|
|
|
5537
7504
|
"video_audio_codec_unsupported",
|
|
5538
7505
|
"video_too_large",
|
|
5539
7506
|
"video_too_small",
|
|
7507
|
+
"video_bitrate_too_low",
|
|
5540
7508
|
"video_dimensions_unsupported",
|
|
5541
7509
|
"video_dimensions_too_large",
|
|
5542
7510
|
"video_fps_unsupported",
|
|
@@ -5616,6 +7584,11 @@ z__namespace.object({
|
|
|
5616
7584
|
"google_auth_expired",
|
|
5617
7585
|
"google_permission_denied",
|
|
5618
7586
|
"google_request_failed",
|
|
7587
|
+
"tiktok_ads_rate_limited",
|
|
7588
|
+
"tiktok_ads_server_error",
|
|
7589
|
+
"tiktok_ads_auth_expired",
|
|
7590
|
+
"tiktok_ads_permission_denied",
|
|
7591
|
+
"tiktok_ads_request_failed",
|
|
5619
7592
|
"google_conversion_duplicate",
|
|
5620
7593
|
"google_conversion_invalid_click_id",
|
|
5621
7594
|
"google_conversion_event_too_old",
|
|
@@ -5698,6 +7671,8 @@ z__namespace.object({
|
|
|
5698
7671
|
"connection_discovery_failed",
|
|
5699
7672
|
"tiktok_creator_info_unavailable",
|
|
5700
7673
|
"tiktok_cannot_post_now",
|
|
7674
|
+
"cover_unavailable",
|
|
7675
|
+
"cover_not_ready",
|
|
5701
7676
|
"media_processing",
|
|
5702
7677
|
"media_upload_init_failed",
|
|
5703
7678
|
"media_upload_incomplete",
|
|
@@ -5705,11 +7680,14 @@ z__namespace.object({
|
|
|
5705
7680
|
"not_publishable",
|
|
5706
7681
|
"invalid_connection",
|
|
5707
7682
|
"invalid_media",
|
|
7683
|
+
"invalid_asset",
|
|
7684
|
+
"invalid_audience",
|
|
5708
7685
|
"profile_scope_invalid",
|
|
5709
7686
|
"media_unprobeable",
|
|
5710
7687
|
"media_too_large",
|
|
5711
7688
|
"media_aspect_ratio_unsupported",
|
|
5712
7689
|
"media_resolution_too_low",
|
|
7690
|
+
"media_resolution_too_high",
|
|
5713
7691
|
"media_gif_unsupported",
|
|
5714
7692
|
"media_format_recompressed",
|
|
5715
7693
|
"media_resolution_downscaled",
|
|
@@ -5718,6 +7696,7 @@ z__namespace.object({
|
|
|
5718
7696
|
"video_audio_codec_unsupported",
|
|
5719
7697
|
"video_too_large",
|
|
5720
7698
|
"video_too_small",
|
|
7699
|
+
"video_bitrate_too_low",
|
|
5721
7700
|
"video_dimensions_unsupported",
|
|
5722
7701
|
"video_dimensions_too_large",
|
|
5723
7702
|
"video_fps_unsupported",
|
|
@@ -5797,6 +7776,11 @@ z__namespace.object({
|
|
|
5797
7776
|
"google_auth_expired",
|
|
5798
7777
|
"google_permission_denied",
|
|
5799
7778
|
"google_request_failed",
|
|
7779
|
+
"tiktok_ads_rate_limited",
|
|
7780
|
+
"tiktok_ads_server_error",
|
|
7781
|
+
"tiktok_ads_auth_expired",
|
|
7782
|
+
"tiktok_ads_permission_denied",
|
|
7783
|
+
"tiktok_ads_request_failed",
|
|
5800
7784
|
"google_conversion_duplicate",
|
|
5801
7785
|
"google_conversion_invalid_click_id",
|
|
5802
7786
|
"google_conversion_event_too_old",
|
|
@@ -5858,6 +7842,8 @@ z__namespace.object({
|
|
|
5858
7842
|
"connection_discovery_failed",
|
|
5859
7843
|
"tiktok_creator_info_unavailable",
|
|
5860
7844
|
"tiktok_cannot_post_now",
|
|
7845
|
+
"cover_unavailable",
|
|
7846
|
+
"cover_not_ready",
|
|
5861
7847
|
"media_processing",
|
|
5862
7848
|
"media_upload_init_failed",
|
|
5863
7849
|
"media_upload_incomplete",
|
|
@@ -5865,11 +7851,14 @@ z__namespace.object({
|
|
|
5865
7851
|
"not_publishable",
|
|
5866
7852
|
"invalid_connection",
|
|
5867
7853
|
"invalid_media",
|
|
7854
|
+
"invalid_asset",
|
|
7855
|
+
"invalid_audience",
|
|
5868
7856
|
"profile_scope_invalid",
|
|
5869
7857
|
"media_unprobeable",
|
|
5870
7858
|
"media_too_large",
|
|
5871
7859
|
"media_aspect_ratio_unsupported",
|
|
5872
7860
|
"media_resolution_too_low",
|
|
7861
|
+
"media_resolution_too_high",
|
|
5873
7862
|
"media_gif_unsupported",
|
|
5874
7863
|
"media_format_recompressed",
|
|
5875
7864
|
"media_resolution_downscaled",
|
|
@@ -5878,6 +7867,7 @@ z__namespace.object({
|
|
|
5878
7867
|
"video_audio_codec_unsupported",
|
|
5879
7868
|
"video_too_large",
|
|
5880
7869
|
"video_too_small",
|
|
7870
|
+
"video_bitrate_too_low",
|
|
5881
7871
|
"video_dimensions_unsupported",
|
|
5882
7872
|
"video_dimensions_too_large",
|
|
5883
7873
|
"video_fps_unsupported",
|
|
@@ -5957,6 +7947,11 @@ z__namespace.object({
|
|
|
5957
7947
|
"google_auth_expired",
|
|
5958
7948
|
"google_permission_denied",
|
|
5959
7949
|
"google_request_failed",
|
|
7950
|
+
"tiktok_ads_rate_limited",
|
|
7951
|
+
"tiktok_ads_server_error",
|
|
7952
|
+
"tiktok_ads_auth_expired",
|
|
7953
|
+
"tiktok_ads_permission_denied",
|
|
7954
|
+
"tiktok_ads_request_failed",
|
|
5960
7955
|
"google_conversion_duplicate",
|
|
5961
7956
|
"google_conversion_invalid_click_id",
|
|
5962
7957
|
"google_conversion_event_too_old",
|
|
@@ -6099,14 +8094,19 @@ z__namespace.object({
|
|
|
6099
8094
|
scopes: z__namespace.array(z__namespace.enum([
|
|
6100
8095
|
"profiles:read",
|
|
6101
8096
|
"profiles:write",
|
|
8097
|
+
"profiles:delete",
|
|
6102
8098
|
"connections:read",
|
|
6103
8099
|
"connections:write",
|
|
8100
|
+
"connections:delete",
|
|
6104
8101
|
"ads:read",
|
|
6105
8102
|
"ads:write",
|
|
8103
|
+
"ads:delete",
|
|
6106
8104
|
"posts:read",
|
|
6107
8105
|
"posts:write",
|
|
8106
|
+
"posts:delete",
|
|
6108
8107
|
"media:read",
|
|
6109
|
-
"media:write"
|
|
8108
|
+
"media:write",
|
|
8109
|
+
"media:delete"
|
|
6110
8110
|
])).min(1),
|
|
6111
8111
|
ttl_seconds: z__namespace.int().gte(60).lte(1800).optional().default(900)
|
|
6112
8112
|
});
|
|
@@ -6837,10 +8837,6 @@ var googleRemoveBudget = (options) => (options.client ?? client).post({
|
|
|
6837
8837
|
key: "secretKey",
|
|
6838
8838
|
scheme: "bearer",
|
|
6839
8839
|
type: "http"
|
|
6840
|
-
}, {
|
|
6841
|
-
key: "frontendToken",
|
|
6842
|
-
scheme: "bearer",
|
|
6843
|
-
type: "http"
|
|
6844
8840
|
}],
|
|
6845
8841
|
url: "/google/{connection_id}/budgets/{id}/remove",
|
|
6846
8842
|
...options,
|
|
@@ -6909,6 +8905,19 @@ var googleEditCampaign = (options) => (options.client ?? client).patch({
|
|
|
6909
8905
|
...options.headers
|
|
6910
8906
|
}
|
|
6911
8907
|
});
|
|
8908
|
+
var googleSetCampaignBidding = (options) => (options.client ?? client).patch({
|
|
8909
|
+
security: [{
|
|
8910
|
+
key: "secretKey",
|
|
8911
|
+
scheme: "bearer",
|
|
8912
|
+
type: "http"
|
|
8913
|
+
}],
|
|
8914
|
+
url: "/google/{connection_id}/campaigns/{id}/bidding",
|
|
8915
|
+
...options,
|
|
8916
|
+
headers: {
|
|
8917
|
+
"Content-Type": "application/json",
|
|
8918
|
+
...options.headers
|
|
8919
|
+
}
|
|
8920
|
+
});
|
|
6912
8921
|
var googleRemoveCampaign = (options) => (options.client ?? client).post({
|
|
6913
8922
|
security: [{
|
|
6914
8923
|
key: "secretKey",
|
|
@@ -7281,6 +9290,23 @@ var googleGetAd = (options) => (options.client ?? client).get({
|
|
|
7281
9290
|
url: "/google/{connection_id}/ads/{id}",
|
|
7282
9291
|
...options
|
|
7283
9292
|
});
|
|
9293
|
+
var googleEditAd = (options) => (options.client ?? client).patch({
|
|
9294
|
+
security: [{
|
|
9295
|
+
key: "secretKey",
|
|
9296
|
+
scheme: "bearer",
|
|
9297
|
+
type: "http"
|
|
9298
|
+
}, {
|
|
9299
|
+
key: "frontendToken",
|
|
9300
|
+
scheme: "bearer",
|
|
9301
|
+
type: "http"
|
|
9302
|
+
}],
|
|
9303
|
+
url: "/google/{connection_id}/ads/{id}",
|
|
9304
|
+
...options,
|
|
9305
|
+
headers: {
|
|
9306
|
+
"Content-Type": "application/json",
|
|
9307
|
+
...options.headers
|
|
9308
|
+
}
|
|
9309
|
+
});
|
|
7284
9310
|
var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
7285
9311
|
security: [{
|
|
7286
9312
|
key: "secretKey",
|
|
@@ -7298,6 +9324,23 @@ var googleCreateDisplayAd = (options) => (options.client ?? client).post({
|
|
|
7298
9324
|
...options.headers
|
|
7299
9325
|
}
|
|
7300
9326
|
});
|
|
9327
|
+
var googleEditDisplayAd = (options) => (options.client ?? client).patch({
|
|
9328
|
+
security: [{
|
|
9329
|
+
key: "secretKey",
|
|
9330
|
+
scheme: "bearer",
|
|
9331
|
+
type: "http"
|
|
9332
|
+
}, {
|
|
9333
|
+
key: "frontendToken",
|
|
9334
|
+
scheme: "bearer",
|
|
9335
|
+
type: "http"
|
|
9336
|
+
}],
|
|
9337
|
+
url: "/google/{connection_id}/display-ads/{id}",
|
|
9338
|
+
...options,
|
|
9339
|
+
headers: {
|
|
9340
|
+
"Content-Type": "application/json",
|
|
9341
|
+
...options.headers
|
|
9342
|
+
}
|
|
9343
|
+
});
|
|
7301
9344
|
var googleRemoveAd = (options) => (options.client ?? client).post({
|
|
7302
9345
|
security: [{
|
|
7303
9346
|
key: "secretKey",
|
|
@@ -7623,6 +9666,241 @@ var googleUploadImageAsset = (options) => (options.client ?? client).post({
|
|
|
7623
9666
|
...options.headers
|
|
7624
9667
|
}
|
|
7625
9668
|
});
|
|
9669
|
+
var googleUploadYoutubeVideoAsset = (options) => (options.client ?? client).post({
|
|
9670
|
+
security: [{
|
|
9671
|
+
key: "secretKey",
|
|
9672
|
+
scheme: "bearer",
|
|
9673
|
+
type: "http"
|
|
9674
|
+
}, {
|
|
9675
|
+
key: "frontendToken",
|
|
9676
|
+
scheme: "bearer",
|
|
9677
|
+
type: "http"
|
|
9678
|
+
}],
|
|
9679
|
+
url: "/google/{connection_id}/assets/youtube-video",
|
|
9680
|
+
...options,
|
|
9681
|
+
headers: {
|
|
9682
|
+
"Content-Type": "application/json",
|
|
9683
|
+
...options.headers
|
|
9684
|
+
}
|
|
9685
|
+
});
|
|
9686
|
+
var googleListAssetGroups = (options) => (options.client ?? client).get({
|
|
9687
|
+
security: [{
|
|
9688
|
+
key: "secretKey",
|
|
9689
|
+
scheme: "bearer",
|
|
9690
|
+
type: "http"
|
|
9691
|
+
}, {
|
|
9692
|
+
key: "frontendToken",
|
|
9693
|
+
scheme: "bearer",
|
|
9694
|
+
type: "http"
|
|
9695
|
+
}],
|
|
9696
|
+
url: "/google/{connection_id}/asset-groups",
|
|
9697
|
+
...options
|
|
9698
|
+
});
|
|
9699
|
+
var googleGetAssetGroup = (options) => (options.client ?? client).get({
|
|
9700
|
+
security: [{
|
|
9701
|
+
key: "secretKey",
|
|
9702
|
+
scheme: "bearer",
|
|
9703
|
+
type: "http"
|
|
9704
|
+
}, {
|
|
9705
|
+
key: "frontendToken",
|
|
9706
|
+
scheme: "bearer",
|
|
9707
|
+
type: "http"
|
|
9708
|
+
}],
|
|
9709
|
+
url: "/google/{connection_id}/asset-groups/{id}",
|
|
9710
|
+
...options
|
|
9711
|
+
});
|
|
9712
|
+
var googleEditAssetGroup = (options) => (options.client ?? client).patch({
|
|
9713
|
+
security: [{
|
|
9714
|
+
key: "secretKey",
|
|
9715
|
+
scheme: "bearer",
|
|
9716
|
+
type: "http"
|
|
9717
|
+
}, {
|
|
9718
|
+
key: "frontendToken",
|
|
9719
|
+
scheme: "bearer",
|
|
9720
|
+
type: "http"
|
|
9721
|
+
}],
|
|
9722
|
+
url: "/google/{connection_id}/asset-groups/{id}",
|
|
9723
|
+
...options,
|
|
9724
|
+
headers: {
|
|
9725
|
+
"Content-Type": "application/json",
|
|
9726
|
+
...options.headers
|
|
9727
|
+
}
|
|
9728
|
+
});
|
|
9729
|
+
var googleCreateAssetGroup = (options) => (options.client ?? client).post({
|
|
9730
|
+
security: [{
|
|
9731
|
+
key: "secretKey",
|
|
9732
|
+
scheme: "bearer",
|
|
9733
|
+
type: "http"
|
|
9734
|
+
}, {
|
|
9735
|
+
key: "frontendToken",
|
|
9736
|
+
scheme: "bearer",
|
|
9737
|
+
type: "http"
|
|
9738
|
+
}],
|
|
9739
|
+
url: "/google/{connection_id}/performance-max/{campaign_id}/asset-groups",
|
|
9740
|
+
...options,
|
|
9741
|
+
headers: {
|
|
9742
|
+
"Content-Type": "application/json",
|
|
9743
|
+
...options.headers
|
|
9744
|
+
}
|
|
9745
|
+
});
|
|
9746
|
+
var googlePauseAssetGroup = (options) => (options.client ?? client).post({
|
|
9747
|
+
security: [{
|
|
9748
|
+
key: "secretKey",
|
|
9749
|
+
scheme: "bearer",
|
|
9750
|
+
type: "http"
|
|
9751
|
+
}, {
|
|
9752
|
+
key: "frontendToken",
|
|
9753
|
+
scheme: "bearer",
|
|
9754
|
+
type: "http"
|
|
9755
|
+
}],
|
|
9756
|
+
url: "/google/{connection_id}/asset-groups/{id}/pause",
|
|
9757
|
+
...options,
|
|
9758
|
+
headers: {
|
|
9759
|
+
"Content-Type": "application/json",
|
|
9760
|
+
...options.headers
|
|
9761
|
+
}
|
|
9762
|
+
});
|
|
9763
|
+
var googleEnableAssetGroup = (options) => (options.client ?? client).post({
|
|
9764
|
+
security: [{
|
|
9765
|
+
key: "secretKey",
|
|
9766
|
+
scheme: "bearer",
|
|
9767
|
+
type: "http"
|
|
9768
|
+
}, {
|
|
9769
|
+
key: "frontendToken",
|
|
9770
|
+
scheme: "bearer",
|
|
9771
|
+
type: "http"
|
|
9772
|
+
}],
|
|
9773
|
+
url: "/google/{connection_id}/asset-groups/{id}/enable",
|
|
9774
|
+
...options,
|
|
9775
|
+
headers: {
|
|
9776
|
+
"Content-Type": "application/json",
|
|
9777
|
+
...options.headers
|
|
9778
|
+
}
|
|
9779
|
+
});
|
|
9780
|
+
var googleRemoveAssetGroup = (options) => (options.client ?? client).post({
|
|
9781
|
+
security: [{
|
|
9782
|
+
key: "secretKey",
|
|
9783
|
+
scheme: "bearer",
|
|
9784
|
+
type: "http"
|
|
9785
|
+
}, {
|
|
9786
|
+
key: "frontendToken",
|
|
9787
|
+
scheme: "bearer",
|
|
9788
|
+
type: "http"
|
|
9789
|
+
}],
|
|
9790
|
+
url: "/google/{connection_id}/asset-groups/{id}/remove",
|
|
9791
|
+
...options,
|
|
9792
|
+
headers: {
|
|
9793
|
+
"Content-Type": "application/json",
|
|
9794
|
+
...options.headers
|
|
9795
|
+
}
|
|
9796
|
+
});
|
|
9797
|
+
var googleListAssetGroupAssets = (options) => (options.client ?? client).get({
|
|
9798
|
+
security: [{
|
|
9799
|
+
key: "secretKey",
|
|
9800
|
+
scheme: "bearer",
|
|
9801
|
+
type: "http"
|
|
9802
|
+
}, {
|
|
9803
|
+
key: "frontendToken",
|
|
9804
|
+
scheme: "bearer",
|
|
9805
|
+
type: "http"
|
|
9806
|
+
}],
|
|
9807
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets",
|
|
9808
|
+
...options
|
|
9809
|
+
});
|
|
9810
|
+
var googleAttachAssetGroupAsset = (options) => (options.client ?? client).post({
|
|
9811
|
+
security: [{
|
|
9812
|
+
key: "secretKey",
|
|
9813
|
+
scheme: "bearer",
|
|
9814
|
+
type: "http"
|
|
9815
|
+
}, {
|
|
9816
|
+
key: "frontendToken",
|
|
9817
|
+
scheme: "bearer",
|
|
9818
|
+
type: "http"
|
|
9819
|
+
}],
|
|
9820
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets",
|
|
9821
|
+
...options,
|
|
9822
|
+
headers: {
|
|
9823
|
+
"Content-Type": "application/json",
|
|
9824
|
+
...options.headers
|
|
9825
|
+
}
|
|
9826
|
+
});
|
|
9827
|
+
var googleRemoveAssetGroupAsset = (options) => (options.client ?? client).post({
|
|
9828
|
+
security: [{
|
|
9829
|
+
key: "secretKey",
|
|
9830
|
+
scheme: "bearer",
|
|
9831
|
+
type: "http"
|
|
9832
|
+
}, {
|
|
9833
|
+
key: "frontendToken",
|
|
9834
|
+
scheme: "bearer",
|
|
9835
|
+
type: "http"
|
|
9836
|
+
}],
|
|
9837
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/assets/{id}/remove",
|
|
9838
|
+
...options,
|
|
9839
|
+
headers: {
|
|
9840
|
+
"Content-Type": "application/json",
|
|
9841
|
+
...options.headers
|
|
9842
|
+
}
|
|
9843
|
+
});
|
|
9844
|
+
var googleListAssetGroupSignals = (options) => (options.client ?? client).get({
|
|
9845
|
+
security: [{
|
|
9846
|
+
key: "secretKey",
|
|
9847
|
+
scheme: "bearer",
|
|
9848
|
+
type: "http"
|
|
9849
|
+
}, {
|
|
9850
|
+
key: "frontendToken",
|
|
9851
|
+
scheme: "bearer",
|
|
9852
|
+
type: "http"
|
|
9853
|
+
}],
|
|
9854
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals",
|
|
9855
|
+
...options
|
|
9856
|
+
});
|
|
9857
|
+
var googleCreateAssetGroupSignal = (options) => (options.client ?? client).post({
|
|
9858
|
+
security: [{
|
|
9859
|
+
key: "secretKey",
|
|
9860
|
+
scheme: "bearer",
|
|
9861
|
+
type: "http"
|
|
9862
|
+
}, {
|
|
9863
|
+
key: "frontendToken",
|
|
9864
|
+
scheme: "bearer",
|
|
9865
|
+
type: "http"
|
|
9866
|
+
}],
|
|
9867
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals",
|
|
9868
|
+
...options,
|
|
9869
|
+
headers: {
|
|
9870
|
+
"Content-Type": "application/json",
|
|
9871
|
+
...options.headers
|
|
9872
|
+
}
|
|
9873
|
+
});
|
|
9874
|
+
var googleRemoveAssetGroupSignal = (options) => (options.client ?? client).post({
|
|
9875
|
+
security: [{
|
|
9876
|
+
key: "secretKey",
|
|
9877
|
+
scheme: "bearer",
|
|
9878
|
+
type: "http"
|
|
9879
|
+
}, {
|
|
9880
|
+
key: "frontendToken",
|
|
9881
|
+
scheme: "bearer",
|
|
9882
|
+
type: "http"
|
|
9883
|
+
}],
|
|
9884
|
+
url: "/google/{connection_id}/asset-groups/{asset_group_id}/signals/{id}/remove",
|
|
9885
|
+
...options,
|
|
9886
|
+
headers: {
|
|
9887
|
+
"Content-Type": "application/json",
|
|
9888
|
+
...options.headers
|
|
9889
|
+
}
|
|
9890
|
+
});
|
|
9891
|
+
var googleCreatePerformanceMax = (options) => (options.client ?? client).post({
|
|
9892
|
+
security: [{
|
|
9893
|
+
key: "secretKey",
|
|
9894
|
+
scheme: "bearer",
|
|
9895
|
+
type: "http"
|
|
9896
|
+
}],
|
|
9897
|
+
url: "/google/{connection_id}/performance-max",
|
|
9898
|
+
...options,
|
|
9899
|
+
headers: {
|
|
9900
|
+
"Content-Type": "application/json",
|
|
9901
|
+
...options.headers
|
|
9902
|
+
}
|
|
9903
|
+
});
|
|
7626
9904
|
var tiktokCreatorInfo = (options) => (options.client ?? client).get({
|
|
7627
9905
|
security: [{
|
|
7628
9906
|
key: "secretKey",
|
|
@@ -7636,6 +9914,290 @@ var tiktokCreatorInfo = (options) => (options.client ?? client).get({
|
|
|
7636
9914
|
url: "/connections/{id}/tiktok/creator-info",
|
|
7637
9915
|
...options
|
|
7638
9916
|
});
|
|
9917
|
+
var tiktokAdsListAdvertisers = (options) => (options.client ?? client).get({
|
|
9918
|
+
security: [{
|
|
9919
|
+
key: "secretKey",
|
|
9920
|
+
scheme: "bearer",
|
|
9921
|
+
type: "http"
|
|
9922
|
+
}, {
|
|
9923
|
+
key: "frontendToken",
|
|
9924
|
+
scheme: "bearer",
|
|
9925
|
+
type: "http"
|
|
9926
|
+
}],
|
|
9927
|
+
url: "/tiktok/{connection_id}/advertisers",
|
|
9928
|
+
...options
|
|
9929
|
+
});
|
|
9930
|
+
var tiktokAdsListBusinessCenters = (options) => (options.client ?? client).get({
|
|
9931
|
+
security: [{
|
|
9932
|
+
key: "secretKey",
|
|
9933
|
+
scheme: "bearer",
|
|
9934
|
+
type: "http"
|
|
9935
|
+
}, {
|
|
9936
|
+
key: "frontendToken",
|
|
9937
|
+
scheme: "bearer",
|
|
9938
|
+
type: "http"
|
|
9939
|
+
}],
|
|
9940
|
+
url: "/tiktok/{connection_id}/business-centers",
|
|
9941
|
+
...options
|
|
9942
|
+
});
|
|
9943
|
+
var tiktokAdsListCampaigns = (options) => (options.client ?? client).get({
|
|
9944
|
+
security: [{
|
|
9945
|
+
key: "secretKey",
|
|
9946
|
+
scheme: "bearer",
|
|
9947
|
+
type: "http"
|
|
9948
|
+
}, {
|
|
9949
|
+
key: "frontendToken",
|
|
9950
|
+
scheme: "bearer",
|
|
9951
|
+
type: "http"
|
|
9952
|
+
}],
|
|
9953
|
+
url: "/tiktok/{connection_id}/campaigns",
|
|
9954
|
+
...options
|
|
9955
|
+
});
|
|
9956
|
+
var tiktokAdsCreateCampaign = (options) => (options.client ?? client).post({
|
|
9957
|
+
security: [{
|
|
9958
|
+
key: "secretKey",
|
|
9959
|
+
scheme: "bearer",
|
|
9960
|
+
type: "http"
|
|
9961
|
+
}],
|
|
9962
|
+
url: "/tiktok/{connection_id}/campaigns",
|
|
9963
|
+
...options,
|
|
9964
|
+
headers: {
|
|
9965
|
+
"Content-Type": "application/json",
|
|
9966
|
+
...options.headers
|
|
9967
|
+
}
|
|
9968
|
+
});
|
|
9969
|
+
var tiktokAdsUpdateCampaignStatus = (options) => (options.client ?? client).post({
|
|
9970
|
+
security: [{
|
|
9971
|
+
key: "secretKey",
|
|
9972
|
+
scheme: "bearer",
|
|
9973
|
+
type: "http"
|
|
9974
|
+
}, {
|
|
9975
|
+
key: "frontendToken",
|
|
9976
|
+
scheme: "bearer",
|
|
9977
|
+
type: "http"
|
|
9978
|
+
}],
|
|
9979
|
+
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/status",
|
|
9980
|
+
...options,
|
|
9981
|
+
headers: {
|
|
9982
|
+
"Content-Type": "application/json",
|
|
9983
|
+
...options.headers
|
|
9984
|
+
}
|
|
9985
|
+
});
|
|
9986
|
+
var tiktokAdsUpdateCampaignBudget = (options) => (options.client ?? client).post({
|
|
9987
|
+
security: [{
|
|
9988
|
+
key: "secretKey",
|
|
9989
|
+
scheme: "bearer",
|
|
9990
|
+
type: "http"
|
|
9991
|
+
}],
|
|
9992
|
+
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/budget",
|
|
9993
|
+
...options,
|
|
9994
|
+
headers: {
|
|
9995
|
+
"Content-Type": "application/json",
|
|
9996
|
+
...options.headers
|
|
9997
|
+
}
|
|
9998
|
+
});
|
|
9999
|
+
var tiktokAdsRemoveCampaign = (options) => (options.client ?? client).post({
|
|
10000
|
+
security: [{
|
|
10001
|
+
key: "secretKey",
|
|
10002
|
+
scheme: "bearer",
|
|
10003
|
+
type: "http"
|
|
10004
|
+
}, {
|
|
10005
|
+
key: "frontendToken",
|
|
10006
|
+
scheme: "bearer",
|
|
10007
|
+
type: "http"
|
|
10008
|
+
}],
|
|
10009
|
+
url: "/tiktok/{connection_id}/campaigns/{campaign_id}/remove",
|
|
10010
|
+
...options
|
|
10011
|
+
});
|
|
10012
|
+
var tiktokAdsListAdGroups = (options) => (options.client ?? client).get({
|
|
10013
|
+
security: [{
|
|
10014
|
+
key: "secretKey",
|
|
10015
|
+
scheme: "bearer",
|
|
10016
|
+
type: "http"
|
|
10017
|
+
}, {
|
|
10018
|
+
key: "frontendToken",
|
|
10019
|
+
scheme: "bearer",
|
|
10020
|
+
type: "http"
|
|
10021
|
+
}],
|
|
10022
|
+
url: "/tiktok/{connection_id}/ad-groups",
|
|
10023
|
+
...options
|
|
10024
|
+
});
|
|
10025
|
+
var tiktokAdsCreateAdGroup = (options) => (options.client ?? client).post({
|
|
10026
|
+
security: [{
|
|
10027
|
+
key: "secretKey",
|
|
10028
|
+
scheme: "bearer",
|
|
10029
|
+
type: "http"
|
|
10030
|
+
}],
|
|
10031
|
+
url: "/tiktok/{connection_id}/ad-groups",
|
|
10032
|
+
...options,
|
|
10033
|
+
headers: {
|
|
10034
|
+
"Content-Type": "application/json",
|
|
10035
|
+
...options.headers
|
|
10036
|
+
}
|
|
10037
|
+
});
|
|
10038
|
+
var tiktokAdsUpdateAdGroupStatus = (options) => (options.client ?? client).post({
|
|
10039
|
+
security: [{
|
|
10040
|
+
key: "secretKey",
|
|
10041
|
+
scheme: "bearer",
|
|
10042
|
+
type: "http"
|
|
10043
|
+
}, {
|
|
10044
|
+
key: "frontendToken",
|
|
10045
|
+
scheme: "bearer",
|
|
10046
|
+
type: "http"
|
|
10047
|
+
}],
|
|
10048
|
+
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/status",
|
|
10049
|
+
...options,
|
|
10050
|
+
headers: {
|
|
10051
|
+
"Content-Type": "application/json",
|
|
10052
|
+
...options.headers
|
|
10053
|
+
}
|
|
10054
|
+
});
|
|
10055
|
+
var tiktokAdsUpdateAdGroupBudget = (options) => (options.client ?? client).post({
|
|
10056
|
+
security: [{
|
|
10057
|
+
key: "secretKey",
|
|
10058
|
+
scheme: "bearer",
|
|
10059
|
+
type: "http"
|
|
10060
|
+
}],
|
|
10061
|
+
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/budget",
|
|
10062
|
+
...options,
|
|
10063
|
+
headers: {
|
|
10064
|
+
"Content-Type": "application/json",
|
|
10065
|
+
...options.headers
|
|
10066
|
+
}
|
|
10067
|
+
});
|
|
10068
|
+
var tiktokAdsRemoveAdGroup = (options) => (options.client ?? client).post({
|
|
10069
|
+
security: [{
|
|
10070
|
+
key: "secretKey",
|
|
10071
|
+
scheme: "bearer",
|
|
10072
|
+
type: "http"
|
|
10073
|
+
}, {
|
|
10074
|
+
key: "frontendToken",
|
|
10075
|
+
scheme: "bearer",
|
|
10076
|
+
type: "http"
|
|
10077
|
+
}],
|
|
10078
|
+
url: "/tiktok/{connection_id}/ad-groups/{adgroup_id}/remove",
|
|
10079
|
+
...options
|
|
10080
|
+
});
|
|
10081
|
+
var tiktokAdsListAds = (options) => (options.client ?? client).get({
|
|
10082
|
+
security: [{
|
|
10083
|
+
key: "secretKey",
|
|
10084
|
+
scheme: "bearer",
|
|
10085
|
+
type: "http"
|
|
10086
|
+
}, {
|
|
10087
|
+
key: "frontendToken",
|
|
10088
|
+
scheme: "bearer",
|
|
10089
|
+
type: "http"
|
|
10090
|
+
}],
|
|
10091
|
+
url: "/tiktok/{connection_id}/ads",
|
|
10092
|
+
...options
|
|
10093
|
+
});
|
|
10094
|
+
var tiktokAdsCreateAd = (options) => (options.client ?? client).post({
|
|
10095
|
+
security: [{
|
|
10096
|
+
key: "secretKey",
|
|
10097
|
+
scheme: "bearer",
|
|
10098
|
+
type: "http"
|
|
10099
|
+
}, {
|
|
10100
|
+
key: "frontendToken",
|
|
10101
|
+
scheme: "bearer",
|
|
10102
|
+
type: "http"
|
|
10103
|
+
}],
|
|
10104
|
+
url: "/tiktok/{connection_id}/ads",
|
|
10105
|
+
...options,
|
|
10106
|
+
headers: {
|
|
10107
|
+
"Content-Type": "application/json",
|
|
10108
|
+
...options.headers
|
|
10109
|
+
}
|
|
10110
|
+
});
|
|
10111
|
+
var tiktokAdsUpdateAdStatus = (options) => (options.client ?? client).post({
|
|
10112
|
+
security: [{
|
|
10113
|
+
key: "secretKey",
|
|
10114
|
+
scheme: "bearer",
|
|
10115
|
+
type: "http"
|
|
10116
|
+
}, {
|
|
10117
|
+
key: "frontendToken",
|
|
10118
|
+
scheme: "bearer",
|
|
10119
|
+
type: "http"
|
|
10120
|
+
}],
|
|
10121
|
+
url: "/tiktok/{connection_id}/ads/{ad_id}/status",
|
|
10122
|
+
...options,
|
|
10123
|
+
headers: {
|
|
10124
|
+
"Content-Type": "application/json",
|
|
10125
|
+
...options.headers
|
|
10126
|
+
}
|
|
10127
|
+
});
|
|
10128
|
+
var tiktokAdsRemoveAd = (options) => (options.client ?? client).post({
|
|
10129
|
+
security: [{
|
|
10130
|
+
key: "secretKey",
|
|
10131
|
+
scheme: "bearer",
|
|
10132
|
+
type: "http"
|
|
10133
|
+
}, {
|
|
10134
|
+
key: "frontendToken",
|
|
10135
|
+
scheme: "bearer",
|
|
10136
|
+
type: "http"
|
|
10137
|
+
}],
|
|
10138
|
+
url: "/tiktok/{connection_id}/ads/{ad_id}/remove",
|
|
10139
|
+
...options
|
|
10140
|
+
});
|
|
10141
|
+
var tiktokAdsGetInsights = (options) => (options.client ?? client).post({
|
|
10142
|
+
security: [{
|
|
10143
|
+
key: "secretKey",
|
|
10144
|
+
scheme: "bearer",
|
|
10145
|
+
type: "http"
|
|
10146
|
+
}, {
|
|
10147
|
+
key: "frontendToken",
|
|
10148
|
+
scheme: "bearer",
|
|
10149
|
+
type: "http"
|
|
10150
|
+
}],
|
|
10151
|
+
url: "/tiktok/{connection_id}/insights",
|
|
10152
|
+
...options,
|
|
10153
|
+
headers: {
|
|
10154
|
+
"Content-Type": "application/json",
|
|
10155
|
+
...options.headers
|
|
10156
|
+
}
|
|
10157
|
+
});
|
|
10158
|
+
var tiktokAdsGetAdTree = (options) => (options.client ?? client).get({
|
|
10159
|
+
security: [{
|
|
10160
|
+
key: "secretKey",
|
|
10161
|
+
scheme: "bearer",
|
|
10162
|
+
type: "http"
|
|
10163
|
+
}, {
|
|
10164
|
+
key: "frontendToken",
|
|
10165
|
+
scheme: "bearer",
|
|
10166
|
+
type: "http"
|
|
10167
|
+
}],
|
|
10168
|
+
url: "/tiktok/{connection_id}/ads/tree",
|
|
10169
|
+
...options
|
|
10170
|
+
});
|
|
10171
|
+
var tiktokAdsListIdentities = (options) => (options.client ?? client).get({
|
|
10172
|
+
security: [{
|
|
10173
|
+
key: "secretKey",
|
|
10174
|
+
scheme: "bearer",
|
|
10175
|
+
type: "http"
|
|
10176
|
+
}, {
|
|
10177
|
+
key: "frontendToken",
|
|
10178
|
+
scheme: "bearer",
|
|
10179
|
+
type: "http"
|
|
10180
|
+
}],
|
|
10181
|
+
url: "/tiktok/{connection_id}/identities",
|
|
10182
|
+
...options
|
|
10183
|
+
});
|
|
10184
|
+
var tiktokAdsCreateIdentity = (options) => (options.client ?? client).post({
|
|
10185
|
+
security: [{
|
|
10186
|
+
key: "secretKey",
|
|
10187
|
+
scheme: "bearer",
|
|
10188
|
+
type: "http"
|
|
10189
|
+
}, {
|
|
10190
|
+
key: "frontendToken",
|
|
10191
|
+
scheme: "bearer",
|
|
10192
|
+
type: "http"
|
|
10193
|
+
}],
|
|
10194
|
+
url: "/tiktok/{connection_id}/identities",
|
|
10195
|
+
...options,
|
|
10196
|
+
headers: {
|
|
10197
|
+
"Content-Type": "application/json",
|
|
10198
|
+
...options.headers
|
|
10199
|
+
}
|
|
10200
|
+
});
|
|
7639
10201
|
var logsList = (options) => (options?.client ?? client).get({
|
|
7640
10202
|
security: [{
|
|
7641
10203
|
key: "secretKey",
|
|
@@ -8243,27 +10805,36 @@ exports.connectionsSelect = connectionsSelect;
|
|
|
8243
10805
|
exports.createPostrunClient = createPostrunClient;
|
|
8244
10806
|
exports.defaultTikTokOptions = defaultTikTokOptions;
|
|
8245
10807
|
exports.failedVariants = failedVariants;
|
|
10808
|
+
exports.googleAttachAssetGroupAsset = googleAttachAssetGroupAsset;
|
|
8246
10809
|
exports.googleCreateAd = googleCreateAd;
|
|
8247
10810
|
exports.googleCreateAdGroup = googleCreateAdGroup;
|
|
8248
10811
|
exports.googleCreateAdGroupCriterion = googleCreateAdGroupCriterion;
|
|
10812
|
+
exports.googleCreateAssetGroup = googleCreateAssetGroup;
|
|
10813
|
+
exports.googleCreateAssetGroupSignal = googleCreateAssetGroupSignal;
|
|
8249
10814
|
exports.googleCreateBudget = googleCreateBudget;
|
|
8250
10815
|
exports.googleCreateCampaign = googleCreateCampaign;
|
|
8251
10816
|
exports.googleCreateCampaignCriterion = googleCreateCampaignCriterion;
|
|
8252
10817
|
exports.googleCreateConversionAction = googleCreateConversionAction;
|
|
8253
10818
|
exports.googleCreateDisplayAd = googleCreateDisplayAd;
|
|
8254
10819
|
exports.googleCreateKeyword = googleCreateKeyword;
|
|
10820
|
+
exports.googleCreatePerformanceMax = googleCreatePerformanceMax;
|
|
8255
10821
|
exports.googleEditAccount = googleEditAccount;
|
|
10822
|
+
exports.googleEditAd = googleEditAd;
|
|
8256
10823
|
exports.googleEditAdGroup = googleEditAdGroup;
|
|
10824
|
+
exports.googleEditAssetGroup = googleEditAssetGroup;
|
|
8257
10825
|
exports.googleEditBudget = googleEditBudget;
|
|
8258
10826
|
exports.googleEditCampaign = googleEditCampaign;
|
|
10827
|
+
exports.googleEditDisplayAd = googleEditDisplayAd;
|
|
8259
10828
|
exports.googleEnableAd = googleEnableAd;
|
|
8260
10829
|
exports.googleEnableAdGroup = googleEnableAdGroup;
|
|
10830
|
+
exports.googleEnableAssetGroup = googleEnableAssetGroup;
|
|
8261
10831
|
exports.googleEnableCampaign = googleEnableCampaign;
|
|
8262
10832
|
exports.googleEnableKeyword = googleEnableKeyword;
|
|
8263
10833
|
exports.googleGetAccount = googleGetAccount;
|
|
8264
10834
|
exports.googleGetAd = googleGetAd;
|
|
8265
10835
|
exports.googleGetAdGroup = googleGetAdGroup;
|
|
8266
10836
|
exports.googleGetAdTree = googleGetAdTree;
|
|
10837
|
+
exports.googleGetAssetGroup = googleGetAssetGroup;
|
|
8267
10838
|
exports.googleGetCampaign = googleGetCampaign;
|
|
8268
10839
|
exports.googleGetConversionAction = googleGetConversionAction;
|
|
8269
10840
|
exports.googleGetConversionStatus = googleGetConversionStatus;
|
|
@@ -8272,6 +10843,9 @@ exports.googleGetKeyword = googleGetKeyword;
|
|
|
8272
10843
|
exports.googleListAdGroupCriteria = googleListAdGroupCriteria;
|
|
8273
10844
|
exports.googleListAdGroups = googleListAdGroups;
|
|
8274
10845
|
exports.googleListAds = googleListAds;
|
|
10846
|
+
exports.googleListAssetGroupAssets = googleListAssetGroupAssets;
|
|
10847
|
+
exports.googleListAssetGroupSignals = googleListAssetGroupSignals;
|
|
10848
|
+
exports.googleListAssetGroups = googleListAssetGroups;
|
|
8275
10849
|
exports.googleListAudiences = googleListAudiences;
|
|
8276
10850
|
exports.googleListCampaignCriteria = googleListCampaignCriteria;
|
|
8277
10851
|
exports.googleListCampaigns = googleListCampaigns;
|
|
@@ -8281,11 +10855,15 @@ exports.googleListConversionRequests = googleListConversionRequests;
|
|
|
8281
10855
|
exports.googleListKeywords = googleListKeywords;
|
|
8282
10856
|
exports.googlePauseAd = googlePauseAd;
|
|
8283
10857
|
exports.googlePauseAdGroup = googlePauseAdGroup;
|
|
10858
|
+
exports.googlePauseAssetGroup = googlePauseAssetGroup;
|
|
8284
10859
|
exports.googlePauseCampaign = googlePauseCampaign;
|
|
8285
10860
|
exports.googlePauseKeyword = googlePauseKeyword;
|
|
8286
10861
|
exports.googleRemoveAd = googleRemoveAd;
|
|
8287
10862
|
exports.googleRemoveAdGroup = googleRemoveAdGroup;
|
|
8288
10863
|
exports.googleRemoveAdGroupCriterion = googleRemoveAdGroupCriterion;
|
|
10864
|
+
exports.googleRemoveAssetGroup = googleRemoveAssetGroup;
|
|
10865
|
+
exports.googleRemoveAssetGroupAsset = googleRemoveAssetGroupAsset;
|
|
10866
|
+
exports.googleRemoveAssetGroupSignal = googleRemoveAssetGroupSignal;
|
|
8289
10867
|
exports.googleRemoveBudget = googleRemoveBudget;
|
|
8290
10868
|
exports.googleRemoveCampaign = googleRemoveCampaign;
|
|
8291
10869
|
exports.googleRemoveCampaignCriterion = googleRemoveCampaignCriterion;
|
|
@@ -8295,12 +10873,14 @@ exports.googleRunGaql = googleRunGaql;
|
|
|
8295
10873
|
exports.googleSearchGeoTargets = googleSearchGeoTargets;
|
|
8296
10874
|
exports.googleSendConversions = googleSendConversions;
|
|
8297
10875
|
exports.googleSetAdGroupBids = googleSetAdGroupBids;
|
|
10876
|
+
exports.googleSetCampaignBidding = googleSetCampaignBidding;
|
|
8298
10877
|
exports.googleSetCampaignGeoSettings = googleSetCampaignGeoSettings;
|
|
8299
10878
|
exports.googleSetCampaignTargetingSetting = googleSetCampaignTargetingSetting;
|
|
8300
10879
|
exports.googleSetConversionGoal = googleSetConversionGoal;
|
|
8301
10880
|
exports.googleSetKeywordBid = googleSetKeywordBid;
|
|
8302
10881
|
exports.googleUpdateConversionAction = googleUpdateConversionAction;
|
|
8303
10882
|
exports.googleUploadImageAsset = googleUploadImageAsset;
|
|
10883
|
+
exports.googleUploadYoutubeVideoAsset = googleUploadYoutubeVideoAsset;
|
|
8304
10884
|
exports.groupAdTree = groupAdTree;
|
|
8305
10885
|
exports.interactionRows = interactionRows;
|
|
8306
10886
|
exports.interactionValueKey = interactionValueKey;
|
|
@@ -8342,6 +10922,26 @@ exports.profilesList = profilesList;
|
|
|
8342
10922
|
exports.profilesUpdate = profilesUpdate;
|
|
8343
10923
|
exports.setBrandKind = setBrandKind;
|
|
8344
10924
|
exports.setCommercialDisclosure = setCommercialDisclosure;
|
|
10925
|
+
exports.tiktokAdsCreateAd = tiktokAdsCreateAd;
|
|
10926
|
+
exports.tiktokAdsCreateAdGroup = tiktokAdsCreateAdGroup;
|
|
10927
|
+
exports.tiktokAdsCreateCampaign = tiktokAdsCreateCampaign;
|
|
10928
|
+
exports.tiktokAdsCreateIdentity = tiktokAdsCreateIdentity;
|
|
10929
|
+
exports.tiktokAdsGetAdTree = tiktokAdsGetAdTree;
|
|
10930
|
+
exports.tiktokAdsGetInsights = tiktokAdsGetInsights;
|
|
10931
|
+
exports.tiktokAdsListAdGroups = tiktokAdsListAdGroups;
|
|
10932
|
+
exports.tiktokAdsListAds = tiktokAdsListAds;
|
|
10933
|
+
exports.tiktokAdsListAdvertisers = tiktokAdsListAdvertisers;
|
|
10934
|
+
exports.tiktokAdsListBusinessCenters = tiktokAdsListBusinessCenters;
|
|
10935
|
+
exports.tiktokAdsListCampaigns = tiktokAdsListCampaigns;
|
|
10936
|
+
exports.tiktokAdsListIdentities = tiktokAdsListIdentities;
|
|
10937
|
+
exports.tiktokAdsRemoveAd = tiktokAdsRemoveAd;
|
|
10938
|
+
exports.tiktokAdsRemoveAdGroup = tiktokAdsRemoveAdGroup;
|
|
10939
|
+
exports.tiktokAdsRemoveCampaign = tiktokAdsRemoveCampaign;
|
|
10940
|
+
exports.tiktokAdsUpdateAdGroupBudget = tiktokAdsUpdateAdGroupBudget;
|
|
10941
|
+
exports.tiktokAdsUpdateAdGroupStatus = tiktokAdsUpdateAdGroupStatus;
|
|
10942
|
+
exports.tiktokAdsUpdateAdStatus = tiktokAdsUpdateAdStatus;
|
|
10943
|
+
exports.tiktokAdsUpdateCampaignBudget = tiktokAdsUpdateCampaignBudget;
|
|
10944
|
+
exports.tiktokAdsUpdateCampaignStatus = tiktokAdsUpdateCampaignStatus;
|
|
8345
10945
|
exports.tiktokCreatorInfo = tiktokCreatorInfo;
|
|
8346
10946
|
exports.tiktokOptionsReady = tiktokOptionsReady;
|
|
8347
10947
|
exports.tiktokPrivacyLabel = tiktokPrivacyLabel;
|