@postrun/js 2.17.0 → 2.19.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/server.cjs CHANGED
@@ -901,7 +901,18 @@ var zErrorCode = z__namespace.enum([
901
901
  "tiktok_url_ownership_unverified",
902
902
  "tiktok_unaudited_private_only",
903
903
  "tiktok_spam_risk",
904
+ "tiktok_file_format_invalid",
905
+ "tiktok_duration_invalid",
906
+ "tiktok_frame_rate_invalid",
907
+ "tiktok_resolution_invalid",
908
+ "tiktok_media_pull_failed",
909
+ "tiktok_server_error",
904
910
  "tiktok_publish_failed",
911
+ "google_rate_limited",
912
+ "google_server_error",
913
+ "google_auth_expired",
914
+ "google_permission_denied",
915
+ "google_request_failed",
905
916
  "post_publish_failed",
906
917
  "post_partially_published",
907
918
  "connection_platform_mismatch",
@@ -1678,6 +1689,564 @@ z__namespace.object({
1678
1689
  dry_run: z__namespace.boolean().optional().default(false),
1679
1690
  variants: z__namespace.array(zPostVariantInput).min(1)
1680
1691
  });
1692
+ var zGoogleAdsAdGroup = z__namespace.object({
1693
+ id: z__namespace.string(),
1694
+ name: z__namespace.string().nullable(),
1695
+ status: z__namespace.enum([
1696
+ "UNSPECIFIED",
1697
+ "UNKNOWN",
1698
+ "ENABLED",
1699
+ "PAUSED",
1700
+ "REMOVED"
1701
+ ]),
1702
+ type: z__namespace.enum([
1703
+ "UNSPECIFIED",
1704
+ "UNKNOWN",
1705
+ "SEARCH_STANDARD",
1706
+ "DISPLAY_STANDARD",
1707
+ "SHOPPING_PRODUCT_ADS",
1708
+ "HOTEL_ADS",
1709
+ "SHOPPING_SMART_ADS",
1710
+ "VIDEO_BUMPER",
1711
+ "VIDEO_TRUE_VIEW_IN_STREAM",
1712
+ "VIDEO_TRUE_VIEW_IN_DISPLAY",
1713
+ "VIDEO_NON_SKIPPABLE_IN_STREAM",
1714
+ "SEARCH_DYNAMIC_ADS",
1715
+ "SHOPPING_COMPARISON_LISTING_ADS",
1716
+ "PROMOTED_HOTEL_ADS",
1717
+ "VIDEO_RESPONSIVE",
1718
+ "VIDEO_EFFICIENT_REACH",
1719
+ "SMART_CAMPAIGN_ADS",
1720
+ "TRAVEL_ADS",
1721
+ "YOUTUBE_AUDIO"
1722
+ ]),
1723
+ campaign: z__namespace.string().nullable()
1724
+ });
1725
+ var zGoogleAdsAd = z__namespace.object({
1726
+ id: z__namespace.string(),
1727
+ name: z__namespace.string().nullable(),
1728
+ type: z__namespace.enum([
1729
+ "UNSPECIFIED",
1730
+ "UNKNOWN",
1731
+ "TEXT_AD",
1732
+ "EXPANDED_TEXT_AD",
1733
+ "EXPANDED_DYNAMIC_SEARCH_AD",
1734
+ "HOTEL_AD",
1735
+ "SHOPPING_SMART_AD",
1736
+ "SHOPPING_PRODUCT_AD",
1737
+ "VIDEO_AD",
1738
+ "IMAGE_AD",
1739
+ "RESPONSIVE_SEARCH_AD",
1740
+ "LEGACY_RESPONSIVE_DISPLAY_AD",
1741
+ "APP_AD",
1742
+ "LEGACY_APP_INSTALL_AD",
1743
+ "RESPONSIVE_DISPLAY_AD",
1744
+ "LOCAL_AD",
1745
+ "HTML5_UPLOAD_AD",
1746
+ "DYNAMIC_HTML5_AD",
1747
+ "APP_ENGAGEMENT_AD",
1748
+ "SHOPPING_COMPARISON_LISTING_AD",
1749
+ "VIDEO_BUMPER_AD",
1750
+ "VIDEO_NON_SKIPPABLE_IN_STREAM_AD",
1751
+ "VIDEO_TRUEVIEW_IN_STREAM_AD",
1752
+ "VIDEO_RESPONSIVE_AD",
1753
+ "SMART_CAMPAIGN_AD",
1754
+ "CALL_AD",
1755
+ "APP_PRE_REGISTRATION_AD",
1756
+ "IN_FEED_VIDEO_AD",
1757
+ "DEMAND_GEN_MULTI_ASSET_AD",
1758
+ "DEMAND_GEN_CAROUSEL_AD",
1759
+ "TRAVEL_AD",
1760
+ "DEMAND_GEN_VIDEO_RESPONSIVE_AD",
1761
+ "DEMAND_GEN_PRODUCT_AD",
1762
+ "YOUTUBE_AUDIO_AD"
1763
+ ]),
1764
+ status: z__namespace.enum([
1765
+ "UNSPECIFIED",
1766
+ "UNKNOWN",
1767
+ "ENABLED",
1768
+ "PAUSED",
1769
+ "REMOVED"
1770
+ ]),
1771
+ ad_group: z__namespace.string().nullable()
1772
+ });
1773
+ var zGoogleAdsKeyword = z__namespace.object({
1774
+ id: z__namespace.string(),
1775
+ text: z__namespace.string().nullable(),
1776
+ match_type: z__namespace.enum([
1777
+ "UNSPECIFIED",
1778
+ "UNKNOWN",
1779
+ "EXACT",
1780
+ "PHRASE",
1781
+ "BROAD"
1782
+ ]),
1783
+ status: z__namespace.enum([
1784
+ "UNSPECIFIED",
1785
+ "UNKNOWN",
1786
+ "ENABLED",
1787
+ "PAUSED",
1788
+ "REMOVED"
1789
+ ]),
1790
+ negative: z__namespace.boolean(),
1791
+ ad_group: z__namespace.string().nullable()
1792
+ });
1793
+ var zGoogleAdsAudience = z__namespace.union([
1794
+ z__namespace.object({
1795
+ kind: z__namespace.literal("user_list"),
1796
+ id: z__namespace.string(),
1797
+ resource_name: z__namespace.string(),
1798
+ name: z__namespace.string().nullable(),
1799
+ type: z__namespace.enum([
1800
+ "UNSPECIFIED",
1801
+ "UNKNOWN",
1802
+ "REMARKETING",
1803
+ "LOGICAL",
1804
+ "EXTERNAL_REMARKETING",
1805
+ "RULE_BASED",
1806
+ "SIMILAR",
1807
+ "CRM_BASED",
1808
+ "LOOKALIKE"
1809
+ ]),
1810
+ membership_status: z__namespace.enum([
1811
+ "UNSPECIFIED",
1812
+ "UNKNOWN",
1813
+ "OPEN",
1814
+ "CLOSED"
1815
+ ])
1816
+ }),
1817
+ z__namespace.object({
1818
+ kind: z__namespace.literal("audience"),
1819
+ id: z__namespace.string(),
1820
+ resource_name: z__namespace.string(),
1821
+ name: z__namespace.string().nullable(),
1822
+ status: z__namespace.enum([
1823
+ "UNSPECIFIED",
1824
+ "UNKNOWN",
1825
+ "ENABLED",
1826
+ "REMOVED"
1827
+ ])
1828
+ }),
1829
+ z__namespace.object({
1830
+ kind: z__namespace.literal("custom_audience"),
1831
+ id: z__namespace.string(),
1832
+ resource_name: z__namespace.string(),
1833
+ name: z__namespace.string().nullable(),
1834
+ status: z__namespace.enum([
1835
+ "UNSPECIFIED",
1836
+ "UNKNOWN",
1837
+ "ENABLED",
1838
+ "REMOVED"
1839
+ ]),
1840
+ type: z__namespace.enum([
1841
+ "UNSPECIFIED",
1842
+ "UNKNOWN",
1843
+ "AUTO",
1844
+ "INTEREST",
1845
+ "PURCHASE_INTENT",
1846
+ "SEARCH"
1847
+ ])
1848
+ })
1849
+ ]);
1850
+ var zGoogleAdsCampaignCriterion = z__namespace.union([
1851
+ z__namespace.object({
1852
+ type: z__namespace.literal("LOCATION"),
1853
+ criterion_id: z__namespace.string(),
1854
+ status: z__namespace.enum([
1855
+ "UNSPECIFIED",
1856
+ "UNKNOWN",
1857
+ "ENABLED",
1858
+ "PAUSED",
1859
+ "REMOVED"
1860
+ ]),
1861
+ negative: z__namespace.boolean(),
1862
+ geo_target_constant: z__namespace.string().nullable()
1863
+ }),
1864
+ z__namespace.object({
1865
+ type: z__namespace.literal("LANGUAGE"),
1866
+ criterion_id: z__namespace.string(),
1867
+ status: z__namespace.enum([
1868
+ "UNSPECIFIED",
1869
+ "UNKNOWN",
1870
+ "ENABLED",
1871
+ "PAUSED",
1872
+ "REMOVED"
1873
+ ]),
1874
+ negative: z__namespace.boolean(),
1875
+ language_constant: z__namespace.string().nullable()
1876
+ }),
1877
+ z__namespace.object({
1878
+ type: z__namespace.enum([
1879
+ "UNSPECIFIED",
1880
+ "UNKNOWN",
1881
+ "KEYWORD",
1882
+ "PLACEMENT",
1883
+ "MOBILE_APP_CATEGORY",
1884
+ "MOBILE_APPLICATION",
1885
+ "DEVICE",
1886
+ "LISTING_GROUP",
1887
+ "AD_SCHEDULE",
1888
+ "AGE_RANGE",
1889
+ "GENDER",
1890
+ "INCOME_RANGE",
1891
+ "PARENTAL_STATUS",
1892
+ "YOUTUBE_VIDEO",
1893
+ "YOUTUBE_CHANNEL",
1894
+ "USER_LIST",
1895
+ "PROXIMITY",
1896
+ "TOPIC",
1897
+ "LISTING_SCOPE",
1898
+ "IP_BLOCK",
1899
+ "CONTENT_LABEL",
1900
+ "CARRIER",
1901
+ "USER_INTEREST",
1902
+ "WEBPAGE",
1903
+ "OPERATING_SYSTEM_VERSION",
1904
+ "APP_PAYMENT_MODEL",
1905
+ "MOBILE_DEVICE",
1906
+ "CUSTOM_AFFINITY",
1907
+ "CUSTOM_INTENT",
1908
+ "LOCATION_GROUP",
1909
+ "CUSTOM_AUDIENCE",
1910
+ "COMBINED_AUDIENCE",
1911
+ "KEYWORD_THEME",
1912
+ "AUDIENCE",
1913
+ "NEGATIVE_KEYWORD_LIST",
1914
+ "LOCAL_SERVICE_ID",
1915
+ "SEARCH_THEME",
1916
+ "BRAND",
1917
+ "BRAND_LIST",
1918
+ "LIFE_EVENT",
1919
+ "WEBPAGE_LIST",
1920
+ "VIDEO_LINEUP",
1921
+ "PLACEMENT_LIST",
1922
+ "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
1923
+ "VERTICAL_ADS_ITEM_GROUP_RULE"
1924
+ ]),
1925
+ criterion_id: z__namespace.string()
1926
+ })
1927
+ ]);
1928
+ var zGoogleAdsAdGroupCriterion = z__namespace.union([
1929
+ z__namespace.object({
1930
+ type: z__namespace.literal("AGE_RANGE"),
1931
+ criterion_id: z__namespace.string(),
1932
+ status: z__namespace.enum([
1933
+ "UNSPECIFIED",
1934
+ "UNKNOWN",
1935
+ "ENABLED",
1936
+ "PAUSED",
1937
+ "REMOVED"
1938
+ ]),
1939
+ negative: z__namespace.boolean(),
1940
+ age_range: z__namespace.enum([
1941
+ "UNSPECIFIED",
1942
+ "UNKNOWN",
1943
+ "AGE_RANGE_18_24",
1944
+ "AGE_RANGE_25_34",
1945
+ "AGE_RANGE_35_44",
1946
+ "AGE_RANGE_45_54",
1947
+ "AGE_RANGE_55_64",
1948
+ "AGE_RANGE_65_UP",
1949
+ "AGE_RANGE_UNDETERMINED"
1950
+ ])
1951
+ }),
1952
+ z__namespace.object({
1953
+ type: z__namespace.literal("GENDER"),
1954
+ criterion_id: z__namespace.string(),
1955
+ status: z__namespace.enum([
1956
+ "UNSPECIFIED",
1957
+ "UNKNOWN",
1958
+ "ENABLED",
1959
+ "PAUSED",
1960
+ "REMOVED"
1961
+ ]),
1962
+ negative: z__namespace.boolean(),
1963
+ gender: z__namespace.enum([
1964
+ "UNSPECIFIED",
1965
+ "UNKNOWN",
1966
+ "MALE",
1967
+ "FEMALE",
1968
+ "UNDETERMINED"
1969
+ ])
1970
+ }),
1971
+ z__namespace.object({
1972
+ type: z__namespace.literal("INCOME_RANGE"),
1973
+ criterion_id: z__namespace.string(),
1974
+ status: z__namespace.enum([
1975
+ "UNSPECIFIED",
1976
+ "UNKNOWN",
1977
+ "ENABLED",
1978
+ "PAUSED",
1979
+ "REMOVED"
1980
+ ]),
1981
+ negative: z__namespace.boolean(),
1982
+ income_range: z__namespace.enum([
1983
+ "UNSPECIFIED",
1984
+ "UNKNOWN",
1985
+ "INCOME_RANGE_0_50",
1986
+ "INCOME_RANGE_50_60",
1987
+ "INCOME_RANGE_60_70",
1988
+ "INCOME_RANGE_70_80",
1989
+ "INCOME_RANGE_80_90",
1990
+ "INCOME_RANGE_90_UP",
1991
+ "INCOME_RANGE_UNDETERMINED"
1992
+ ])
1993
+ }),
1994
+ z__namespace.object({
1995
+ type: z__namespace.literal("PARENTAL_STATUS"),
1996
+ criterion_id: z__namespace.string(),
1997
+ status: z__namespace.enum([
1998
+ "UNSPECIFIED",
1999
+ "UNKNOWN",
2000
+ "ENABLED",
2001
+ "PAUSED",
2002
+ "REMOVED"
2003
+ ]),
2004
+ negative: z__namespace.boolean(),
2005
+ parental_status: z__namespace.enum([
2006
+ "UNSPECIFIED",
2007
+ "UNKNOWN",
2008
+ "PARENT",
2009
+ "NOT_A_PARENT",
2010
+ "UNDETERMINED"
2011
+ ])
2012
+ }),
2013
+ z__namespace.object({
2014
+ type: z__namespace.literal("USER_LIST"),
2015
+ criterion_id: z__namespace.string(),
2016
+ status: z__namespace.enum([
2017
+ "UNSPECIFIED",
2018
+ "UNKNOWN",
2019
+ "ENABLED",
2020
+ "PAUSED",
2021
+ "REMOVED"
2022
+ ]),
2023
+ negative: z__namespace.boolean(),
2024
+ user_list: z__namespace.string().nullable()
2025
+ }),
2026
+ z__namespace.object({
2027
+ type: z__namespace.literal("AUDIENCE"),
2028
+ criterion_id: z__namespace.string(),
2029
+ status: z__namespace.enum([
2030
+ "UNSPECIFIED",
2031
+ "UNKNOWN",
2032
+ "ENABLED",
2033
+ "PAUSED",
2034
+ "REMOVED"
2035
+ ]),
2036
+ negative: z__namespace.boolean(),
2037
+ audience: z__namespace.string().nullable()
2038
+ }),
2039
+ z__namespace.object({
2040
+ type: z__namespace.literal("CUSTOM_AUDIENCE"),
2041
+ criterion_id: z__namespace.string(),
2042
+ status: z__namespace.enum([
2043
+ "UNSPECIFIED",
2044
+ "UNKNOWN",
2045
+ "ENABLED",
2046
+ "PAUSED",
2047
+ "REMOVED"
2048
+ ]),
2049
+ negative: z__namespace.boolean(),
2050
+ custom_audience: z__namespace.string().nullable()
2051
+ }),
2052
+ z__namespace.object({
2053
+ type: z__namespace.enum([
2054
+ "UNSPECIFIED",
2055
+ "UNKNOWN",
2056
+ "KEYWORD",
2057
+ "PLACEMENT",
2058
+ "MOBILE_APP_CATEGORY",
2059
+ "MOBILE_APPLICATION",
2060
+ "DEVICE",
2061
+ "LOCATION",
2062
+ "LISTING_GROUP",
2063
+ "AD_SCHEDULE",
2064
+ "YOUTUBE_VIDEO",
2065
+ "YOUTUBE_CHANNEL",
2066
+ "PROXIMITY",
2067
+ "TOPIC",
2068
+ "LISTING_SCOPE",
2069
+ "LANGUAGE",
2070
+ "IP_BLOCK",
2071
+ "CONTENT_LABEL",
2072
+ "CARRIER",
2073
+ "USER_INTEREST",
2074
+ "WEBPAGE",
2075
+ "OPERATING_SYSTEM_VERSION",
2076
+ "APP_PAYMENT_MODEL",
2077
+ "MOBILE_DEVICE",
2078
+ "CUSTOM_AFFINITY",
2079
+ "CUSTOM_INTENT",
2080
+ "LOCATION_GROUP",
2081
+ "COMBINED_AUDIENCE",
2082
+ "KEYWORD_THEME",
2083
+ "NEGATIVE_KEYWORD_LIST",
2084
+ "LOCAL_SERVICE_ID",
2085
+ "SEARCH_THEME",
2086
+ "BRAND",
2087
+ "BRAND_LIST",
2088
+ "LIFE_EVENT",
2089
+ "WEBPAGE_LIST",
2090
+ "VIDEO_LINEUP",
2091
+ "PLACEMENT_LIST",
2092
+ "VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
2093
+ "VERTICAL_ADS_ITEM_GROUP_RULE"
2094
+ ]),
2095
+ criterion_id: z__namespace.string()
2096
+ })
2097
+ ]);
2098
+ var zGoogleAdsGeoTargetConstant = z__namespace.object({
2099
+ id: z__namespace.string(),
2100
+ resource_name: z__namespace.string().nullable(),
2101
+ name: z__namespace.string().nullable(),
2102
+ canonical_name: z__namespace.string().nullable(),
2103
+ country_code: z__namespace.string().nullable(),
2104
+ target_type: z__namespace.string().nullable(),
2105
+ status: z__namespace.enum([
2106
+ "UNSPECIFIED",
2107
+ "UNKNOWN",
2108
+ "ENABLED",
2109
+ "REMOVAL_PLANNED"
2110
+ ])
2111
+ });
2112
+ z__namespace.object({
2113
+ id: z__namespace.string().nullable(),
2114
+ resource_name: z__namespace.string().nullable(),
2115
+ dry_run: z__namespace.boolean(),
2116
+ executed: z__namespace.boolean()
2117
+ });
2118
+ z__namespace.object({
2119
+ id: z__namespace.string(),
2120
+ resource_name: z__namespace.string(),
2121
+ dry_run: z__namespace.boolean(),
2122
+ executed: z__namespace.boolean()
2123
+ });
2124
+ z__namespace.object({
2125
+ id: z__namespace.string(),
2126
+ removed: z__namespace.boolean(),
2127
+ dry_run: z__namespace.boolean(),
2128
+ executed: z__namespace.boolean()
2129
+ });
2130
+ z__namespace.union([
2131
+ z__namespace.object({
2132
+ type: z__namespace.literal("location"),
2133
+ geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/),
2134
+ negative: z__namespace.boolean().optional().default(false)
2135
+ }),
2136
+ z__namespace.object({
2137
+ type: z__namespace.literal("language"),
2138
+ language_constant: z__namespace.string().min(1)
2139
+ })
2140
+ ]);
2141
+ z__namespace.union([
2142
+ z__namespace.object({
2143
+ type: z__namespace.literal("age_range"),
2144
+ age_range: z__namespace.enum([
2145
+ "AGE_RANGE_18_24",
2146
+ "AGE_RANGE_25_34",
2147
+ "AGE_RANGE_35_44",
2148
+ "AGE_RANGE_45_54",
2149
+ "AGE_RANGE_55_64",
2150
+ "AGE_RANGE_65_UP",
2151
+ "AGE_RANGE_UNDETERMINED"
2152
+ ]),
2153
+ negative: z__namespace.boolean().optional().default(false)
2154
+ }),
2155
+ z__namespace.object({
2156
+ type: z__namespace.literal("gender"),
2157
+ gender: z__namespace.enum([
2158
+ "MALE",
2159
+ "FEMALE",
2160
+ "UNDETERMINED"
2161
+ ]),
2162
+ negative: z__namespace.boolean().optional().default(false)
2163
+ }),
2164
+ z__namespace.object({
2165
+ type: z__namespace.literal("income_range"),
2166
+ income_range: z__namespace.enum([
2167
+ "INCOME_RANGE_0_50",
2168
+ "INCOME_RANGE_50_60",
2169
+ "INCOME_RANGE_60_70",
2170
+ "INCOME_RANGE_70_80",
2171
+ "INCOME_RANGE_80_90",
2172
+ "INCOME_RANGE_90_UP",
2173
+ "INCOME_RANGE_UNDETERMINED"
2174
+ ]),
2175
+ negative: z__namespace.boolean().optional().default(false)
2176
+ }),
2177
+ z__namespace.object({
2178
+ type: z__namespace.literal("parental_status"),
2179
+ parental_status: z__namespace.enum([
2180
+ "PARENT",
2181
+ "NOT_A_PARENT",
2182
+ "UNDETERMINED"
2183
+ ]),
2184
+ negative: z__namespace.boolean().optional().default(false)
2185
+ }),
2186
+ z__namespace.object({
2187
+ type: z__namespace.literal("user_list"),
2188
+ user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/),
2189
+ negative: z__namespace.boolean().optional().default(false)
2190
+ }),
2191
+ z__namespace.object({
2192
+ type: z__namespace.literal("audience"),
2193
+ audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/),
2194
+ negative: z__namespace.boolean().optional().default(false)
2195
+ }),
2196
+ z__namespace.object({
2197
+ type: z__namespace.literal("custom_audience"),
2198
+ custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/),
2199
+ negative: z__namespace.boolean().optional().default(false)
2200
+ })
2201
+ ]);
2202
+ z__namespace.object({
2203
+ positive_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
2204
+ negative_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
2205
+ });
2206
+ var zGoogleAdsInsightLevel = z__namespace.enum([
2207
+ "account",
2208
+ "campaign",
2209
+ "ad_group",
2210
+ "ad",
2211
+ "keyword"
2212
+ ]);
2213
+ var zGoogleAdsInsightsRow = z__namespace.object({
2214
+ level: zGoogleAdsInsightLevel,
2215
+ id: z__namespace.string().min(1),
2216
+ name: z__namespace.string().nullable(),
2217
+ parent_id: z__namespace.string().min(1).nullable(),
2218
+ metrics: z__namespace.record(z__namespace.string(), z__namespace.number().nullable()),
2219
+ segments: z__namespace.record(z__namespace.string(), z__namespace.string()).optional()
2220
+ });
2221
+ z__namespace.object({
2222
+ object: z__namespace.literal("list"),
2223
+ data: z__namespace.array(zGoogleAdsInsightsRow)
2224
+ });
2225
+ var zGoogleAdsInsightMetric = z__namespace.enum([
2226
+ "impressions",
2227
+ "clicks",
2228
+ "ctr",
2229
+ "average_cpc",
2230
+ "cost_micros",
2231
+ "conversions",
2232
+ "conversions_value",
2233
+ "cost_per_conversion"
2234
+ ]);
2235
+ var zGoogleAdsInsightSegment = z__namespace.enum(["date", "device"]);
2236
+ z__namespace.object({
2237
+ level: zGoogleAdsInsightLevel.optional().default("campaign"),
2238
+ metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
2239
+ "impressions",
2240
+ "clicks",
2241
+ "cost_micros",
2242
+ "conversions"
2243
+ ]),
2244
+ segments: z__namespace.array(zGoogleAdsInsightSegment).optional(),
2245
+ campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
2246
+ ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
2247
+ since: z__namespace.iso.date(),
2248
+ until: z__namespace.iso.date()
2249
+ });
1681
2250
  z__namespace.object({
1682
2251
  limit: z__namespace.int().gte(1).lte(100).optional().default(20),
1683
2252
  offset: z__namespace.int().gte(0).lte(9007199254740991).optional().default(0),
@@ -2264,7 +2833,18 @@ z__namespace.object({
2264
2833
  "tiktok_url_ownership_unverified",
2265
2834
  "tiktok_unaudited_private_only",
2266
2835
  "tiktok_spam_risk",
2836
+ "tiktok_file_format_invalid",
2837
+ "tiktok_duration_invalid",
2838
+ "tiktok_frame_rate_invalid",
2839
+ "tiktok_resolution_invalid",
2840
+ "tiktok_media_pull_failed",
2841
+ "tiktok_server_error",
2267
2842
  "tiktok_publish_failed",
2843
+ "google_rate_limited",
2844
+ "google_server_error",
2845
+ "google_auth_expired",
2846
+ "google_permission_denied",
2847
+ "google_request_failed",
2268
2848
  "post_publish_failed",
2269
2849
  "post_partially_published",
2270
2850
  "connection_platform_mismatch",
@@ -2493,47 +3073,22 @@ z__namespace.object({
2493
3073
  test_account: z__namespace.boolean()
2494
3074
  });
2495
3075
  z__namespace.object({
2496
- level: z__namespace.enum([
2497
- "account",
2498
- "campaign",
2499
- "ad_group"
2500
- ]).optional().default("campaign"),
2501
- metrics: z__namespace.array(z__namespace.enum([
2502
- "impressions",
2503
- "clicks",
2504
- "ctr",
2505
- "average_cpc",
2506
- "cost_micros",
2507
- "conversions",
2508
- "conversions_value",
2509
- "cost_per_conversion"
2510
- ])).min(1).optional().default([
3076
+ level: zGoogleAdsInsightLevel.optional().default("campaign"),
3077
+ metrics: z__namespace.array(zGoogleAdsInsightMetric).min(1).optional().default([
2511
3078
  "impressions",
2512
3079
  "clicks",
2513
3080
  "cost_micros",
2514
3081
  "conversions"
2515
3082
  ]),
2516
- segments: z__namespace.array(z__namespace.enum(["date", "device"])).optional(),
2517
- since: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2}$/),
2518
- until: z__namespace.string().regex(/^\d{4}-\d{2}-\d{2}$/)
3083
+ segments: z__namespace.array(zGoogleAdsInsightSegment).optional(),
3084
+ campaign_id: z__namespace.string().regex(/^\d+$/).optional(),
3085
+ ad_group_id: z__namespace.string().regex(/^\d+$/).optional(),
3086
+ since: z__namespace.iso.date(),
3087
+ until: z__namespace.iso.date()
2519
3088
  });
2520
3089
  z__namespace.object({
2521
3090
  connection_id: z__namespace.string()
2522
3091
  });
2523
- z__namespace.object({
2524
- object: z__namespace.literal("list"),
2525
- data: z__namespace.array(z__namespace.object({
2526
- level: z__namespace.enum([
2527
- "account",
2528
- "campaign",
2529
- "ad_group"
2530
- ]),
2531
- id: z__namespace.string(),
2532
- name: z__namespace.string().nullable(),
2533
- metrics: z__namespace.record(z__namespace.string(), z__namespace.number().nullable()),
2534
- segments: z__namespace.record(z__namespace.string(), z__namespace.string()).optional()
2535
- }))
2536
- });
2537
3092
  z__namespace.object({
2538
3093
  query: z__namespace.string().min(1).max(1e4)
2539
3094
  });
@@ -2552,12 +3107,6 @@ z__namespace.object({
2552
3107
  z__namespace.object({
2553
3108
  connection_id: z__namespace.string()
2554
3109
  });
2555
- z__namespace.object({
2556
- id: z__namespace.string().nullable(),
2557
- resource_name: z__namespace.string().nullable(),
2558
- dry_run: z__namespace.boolean(),
2559
- executed: z__namespace.boolean()
2560
- });
2561
3110
  z__namespace.object({
2562
3111
  dry_run: z__namespace.boolean().optional().default(false)
2563
3112
  });
@@ -2565,12 +3114,6 @@ z__namespace.object({
2565
3114
  connection_id: z__namespace.string(),
2566
3115
  id: z__namespace.string().regex(/^\d+$/)
2567
3116
  });
2568
- z__namespace.object({
2569
- id: z__namespace.string(),
2570
- removed: z__namespace.boolean(),
2571
- dry_run: z__namespace.boolean(),
2572
- executed: z__namespace.boolean()
2573
- });
2574
3117
  z__namespace.object({
2575
3118
  amount_micros: z__namespace.int().gt(0).lte(9007199254740991),
2576
3119
  dry_run: z__namespace.boolean().optional().default(false)
@@ -2579,12 +3122,6 @@ z__namespace.object({
2579
3122
  connection_id: z__namespace.string(),
2580
3123
  id: z__namespace.string().regex(/^\d+$/)
2581
3124
  });
2582
- z__namespace.object({
2583
- id: z__namespace.string(),
2584
- resource_name: z__namespace.string(),
2585
- dry_run: z__namespace.boolean(),
2586
- executed: z__namespace.boolean()
2587
- });
2588
3125
  z__namespace.object({
2589
3126
  connection_id: z__namespace.string()
2590
3127
  });
@@ -2640,7 +3177,9 @@ z__namespace.object({
2640
3177
  "TARGET_OUTRANK_SHARE",
2641
3178
  "TARGET_ROAS",
2642
3179
  "TARGET_SPEND"
2643
- ])
3180
+ ]),
3181
+ start_date_time: z__namespace.string().nullable(),
3182
+ end_date_time: z__namespace.string().nullable()
2644
3183
  }))
2645
3184
  });
2646
3185
  z__namespace.object({
@@ -2658,12 +3197,6 @@ z__namespace.object({
2658
3197
  z__namespace.object({
2659
3198
  connection_id: z__namespace.string()
2660
3199
  });
2661
- z__namespace.object({
2662
- id: z__namespace.string().nullable(),
2663
- resource_name: z__namespace.string().nullable(),
2664
- dry_run: z__namespace.boolean(),
2665
- executed: z__namespace.boolean()
2666
- });
2667
3200
  z__namespace.object({
2668
3201
  dry_run: z__namespace.boolean().optional().default(false)
2669
3202
  });
@@ -2671,12 +3204,6 @@ z__namespace.object({
2671
3204
  connection_id: z__namespace.string(),
2672
3205
  id: z__namespace.string().regex(/^\d+$/)
2673
3206
  });
2674
- z__namespace.object({
2675
- id: z__namespace.string(),
2676
- removed: z__namespace.boolean(),
2677
- dry_run: z__namespace.boolean(),
2678
- executed: z__namespace.boolean()
2679
- });
2680
3207
  z__namespace.object({
2681
3208
  connection_id: z__namespace.string(),
2682
3209
  id: z__namespace.string().regex(/^\d+$/)
@@ -2731,7 +3258,9 @@ z__namespace.object({
2731
3258
  "TARGET_OUTRANK_SHARE",
2732
3259
  "TARGET_ROAS",
2733
3260
  "TARGET_SPEND"
2734
- ])
3261
+ ]),
3262
+ start_date_time: z__namespace.string().nullable(),
3263
+ end_date_time: z__namespace.string().nullable()
2735
3264
  });
2736
3265
  z__namespace.object({
2737
3266
  name: z__namespace.string().min(1).max(255),
@@ -2741,12 +3270,6 @@ z__namespace.object({
2741
3270
  connection_id: z__namespace.string(),
2742
3271
  id: z__namespace.string().regex(/^\d+$/)
2743
3272
  });
2744
- z__namespace.object({
2745
- id: z__namespace.string(),
2746
- resource_name: z__namespace.string(),
2747
- dry_run: z__namespace.boolean(),
2748
- executed: z__namespace.boolean()
2749
- });
2750
3273
  z__namespace.object({
2751
3274
  dry_run: z__namespace.boolean().optional().default(false)
2752
3275
  });
@@ -2776,41 +3299,62 @@ z__namespace.object({
2776
3299
  z__namespace.object({
2777
3300
  connection_id: z__namespace.string()
2778
3301
  });
3302
+ z__namespace.object({
3303
+ q: z__namespace.string().min(1),
3304
+ country_code: z__namespace.string().length(2).optional()
3305
+ });
2779
3306
  z__namespace.object({
2780
3307
  object: z__namespace.literal("list"),
2781
- data: z__namespace.array(z__namespace.object({
2782
- id: z__namespace.string(),
2783
- name: z__namespace.string().nullable(),
2784
- status: z__namespace.enum([
2785
- "UNSPECIFIED",
2786
- "UNKNOWN",
2787
- "ENABLED",
2788
- "PAUSED",
2789
- "REMOVED"
2790
- ]),
2791
- type: z__namespace.enum([
2792
- "UNSPECIFIED",
2793
- "UNKNOWN",
2794
- "SEARCH_STANDARD",
2795
- "DISPLAY_STANDARD",
2796
- "SHOPPING_PRODUCT_ADS",
2797
- "HOTEL_ADS",
2798
- "SHOPPING_SMART_ADS",
2799
- "VIDEO_BUMPER",
2800
- "VIDEO_TRUE_VIEW_IN_STREAM",
2801
- "VIDEO_TRUE_VIEW_IN_DISPLAY",
2802
- "VIDEO_NON_SKIPPABLE_IN_STREAM",
2803
- "SEARCH_DYNAMIC_ADS",
2804
- "SHOPPING_COMPARISON_LISTING_ADS",
2805
- "PROMOTED_HOTEL_ADS",
2806
- "VIDEO_RESPONSIVE",
2807
- "VIDEO_EFFICIENT_REACH",
2808
- "SMART_CAMPAIGN_ADS",
2809
- "TRAVEL_ADS",
2810
- "YOUTUBE_AUDIO"
2811
- ]),
2812
- campaign: z__namespace.string().nullable()
2813
- }))
3308
+ data: z__namespace.array(zGoogleAdsGeoTargetConstant)
3309
+ });
3310
+ z__namespace.object({
3311
+ connection_id: z__namespace.string(),
3312
+ campaign_id: z__namespace.string().regex(/^\d+$/)
3313
+ });
3314
+ z__namespace.object({
3315
+ object: z__namespace.literal("list"),
3316
+ data: z__namespace.array(zGoogleAdsCampaignCriterion)
3317
+ });
3318
+ z__namespace.object({
3319
+ dry_run: z__namespace.boolean().optional().default(false),
3320
+ type: z__namespace.union([
3321
+ z__namespace.literal("location"),
3322
+ z__namespace.literal("language")
3323
+ ]),
3324
+ geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/).optional(),
3325
+ negative: z__namespace.boolean().optional().default(false),
3326
+ language_constant: z__namespace.string().min(1).optional()
3327
+ });
3328
+ z__namespace.object({
3329
+ connection_id: z__namespace.string(),
3330
+ campaign_id: z__namespace.string().regex(/^\d+$/)
3331
+ });
3332
+ z__namespace.object({
3333
+ dry_run: z__namespace.boolean().optional().default(false)
3334
+ });
3335
+ z__namespace.object({
3336
+ connection_id: z__namespace.string(),
3337
+ campaign_id: z__namespace.string().regex(/^\d+$/),
3338
+ criterion_id: z__namespace.string().regex(/^\d+$/)
3339
+ });
3340
+ z__namespace.object({
3341
+ dry_run: z__namespace.boolean().optional().default(false),
3342
+ positive_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
3343
+ negative_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
3344
+ });
3345
+ z__namespace.object({
3346
+ connection_id: z__namespace.string(),
3347
+ campaign_id: z__namespace.string().regex(/^\d+$/)
3348
+ });
3349
+ z__namespace.object({
3350
+ connection_id: z__namespace.string()
3351
+ });
3352
+ z__namespace.object({
3353
+ campaign_id: z__namespace.string().regex(/^\d+$/).optional()
3354
+ });
3355
+ z__namespace.object({
3356
+ object: z__namespace.literal("list"),
3357
+ data: z__namespace.array(zGoogleAdsAdGroup)
2814
3358
  });
2815
3359
  z__namespace.object({
2816
3360
  name: z__namespace.string().min(1).max(255),
@@ -2822,12 +3366,6 @@ z__namespace.object({
2822
3366
  z__namespace.object({
2823
3367
  connection_id: z__namespace.string()
2824
3368
  });
2825
- z__namespace.object({
2826
- id: z__namespace.string().nullable(),
2827
- resource_name: z__namespace.string().nullable(),
2828
- dry_run: z__namespace.boolean(),
2829
- executed: z__namespace.boolean()
2830
- });
2831
3369
  z__namespace.object({
2832
3370
  dry_run: z__namespace.boolean().optional().default(false)
2833
3371
  });
@@ -2835,49 +3373,10 @@ z__namespace.object({
2835
3373
  connection_id: z__namespace.string(),
2836
3374
  id: z__namespace.string().regex(/^\d+$/)
2837
3375
  });
2838
- z__namespace.object({
2839
- id: z__namespace.string(),
2840
- removed: z__namespace.boolean(),
2841
- dry_run: z__namespace.boolean(),
2842
- executed: z__namespace.boolean()
2843
- });
2844
3376
  z__namespace.object({
2845
3377
  connection_id: z__namespace.string(),
2846
3378
  id: z__namespace.string().regex(/^\d+$/)
2847
3379
  });
2848
- z__namespace.object({
2849
- id: z__namespace.string(),
2850
- name: z__namespace.string().nullable(),
2851
- status: z__namespace.enum([
2852
- "UNSPECIFIED",
2853
- "UNKNOWN",
2854
- "ENABLED",
2855
- "PAUSED",
2856
- "REMOVED"
2857
- ]),
2858
- type: z__namespace.enum([
2859
- "UNSPECIFIED",
2860
- "UNKNOWN",
2861
- "SEARCH_STANDARD",
2862
- "DISPLAY_STANDARD",
2863
- "SHOPPING_PRODUCT_ADS",
2864
- "HOTEL_ADS",
2865
- "SHOPPING_SMART_ADS",
2866
- "VIDEO_BUMPER",
2867
- "VIDEO_TRUE_VIEW_IN_STREAM",
2868
- "VIDEO_TRUE_VIEW_IN_DISPLAY",
2869
- "VIDEO_NON_SKIPPABLE_IN_STREAM",
2870
- "SEARCH_DYNAMIC_ADS",
2871
- "SHOPPING_COMPARISON_LISTING_ADS",
2872
- "PROMOTED_HOTEL_ADS",
2873
- "VIDEO_RESPONSIVE",
2874
- "VIDEO_EFFICIENT_REACH",
2875
- "SMART_CAMPAIGN_ADS",
2876
- "TRAVEL_ADS",
2877
- "YOUTUBE_AUDIO"
2878
- ]),
2879
- campaign: z__namespace.string().nullable()
2880
- });
2881
3380
  z__namespace.object({
2882
3381
  name: z__namespace.string().min(1).max(255),
2883
3382
  dry_run: z__namespace.boolean().optional().default(false)
@@ -2886,12 +3385,6 @@ z__namespace.object({
2886
3385
  connection_id: z__namespace.string(),
2887
3386
  id: z__namespace.string().regex(/^\d+$/)
2888
3387
  });
2889
- z__namespace.object({
2890
- id: z__namespace.string(),
2891
- resource_name: z__namespace.string(),
2892
- dry_run: z__namespace.boolean(),
2893
- executed: z__namespace.boolean()
2894
- });
2895
3388
  z__namespace.object({
2896
3389
  cpc_bid_micros: z__namespace.int().gt(0).lte(9007199254740991).optional(),
2897
3390
  cpm_bid_micros: z__namespace.int().gt(0).lte(9007199254740991).optional(),
@@ -2903,12 +3396,6 @@ z__namespace.object({
2903
3396
  connection_id: z__namespace.string(),
2904
3397
  id: z__namespace.string().regex(/^\d+$/)
2905
3398
  });
2906
- z__namespace.object({
2907
- id: z__namespace.string(),
2908
- resource_name: z__namespace.string(),
2909
- dry_run: z__namespace.boolean(),
2910
- executed: z__namespace.boolean()
2911
- });
2912
3399
  z__namespace.object({
2913
3400
  dry_run: z__namespace.boolean().optional().default(false)
2914
3401
  });
@@ -2935,59 +3422,112 @@ z__namespace.object({
2935
3422
  dry_run: z__namespace.boolean(),
2936
3423
  executed: z__namespace.boolean()
2937
3424
  });
3425
+ z__namespace.object({
3426
+ connection_id: z__namespace.string(),
3427
+ ad_group_id: z__namespace.string().regex(/^\d+$/)
3428
+ });
3429
+ z__namespace.object({
3430
+ object: z__namespace.literal("list"),
3431
+ data: z__namespace.array(zGoogleAdsAdGroupCriterion)
3432
+ });
3433
+ z__namespace.object({
3434
+ dry_run: z__namespace.boolean().optional().default(false),
3435
+ type: z__namespace.union([
3436
+ z__namespace.literal("age_range"),
3437
+ z__namespace.literal("gender"),
3438
+ z__namespace.literal("income_range"),
3439
+ z__namespace.literal("parental_status"),
3440
+ z__namespace.literal("user_list"),
3441
+ z__namespace.literal("audience"),
3442
+ z__namespace.literal("custom_audience")
3443
+ ]),
3444
+ age_range: z__namespace.enum([
3445
+ "AGE_RANGE_18_24",
3446
+ "AGE_RANGE_25_34",
3447
+ "AGE_RANGE_35_44",
3448
+ "AGE_RANGE_45_54",
3449
+ "AGE_RANGE_55_64",
3450
+ "AGE_RANGE_65_UP",
3451
+ "AGE_RANGE_UNDETERMINED"
3452
+ ]).optional(),
3453
+ negative: z__namespace.boolean().optional().default(false),
3454
+ gender: z__namespace.enum([
3455
+ "MALE",
3456
+ "FEMALE",
3457
+ "UNDETERMINED"
3458
+ ]).optional(),
3459
+ income_range: z__namespace.enum([
3460
+ "INCOME_RANGE_0_50",
3461
+ "INCOME_RANGE_50_60",
3462
+ "INCOME_RANGE_60_70",
3463
+ "INCOME_RANGE_70_80",
3464
+ "INCOME_RANGE_80_90",
3465
+ "INCOME_RANGE_90_UP",
3466
+ "INCOME_RANGE_UNDETERMINED"
3467
+ ]).optional(),
3468
+ parental_status: z__namespace.enum([
3469
+ "PARENT",
3470
+ "NOT_A_PARENT",
3471
+ "UNDETERMINED"
3472
+ ]).optional(),
3473
+ user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/).optional(),
3474
+ audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/).optional(),
3475
+ custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/).optional()
3476
+ });
3477
+ z__namespace.object({
3478
+ connection_id: z__namespace.string(),
3479
+ ad_group_id: z__namespace.string().regex(/^\d+$/)
3480
+ });
3481
+ z__namespace.object({
3482
+ dry_run: z__namespace.boolean().optional().default(false)
3483
+ });
3484
+ z__namespace.object({
3485
+ connection_id: z__namespace.string(),
3486
+ ad_group_id: z__namespace.string().regex(/^\d+$/),
3487
+ criterion_id: z__namespace.string().regex(/^\d+$/)
3488
+ });
2938
3489
  z__namespace.object({
2939
3490
  connection_id: z__namespace.string()
2940
3491
  });
3492
+ z__namespace.object({
3493
+ q: z__namespace.string().min(1).optional(),
3494
+ kind: z__namespace.enum([
3495
+ "user_list",
3496
+ "audience",
3497
+ "custom_audience"
3498
+ ]).optional()
3499
+ });
2941
3500
  z__namespace.object({
2942
3501
  object: z__namespace.literal("list"),
2943
- data: z__namespace.array(z__namespace.object({
2944
- id: z__namespace.string(),
2945
- name: z__namespace.string().nullable(),
2946
- type: z__namespace.enum([
2947
- "UNSPECIFIED",
2948
- "UNKNOWN",
2949
- "TEXT_AD",
2950
- "EXPANDED_TEXT_AD",
2951
- "EXPANDED_DYNAMIC_SEARCH_AD",
2952
- "HOTEL_AD",
2953
- "SHOPPING_SMART_AD",
2954
- "SHOPPING_PRODUCT_AD",
2955
- "VIDEO_AD",
2956
- "IMAGE_AD",
2957
- "RESPONSIVE_SEARCH_AD",
2958
- "LEGACY_RESPONSIVE_DISPLAY_AD",
2959
- "APP_AD",
2960
- "LEGACY_APP_INSTALL_AD",
2961
- "RESPONSIVE_DISPLAY_AD",
2962
- "LOCAL_AD",
2963
- "HTML5_UPLOAD_AD",
2964
- "DYNAMIC_HTML5_AD",
2965
- "APP_ENGAGEMENT_AD",
2966
- "SHOPPING_COMPARISON_LISTING_AD",
2967
- "VIDEO_BUMPER_AD",
2968
- "VIDEO_NON_SKIPPABLE_IN_STREAM_AD",
2969
- "VIDEO_TRUEVIEW_IN_STREAM_AD",
2970
- "VIDEO_RESPONSIVE_AD",
2971
- "SMART_CAMPAIGN_AD",
2972
- "CALL_AD",
2973
- "APP_PRE_REGISTRATION_AD",
2974
- "IN_FEED_VIDEO_AD",
2975
- "DEMAND_GEN_MULTI_ASSET_AD",
2976
- "DEMAND_GEN_CAROUSEL_AD",
2977
- "TRAVEL_AD",
2978
- "DEMAND_GEN_VIDEO_RESPONSIVE_AD",
2979
- "DEMAND_GEN_PRODUCT_AD",
2980
- "YOUTUBE_AUDIO_AD"
2981
- ]),
2982
- status: z__namespace.enum([
2983
- "UNSPECIFIED",
2984
- "UNKNOWN",
2985
- "ENABLED",
2986
- "PAUSED",
2987
- "REMOVED"
2988
- ]),
2989
- ad_group: z__namespace.string().nullable()
2990
- }))
3502
+ data: z__namespace.array(zGoogleAdsAudience)
3503
+ });
3504
+ z__namespace.object({
3505
+ dry_run: z__namespace.boolean().optional().default(false),
3506
+ targeting_dimension: z__namespace.enum([
3507
+ "KEYWORD",
3508
+ "AUDIENCE",
3509
+ "TOPIC",
3510
+ "GENDER",
3511
+ "AGE_RANGE",
3512
+ "PLACEMENT",
3513
+ "PARENTAL_STATUS",
3514
+ "INCOME_RANGE"
3515
+ ]),
3516
+ bid_only: z__namespace.boolean()
3517
+ });
3518
+ z__namespace.object({
3519
+ connection_id: z__namespace.string(),
3520
+ campaign_id: z__namespace.string().regex(/^\d+$/)
3521
+ });
3522
+ z__namespace.object({
3523
+ connection_id: z__namespace.string()
3524
+ });
3525
+ z__namespace.object({
3526
+ ad_group_id: z__namespace.string().regex(/^\d+$/).optional()
3527
+ });
3528
+ z__namespace.object({
3529
+ object: z__namespace.literal("list"),
3530
+ data: z__namespace.array(zGoogleAdsAd)
2991
3531
  });
2992
3532
  z__namespace.object({
2993
3533
  ad_group: z__namespace.string().min(1),
@@ -3011,12 +3551,6 @@ z__namespace.object({
3011
3551
  z__namespace.object({
3012
3552
  connection_id: z__namespace.string()
3013
3553
  });
3014
- z__namespace.object({
3015
- id: z__namespace.string().nullable(),
3016
- resource_name: z__namespace.string().nullable(),
3017
- dry_run: z__namespace.boolean(),
3018
- executed: z__namespace.boolean()
3019
- });
3020
3554
  z__namespace.object({
3021
3555
  dry_run: z__namespace.boolean().optional().default(false)
3022
3556
  });
@@ -3024,64 +3558,10 @@ z__namespace.object({
3024
3558
  connection_id: z__namespace.string(),
3025
3559
  id: z__namespace.string().regex(/^\d+$/)
3026
3560
  });
3027
- z__namespace.object({
3028
- id: z__namespace.string(),
3029
- removed: z__namespace.boolean(),
3030
- dry_run: z__namespace.boolean(),
3031
- executed: z__namespace.boolean()
3032
- });
3033
3561
  z__namespace.object({
3034
3562
  connection_id: z__namespace.string(),
3035
3563
  id: z__namespace.string().regex(/^\d+$/)
3036
3564
  });
3037
- z__namespace.object({
3038
- id: z__namespace.string(),
3039
- name: z__namespace.string().nullable(),
3040
- type: z__namespace.enum([
3041
- "UNSPECIFIED",
3042
- "UNKNOWN",
3043
- "TEXT_AD",
3044
- "EXPANDED_TEXT_AD",
3045
- "EXPANDED_DYNAMIC_SEARCH_AD",
3046
- "HOTEL_AD",
3047
- "SHOPPING_SMART_AD",
3048
- "SHOPPING_PRODUCT_AD",
3049
- "VIDEO_AD",
3050
- "IMAGE_AD",
3051
- "RESPONSIVE_SEARCH_AD",
3052
- "LEGACY_RESPONSIVE_DISPLAY_AD",
3053
- "APP_AD",
3054
- "LEGACY_APP_INSTALL_AD",
3055
- "RESPONSIVE_DISPLAY_AD",
3056
- "LOCAL_AD",
3057
- "HTML5_UPLOAD_AD",
3058
- "DYNAMIC_HTML5_AD",
3059
- "APP_ENGAGEMENT_AD",
3060
- "SHOPPING_COMPARISON_LISTING_AD",
3061
- "VIDEO_BUMPER_AD",
3062
- "VIDEO_NON_SKIPPABLE_IN_STREAM_AD",
3063
- "VIDEO_TRUEVIEW_IN_STREAM_AD",
3064
- "VIDEO_RESPONSIVE_AD",
3065
- "SMART_CAMPAIGN_AD",
3066
- "CALL_AD",
3067
- "APP_PRE_REGISTRATION_AD",
3068
- "IN_FEED_VIDEO_AD",
3069
- "DEMAND_GEN_MULTI_ASSET_AD",
3070
- "DEMAND_GEN_CAROUSEL_AD",
3071
- "TRAVEL_AD",
3072
- "DEMAND_GEN_VIDEO_RESPONSIVE_AD",
3073
- "DEMAND_GEN_PRODUCT_AD",
3074
- "YOUTUBE_AUDIO_AD"
3075
- ]),
3076
- status: z__namespace.enum([
3077
- "UNSPECIFIED",
3078
- "UNKNOWN",
3079
- "ENABLED",
3080
- "PAUSED",
3081
- "REMOVED"
3082
- ]),
3083
- ad_group: z__namespace.string().nullable()
3084
- });
3085
3565
  z__namespace.object({
3086
3566
  ad_group: z__namespace.string().min(1),
3087
3567
  final_urls: z__namespace.array(z__namespace.url()).min(1),
@@ -3116,12 +3596,6 @@ z__namespace.object({
3116
3596
  z__namespace.object({
3117
3597
  connection_id: z__namespace.string()
3118
3598
  });
3119
- z__namespace.object({
3120
- id: z__namespace.string().nullable(),
3121
- resource_name: z__namespace.string().nullable(),
3122
- dry_run: z__namespace.boolean(),
3123
- executed: z__namespace.boolean()
3124
- });
3125
3599
  z__namespace.object({
3126
3600
  dry_run: z__namespace.boolean().optional().default(false)
3127
3601
  });
@@ -3151,28 +3625,12 @@ z__namespace.object({
3151
3625
  z__namespace.object({
3152
3626
  connection_id: z__namespace.string()
3153
3627
  });
3628
+ z__namespace.object({
3629
+ ad_group_id: z__namespace.string().regex(/^\d+$/).optional()
3630
+ });
3154
3631
  z__namespace.object({
3155
3632
  object: z__namespace.literal("list"),
3156
- data: z__namespace.array(z__namespace.object({
3157
- id: z__namespace.string(),
3158
- text: z__namespace.string().nullable(),
3159
- match_type: z__namespace.enum([
3160
- "UNSPECIFIED",
3161
- "UNKNOWN",
3162
- "EXACT",
3163
- "PHRASE",
3164
- "BROAD"
3165
- ]),
3166
- status: z__namespace.enum([
3167
- "UNSPECIFIED",
3168
- "UNKNOWN",
3169
- "ENABLED",
3170
- "PAUSED",
3171
- "REMOVED"
3172
- ]),
3173
- negative: z__namespace.boolean(),
3174
- ad_group: z__namespace.string().nullable()
3175
- }))
3633
+ data: z__namespace.array(zGoogleAdsKeyword)
3176
3634
  });
3177
3635
  z__namespace.object({
3178
3636
  ad_group: z__namespace.string().min(1),
@@ -3189,12 +3647,6 @@ z__namespace.object({
3189
3647
  z__namespace.object({
3190
3648
  connection_id: z__namespace.string()
3191
3649
  });
3192
- z__namespace.object({
3193
- id: z__namespace.string().nullable(),
3194
- resource_name: z__namespace.string().nullable(),
3195
- dry_run: z__namespace.boolean(),
3196
- executed: z__namespace.boolean()
3197
- });
3198
3650
  z__namespace.object({
3199
3651
  dry_run: z__namespace.boolean().optional().default(false)
3200
3652
  });
@@ -3202,36 +3654,10 @@ z__namespace.object({
3202
3654
  connection_id: z__namespace.string(),
3203
3655
  id: z__namespace.string().regex(/^\d+$/)
3204
3656
  });
3205
- z__namespace.object({
3206
- id: z__namespace.string(),
3207
- removed: z__namespace.boolean(),
3208
- dry_run: z__namespace.boolean(),
3209
- executed: z__namespace.boolean()
3210
- });
3211
3657
  z__namespace.object({
3212
3658
  connection_id: z__namespace.string(),
3213
3659
  id: z__namespace.string().regex(/^\d+$/)
3214
3660
  });
3215
- z__namespace.object({
3216
- id: z__namespace.string(),
3217
- text: z__namespace.string().nullable(),
3218
- match_type: z__namespace.enum([
3219
- "UNSPECIFIED",
3220
- "UNKNOWN",
3221
- "EXACT",
3222
- "PHRASE",
3223
- "BROAD"
3224
- ]),
3225
- status: z__namespace.enum([
3226
- "UNSPECIFIED",
3227
- "UNKNOWN",
3228
- "ENABLED",
3229
- "PAUSED",
3230
- "REMOVED"
3231
- ]),
3232
- negative: z__namespace.boolean(),
3233
- ad_group: z__namespace.string().nullable()
3234
- });
3235
3661
  z__namespace.object({
3236
3662
  cpc_bid_micros: z__namespace.int().gt(0).lte(9007199254740991),
3237
3663
  dry_run: z__namespace.boolean().optional().default(false)
@@ -3240,12 +3666,6 @@ z__namespace.object({
3240
3666
  connection_id: z__namespace.string(),
3241
3667
  id: z__namespace.string().regex(/^\d+$/)
3242
3668
  });
3243
- z__namespace.object({
3244
- id: z__namespace.string(),
3245
- resource_name: z__namespace.string(),
3246
- dry_run: z__namespace.boolean(),
3247
- executed: z__namespace.boolean()
3248
- });
3249
3669
  z__namespace.object({
3250
3670
  dry_run: z__namespace.boolean().optional().default(false)
3251
3671
  });
@@ -3438,12 +3858,6 @@ z__namespace.object({
3438
3858
  z__namespace.object({
3439
3859
  connection_id: z__namespace.string()
3440
3860
  });
3441
- z__namespace.object({
3442
- id: z__namespace.string().nullable(),
3443
- resource_name: z__namespace.string().nullable(),
3444
- dry_run: z__namespace.boolean(),
3445
- executed: z__namespace.boolean()
3446
- });
3447
3861
  z__namespace.object({
3448
3862
  connection_id: z__namespace.string(),
3449
3863
  id: z__namespace.string().regex(/^\d+$/)
@@ -3733,12 +4147,6 @@ z__namespace.object({
3733
4147
  z__namespace.object({
3734
4148
  connection_id: z__namespace.string()
3735
4149
  });
3736
- z__namespace.object({
3737
- id: z__namespace.string().nullable(),
3738
- resource_name: z__namespace.string().nullable(),
3739
- dry_run: z__namespace.boolean(),
3740
- executed: z__namespace.boolean()
3741
- });
3742
4150
  z__namespace.object({
3743
4151
  id: z__namespace.string()
3744
4152
  });