@postrun/js 2.17.0 → 2.18.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-LSW34R3K.js → chunk-RSCSTB6J.js} +508 -7
- package/dist/chunk-RSCSTB6J.js.map +1 -0
- package/dist/{chunk-LMZC6OUA.js → chunk-V34SBEHW.js} +158 -4
- package/dist/chunk-V34SBEHW.js.map +1 -0
- package/dist/index.cjs +669 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +83 -3
- package/dist/index.d.ts +83 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/query.cjs +3812 -0
- package/dist/query.cjs.map +1 -0
- package/dist/query.d.cts +27419 -0
- package/dist/query.d.ts +27419 -0
- package/dist/query.js +3661 -0
- package/dist/query.js.map +1 -0
- package/dist/schemas/index.cjs +533 -4
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +522 -9
- package/dist/schemas/index.d.ts +522 -9
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +505 -4
- 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-B0Bb9XYb.d.cts → types.gen-ASOPREfm.d.cts} +10028 -9688
- package/dist/{types.gen-B0Bb9XYb.d.ts → types.gen-ASOPREfm.d.ts} +10028 -9688
- package/package.json +15 -1
- package/dist/chunk-LMZC6OUA.js.map +0 -1
- package/dist/chunk-LSW34R3K.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -907,7 +907,18 @@ var zErrorCode = z__namespace.enum([
|
|
|
907
907
|
"tiktok_url_ownership_unverified",
|
|
908
908
|
"tiktok_unaudited_private_only",
|
|
909
909
|
"tiktok_spam_risk",
|
|
910
|
+
"tiktok_file_format_invalid",
|
|
911
|
+
"tiktok_duration_invalid",
|
|
912
|
+
"tiktok_frame_rate_invalid",
|
|
913
|
+
"tiktok_resolution_invalid",
|
|
914
|
+
"tiktok_media_pull_failed",
|
|
915
|
+
"tiktok_server_error",
|
|
910
916
|
"tiktok_publish_failed",
|
|
917
|
+
"google_rate_limited",
|
|
918
|
+
"google_server_error",
|
|
919
|
+
"google_auth_expired",
|
|
920
|
+
"google_permission_denied",
|
|
921
|
+
"google_request_failed",
|
|
911
922
|
"post_publish_failed",
|
|
912
923
|
"post_partially_published",
|
|
913
924
|
"connection_platform_mismatch",
|
|
@@ -2270,7 +2281,18 @@ z__namespace.object({
|
|
|
2270
2281
|
"tiktok_url_ownership_unverified",
|
|
2271
2282
|
"tiktok_unaudited_private_only",
|
|
2272
2283
|
"tiktok_spam_risk",
|
|
2284
|
+
"tiktok_file_format_invalid",
|
|
2285
|
+
"tiktok_duration_invalid",
|
|
2286
|
+
"tiktok_frame_rate_invalid",
|
|
2287
|
+
"tiktok_resolution_invalid",
|
|
2288
|
+
"tiktok_media_pull_failed",
|
|
2289
|
+
"tiktok_server_error",
|
|
2273
2290
|
"tiktok_publish_failed",
|
|
2291
|
+
"google_rate_limited",
|
|
2292
|
+
"google_server_error",
|
|
2293
|
+
"google_auth_expired",
|
|
2294
|
+
"google_permission_denied",
|
|
2295
|
+
"google_request_failed",
|
|
2274
2296
|
"post_publish_failed",
|
|
2275
2297
|
"post_partially_published",
|
|
2276
2298
|
"connection_platform_mismatch",
|
|
@@ -2520,8 +2542,8 @@ z__namespace.object({
|
|
|
2520
2542
|
"conversions"
|
|
2521
2543
|
]),
|
|
2522
2544
|
segments: z__namespace.array(z__namespace.enum(["date", "device"])).optional(),
|
|
2523
|
-
since: z__namespace.
|
|
2524
|
-
until: z__namespace.
|
|
2545
|
+
since: z__namespace.iso.date(),
|
|
2546
|
+
until: z__namespace.iso.date()
|
|
2525
2547
|
});
|
|
2526
2548
|
z__namespace.object({
|
|
2527
2549
|
connection_id: z__namespace.string()
|
|
@@ -2646,7 +2668,9 @@ z__namespace.object({
|
|
|
2646
2668
|
"TARGET_OUTRANK_SHARE",
|
|
2647
2669
|
"TARGET_ROAS",
|
|
2648
2670
|
"TARGET_SPEND"
|
|
2649
|
-
])
|
|
2671
|
+
]),
|
|
2672
|
+
start_date_time: z__namespace.string().nullable(),
|
|
2673
|
+
end_date_time: z__namespace.string().nullable()
|
|
2650
2674
|
}))
|
|
2651
2675
|
});
|
|
2652
2676
|
z__namespace.object({
|
|
@@ -2737,7 +2761,9 @@ z__namespace.object({
|
|
|
2737
2761
|
"TARGET_OUTRANK_SHARE",
|
|
2738
2762
|
"TARGET_ROAS",
|
|
2739
2763
|
"TARGET_SPEND"
|
|
2740
|
-
])
|
|
2764
|
+
]),
|
|
2765
|
+
start_date_time: z__namespace.string().nullable(),
|
|
2766
|
+
end_date_time: z__namespace.string().nullable()
|
|
2741
2767
|
});
|
|
2742
2768
|
z__namespace.object({
|
|
2743
2769
|
name: z__namespace.string().min(1).max(255),
|
|
@@ -2782,6 +2808,164 @@ z__namespace.object({
|
|
|
2782
2808
|
z__namespace.object({
|
|
2783
2809
|
connection_id: z__namespace.string()
|
|
2784
2810
|
});
|
|
2811
|
+
z__namespace.object({
|
|
2812
|
+
q: z__namespace.string().min(1),
|
|
2813
|
+
country_code: z__namespace.string().length(2).optional()
|
|
2814
|
+
});
|
|
2815
|
+
z__namespace.object({
|
|
2816
|
+
object: z__namespace.literal("list"),
|
|
2817
|
+
data: z__namespace.array(z__namespace.object({
|
|
2818
|
+
id: z__namespace.string(),
|
|
2819
|
+
resource_name: z__namespace.string().nullable(),
|
|
2820
|
+
name: z__namespace.string().nullable(),
|
|
2821
|
+
canonical_name: z__namespace.string().nullable(),
|
|
2822
|
+
country_code: z__namespace.string().nullable(),
|
|
2823
|
+
target_type: z__namespace.string().nullable(),
|
|
2824
|
+
status: z__namespace.enum([
|
|
2825
|
+
"UNSPECIFIED",
|
|
2826
|
+
"UNKNOWN",
|
|
2827
|
+
"ENABLED",
|
|
2828
|
+
"REMOVAL_PLANNED"
|
|
2829
|
+
])
|
|
2830
|
+
}))
|
|
2831
|
+
});
|
|
2832
|
+
z__namespace.object({
|
|
2833
|
+
connection_id: z__namespace.string(),
|
|
2834
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
2835
|
+
});
|
|
2836
|
+
z__namespace.object({
|
|
2837
|
+
object: z__namespace.literal("list"),
|
|
2838
|
+
data: z__namespace.array(z__namespace.union([
|
|
2839
|
+
z__namespace.object({
|
|
2840
|
+
type: z__namespace.literal("LOCATION"),
|
|
2841
|
+
criterion_id: z__namespace.string(),
|
|
2842
|
+
status: z__namespace.enum([
|
|
2843
|
+
"UNSPECIFIED",
|
|
2844
|
+
"UNKNOWN",
|
|
2845
|
+
"ENABLED",
|
|
2846
|
+
"PAUSED",
|
|
2847
|
+
"REMOVED"
|
|
2848
|
+
]),
|
|
2849
|
+
negative: z__namespace.boolean(),
|
|
2850
|
+
geo_target_constant: z__namespace.string().nullable()
|
|
2851
|
+
}),
|
|
2852
|
+
z__namespace.object({
|
|
2853
|
+
type: z__namespace.literal("LANGUAGE"),
|
|
2854
|
+
criterion_id: z__namespace.string(),
|
|
2855
|
+
status: z__namespace.enum([
|
|
2856
|
+
"UNSPECIFIED",
|
|
2857
|
+
"UNKNOWN",
|
|
2858
|
+
"ENABLED",
|
|
2859
|
+
"PAUSED",
|
|
2860
|
+
"REMOVED"
|
|
2861
|
+
]),
|
|
2862
|
+
negative: z__namespace.boolean(),
|
|
2863
|
+
language_constant: z__namespace.string().nullable()
|
|
2864
|
+
}),
|
|
2865
|
+
z__namespace.object({
|
|
2866
|
+
type: z__namespace.enum([
|
|
2867
|
+
"UNSPECIFIED",
|
|
2868
|
+
"UNKNOWN",
|
|
2869
|
+
"KEYWORD",
|
|
2870
|
+
"PLACEMENT",
|
|
2871
|
+
"MOBILE_APP_CATEGORY",
|
|
2872
|
+
"MOBILE_APPLICATION",
|
|
2873
|
+
"DEVICE",
|
|
2874
|
+
"LISTING_GROUP",
|
|
2875
|
+
"AD_SCHEDULE",
|
|
2876
|
+
"AGE_RANGE",
|
|
2877
|
+
"GENDER",
|
|
2878
|
+
"INCOME_RANGE",
|
|
2879
|
+
"PARENTAL_STATUS",
|
|
2880
|
+
"YOUTUBE_VIDEO",
|
|
2881
|
+
"YOUTUBE_CHANNEL",
|
|
2882
|
+
"USER_LIST",
|
|
2883
|
+
"PROXIMITY",
|
|
2884
|
+
"TOPIC",
|
|
2885
|
+
"LISTING_SCOPE",
|
|
2886
|
+
"IP_BLOCK",
|
|
2887
|
+
"CONTENT_LABEL",
|
|
2888
|
+
"CARRIER",
|
|
2889
|
+
"USER_INTEREST",
|
|
2890
|
+
"WEBPAGE",
|
|
2891
|
+
"OPERATING_SYSTEM_VERSION",
|
|
2892
|
+
"APP_PAYMENT_MODEL",
|
|
2893
|
+
"MOBILE_DEVICE",
|
|
2894
|
+
"CUSTOM_AFFINITY",
|
|
2895
|
+
"CUSTOM_INTENT",
|
|
2896
|
+
"LOCATION_GROUP",
|
|
2897
|
+
"CUSTOM_AUDIENCE",
|
|
2898
|
+
"COMBINED_AUDIENCE",
|
|
2899
|
+
"KEYWORD_THEME",
|
|
2900
|
+
"AUDIENCE",
|
|
2901
|
+
"NEGATIVE_KEYWORD_LIST",
|
|
2902
|
+
"LOCAL_SERVICE_ID",
|
|
2903
|
+
"SEARCH_THEME",
|
|
2904
|
+
"BRAND",
|
|
2905
|
+
"BRAND_LIST",
|
|
2906
|
+
"LIFE_EVENT",
|
|
2907
|
+
"WEBPAGE_LIST",
|
|
2908
|
+
"VIDEO_LINEUP",
|
|
2909
|
+
"PLACEMENT_LIST",
|
|
2910
|
+
"VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
|
|
2911
|
+
"VERTICAL_ADS_ITEM_GROUP_RULE"
|
|
2912
|
+
]),
|
|
2913
|
+
criterion_id: z__namespace.string()
|
|
2914
|
+
})
|
|
2915
|
+
]))
|
|
2916
|
+
});
|
|
2917
|
+
z__namespace.object({
|
|
2918
|
+
dry_run: z__namespace.boolean().optional().default(false),
|
|
2919
|
+
type: z__namespace.union([
|
|
2920
|
+
z__namespace.literal("location"),
|
|
2921
|
+
z__namespace.literal("language")
|
|
2922
|
+
]),
|
|
2923
|
+
geo_target_constant: z__namespace.string().regex(/^geoTargetConstants\/\d+$/).optional(),
|
|
2924
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
2925
|
+
language_constant: z__namespace.string().min(1).optional()
|
|
2926
|
+
});
|
|
2927
|
+
z__namespace.object({
|
|
2928
|
+
connection_id: z__namespace.string(),
|
|
2929
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
2930
|
+
});
|
|
2931
|
+
z__namespace.object({
|
|
2932
|
+
id: z__namespace.string().nullable(),
|
|
2933
|
+
resource_name: z__namespace.string().nullable(),
|
|
2934
|
+
dry_run: z__namespace.boolean(),
|
|
2935
|
+
executed: z__namespace.boolean()
|
|
2936
|
+
});
|
|
2937
|
+
z__namespace.object({
|
|
2938
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
2939
|
+
});
|
|
2940
|
+
z__namespace.object({
|
|
2941
|
+
connection_id: z__namespace.string(),
|
|
2942
|
+
campaign_id: z__namespace.string().regex(/^\d+$/),
|
|
2943
|
+
criterion_id: z__namespace.string().regex(/^\d+$/)
|
|
2944
|
+
});
|
|
2945
|
+
z__namespace.object({
|
|
2946
|
+
id: z__namespace.string(),
|
|
2947
|
+
removed: z__namespace.boolean(),
|
|
2948
|
+
dry_run: z__namespace.boolean(),
|
|
2949
|
+
executed: z__namespace.boolean()
|
|
2950
|
+
});
|
|
2951
|
+
z__namespace.object({
|
|
2952
|
+
dry_run: z__namespace.boolean().optional().default(false),
|
|
2953
|
+
positive_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional(),
|
|
2954
|
+
negative_geo_target_type: z__namespace.enum(["PRESENCE_OR_INTEREST", "PRESENCE"]).optional()
|
|
2955
|
+
});
|
|
2956
|
+
z__namespace.object({
|
|
2957
|
+
connection_id: z__namespace.string(),
|
|
2958
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
2959
|
+
});
|
|
2960
|
+
z__namespace.object({
|
|
2961
|
+
id: z__namespace.string(),
|
|
2962
|
+
resource_name: z__namespace.string(),
|
|
2963
|
+
dry_run: z__namespace.boolean(),
|
|
2964
|
+
executed: z__namespace.boolean()
|
|
2965
|
+
});
|
|
2966
|
+
z__namespace.object({
|
|
2967
|
+
connection_id: z__namespace.string()
|
|
2968
|
+
});
|
|
2785
2969
|
z__namespace.object({
|
|
2786
2970
|
object: z__namespace.literal("list"),
|
|
2787
2971
|
data: z__namespace.array(z__namespace.object({
|
|
@@ -2941,6 +3125,323 @@ z__namespace.object({
|
|
|
2941
3125
|
dry_run: z__namespace.boolean(),
|
|
2942
3126
|
executed: z__namespace.boolean()
|
|
2943
3127
|
});
|
|
3128
|
+
z__namespace.object({
|
|
3129
|
+
connection_id: z__namespace.string(),
|
|
3130
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/)
|
|
3131
|
+
});
|
|
3132
|
+
z__namespace.object({
|
|
3133
|
+
object: z__namespace.literal("list"),
|
|
3134
|
+
data: z__namespace.array(z__namespace.union([
|
|
3135
|
+
z__namespace.object({
|
|
3136
|
+
type: z__namespace.literal("AGE_RANGE"),
|
|
3137
|
+
criterion_id: z__namespace.string(),
|
|
3138
|
+
status: z__namespace.enum([
|
|
3139
|
+
"UNSPECIFIED",
|
|
3140
|
+
"UNKNOWN",
|
|
3141
|
+
"ENABLED",
|
|
3142
|
+
"PAUSED",
|
|
3143
|
+
"REMOVED"
|
|
3144
|
+
]),
|
|
3145
|
+
negative: z__namespace.boolean(),
|
|
3146
|
+
age_range: z__namespace.enum([
|
|
3147
|
+
"UNSPECIFIED",
|
|
3148
|
+
"UNKNOWN",
|
|
3149
|
+
"AGE_RANGE_18_24",
|
|
3150
|
+
"AGE_RANGE_25_34",
|
|
3151
|
+
"AGE_RANGE_35_44",
|
|
3152
|
+
"AGE_RANGE_45_54",
|
|
3153
|
+
"AGE_RANGE_55_64",
|
|
3154
|
+
"AGE_RANGE_65_UP",
|
|
3155
|
+
"AGE_RANGE_UNDETERMINED"
|
|
3156
|
+
])
|
|
3157
|
+
}),
|
|
3158
|
+
z__namespace.object({
|
|
3159
|
+
type: z__namespace.literal("GENDER"),
|
|
3160
|
+
criterion_id: z__namespace.string(),
|
|
3161
|
+
status: z__namespace.enum([
|
|
3162
|
+
"UNSPECIFIED",
|
|
3163
|
+
"UNKNOWN",
|
|
3164
|
+
"ENABLED",
|
|
3165
|
+
"PAUSED",
|
|
3166
|
+
"REMOVED"
|
|
3167
|
+
]),
|
|
3168
|
+
negative: z__namespace.boolean(),
|
|
3169
|
+
gender: z__namespace.enum([
|
|
3170
|
+
"UNSPECIFIED",
|
|
3171
|
+
"UNKNOWN",
|
|
3172
|
+
"MALE",
|
|
3173
|
+
"FEMALE",
|
|
3174
|
+
"UNDETERMINED"
|
|
3175
|
+
])
|
|
3176
|
+
}),
|
|
3177
|
+
z__namespace.object({
|
|
3178
|
+
type: z__namespace.literal("INCOME_RANGE"),
|
|
3179
|
+
criterion_id: z__namespace.string(),
|
|
3180
|
+
status: z__namespace.enum([
|
|
3181
|
+
"UNSPECIFIED",
|
|
3182
|
+
"UNKNOWN",
|
|
3183
|
+
"ENABLED",
|
|
3184
|
+
"PAUSED",
|
|
3185
|
+
"REMOVED"
|
|
3186
|
+
]),
|
|
3187
|
+
negative: z__namespace.boolean(),
|
|
3188
|
+
income_range: z__namespace.enum([
|
|
3189
|
+
"UNSPECIFIED",
|
|
3190
|
+
"UNKNOWN",
|
|
3191
|
+
"INCOME_RANGE_0_50",
|
|
3192
|
+
"INCOME_RANGE_50_60",
|
|
3193
|
+
"INCOME_RANGE_60_70",
|
|
3194
|
+
"INCOME_RANGE_70_80",
|
|
3195
|
+
"INCOME_RANGE_80_90",
|
|
3196
|
+
"INCOME_RANGE_90_UP",
|
|
3197
|
+
"INCOME_RANGE_UNDETERMINED"
|
|
3198
|
+
])
|
|
3199
|
+
}),
|
|
3200
|
+
z__namespace.object({
|
|
3201
|
+
type: z__namespace.literal("PARENTAL_STATUS"),
|
|
3202
|
+
criterion_id: z__namespace.string(),
|
|
3203
|
+
status: z__namespace.enum([
|
|
3204
|
+
"UNSPECIFIED",
|
|
3205
|
+
"UNKNOWN",
|
|
3206
|
+
"ENABLED",
|
|
3207
|
+
"PAUSED",
|
|
3208
|
+
"REMOVED"
|
|
3209
|
+
]),
|
|
3210
|
+
negative: z__namespace.boolean(),
|
|
3211
|
+
parental_status: z__namespace.enum([
|
|
3212
|
+
"UNSPECIFIED",
|
|
3213
|
+
"UNKNOWN",
|
|
3214
|
+
"PARENT",
|
|
3215
|
+
"NOT_A_PARENT",
|
|
3216
|
+
"UNDETERMINED"
|
|
3217
|
+
])
|
|
3218
|
+
}),
|
|
3219
|
+
z__namespace.object({
|
|
3220
|
+
type: z__namespace.literal("USER_LIST"),
|
|
3221
|
+
criterion_id: z__namespace.string(),
|
|
3222
|
+
status: z__namespace.enum([
|
|
3223
|
+
"UNSPECIFIED",
|
|
3224
|
+
"UNKNOWN",
|
|
3225
|
+
"ENABLED",
|
|
3226
|
+
"PAUSED",
|
|
3227
|
+
"REMOVED"
|
|
3228
|
+
]),
|
|
3229
|
+
negative: z__namespace.boolean(),
|
|
3230
|
+
user_list: z__namespace.string().nullable()
|
|
3231
|
+
}),
|
|
3232
|
+
z__namespace.object({
|
|
3233
|
+
type: z__namespace.literal("AUDIENCE"),
|
|
3234
|
+
criterion_id: z__namespace.string(),
|
|
3235
|
+
status: z__namespace.enum([
|
|
3236
|
+
"UNSPECIFIED",
|
|
3237
|
+
"UNKNOWN",
|
|
3238
|
+
"ENABLED",
|
|
3239
|
+
"PAUSED",
|
|
3240
|
+
"REMOVED"
|
|
3241
|
+
]),
|
|
3242
|
+
negative: z__namespace.boolean(),
|
|
3243
|
+
audience: z__namespace.string().nullable()
|
|
3244
|
+
}),
|
|
3245
|
+
z__namespace.object({
|
|
3246
|
+
type: z__namespace.literal("CUSTOM_AUDIENCE"),
|
|
3247
|
+
criterion_id: z__namespace.string(),
|
|
3248
|
+
status: z__namespace.enum([
|
|
3249
|
+
"UNSPECIFIED",
|
|
3250
|
+
"UNKNOWN",
|
|
3251
|
+
"ENABLED",
|
|
3252
|
+
"PAUSED",
|
|
3253
|
+
"REMOVED"
|
|
3254
|
+
]),
|
|
3255
|
+
negative: z__namespace.boolean(),
|
|
3256
|
+
custom_audience: z__namespace.string().nullable()
|
|
3257
|
+
}),
|
|
3258
|
+
z__namespace.object({
|
|
3259
|
+
type: z__namespace.enum([
|
|
3260
|
+
"UNSPECIFIED",
|
|
3261
|
+
"UNKNOWN",
|
|
3262
|
+
"KEYWORD",
|
|
3263
|
+
"PLACEMENT",
|
|
3264
|
+
"MOBILE_APP_CATEGORY",
|
|
3265
|
+
"MOBILE_APPLICATION",
|
|
3266
|
+
"DEVICE",
|
|
3267
|
+
"LOCATION",
|
|
3268
|
+
"LISTING_GROUP",
|
|
3269
|
+
"AD_SCHEDULE",
|
|
3270
|
+
"YOUTUBE_VIDEO",
|
|
3271
|
+
"YOUTUBE_CHANNEL",
|
|
3272
|
+
"PROXIMITY",
|
|
3273
|
+
"TOPIC",
|
|
3274
|
+
"LISTING_SCOPE",
|
|
3275
|
+
"LANGUAGE",
|
|
3276
|
+
"IP_BLOCK",
|
|
3277
|
+
"CONTENT_LABEL",
|
|
3278
|
+
"CARRIER",
|
|
3279
|
+
"USER_INTEREST",
|
|
3280
|
+
"WEBPAGE",
|
|
3281
|
+
"OPERATING_SYSTEM_VERSION",
|
|
3282
|
+
"APP_PAYMENT_MODEL",
|
|
3283
|
+
"MOBILE_DEVICE",
|
|
3284
|
+
"CUSTOM_AFFINITY",
|
|
3285
|
+
"CUSTOM_INTENT",
|
|
3286
|
+
"LOCATION_GROUP",
|
|
3287
|
+
"COMBINED_AUDIENCE",
|
|
3288
|
+
"KEYWORD_THEME",
|
|
3289
|
+
"NEGATIVE_KEYWORD_LIST",
|
|
3290
|
+
"LOCAL_SERVICE_ID",
|
|
3291
|
+
"SEARCH_THEME",
|
|
3292
|
+
"BRAND",
|
|
3293
|
+
"BRAND_LIST",
|
|
3294
|
+
"LIFE_EVENT",
|
|
3295
|
+
"WEBPAGE_LIST",
|
|
3296
|
+
"VIDEO_LINEUP",
|
|
3297
|
+
"PLACEMENT_LIST",
|
|
3298
|
+
"VERTICAL_ADS_ITEM_GROUP_RULE_LIST",
|
|
3299
|
+
"VERTICAL_ADS_ITEM_GROUP_RULE"
|
|
3300
|
+
]),
|
|
3301
|
+
criterion_id: z__namespace.string()
|
|
3302
|
+
})
|
|
3303
|
+
]))
|
|
3304
|
+
});
|
|
3305
|
+
z__namespace.object({
|
|
3306
|
+
dry_run: z__namespace.boolean().optional().default(false),
|
|
3307
|
+
type: z__namespace.union([
|
|
3308
|
+
z__namespace.literal("age_range"),
|
|
3309
|
+
z__namespace.literal("gender"),
|
|
3310
|
+
z__namespace.literal("income_range"),
|
|
3311
|
+
z__namespace.literal("parental_status"),
|
|
3312
|
+
z__namespace.literal("user_list"),
|
|
3313
|
+
z__namespace.literal("audience"),
|
|
3314
|
+
z__namespace.literal("custom_audience")
|
|
3315
|
+
]),
|
|
3316
|
+
age_range: z__namespace.enum([
|
|
3317
|
+
"AGE_RANGE_18_24",
|
|
3318
|
+
"AGE_RANGE_25_34",
|
|
3319
|
+
"AGE_RANGE_35_44",
|
|
3320
|
+
"AGE_RANGE_45_54",
|
|
3321
|
+
"AGE_RANGE_55_64",
|
|
3322
|
+
"AGE_RANGE_65_UP",
|
|
3323
|
+
"AGE_RANGE_UNDETERMINED"
|
|
3324
|
+
]).optional(),
|
|
3325
|
+
negative: z__namespace.boolean().optional().default(false),
|
|
3326
|
+
gender: z__namespace.enum([
|
|
3327
|
+
"MALE",
|
|
3328
|
+
"FEMALE",
|
|
3329
|
+
"UNDETERMINED"
|
|
3330
|
+
]).optional(),
|
|
3331
|
+
income_range: z__namespace.enum([
|
|
3332
|
+
"INCOME_RANGE_0_50",
|
|
3333
|
+
"INCOME_RANGE_50_60",
|
|
3334
|
+
"INCOME_RANGE_60_70",
|
|
3335
|
+
"INCOME_RANGE_70_80",
|
|
3336
|
+
"INCOME_RANGE_80_90",
|
|
3337
|
+
"INCOME_RANGE_90_UP",
|
|
3338
|
+
"INCOME_RANGE_UNDETERMINED"
|
|
3339
|
+
]).optional(),
|
|
3340
|
+
parental_status: z__namespace.enum([
|
|
3341
|
+
"PARENT",
|
|
3342
|
+
"NOT_A_PARENT",
|
|
3343
|
+
"UNDETERMINED"
|
|
3344
|
+
]).optional(),
|
|
3345
|
+
user_list: z__namespace.string().regex(/^customers\/\d+\/userLists\/\d+$/).optional(),
|
|
3346
|
+
audience: z__namespace.string().regex(/^customers\/\d+\/audiences\/\d+$/).optional(),
|
|
3347
|
+
custom_audience: z__namespace.string().regex(/^customers\/\d+\/customAudiences\/\d+$/).optional()
|
|
3348
|
+
});
|
|
3349
|
+
z__namespace.object({
|
|
3350
|
+
connection_id: z__namespace.string(),
|
|
3351
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/)
|
|
3352
|
+
});
|
|
3353
|
+
z__namespace.object({
|
|
3354
|
+
id: z__namespace.string().nullable(),
|
|
3355
|
+
resource_name: z__namespace.string().nullable(),
|
|
3356
|
+
dry_run: z__namespace.boolean(),
|
|
3357
|
+
executed: z__namespace.boolean()
|
|
3358
|
+
});
|
|
3359
|
+
z__namespace.object({
|
|
3360
|
+
dry_run: z__namespace.boolean().optional().default(false)
|
|
3361
|
+
});
|
|
3362
|
+
z__namespace.object({
|
|
3363
|
+
connection_id: z__namespace.string(),
|
|
3364
|
+
ad_group_id: z__namespace.string().regex(/^\d+$/),
|
|
3365
|
+
criterion_id: z__namespace.string().regex(/^\d+$/)
|
|
3366
|
+
});
|
|
3367
|
+
z__namespace.object({
|
|
3368
|
+
id: z__namespace.string(),
|
|
3369
|
+
removed: z__namespace.boolean(),
|
|
3370
|
+
dry_run: z__namespace.boolean(),
|
|
3371
|
+
executed: z__namespace.boolean()
|
|
3372
|
+
});
|
|
3373
|
+
z__namespace.object({
|
|
3374
|
+
connection_id: z__namespace.string()
|
|
3375
|
+
});
|
|
3376
|
+
z__namespace.object({
|
|
3377
|
+
q: z__namespace.string().min(1).optional(),
|
|
3378
|
+
kind: z__namespace.enum([
|
|
3379
|
+
"user_list",
|
|
3380
|
+
"audience",
|
|
3381
|
+
"custom_audience"
|
|
3382
|
+
]).optional()
|
|
3383
|
+
});
|
|
3384
|
+
z__namespace.object({
|
|
3385
|
+
object: z__namespace.literal("list"),
|
|
3386
|
+
data: z__namespace.array(z__namespace.union([z__namespace.object({
|
|
3387
|
+
kind: z__namespace.literal("user_list"),
|
|
3388
|
+
id: z__namespace.string(),
|
|
3389
|
+
resource_name: z__namespace.string(),
|
|
3390
|
+
name: z__namespace.string().nullable(),
|
|
3391
|
+
type: z__namespace.enum([
|
|
3392
|
+
"UNSPECIFIED",
|
|
3393
|
+
"UNKNOWN",
|
|
3394
|
+
"REMARKETING",
|
|
3395
|
+
"LOGICAL",
|
|
3396
|
+
"EXTERNAL_REMARKETING",
|
|
3397
|
+
"RULE_BASED",
|
|
3398
|
+
"SIMILAR",
|
|
3399
|
+
"CRM_BASED",
|
|
3400
|
+
"LOOKALIKE"
|
|
3401
|
+
]),
|
|
3402
|
+
membership_status: z__namespace.enum([
|
|
3403
|
+
"UNSPECIFIED",
|
|
3404
|
+
"UNKNOWN",
|
|
3405
|
+
"OPEN",
|
|
3406
|
+
"CLOSED"
|
|
3407
|
+
])
|
|
3408
|
+
}), z__namespace.object({
|
|
3409
|
+
kind: z__namespace.literal("audience"),
|
|
3410
|
+
id: z__namespace.string(),
|
|
3411
|
+
resource_name: z__namespace.string(),
|
|
3412
|
+
name: z__namespace.string().nullable(),
|
|
3413
|
+
status: z__namespace.enum([
|
|
3414
|
+
"UNSPECIFIED",
|
|
3415
|
+
"UNKNOWN",
|
|
3416
|
+
"ENABLED",
|
|
3417
|
+
"REMOVED"
|
|
3418
|
+
])
|
|
3419
|
+
})]))
|
|
3420
|
+
});
|
|
3421
|
+
z__namespace.object({
|
|
3422
|
+
dry_run: z__namespace.boolean().optional().default(false),
|
|
3423
|
+
targeting_dimension: z__namespace.enum([
|
|
3424
|
+
"KEYWORD",
|
|
3425
|
+
"AUDIENCE",
|
|
3426
|
+
"TOPIC",
|
|
3427
|
+
"GENDER",
|
|
3428
|
+
"AGE_RANGE",
|
|
3429
|
+
"PLACEMENT",
|
|
3430
|
+
"PARENTAL_STATUS",
|
|
3431
|
+
"INCOME_RANGE"
|
|
3432
|
+
]),
|
|
3433
|
+
bid_only: z__namespace.boolean()
|
|
3434
|
+
});
|
|
3435
|
+
z__namespace.object({
|
|
3436
|
+
connection_id: z__namespace.string(),
|
|
3437
|
+
campaign_id: z__namespace.string().regex(/^\d+$/)
|
|
3438
|
+
});
|
|
3439
|
+
z__namespace.object({
|
|
3440
|
+
id: z__namespace.string(),
|
|
3441
|
+
resource_name: z__namespace.string(),
|
|
3442
|
+
dry_run: z__namespace.boolean(),
|
|
3443
|
+
executed: z__namespace.boolean()
|
|
3444
|
+
});
|
|
2944
3445
|
z__namespace.object({
|
|
2945
3446
|
connection_id: z__namespace.string()
|
|
2946
3447
|
});
|
|
@@ -4836,6 +5337,83 @@ var googleEnableCampaign = (options) => (options.client ?? client).post({
|
|
|
4836
5337
|
...options.headers
|
|
4837
5338
|
}
|
|
4838
5339
|
});
|
|
5340
|
+
var googleSearchGeoTargets = (options) => (options.client ?? client).get({
|
|
5341
|
+
security: [{
|
|
5342
|
+
key: "secretKey",
|
|
5343
|
+
scheme: "bearer",
|
|
5344
|
+
type: "http"
|
|
5345
|
+
}, {
|
|
5346
|
+
key: "frontendToken",
|
|
5347
|
+
scheme: "bearer",
|
|
5348
|
+
type: "http"
|
|
5349
|
+
}],
|
|
5350
|
+
url: "/google/{connection_id}/geo-targets/search",
|
|
5351
|
+
...options
|
|
5352
|
+
});
|
|
5353
|
+
var googleListCampaignCriteria = (options) => (options.client ?? client).get({
|
|
5354
|
+
security: [{
|
|
5355
|
+
key: "secretKey",
|
|
5356
|
+
scheme: "bearer",
|
|
5357
|
+
type: "http"
|
|
5358
|
+
}, {
|
|
5359
|
+
key: "frontendToken",
|
|
5360
|
+
scheme: "bearer",
|
|
5361
|
+
type: "http"
|
|
5362
|
+
}],
|
|
5363
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
|
|
5364
|
+
...options
|
|
5365
|
+
});
|
|
5366
|
+
var googleCreateCampaignCriterion = (options) => (options.client ?? client).post({
|
|
5367
|
+
security: [{
|
|
5368
|
+
key: "secretKey",
|
|
5369
|
+
scheme: "bearer",
|
|
5370
|
+
type: "http"
|
|
5371
|
+
}, {
|
|
5372
|
+
key: "frontendToken",
|
|
5373
|
+
scheme: "bearer",
|
|
5374
|
+
type: "http"
|
|
5375
|
+
}],
|
|
5376
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria",
|
|
5377
|
+
...options,
|
|
5378
|
+
headers: {
|
|
5379
|
+
"Content-Type": "application/json",
|
|
5380
|
+
...options.headers
|
|
5381
|
+
}
|
|
5382
|
+
});
|
|
5383
|
+
var googleDeleteCampaignCriterion = (options) => (options.client ?? client).delete({
|
|
5384
|
+
security: [{
|
|
5385
|
+
key: "secretKey",
|
|
5386
|
+
scheme: "bearer",
|
|
5387
|
+
type: "http"
|
|
5388
|
+
}, {
|
|
5389
|
+
key: "frontendToken",
|
|
5390
|
+
scheme: "bearer",
|
|
5391
|
+
type: "http"
|
|
5392
|
+
}],
|
|
5393
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}",
|
|
5394
|
+
...options,
|
|
5395
|
+
headers: {
|
|
5396
|
+
"Content-Type": "application/json",
|
|
5397
|
+
...options.headers
|
|
5398
|
+
}
|
|
5399
|
+
});
|
|
5400
|
+
var googleSetCampaignGeoSettings = (options) => (options.client ?? client).patch({
|
|
5401
|
+
security: [{
|
|
5402
|
+
key: "secretKey",
|
|
5403
|
+
scheme: "bearer",
|
|
5404
|
+
type: "http"
|
|
5405
|
+
}, {
|
|
5406
|
+
key: "frontendToken",
|
|
5407
|
+
scheme: "bearer",
|
|
5408
|
+
type: "http"
|
|
5409
|
+
}],
|
|
5410
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/geo-settings",
|
|
5411
|
+
...options,
|
|
5412
|
+
headers: {
|
|
5413
|
+
"Content-Type": "application/json",
|
|
5414
|
+
...options.headers
|
|
5415
|
+
}
|
|
5416
|
+
});
|
|
4839
5417
|
var googleListAdGroups = (options) => (options.client ?? client).get({
|
|
4840
5418
|
security: [{
|
|
4841
5419
|
key: "secretKey",
|
|
@@ -4960,6 +5538,83 @@ var googleEnableAdGroup = (options) => (options.client ?? client).post({
|
|
|
4960
5538
|
...options.headers
|
|
4961
5539
|
}
|
|
4962
5540
|
});
|
|
5541
|
+
var googleListAdGroupCriteria = (options) => (options.client ?? client).get({
|
|
5542
|
+
security: [{
|
|
5543
|
+
key: "secretKey",
|
|
5544
|
+
scheme: "bearer",
|
|
5545
|
+
type: "http"
|
|
5546
|
+
}, {
|
|
5547
|
+
key: "frontendToken",
|
|
5548
|
+
scheme: "bearer",
|
|
5549
|
+
type: "http"
|
|
5550
|
+
}],
|
|
5551
|
+
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
|
|
5552
|
+
...options
|
|
5553
|
+
});
|
|
5554
|
+
var googleCreateAdGroupCriterion = (options) => (options.client ?? client).post({
|
|
5555
|
+
security: [{
|
|
5556
|
+
key: "secretKey",
|
|
5557
|
+
scheme: "bearer",
|
|
5558
|
+
type: "http"
|
|
5559
|
+
}, {
|
|
5560
|
+
key: "frontendToken",
|
|
5561
|
+
scheme: "bearer",
|
|
5562
|
+
type: "http"
|
|
5563
|
+
}],
|
|
5564
|
+
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria",
|
|
5565
|
+
...options,
|
|
5566
|
+
headers: {
|
|
5567
|
+
"Content-Type": "application/json",
|
|
5568
|
+
...options.headers
|
|
5569
|
+
}
|
|
5570
|
+
});
|
|
5571
|
+
var googleDeleteAdGroupCriterion = (options) => (options.client ?? client).delete({
|
|
5572
|
+
security: [{
|
|
5573
|
+
key: "secretKey",
|
|
5574
|
+
scheme: "bearer",
|
|
5575
|
+
type: "http"
|
|
5576
|
+
}, {
|
|
5577
|
+
key: "frontendToken",
|
|
5578
|
+
scheme: "bearer",
|
|
5579
|
+
type: "http"
|
|
5580
|
+
}],
|
|
5581
|
+
url: "/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}",
|
|
5582
|
+
...options,
|
|
5583
|
+
headers: {
|
|
5584
|
+
"Content-Type": "application/json",
|
|
5585
|
+
...options.headers
|
|
5586
|
+
}
|
|
5587
|
+
});
|
|
5588
|
+
var googleListAudiences = (options) => (options.client ?? client).get({
|
|
5589
|
+
security: [{
|
|
5590
|
+
key: "secretKey",
|
|
5591
|
+
scheme: "bearer",
|
|
5592
|
+
type: "http"
|
|
5593
|
+
}, {
|
|
5594
|
+
key: "frontendToken",
|
|
5595
|
+
scheme: "bearer",
|
|
5596
|
+
type: "http"
|
|
5597
|
+
}],
|
|
5598
|
+
url: "/google/{connection_id}/audiences",
|
|
5599
|
+
...options
|
|
5600
|
+
});
|
|
5601
|
+
var googleSetCampaignTargetingSetting = (options) => (options.client ?? client).patch({
|
|
5602
|
+
security: [{
|
|
5603
|
+
key: "secretKey",
|
|
5604
|
+
scheme: "bearer",
|
|
5605
|
+
type: "http"
|
|
5606
|
+
}, {
|
|
5607
|
+
key: "frontendToken",
|
|
5608
|
+
scheme: "bearer",
|
|
5609
|
+
type: "http"
|
|
5610
|
+
}],
|
|
5611
|
+
url: "/google/{connection_id}/campaigns/{campaign_id}/targeting-setting",
|
|
5612
|
+
...options,
|
|
5613
|
+
headers: {
|
|
5614
|
+
"Content-Type": "application/json",
|
|
5615
|
+
...options.headers
|
|
5616
|
+
}
|
|
5617
|
+
});
|
|
4963
5618
|
var googleListAds = (options) => (options.client ?? client).get({
|
|
4964
5619
|
security: [{
|
|
4965
5620
|
key: "secretKey",
|
|
@@ -5904,15 +6559,19 @@ exports.defaultTikTokOptions = defaultTikTokOptions;
|
|
|
5904
6559
|
exports.failedVariants = failedVariants;
|
|
5905
6560
|
exports.googleCreateAd = googleCreateAd;
|
|
5906
6561
|
exports.googleCreateAdGroup = googleCreateAdGroup;
|
|
6562
|
+
exports.googleCreateAdGroupCriterion = googleCreateAdGroupCriterion;
|
|
5907
6563
|
exports.googleCreateBudget = googleCreateBudget;
|
|
5908
6564
|
exports.googleCreateCampaign = googleCreateCampaign;
|
|
6565
|
+
exports.googleCreateCampaignCriterion = googleCreateCampaignCriterion;
|
|
5909
6566
|
exports.googleCreateConversionAction = googleCreateConversionAction;
|
|
5910
6567
|
exports.googleCreateDisplayAd = googleCreateDisplayAd;
|
|
5911
6568
|
exports.googleCreateKeyword = googleCreateKeyword;
|
|
5912
6569
|
exports.googleDeleteAd = googleDeleteAd;
|
|
5913
6570
|
exports.googleDeleteAdGroup = googleDeleteAdGroup;
|
|
6571
|
+
exports.googleDeleteAdGroupCriterion = googleDeleteAdGroupCriterion;
|
|
5914
6572
|
exports.googleDeleteBudget = googleDeleteBudget;
|
|
5915
6573
|
exports.googleDeleteCampaign = googleDeleteCampaign;
|
|
6574
|
+
exports.googleDeleteCampaignCriterion = googleDeleteCampaignCriterion;
|
|
5916
6575
|
exports.googleDeleteKeyword = googleDeleteKeyword;
|
|
5917
6576
|
exports.googleEditAdGroup = googleEditAdGroup;
|
|
5918
6577
|
exports.googleEditBudget = googleEditBudget;
|
|
@@ -5928,8 +6587,11 @@ exports.googleGetCampaign = googleGetCampaign;
|
|
|
5928
6587
|
exports.googleGetConversionAction = googleGetConversionAction;
|
|
5929
6588
|
exports.googleGetInsights = googleGetInsights;
|
|
5930
6589
|
exports.googleGetKeyword = googleGetKeyword;
|
|
6590
|
+
exports.googleListAdGroupCriteria = googleListAdGroupCriteria;
|
|
5931
6591
|
exports.googleListAdGroups = googleListAdGroups;
|
|
5932
6592
|
exports.googleListAds = googleListAds;
|
|
6593
|
+
exports.googleListAudiences = googleListAudiences;
|
|
6594
|
+
exports.googleListCampaignCriteria = googleListCampaignCriteria;
|
|
5933
6595
|
exports.googleListCampaigns = googleListCampaigns;
|
|
5934
6596
|
exports.googleListConversionActions = googleListConversionActions;
|
|
5935
6597
|
exports.googleListConversionGoals = googleListConversionGoals;
|
|
@@ -5939,7 +6601,10 @@ exports.googlePauseAdGroup = googlePauseAdGroup;
|
|
|
5939
6601
|
exports.googlePauseCampaign = googlePauseCampaign;
|
|
5940
6602
|
exports.googlePauseKeyword = googlePauseKeyword;
|
|
5941
6603
|
exports.googleRunGaql = googleRunGaql;
|
|
6604
|
+
exports.googleSearchGeoTargets = googleSearchGeoTargets;
|
|
5942
6605
|
exports.googleSetAdGroupBids = googleSetAdGroupBids;
|
|
6606
|
+
exports.googleSetCampaignGeoSettings = googleSetCampaignGeoSettings;
|
|
6607
|
+
exports.googleSetCampaignTargetingSetting = googleSetCampaignTargetingSetting;
|
|
5943
6608
|
exports.googleSetConversionGoal = googleSetConversionGoal;
|
|
5944
6609
|
exports.googleSetKeywordBid = googleSetKeywordBid;
|
|
5945
6610
|
exports.googleUploadConversions = googleUploadConversions;
|