@postrun/js 2.21.0 → 2.23.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-Z24YOZBU.js → chunk-ENKRNIUY.js} +44 -14
- package/dist/chunk-ENKRNIUY.js.map +1 -0
- package/dist/{chunk-B3QMJNLV.js → chunk-K3UUBD7Z.js} +1448 -76
- package/dist/chunk-K3UUBD7Z.js.map +1 -0
- package/dist/index.cjs +1485 -84
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +28 -12
- package/dist/index.d.ts +28 -12
- package/dist/index.js +3 -3
- package/dist/query.cjs +83 -24
- package/dist/query.cjs.map +1 -1
- package/dist/query.d.cts +2445 -1706
- package/dist/query.d.ts +2445 -1706
- package/dist/query.js +80 -24
- package/dist/query.js.map +1 -1
- package/dist/schemas/index.cjs +1464 -77
- package/dist/schemas/index.cjs.map +1 -1
- package/dist/schemas/index.d.cts +5143 -258
- package/dist/schemas/index.d.ts +5143 -258
- package/dist/schemas/index.js +1 -1
- package/dist/server.cjs +1442 -73
- 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-DebHd_dS.d.cts → types.gen-BKyrVtiG.d.cts} +1972 -1287
- package/dist/{types.gen-DebHd_dS.d.ts → types.gen-BKyrVtiG.d.ts} +1972 -1287
- package/package.json +1 -1
- package/dist/chunk-B3QMJNLV.js.map +0 -1
- package/dist/chunk-Z24YOZBU.js.map +0 -1
|
@@ -361,7 +361,7 @@ type ClientOptions = {
|
|
|
361
361
|
*
|
|
362
362
|
* The closed set of machine-readable Postrun error codes. Branch on this. Each links to https://docs.postrun.ai/errors/<code>.
|
|
363
363
|
*/
|
|
364
|
-
type ErrorCode = 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
364
|
+
type ErrorCode = 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
365
365
|
type Media = {
|
|
366
366
|
id: string;
|
|
367
367
|
object: 'media';
|
|
@@ -663,7 +663,7 @@ type PostVariant = {
|
|
|
663
663
|
published_at: string;
|
|
664
664
|
} | null;
|
|
665
665
|
error: {
|
|
666
|
-
code:
|
|
666
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
667
667
|
message: string;
|
|
668
668
|
/**
|
|
669
669
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade; this is the display string.
|
|
@@ -676,12 +676,6 @@ type PostVariant = {
|
|
|
676
676
|
* Ordering of this media within the variant (e.g. carousel order).
|
|
677
677
|
*/
|
|
678
678
|
position: number;
|
|
679
|
-
/**
|
|
680
|
-
* Per-variant crop, applied at publish; null = none.
|
|
681
|
-
*/
|
|
682
|
-
crop_box: {
|
|
683
|
-
[key: string]: unknown;
|
|
684
|
-
} | null;
|
|
685
679
|
/**
|
|
686
680
|
* Per-variant alt text; falls back to the asset’s alt_text.
|
|
687
681
|
*/
|
|
@@ -790,7 +784,7 @@ type PostVariant = {
|
|
|
790
784
|
published_at: string;
|
|
791
785
|
} | null;
|
|
792
786
|
error: {
|
|
793
|
-
code:
|
|
787
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
794
788
|
message: string;
|
|
795
789
|
/**
|
|
796
790
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade; this is the display string.
|
|
@@ -803,12 +797,6 @@ type PostVariant = {
|
|
|
803
797
|
* Ordering of this media within the variant (e.g. carousel order).
|
|
804
798
|
*/
|
|
805
799
|
position: number;
|
|
806
|
-
/**
|
|
807
|
-
* Per-variant crop, applied at publish; null = none.
|
|
808
|
-
*/
|
|
809
|
-
crop_box: {
|
|
810
|
-
[key: string]: unknown;
|
|
811
|
-
} | null;
|
|
812
800
|
/**
|
|
813
801
|
* Per-variant alt text; falls back to the asset’s alt_text.
|
|
814
802
|
*/
|
|
@@ -845,7 +833,7 @@ type PostVariant = {
|
|
|
845
833
|
published_at: string;
|
|
846
834
|
} | null;
|
|
847
835
|
error: {
|
|
848
|
-
code:
|
|
836
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
849
837
|
message: string;
|
|
850
838
|
/**
|
|
851
839
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade; this is the display string.
|
|
@@ -858,12 +846,6 @@ type PostVariant = {
|
|
|
858
846
|
* Ordering of this media within the variant (e.g. carousel order).
|
|
859
847
|
*/
|
|
860
848
|
position: number;
|
|
861
|
-
/**
|
|
862
|
-
* Per-variant crop, applied at publish; null = none.
|
|
863
|
-
*/
|
|
864
|
-
crop_box: {
|
|
865
|
-
[key: string]: unknown;
|
|
866
|
-
} | null;
|
|
867
849
|
/**
|
|
868
850
|
* Per-variant alt text; falls back to the asset’s alt_text.
|
|
869
851
|
*/
|
|
@@ -941,7 +923,7 @@ type PostVariant = {
|
|
|
941
923
|
published_at: string;
|
|
942
924
|
} | null;
|
|
943
925
|
error: {
|
|
944
|
-
code:
|
|
926
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
945
927
|
message: string;
|
|
946
928
|
/**
|
|
947
929
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade; this is the display string.
|
|
@@ -954,12 +936,6 @@ type PostVariant = {
|
|
|
954
936
|
* Ordering of this media within the variant (e.g. carousel order).
|
|
955
937
|
*/
|
|
956
938
|
position: number;
|
|
957
|
-
/**
|
|
958
|
-
* Per-variant crop, applied at publish; null = none.
|
|
959
|
-
*/
|
|
960
|
-
crop_box: {
|
|
961
|
-
[key: string]: unknown;
|
|
962
|
-
} | null;
|
|
963
939
|
/**
|
|
964
940
|
* Per-variant alt text; falls back to the asset’s alt_text.
|
|
965
941
|
*/
|
|
@@ -1032,7 +1008,7 @@ type PostVariant = {
|
|
|
1032
1008
|
published_at: string;
|
|
1033
1009
|
} | null;
|
|
1034
1010
|
error: {
|
|
1035
|
-
code:
|
|
1011
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
1036
1012
|
message: string;
|
|
1037
1013
|
/**
|
|
1038
1014
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade; this is the display string.
|
|
@@ -1045,12 +1021,6 @@ type PostVariant = {
|
|
|
1045
1021
|
* Ordering of this media within the variant (e.g. carousel order).
|
|
1046
1022
|
*/
|
|
1047
1023
|
position: number;
|
|
1048
|
-
/**
|
|
1049
|
-
* Per-variant crop, applied at publish; null = none.
|
|
1050
|
-
*/
|
|
1051
|
-
crop_box: {
|
|
1052
|
-
[key: string]: unknown;
|
|
1053
|
-
} | null;
|
|
1054
1024
|
/**
|
|
1055
1025
|
* Per-variant alt text; falls back to the asset’s alt_text.
|
|
1056
1026
|
*/
|
|
@@ -1259,12 +1229,6 @@ type PostVariantInput = {
|
|
|
1259
1229
|
*/
|
|
1260
1230
|
media?: Array<{
|
|
1261
1231
|
media_id: string;
|
|
1262
|
-
/**
|
|
1263
|
-
* Per-variant crop applied at publish; omit for none.
|
|
1264
|
-
*/
|
|
1265
|
-
crop_box?: {
|
|
1266
|
-
[key: string]: unknown;
|
|
1267
|
-
} | null;
|
|
1268
1232
|
/**
|
|
1269
1233
|
* Per-variant alt text; falls back to the asset's.
|
|
1270
1234
|
*/
|
|
@@ -1367,12 +1331,6 @@ type PostVariantInput = {
|
|
|
1367
1331
|
*/
|
|
1368
1332
|
media?: Array<{
|
|
1369
1333
|
media_id: string;
|
|
1370
|
-
/**
|
|
1371
|
-
* Per-variant crop applied at publish; omit for none.
|
|
1372
|
-
*/
|
|
1373
|
-
crop_box?: {
|
|
1374
|
-
[key: string]: unknown;
|
|
1375
|
-
} | null;
|
|
1376
1334
|
/**
|
|
1377
1335
|
* Per-variant alt text; falls back to the asset's.
|
|
1378
1336
|
*/
|
|
@@ -1444,12 +1402,6 @@ type PostVariantInput = {
|
|
|
1444
1402
|
*/
|
|
1445
1403
|
media?: Array<{
|
|
1446
1404
|
media_id: string;
|
|
1447
|
-
/**
|
|
1448
|
-
* Per-variant crop applied at publish; omit for none.
|
|
1449
|
-
*/
|
|
1450
|
-
crop_box?: {
|
|
1451
|
-
[key: string]: unknown;
|
|
1452
|
-
} | null;
|
|
1453
1405
|
/**
|
|
1454
1406
|
* Per-variant alt text; falls back to the asset's.
|
|
1455
1407
|
*/
|
|
@@ -1480,12 +1432,6 @@ type PostVariantInput = {
|
|
|
1480
1432
|
*/
|
|
1481
1433
|
media?: Array<{
|
|
1482
1434
|
media_id: string;
|
|
1483
|
-
/**
|
|
1484
|
-
* Per-variant crop applied at publish; omit for none.
|
|
1485
|
-
*/
|
|
1486
|
-
crop_box?: {
|
|
1487
|
-
[key: string]: unknown;
|
|
1488
|
-
} | null;
|
|
1489
1435
|
/**
|
|
1490
1436
|
* Per-variant alt text; falls back to the asset's.
|
|
1491
1437
|
*/
|
|
@@ -1552,12 +1498,6 @@ type PostVariantInput = {
|
|
|
1552
1498
|
*/
|
|
1553
1499
|
media?: Array<{
|
|
1554
1500
|
media_id: string;
|
|
1555
|
-
/**
|
|
1556
|
-
* Per-variant crop applied at publish; omit for none.
|
|
1557
|
-
*/
|
|
1558
|
-
crop_box?: {
|
|
1559
|
-
[key: string]: unknown;
|
|
1560
|
-
} | null;
|
|
1561
1501
|
/**
|
|
1562
1502
|
* Per-variant alt text; falls back to the asset's.
|
|
1563
1503
|
*/
|
|
@@ -1676,7 +1616,7 @@ type GoogleAdsCampaignCriterion = {
|
|
|
1676
1616
|
negative: boolean;
|
|
1677
1617
|
language_constant: string | null;
|
|
1678
1618
|
} | {
|
|
1679
|
-
type: 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'AGE_RANGE' | 'GENDER' | 'INCOME_RANGE' | 'PARENTAL_STATUS' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'USER_LIST' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'CUSTOM_AUDIENCE' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'AUDIENCE' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE';
|
|
1619
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'AGE_RANGE' | 'GENDER' | 'INCOME_RANGE' | 'PARENTAL_STATUS' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'USER_LIST' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'CUSTOM_AUDIENCE' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'AUDIENCE' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE' | 'RETAIL_FILTER_BUNDLE' | 'RETAIL_FILTER';
|
|
1680
1620
|
criterion_id: string;
|
|
1681
1621
|
};
|
|
1682
1622
|
/**
|
|
@@ -1725,7 +1665,7 @@ type GoogleAdsAdGroupCriterion = {
|
|
|
1725
1665
|
negative: boolean;
|
|
1726
1666
|
custom_audience: string | null;
|
|
1727
1667
|
} | {
|
|
1728
|
-
type: 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LOCATION' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'LANGUAGE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE';
|
|
1668
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'KEYWORD' | 'PLACEMENT' | 'MOBILE_APP_CATEGORY' | 'MOBILE_APPLICATION' | 'DEVICE' | 'LOCATION' | 'LISTING_GROUP' | 'AD_SCHEDULE' | 'YOUTUBE_VIDEO' | 'YOUTUBE_CHANNEL' | 'PROXIMITY' | 'TOPIC' | 'LISTING_SCOPE' | 'LANGUAGE' | 'IP_BLOCK' | 'CONTENT_LABEL' | 'CARRIER' | 'USER_INTEREST' | 'WEBPAGE' | 'OPERATING_SYSTEM_VERSION' | 'APP_PAYMENT_MODEL' | 'MOBILE_DEVICE' | 'CUSTOM_AFFINITY' | 'CUSTOM_INTENT' | 'LOCATION_GROUP' | 'COMBINED_AUDIENCE' | 'KEYWORD_THEME' | 'NEGATIVE_KEYWORD_LIST' | 'LOCAL_SERVICE_ID' | 'SEARCH_THEME' | 'BRAND' | 'BRAND_LIST' | 'LIFE_EVENT' | 'WEBPAGE_LIST' | 'VIDEO_LINEUP' | 'PLACEMENT_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE_LIST' | 'VERTICAL_ADS_ITEM_GROUP_RULE' | 'RETAIL_FILTER_BUNDLE' | 'RETAIL_FILTER';
|
|
1729
1669
|
criterion_id: string;
|
|
1730
1670
|
};
|
|
1731
1671
|
/**
|
|
@@ -1740,6 +1680,19 @@ type GoogleAdsGeoTargetConstant = {
|
|
|
1740
1680
|
target_type: string | null;
|
|
1741
1681
|
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVAL_PLANNED';
|
|
1742
1682
|
};
|
|
1683
|
+
/**
|
|
1684
|
+
* A Google Ads URL custom parameter ({_key} → value).
|
|
1685
|
+
*/
|
|
1686
|
+
type GoogleAdsUrlCustomParameter = {
|
|
1687
|
+
/**
|
|
1688
|
+
* The {_key} name referenced in a tracking template / suffix. Alphanumeric, ≤ 16 bytes, unique (case-insensitive).
|
|
1689
|
+
*/
|
|
1690
|
+
key: string;
|
|
1691
|
+
/**
|
|
1692
|
+
* The value substituted for {_key}. ≤ 200 bytes.
|
|
1693
|
+
*/
|
|
1694
|
+
value: string;
|
|
1695
|
+
};
|
|
1743
1696
|
type GoogleAdsCreateResult = {
|
|
1744
1697
|
/**
|
|
1745
1698
|
* The id handle of the created resource (the bare numeric id, or the composite {ad_group_id}~{id} for an association resource such as an ad or keyword), or null on a dry run.
|
|
@@ -2042,6 +1995,155 @@ type GoogleAdTree = {
|
|
|
2042
1995
|
object: 'list';
|
|
2043
1996
|
data: Array<GoogleAdTreeNode>;
|
|
2044
1997
|
};
|
|
1998
|
+
/**
|
|
1999
|
+
* EEA/UK consent signals. Set at the request level as a default; a per-event value overrides it.
|
|
2000
|
+
*/
|
|
2001
|
+
type GoogleAdsConversionConsent = {
|
|
2002
|
+
/**
|
|
2003
|
+
* Consent for Google to use the data for ad measurement (CONSENT_GRANTED / CONSENT_DENIED).
|
|
2004
|
+
*/
|
|
2005
|
+
ad_user_data?: 'CONSENT_GRANTED' | 'CONSENT_DENIED';
|
|
2006
|
+
/**
|
|
2007
|
+
* Consent for Google to use the data for ad personalization (CONSENT_GRANTED / CONSENT_DENIED).
|
|
2008
|
+
*/
|
|
2009
|
+
ad_personalization?: 'CONSENT_GRANTED' | 'CONSENT_DENIED';
|
|
2010
|
+
};
|
|
2011
|
+
/**
|
|
2012
|
+
* A plaintext customer identifier (email, phone, or address) used to match the conversion. Hashed server-side.
|
|
2013
|
+
*/
|
|
2014
|
+
type GoogleAdsConversionUserIdentifier = {
|
|
2015
|
+
/**
|
|
2016
|
+
* A plaintext email address. Normalized + hashed server-side.
|
|
2017
|
+
*/
|
|
2018
|
+
email_address?: string;
|
|
2019
|
+
/**
|
|
2020
|
+
* A plaintext phone number (E.164 preferred). Normalized + hashed server-side.
|
|
2021
|
+
*/
|
|
2022
|
+
phone_number?: string;
|
|
2023
|
+
/**
|
|
2024
|
+
* A plaintext postal address. Name fields are hashed; region/postal code are sent in the clear.
|
|
2025
|
+
*/
|
|
2026
|
+
address?: {
|
|
2027
|
+
given_name?: string;
|
|
2028
|
+
family_name?: string;
|
|
2029
|
+
region_code?: string;
|
|
2030
|
+
postal_code?: string;
|
|
2031
|
+
};
|
|
2032
|
+
};
|
|
2033
|
+
/**
|
|
2034
|
+
* A single conversion to send. Requires an event_timestamp and at least one match signal (gclid/gbraid/wbraid or user_data).
|
|
2035
|
+
*/
|
|
2036
|
+
type GoogleAdsConversionEvent = {
|
|
2037
|
+
/**
|
|
2038
|
+
* When the conversion happened, as an RFC 3339 timestamp (required).
|
|
2039
|
+
*/
|
|
2040
|
+
event_timestamp: string;
|
|
2041
|
+
/**
|
|
2042
|
+
* Your unique transaction id for this conversion (Google’s transaction_id). Used to de-duplicate.
|
|
2043
|
+
*/
|
|
2044
|
+
order_id?: string;
|
|
2045
|
+
/**
|
|
2046
|
+
* The Google click id from the ad click (a match signal).
|
|
2047
|
+
*/
|
|
2048
|
+
gclid?: string;
|
|
2049
|
+
/**
|
|
2050
|
+
* The click id for an iOS app-to-web journey (a match signal).
|
|
2051
|
+
*/
|
|
2052
|
+
gbraid?: string;
|
|
2053
|
+
/**
|
|
2054
|
+
* The click id for an iOS web-to-app journey (a match signal).
|
|
2055
|
+
*/
|
|
2056
|
+
wbraid?: string;
|
|
2057
|
+
/**
|
|
2058
|
+
* Plaintext customer identifiers (1–10) used to match the conversion. Hashed server-side.
|
|
2059
|
+
*/
|
|
2060
|
+
user_data?: Array<GoogleAdsConversionUserIdentifier>;
|
|
2061
|
+
/**
|
|
2062
|
+
* The ISO 4217 currency code (3 letters) for conversion_value.
|
|
2063
|
+
*/
|
|
2064
|
+
currency?: string;
|
|
2065
|
+
/**
|
|
2066
|
+
* The value of this conversion.
|
|
2067
|
+
*/
|
|
2068
|
+
conversion_value?: number;
|
|
2069
|
+
/**
|
|
2070
|
+
* Per-event consent; overrides the request-level consent.
|
|
2071
|
+
*/
|
|
2072
|
+
consent?: GoogleAdsConversionConsent;
|
|
2073
|
+
};
|
|
2074
|
+
type GoogleAdsSendConversionsResult = {
|
|
2075
|
+
/**
|
|
2076
|
+
* Google’s request id for this batch (poll the status read with it), or null on a dry run.
|
|
2077
|
+
*/
|
|
2078
|
+
request_id: string | null;
|
|
2079
|
+
/**
|
|
2080
|
+
* accepted = the batch was queued for async processing; validated = a dry run passed validation.
|
|
2081
|
+
*/
|
|
2082
|
+
status: 'accepted' | 'validated';
|
|
2083
|
+
/**
|
|
2084
|
+
* Whether this was a validate-only dry run.
|
|
2085
|
+
*/
|
|
2086
|
+
dry_run: boolean;
|
|
2087
|
+
/**
|
|
2088
|
+
* Whether the events were actually sent.
|
|
2089
|
+
*/
|
|
2090
|
+
executed: boolean;
|
|
2091
|
+
};
|
|
2092
|
+
type GoogleAdsConversionStatusReason = {
|
|
2093
|
+
/**
|
|
2094
|
+
* Google’s raw processing-error reason (descriptive; branch on `code`, not this).
|
|
2095
|
+
*/
|
|
2096
|
+
reason: string;
|
|
2097
|
+
/**
|
|
2098
|
+
* How many events failed for this reason.
|
|
2099
|
+
*/
|
|
2100
|
+
count: number;
|
|
2101
|
+
/**
|
|
2102
|
+
* The typed Postrun error code to branch on.
|
|
2103
|
+
*/
|
|
2104
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
2105
|
+
/**
|
|
2106
|
+
* A short, friendly line you may show your end user.
|
|
2107
|
+
*/
|
|
2108
|
+
display_error: string;
|
|
2109
|
+
};
|
|
2110
|
+
type GoogleAdsConversionWarning = {
|
|
2111
|
+
/**
|
|
2112
|
+
* Google’s raw processing-warning reason (informational).
|
|
2113
|
+
*/
|
|
2114
|
+
reason: string;
|
|
2115
|
+
/**
|
|
2116
|
+
* How many events triggered this warning.
|
|
2117
|
+
*/
|
|
2118
|
+
count: number;
|
|
2119
|
+
};
|
|
2120
|
+
type GoogleAdsConversionStatus = {
|
|
2121
|
+
/**
|
|
2122
|
+
* The request id this status is for.
|
|
2123
|
+
*/
|
|
2124
|
+
request_id: string;
|
|
2125
|
+
/**
|
|
2126
|
+
* One entry per destination, ordered to match the request’s destinations.
|
|
2127
|
+
*/
|
|
2128
|
+
destinations: Array<{
|
|
2129
|
+
/**
|
|
2130
|
+
* The destination’s processing status (SUCCESS / PROCESSING / FAILED / PARTIAL_SUCCESS).
|
|
2131
|
+
*/
|
|
2132
|
+
request_status: 'REQUEST_STATUS_UNKNOWN' | 'SUCCESS' | 'PROCESSING' | 'FAILED' | 'PARTIAL_SUCCESS';
|
|
2133
|
+
/**
|
|
2134
|
+
* The total events Google received for this request, INCLUDING failures (null while not yet known).
|
|
2135
|
+
*/
|
|
2136
|
+
events_submitted: number | null;
|
|
2137
|
+
/**
|
|
2138
|
+
* The count-by-reason error breakdown.
|
|
2139
|
+
*/
|
|
2140
|
+
errors: Array<GoogleAdsConversionStatusReason>;
|
|
2141
|
+
/**
|
|
2142
|
+
* The count-by-reason warning breakdown (informational).
|
|
2143
|
+
*/
|
|
2144
|
+
warnings: Array<GoogleAdsConversionWarning>;
|
|
2145
|
+
}>;
|
|
2146
|
+
};
|
|
2045
2147
|
/**
|
|
2046
2148
|
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
2047
2149
|
*/
|
|
@@ -9548,7 +9650,7 @@ type PostsValidateResponses = {
|
|
|
9548
9650
|
object: 'validation';
|
|
9549
9651
|
publishable: boolean;
|
|
9550
9652
|
issues: Array<{
|
|
9551
|
-
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
9653
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
9552
9654
|
message: string;
|
|
9553
9655
|
hint?: string;
|
|
9554
9656
|
allowed?: Array<string>;
|
|
@@ -12367,7 +12469,7 @@ type GoogleGetAccountErrors = {
|
|
|
12367
12469
|
type GoogleGetAccountError = GoogleGetAccountErrors[keyof GoogleGetAccountErrors];
|
|
12368
12470
|
type GoogleGetAccountResponses = {
|
|
12369
12471
|
/**
|
|
12370
|
-
* A connected Google Ads account (the `customer` resource): id, descriptive name, currency, time zone, status,
|
|
12472
|
+
* A connected Google Ads account (the `customer` resource): id, descriptive name, currency, time zone, status, whether it is a manager (MCC) or test account, and the account-level URL tracking settings.
|
|
12371
12473
|
*/
|
|
12372
12474
|
200: {
|
|
12373
12475
|
id: string;
|
|
@@ -12377,36 +12479,37 @@ type GoogleGetAccountResponses = {
|
|
|
12377
12479
|
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'CANCELED' | 'SUSPENDED' | 'CLOSED';
|
|
12378
12480
|
manager: boolean;
|
|
12379
12481
|
test_account: boolean;
|
|
12380
|
-
};
|
|
12381
|
-
};
|
|
12382
|
-
type GoogleGetAccountResponse = GoogleGetAccountResponses[keyof GoogleGetAccountResponses];
|
|
12383
|
-
type GoogleGetInsightsData = {
|
|
12384
|
-
body: {
|
|
12385
|
-
level?: GoogleAdsInsightLevel;
|
|
12386
12482
|
/**
|
|
12387
|
-
* The
|
|
12483
|
+
* The account-level tracking URL template ({lpurl}/{unescapedlpurl}…), or null if unset. A campaign-level template OVERRIDES this (lowest level wins).
|
|
12388
12484
|
*/
|
|
12389
|
-
|
|
12485
|
+
tracking_url_template: string | null;
|
|
12390
12486
|
/**
|
|
12391
|
-
*
|
|
12487
|
+
* The account-level final-URL suffix (UTMs live here), e.g. "utm_source={_src}", or null if unset.
|
|
12392
12488
|
*/
|
|
12393
|
-
|
|
12489
|
+
final_url_suffix: string | null;
|
|
12490
|
+
};
|
|
12491
|
+
};
|
|
12492
|
+
type GoogleGetAccountResponse = GoogleGetAccountResponses[keyof GoogleGetAccountResponses];
|
|
12493
|
+
type GoogleEditAccountData = {
|
|
12494
|
+
body?: {
|
|
12394
12495
|
/**
|
|
12395
|
-
*
|
|
12496
|
+
* Set the account-level tracking URL template ({lpurl}/{unescapedlpurl}…). Omit to leave unchanged; clearing is not yet supported.
|
|
12396
12497
|
*/
|
|
12397
|
-
|
|
12498
|
+
tracking_url_template?: string;
|
|
12398
12499
|
/**
|
|
12399
|
-
*
|
|
12500
|
+
* Set the account-level final-URL suffix (UTMs live here), e.g. "utm_source={_src}". Omit to leave unchanged; clearing is not yet supported.
|
|
12400
12501
|
*/
|
|
12401
|
-
|
|
12502
|
+
final_url_suffix?: string;
|
|
12402
12503
|
/**
|
|
12403
|
-
*
|
|
12504
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
12404
12505
|
*/
|
|
12405
|
-
|
|
12506
|
+
dry_run?: boolean;
|
|
12507
|
+
};
|
|
12508
|
+
headers?: {
|
|
12406
12509
|
/**
|
|
12407
|
-
*
|
|
12510
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
12408
12511
|
*/
|
|
12409
|
-
|
|
12512
|
+
'Idempotency-Key'?: string;
|
|
12410
12513
|
};
|
|
12411
12514
|
path: {
|
|
12412
12515
|
/**
|
|
@@ -12415,9 +12518,9 @@ type GoogleGetInsightsData = {
|
|
|
12415
12518
|
connection_id: string;
|
|
12416
12519
|
};
|
|
12417
12520
|
query?: never;
|
|
12418
|
-
url: '/google/{connection_id}/
|
|
12521
|
+
url: '/google/{connection_id}/url-settings';
|
|
12419
12522
|
};
|
|
12420
|
-
type
|
|
12523
|
+
type GoogleEditAccountErrors = {
|
|
12421
12524
|
/**
|
|
12422
12525
|
* An RFC 9457 problem response.
|
|
12423
12526
|
*/
|
|
@@ -12691,32 +12794,33 @@ type GoogleGetInsightsErrors = {
|
|
|
12691
12794
|
}>;
|
|
12692
12795
|
};
|
|
12693
12796
|
};
|
|
12694
|
-
type
|
|
12695
|
-
type
|
|
12797
|
+
type GoogleEditAccountError = GoogleEditAccountErrors[keyof GoogleEditAccountErrors];
|
|
12798
|
+
type GoogleEditAccountResponses = {
|
|
12696
12799
|
/**
|
|
12697
12800
|
* OK
|
|
12698
12801
|
*/
|
|
12699
|
-
200:
|
|
12802
|
+
200: GoogleAdsEditResult;
|
|
12700
12803
|
};
|
|
12701
|
-
type
|
|
12702
|
-
type
|
|
12703
|
-
body
|
|
12704
|
-
|
|
12804
|
+
type GoogleEditAccountResponse = GoogleEditAccountResponses[keyof GoogleEditAccountResponses];
|
|
12805
|
+
type GoogleGetInsightsData = {
|
|
12806
|
+
body: {
|
|
12807
|
+
level?: GoogleAdsInsightLevel;
|
|
12705
12808
|
/**
|
|
12706
|
-
* The
|
|
12809
|
+
* The metrics to report. At least one.
|
|
12707
12810
|
*/
|
|
12708
|
-
|
|
12709
|
-
};
|
|
12710
|
-
query: {
|
|
12811
|
+
metrics?: Array<GoogleAdsInsightMetric>;
|
|
12711
12812
|
/**
|
|
12712
|
-
*
|
|
12813
|
+
* Optional breakdowns (e.g. by date or device).
|
|
12814
|
+
*/
|
|
12815
|
+
segments?: Array<GoogleAdsInsightSegment>;
|
|
12816
|
+
/**
|
|
12817
|
+
* Restrict to one campaign (campaign / ad_group levels only).
|
|
12713
12818
|
*/
|
|
12714
12819
|
campaign_id?: string;
|
|
12715
|
-
status?: GoogleAdsReadStatusFilter;
|
|
12716
12820
|
/**
|
|
12717
|
-
*
|
|
12821
|
+
* Restrict to one ad group (required at the ad / keyword levels).
|
|
12718
12822
|
*/
|
|
12719
|
-
|
|
12823
|
+
ad_group_id?: string;
|
|
12720
12824
|
/**
|
|
12721
12825
|
* Start date, inclusive (YYYY-MM-DD).
|
|
12722
12826
|
*/
|
|
@@ -12726,9 +12830,16 @@ type GoogleGetAdTreeData = {
|
|
|
12726
12830
|
*/
|
|
12727
12831
|
until: string;
|
|
12728
12832
|
};
|
|
12729
|
-
|
|
12833
|
+
path: {
|
|
12834
|
+
/**
|
|
12835
|
+
* The id of a Google Ads connection in your account.
|
|
12836
|
+
*/
|
|
12837
|
+
connection_id: string;
|
|
12838
|
+
};
|
|
12839
|
+
query?: never;
|
|
12840
|
+
url: '/google/{connection_id}/insights';
|
|
12730
12841
|
};
|
|
12731
|
-
type
|
|
12842
|
+
type GoogleGetInsightsErrors = {
|
|
12732
12843
|
/**
|
|
12733
12844
|
* An RFC 9457 problem response.
|
|
12734
12845
|
*/
|
|
@@ -13002,31 +13113,44 @@ type GoogleGetAdTreeErrors = {
|
|
|
13002
13113
|
}>;
|
|
13003
13114
|
};
|
|
13004
13115
|
};
|
|
13005
|
-
type
|
|
13006
|
-
type
|
|
13116
|
+
type GoogleGetInsightsError = GoogleGetInsightsErrors[keyof GoogleGetInsightsErrors];
|
|
13117
|
+
type GoogleGetInsightsResponses = {
|
|
13007
13118
|
/**
|
|
13008
13119
|
* OK
|
|
13009
13120
|
*/
|
|
13010
|
-
200:
|
|
13121
|
+
200: GoogleAdsInsights;
|
|
13011
13122
|
};
|
|
13012
|
-
type
|
|
13013
|
-
type
|
|
13014
|
-
body
|
|
13015
|
-
/**
|
|
13016
|
-
* A Google Ads Query Language (GAQL) SELECT statement. Read-only — GAQL cannot mutate.
|
|
13017
|
-
*/
|
|
13018
|
-
query: string;
|
|
13019
|
-
};
|
|
13123
|
+
type GoogleGetInsightsResponse = GoogleGetInsightsResponses[keyof GoogleGetInsightsResponses];
|
|
13124
|
+
type GoogleGetAdTreeData = {
|
|
13125
|
+
body?: never;
|
|
13020
13126
|
path: {
|
|
13021
13127
|
/**
|
|
13022
13128
|
* The id of a Google Ads connection in your account.
|
|
13023
13129
|
*/
|
|
13024
13130
|
connection_id: string;
|
|
13025
13131
|
};
|
|
13026
|
-
query
|
|
13027
|
-
|
|
13132
|
+
query: {
|
|
13133
|
+
/**
|
|
13134
|
+
* Restrict to one campaign — returns that campaign’s subtree (ad groups + leaf). Omit for the campaign level.
|
|
13135
|
+
*/
|
|
13136
|
+
campaign_id?: string;
|
|
13137
|
+
status?: GoogleAdsReadStatusFilter;
|
|
13138
|
+
/**
|
|
13139
|
+
* The metric columns to report. At least one.
|
|
13140
|
+
*/
|
|
13141
|
+
metrics?: Array<GoogleAdsInsightMetric>;
|
|
13142
|
+
/**
|
|
13143
|
+
* Start date, inclusive (YYYY-MM-DD).
|
|
13144
|
+
*/
|
|
13145
|
+
since: string;
|
|
13146
|
+
/**
|
|
13147
|
+
* End date, inclusive (YYYY-MM-DD).
|
|
13148
|
+
*/
|
|
13149
|
+
until: string;
|
|
13150
|
+
};
|
|
13151
|
+
url: '/google/{connection_id}/ads/tree';
|
|
13028
13152
|
};
|
|
13029
|
-
type
|
|
13153
|
+
type GoogleGetAdTreeErrors = {
|
|
13030
13154
|
/**
|
|
13031
13155
|
* An RFC 9457 problem response.
|
|
13032
13156
|
*/
|
|
@@ -13300,48 +13424,31 @@ type GoogleRunGaqlErrors = {
|
|
|
13300
13424
|
}>;
|
|
13301
13425
|
};
|
|
13302
13426
|
};
|
|
13303
|
-
type
|
|
13304
|
-
type
|
|
13427
|
+
type GoogleGetAdTreeError = GoogleGetAdTreeErrors[keyof GoogleGetAdTreeErrors];
|
|
13428
|
+
type GoogleGetAdTreeResponses = {
|
|
13305
13429
|
/**
|
|
13306
|
-
*
|
|
13430
|
+
* OK
|
|
13307
13431
|
*/
|
|
13308
|
-
200:
|
|
13309
|
-
object: 'list';
|
|
13310
|
-
data: Array<unknown | null>;
|
|
13311
|
-
};
|
|
13432
|
+
200: GoogleAdTree;
|
|
13312
13433
|
};
|
|
13313
|
-
type
|
|
13314
|
-
type
|
|
13434
|
+
type GoogleGetAdTreeResponse = GoogleGetAdTreeResponses[keyof GoogleGetAdTreeResponses];
|
|
13435
|
+
type GoogleRunGaqlData = {
|
|
13315
13436
|
body: {
|
|
13316
13437
|
/**
|
|
13317
|
-
* A
|
|
13318
|
-
*/
|
|
13319
|
-
name: string;
|
|
13320
|
-
/**
|
|
13321
|
-
* The daily budget amount in micros of the account currency (1,000,000 micros = 1 unit, e.g. $1.00).
|
|
13322
|
-
*/
|
|
13323
|
-
amount_micros: number;
|
|
13324
|
-
/**
|
|
13325
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
13438
|
+
* A Google Ads Query Language (GAQL) SELECT statement. Read-only — GAQL cannot mutate.
|
|
13326
13439
|
*/
|
|
13327
|
-
|
|
13440
|
+
query: string;
|
|
13328
13441
|
};
|
|
13329
|
-
|
|
13442
|
+
path: {
|
|
13330
13443
|
/**
|
|
13331
|
-
*
|
|
13332
|
-
*/
|
|
13333
|
-
'Idempotency-Key'?: string;
|
|
13334
|
-
};
|
|
13335
|
-
path: {
|
|
13336
|
-
/**
|
|
13337
|
-
* The id of a Google Ads connection in your account.
|
|
13444
|
+
* The id of a Google Ads connection in your account.
|
|
13338
13445
|
*/
|
|
13339
13446
|
connection_id: string;
|
|
13340
13447
|
};
|
|
13341
13448
|
query?: never;
|
|
13342
|
-
url: '/google/{connection_id}/
|
|
13449
|
+
url: '/google/{connection_id}/gaql';
|
|
13343
13450
|
};
|
|
13344
|
-
type
|
|
13451
|
+
type GoogleRunGaqlErrors = {
|
|
13345
13452
|
/**
|
|
13346
13453
|
* An RFC 9457 problem response.
|
|
13347
13454
|
*/
|
|
@@ -13615,18 +13722,25 @@ type GoogleCreateBudgetErrors = {
|
|
|
13615
13722
|
}>;
|
|
13616
13723
|
};
|
|
13617
13724
|
};
|
|
13618
|
-
type
|
|
13619
|
-
type
|
|
13725
|
+
type GoogleRunGaqlError = GoogleRunGaqlErrors[keyof GoogleRunGaqlErrors];
|
|
13726
|
+
type GoogleRunGaqlResponses = {
|
|
13620
13727
|
/**
|
|
13621
|
-
*
|
|
13728
|
+
* The native GAQL rows for the query (unnormalised).
|
|
13622
13729
|
*/
|
|
13623
|
-
|
|
13730
|
+
200: {
|
|
13731
|
+
object: 'list';
|
|
13732
|
+
data: Array<unknown | null>;
|
|
13733
|
+
};
|
|
13624
13734
|
};
|
|
13625
|
-
type
|
|
13626
|
-
type
|
|
13735
|
+
type GoogleRunGaqlResponse = GoogleRunGaqlResponses[keyof GoogleRunGaqlResponses];
|
|
13736
|
+
type GoogleCreateBudgetData = {
|
|
13627
13737
|
body: {
|
|
13628
13738
|
/**
|
|
13629
|
-
*
|
|
13739
|
+
* A name for the budget, unique within the Google Ads account.
|
|
13740
|
+
*/
|
|
13741
|
+
name: string;
|
|
13742
|
+
/**
|
|
13743
|
+
* The daily budget amount in micros of the account currency (1,000,000 micros = 1 unit, e.g. $1.00).
|
|
13630
13744
|
*/
|
|
13631
13745
|
amount_micros: number;
|
|
13632
13746
|
/**
|
|
@@ -13645,15 +13759,11 @@ type GoogleEditBudgetData = {
|
|
|
13645
13759
|
* The id of a Google Ads connection in your account.
|
|
13646
13760
|
*/
|
|
13647
13761
|
connection_id: string;
|
|
13648
|
-
/**
|
|
13649
|
-
* The numeric id of the resource.
|
|
13650
|
-
*/
|
|
13651
|
-
id: string;
|
|
13652
13762
|
};
|
|
13653
13763
|
query?: never;
|
|
13654
|
-
url: '/google/{connection_id}/budgets
|
|
13764
|
+
url: '/google/{connection_id}/budgets';
|
|
13655
13765
|
};
|
|
13656
|
-
type
|
|
13766
|
+
type GoogleCreateBudgetErrors = {
|
|
13657
13767
|
/**
|
|
13658
13768
|
* An RFC 9457 problem response.
|
|
13659
13769
|
*/
|
|
@@ -13927,16 +14037,20 @@ type GoogleEditBudgetErrors = {
|
|
|
13927
14037
|
}>;
|
|
13928
14038
|
};
|
|
13929
14039
|
};
|
|
13930
|
-
type
|
|
13931
|
-
type
|
|
14040
|
+
type GoogleCreateBudgetError = GoogleCreateBudgetErrors[keyof GoogleCreateBudgetErrors];
|
|
14041
|
+
type GoogleCreateBudgetResponses = {
|
|
13932
14042
|
/**
|
|
13933
14043
|
* OK
|
|
13934
14044
|
*/
|
|
13935
|
-
|
|
14045
|
+
201: GoogleAdsCreateResult;
|
|
13936
14046
|
};
|
|
13937
|
-
type
|
|
13938
|
-
type
|
|
13939
|
-
body
|
|
14047
|
+
type GoogleCreateBudgetResponse = GoogleCreateBudgetResponses[keyof GoogleCreateBudgetResponses];
|
|
14048
|
+
type GoogleEditBudgetData = {
|
|
14049
|
+
body: {
|
|
14050
|
+
/**
|
|
14051
|
+
* The new daily budget amount in micros of the account currency (1,000,000 micros = 1 unit, e.g. $1.00).
|
|
14052
|
+
*/
|
|
14053
|
+
amount_micros: number;
|
|
13940
14054
|
/**
|
|
13941
14055
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
13942
14056
|
*/
|
|
@@ -13959,9 +14073,9 @@ type GoogleRemoveBudgetData = {
|
|
|
13959
14073
|
id: string;
|
|
13960
14074
|
};
|
|
13961
14075
|
query?: never;
|
|
13962
|
-
url: '/google/{connection_id}/budgets/{id}
|
|
14076
|
+
url: '/google/{connection_id}/budgets/{id}';
|
|
13963
14077
|
};
|
|
13964
|
-
type
|
|
14078
|
+
type GoogleEditBudgetErrors = {
|
|
13965
14079
|
/**
|
|
13966
14080
|
* An RFC 9457 problem response.
|
|
13967
14081
|
*/
|
|
@@ -14235,26 +14349,41 @@ type GoogleRemoveBudgetErrors = {
|
|
|
14235
14349
|
}>;
|
|
14236
14350
|
};
|
|
14237
14351
|
};
|
|
14238
|
-
type
|
|
14239
|
-
type
|
|
14352
|
+
type GoogleEditBudgetError = GoogleEditBudgetErrors[keyof GoogleEditBudgetErrors];
|
|
14353
|
+
type GoogleEditBudgetResponses = {
|
|
14240
14354
|
/**
|
|
14241
14355
|
* OK
|
|
14242
14356
|
*/
|
|
14243
|
-
200:
|
|
14357
|
+
200: GoogleAdsEditResult;
|
|
14244
14358
|
};
|
|
14245
|
-
type
|
|
14246
|
-
type
|
|
14247
|
-
body?:
|
|
14359
|
+
type GoogleEditBudgetResponse = GoogleEditBudgetResponses[keyof GoogleEditBudgetResponses];
|
|
14360
|
+
type GoogleRemoveBudgetData = {
|
|
14361
|
+
body?: {
|
|
14362
|
+
/**
|
|
14363
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
14364
|
+
*/
|
|
14365
|
+
dry_run?: boolean;
|
|
14366
|
+
};
|
|
14367
|
+
headers?: {
|
|
14368
|
+
/**
|
|
14369
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
14370
|
+
*/
|
|
14371
|
+
'Idempotency-Key'?: string;
|
|
14372
|
+
};
|
|
14248
14373
|
path: {
|
|
14249
14374
|
/**
|
|
14250
14375
|
* The id of a Google Ads connection in your account.
|
|
14251
14376
|
*/
|
|
14252
14377
|
connection_id: string;
|
|
14378
|
+
/**
|
|
14379
|
+
* The numeric id of the resource.
|
|
14380
|
+
*/
|
|
14381
|
+
id: string;
|
|
14253
14382
|
};
|
|
14254
14383
|
query?: never;
|
|
14255
|
-
url: '/google/{connection_id}/
|
|
14384
|
+
url: '/google/{connection_id}/budgets/{id}/remove';
|
|
14256
14385
|
};
|
|
14257
|
-
type
|
|
14386
|
+
type GoogleRemoveBudgetErrors = {
|
|
14258
14387
|
/**
|
|
14259
14388
|
* An RFC 9457 problem response.
|
|
14260
14389
|
*/
|
|
@@ -14528,68 +14657,16 @@ type GoogleListCampaignsErrors = {
|
|
|
14528
14657
|
}>;
|
|
14529
14658
|
};
|
|
14530
14659
|
};
|
|
14531
|
-
type
|
|
14532
|
-
type
|
|
14660
|
+
type GoogleRemoveBudgetError = GoogleRemoveBudgetErrors[keyof GoogleRemoveBudgetErrors];
|
|
14661
|
+
type GoogleRemoveBudgetResponses = {
|
|
14533
14662
|
/**
|
|
14534
14663
|
* OK
|
|
14535
14664
|
*/
|
|
14536
|
-
200:
|
|
14537
|
-
object: 'list';
|
|
14538
|
-
data: Array<{
|
|
14539
|
-
id: string;
|
|
14540
|
-
name: string | null;
|
|
14541
|
-
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
14542
|
-
advertising_channel_type: 'UNSPECIFIED' | 'UNKNOWN' | 'SEARCH' | 'DISPLAY' | 'SHOPPING' | 'HOTEL' | 'VIDEO' | 'MULTI_CHANNEL' | 'LOCAL' | 'SMART' | 'PERFORMANCE_MAX' | 'LOCAL_SERVICES' | 'TRAVEL' | 'DEMAND_GEN';
|
|
14543
|
-
bidding_strategy_type: 'UNSPECIFIED' | 'UNKNOWN' | 'COMMISSION' | 'ENHANCED_CPC' | 'FIXED_CPM' | 'FIXED_SHARE_OF_VOICE' | 'INVALID' | 'MANUAL_CPA' | 'MANUAL_CPC' | 'MANUAL_CPM' | 'MANUAL_CPV' | 'MAXIMIZE_CONVERSIONS' | 'MAXIMIZE_CONVERSION_VALUE' | 'PAGE_ONE_PROMOTED' | 'PERCENT_CPC' | 'TARGET_CPA' | 'TARGET_CPC' | 'TARGET_CPM' | 'TARGET_CPV' | 'TARGET_IMPRESSION_SHARE' | 'TARGET_OUTRANK_SHARE' | 'TARGET_ROAS' | 'TARGET_SPEND';
|
|
14544
|
-
/**
|
|
14545
|
-
* When the campaign starts serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if unset.
|
|
14546
|
-
*/
|
|
14547
|
-
start_date_time: string | null;
|
|
14548
|
-
/**
|
|
14549
|
-
* When the campaign stops serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if it runs indefinitely.
|
|
14550
|
-
*/
|
|
14551
|
-
end_date_time: string | null;
|
|
14552
|
-
}>;
|
|
14553
|
-
};
|
|
14665
|
+
200: GoogleAdsDeleteResult;
|
|
14554
14666
|
};
|
|
14555
|
-
type
|
|
14556
|
-
type
|
|
14557
|
-
body
|
|
14558
|
-
/**
|
|
14559
|
-
* A name for the campaign, unique within the Google Ads account.
|
|
14560
|
-
*/
|
|
14561
|
-
name: string;
|
|
14562
|
-
/**
|
|
14563
|
-
* The advertising channel type. Launch scope: SEARCH or DISPLAY (Performance Max is a fast-follow).
|
|
14564
|
-
*/
|
|
14565
|
-
channel: 'SEARCH' | 'DISPLAY';
|
|
14566
|
-
/**
|
|
14567
|
-
* The budget resource_name to attach (e.g. "customers/123/campaignBudgets/789"), as returned by a budget create.
|
|
14568
|
-
*/
|
|
14569
|
-
campaign_budget: string;
|
|
14570
|
-
/**
|
|
14571
|
-
* Which embedded bidding strategy to set. bidding_strategy_type is output-only and auto-derived by Google.
|
|
14572
|
-
*/
|
|
14573
|
-
bidding: 'manual_cpc' | 'maximize_conversions' | 'target_spend';
|
|
14574
|
-
/**
|
|
14575
|
-
* The campaign status. Defaults to PAUSED so a new campaign never spends by accident.
|
|
14576
|
-
*/
|
|
14577
|
-
status?: 'ENABLED' | 'PAUSED';
|
|
14578
|
-
/**
|
|
14579
|
-
* The campaign’s EU political-advertising declaration (Google requires it). Defaults to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING.
|
|
14580
|
-
*/
|
|
14581
|
-
contains_eu_political_advertising?: 'DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING' | 'CONTAINS_EU_POLITICAL_ADVERTISING';
|
|
14582
|
-
/**
|
|
14583
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
14584
|
-
*/
|
|
14585
|
-
dry_run?: boolean;
|
|
14586
|
-
};
|
|
14587
|
-
headers?: {
|
|
14588
|
-
/**
|
|
14589
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
14590
|
-
*/
|
|
14591
|
-
'Idempotency-Key'?: string;
|
|
14592
|
-
};
|
|
14667
|
+
type GoogleRemoveBudgetResponse = GoogleRemoveBudgetResponses[keyof GoogleRemoveBudgetResponses];
|
|
14668
|
+
type GoogleListCampaignsData = {
|
|
14669
|
+
body?: never;
|
|
14593
14670
|
path: {
|
|
14594
14671
|
/**
|
|
14595
14672
|
* The id of a Google Ads connection in your account.
|
|
@@ -14599,7 +14676,7 @@ type GoogleCreateCampaignData = {
|
|
|
14599
14676
|
query?: never;
|
|
14600
14677
|
url: '/google/{connection_id}/campaigns';
|
|
14601
14678
|
};
|
|
14602
|
-
type
|
|
14679
|
+
type GoogleListCampaignsErrors = {
|
|
14603
14680
|
/**
|
|
14604
14681
|
* An RFC 9457 problem response.
|
|
14605
14682
|
*/
|
|
@@ -14873,30 +14950,90 @@ type GoogleCreateCampaignErrors = {
|
|
|
14873
14950
|
}>;
|
|
14874
14951
|
};
|
|
14875
14952
|
};
|
|
14876
|
-
type
|
|
14877
|
-
type
|
|
14953
|
+
type GoogleListCampaignsError = GoogleListCampaignsErrors[keyof GoogleListCampaignsErrors];
|
|
14954
|
+
type GoogleListCampaignsResponses = {
|
|
14878
14955
|
/**
|
|
14879
14956
|
* OK
|
|
14880
14957
|
*/
|
|
14881
|
-
|
|
14958
|
+
200: {
|
|
14959
|
+
object: 'list';
|
|
14960
|
+
data: Array<{
|
|
14961
|
+
id: string;
|
|
14962
|
+
name: string | null;
|
|
14963
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
14964
|
+
advertising_channel_type: 'UNSPECIFIED' | 'UNKNOWN' | 'SEARCH' | 'DISPLAY' | 'SHOPPING' | 'HOTEL' | 'VIDEO' | 'MULTI_CHANNEL' | 'LOCAL' | 'SMART' | 'PERFORMANCE_MAX' | 'LOCAL_SERVICES' | 'TRAVEL' | 'DEMAND_GEN';
|
|
14965
|
+
bidding_strategy_type: 'UNSPECIFIED' | 'UNKNOWN' | 'COMMISSION' | 'ENHANCED_CPC' | 'FIXED_CPM' | 'FIXED_SHARE_OF_VOICE' | 'INVALID' | 'MANUAL_CPA' | 'MANUAL_CPC' | 'MANUAL_CPM' | 'MANUAL_CPV' | 'MAXIMIZE_CONVERSIONS' | 'MAXIMIZE_CONVERSION_VALUE' | 'PAGE_ONE_PROMOTED' | 'PERCENT_CPC' | 'TARGET_CPA' | 'TARGET_CPC' | 'TARGET_CPM' | 'TARGET_CPV' | 'TARGET_IMPRESSION_SHARE' | 'TARGET_OUTRANK_SHARE' | 'TARGET_ROAS' | 'TARGET_SPEND';
|
|
14966
|
+
/**
|
|
14967
|
+
* When the campaign starts serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if unset.
|
|
14968
|
+
*/
|
|
14969
|
+
start_date_time: string | null;
|
|
14970
|
+
/**
|
|
14971
|
+
* When the campaign stops serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if it runs indefinitely.
|
|
14972
|
+
*/
|
|
14973
|
+
end_date_time: string | null;
|
|
14974
|
+
/**
|
|
14975
|
+
* The tracking URL template ({lpurl}/{unescapedlpurl}…), or null if unset. A template set at this level OVERRIDES the account-level template (lowest level in the hierarchy wins — it is not concatenated).
|
|
14976
|
+
*/
|
|
14977
|
+
tracking_url_template: string | null;
|
|
14978
|
+
/**
|
|
14979
|
+
* Parameters appended to the final URL (UTMs live here), e.g. "utm_source={_src}", or null if unset. Overrides the account-level suffix.
|
|
14980
|
+
*/
|
|
14981
|
+
final_url_suffix: string | null;
|
|
14982
|
+
/**
|
|
14983
|
+
* Up to 8 {_key} → value substitutions. A value set here OVERRIDES the account level (not merged).
|
|
14984
|
+
*/
|
|
14985
|
+
url_custom_parameters?: Array<GoogleAdsUrlCustomParameter>;
|
|
14986
|
+
}>;
|
|
14987
|
+
};
|
|
14882
14988
|
};
|
|
14883
|
-
type
|
|
14884
|
-
type
|
|
14885
|
-
body
|
|
14989
|
+
type GoogleListCampaignsResponse = GoogleListCampaignsResponses[keyof GoogleListCampaignsResponses];
|
|
14990
|
+
type GoogleCreateCampaignData = {
|
|
14991
|
+
body: {
|
|
14992
|
+
/**
|
|
14993
|
+
* A name for the campaign, unique within the Google Ads account.
|
|
14994
|
+
*/
|
|
14995
|
+
name: string;
|
|
14996
|
+
/**
|
|
14997
|
+
* The advertising channel type. Launch scope: SEARCH or DISPLAY (Performance Max is a fast-follow).
|
|
14998
|
+
*/
|
|
14999
|
+
channel: 'SEARCH' | 'DISPLAY';
|
|
15000
|
+
/**
|
|
15001
|
+
* The budget resource_name to attach (e.g. "customers/123/campaignBudgets/789"), as returned by a budget create.
|
|
15002
|
+
*/
|
|
15003
|
+
campaign_budget: string;
|
|
15004
|
+
/**
|
|
15005
|
+
* Which embedded bidding strategy to set. bidding_strategy_type is output-only and auto-derived by Google.
|
|
15006
|
+
*/
|
|
15007
|
+
bidding: 'manual_cpc' | 'maximize_conversions' | 'target_spend';
|
|
15008
|
+
/**
|
|
15009
|
+
* The campaign status. Defaults to PAUSED so a new campaign never spends by accident.
|
|
15010
|
+
*/
|
|
15011
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
15012
|
+
/**
|
|
15013
|
+
* The campaign’s EU political-advertising declaration (Google requires it). Defaults to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING.
|
|
15014
|
+
*/
|
|
15015
|
+
contains_eu_political_advertising?: 'DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING' | 'CONTAINS_EU_POLITICAL_ADVERTISING';
|
|
15016
|
+
/**
|
|
15017
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
15018
|
+
*/
|
|
15019
|
+
dry_run?: boolean;
|
|
15020
|
+
};
|
|
15021
|
+
headers?: {
|
|
15022
|
+
/**
|
|
15023
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
15024
|
+
*/
|
|
15025
|
+
'Idempotency-Key'?: string;
|
|
15026
|
+
};
|
|
14886
15027
|
path: {
|
|
14887
15028
|
/**
|
|
14888
15029
|
* The id of a Google Ads connection in your account.
|
|
14889
15030
|
*/
|
|
14890
15031
|
connection_id: string;
|
|
14891
|
-
/**
|
|
14892
|
-
* The numeric id of the resource.
|
|
14893
|
-
*/
|
|
14894
|
-
id: string;
|
|
14895
15032
|
};
|
|
14896
15033
|
query?: never;
|
|
14897
|
-
url: '/google/{connection_id}/campaigns
|
|
15034
|
+
url: '/google/{connection_id}/campaigns';
|
|
14898
15035
|
};
|
|
14899
|
-
type
|
|
15036
|
+
type GoogleCreateCampaignErrors = {
|
|
14900
15037
|
/**
|
|
14901
15038
|
* An RFC 9457 problem response.
|
|
14902
15039
|
*/
|
|
@@ -15170,50 +15307,21 @@ type GoogleGetCampaignErrors = {
|
|
|
15170
15307
|
}>;
|
|
15171
15308
|
};
|
|
15172
15309
|
};
|
|
15173
|
-
type
|
|
15174
|
-
type
|
|
15310
|
+
type GoogleCreateCampaignError = GoogleCreateCampaignErrors[keyof GoogleCreateCampaignErrors];
|
|
15311
|
+
type GoogleCreateCampaignResponses = {
|
|
15175
15312
|
/**
|
|
15176
|
-
*
|
|
15313
|
+
* OK
|
|
15177
15314
|
*/
|
|
15178
|
-
|
|
15179
|
-
|
|
15180
|
-
|
|
15181
|
-
|
|
15182
|
-
|
|
15183
|
-
|
|
15315
|
+
201: GoogleAdsCreateResult;
|
|
15316
|
+
};
|
|
15317
|
+
type GoogleCreateCampaignResponse = GoogleCreateCampaignResponses[keyof GoogleCreateCampaignResponses];
|
|
15318
|
+
type GoogleGetCampaignData = {
|
|
15319
|
+
body?: never;
|
|
15320
|
+
path: {
|
|
15184
15321
|
/**
|
|
15185
|
-
*
|
|
15322
|
+
* The id of a Google Ads connection in your account.
|
|
15186
15323
|
*/
|
|
15187
|
-
|
|
15188
|
-
/**
|
|
15189
|
-
* When the campaign stops serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if it runs indefinitely.
|
|
15190
|
-
*/
|
|
15191
|
-
end_date_time: string | null;
|
|
15192
|
-
};
|
|
15193
|
-
};
|
|
15194
|
-
type GoogleGetCampaignResponse = GoogleGetCampaignResponses[keyof GoogleGetCampaignResponses];
|
|
15195
|
-
type GoogleEditCampaignData = {
|
|
15196
|
-
body: {
|
|
15197
|
-
/**
|
|
15198
|
-
* A new name for the campaign, unique within the Google Ads account.
|
|
15199
|
-
*/
|
|
15200
|
-
name: string;
|
|
15201
|
-
/**
|
|
15202
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
15203
|
-
*/
|
|
15204
|
-
dry_run?: boolean;
|
|
15205
|
-
};
|
|
15206
|
-
headers?: {
|
|
15207
|
-
/**
|
|
15208
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
15209
|
-
*/
|
|
15210
|
-
'Idempotency-Key'?: string;
|
|
15211
|
-
};
|
|
15212
|
-
path: {
|
|
15213
|
-
/**
|
|
15214
|
-
* The id of a Google Ads connection in your account.
|
|
15215
|
-
*/
|
|
15216
|
-
connection_id: string;
|
|
15324
|
+
connection_id: string;
|
|
15217
15325
|
/**
|
|
15218
15326
|
* The numeric id of the resource.
|
|
15219
15327
|
*/
|
|
@@ -15222,7 +15330,7 @@ type GoogleEditCampaignData = {
|
|
|
15222
15330
|
query?: never;
|
|
15223
15331
|
url: '/google/{connection_id}/campaigns/{id}';
|
|
15224
15332
|
};
|
|
15225
|
-
type
|
|
15333
|
+
type GoogleGetCampaignErrors = {
|
|
15226
15334
|
/**
|
|
15227
15335
|
* An RFC 9457 problem response.
|
|
15228
15336
|
*/
|
|
@@ -15496,16 +15604,58 @@ type GoogleEditCampaignErrors = {
|
|
|
15496
15604
|
}>;
|
|
15497
15605
|
};
|
|
15498
15606
|
};
|
|
15499
|
-
type
|
|
15500
|
-
type
|
|
15607
|
+
type GoogleGetCampaignError = GoogleGetCampaignErrors[keyof GoogleGetCampaignErrors];
|
|
15608
|
+
type GoogleGetCampaignResponses = {
|
|
15501
15609
|
/**
|
|
15502
|
-
*
|
|
15610
|
+
* A Google Ads campaign (the `campaign` resource): id, name, status, advertising channel type, bidding strategy type, and serving start/end date-times.
|
|
15503
15611
|
*/
|
|
15504
|
-
200:
|
|
15612
|
+
200: {
|
|
15613
|
+
id: string;
|
|
15614
|
+
name: string | null;
|
|
15615
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'PAUSED' | 'REMOVED';
|
|
15616
|
+
advertising_channel_type: 'UNSPECIFIED' | 'UNKNOWN' | 'SEARCH' | 'DISPLAY' | 'SHOPPING' | 'HOTEL' | 'VIDEO' | 'MULTI_CHANNEL' | 'LOCAL' | 'SMART' | 'PERFORMANCE_MAX' | 'LOCAL_SERVICES' | 'TRAVEL' | 'DEMAND_GEN';
|
|
15617
|
+
bidding_strategy_type: 'UNSPECIFIED' | 'UNKNOWN' | 'COMMISSION' | 'ENHANCED_CPC' | 'FIXED_CPM' | 'FIXED_SHARE_OF_VOICE' | 'INVALID' | 'MANUAL_CPA' | 'MANUAL_CPC' | 'MANUAL_CPM' | 'MANUAL_CPV' | 'MAXIMIZE_CONVERSIONS' | 'MAXIMIZE_CONVERSION_VALUE' | 'PAGE_ONE_PROMOTED' | 'PERCENT_CPC' | 'TARGET_CPA' | 'TARGET_CPC' | 'TARGET_CPM' | 'TARGET_CPV' | 'TARGET_IMPRESSION_SHARE' | 'TARGET_OUTRANK_SHARE' | 'TARGET_ROAS' | 'TARGET_SPEND';
|
|
15618
|
+
/**
|
|
15619
|
+
* When the campaign starts serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if unset.
|
|
15620
|
+
*/
|
|
15621
|
+
start_date_time: string | null;
|
|
15622
|
+
/**
|
|
15623
|
+
* When the campaign stops serving — `yyyy-MM-dd HH:mm:ss` in the account time zone, or null if it runs indefinitely.
|
|
15624
|
+
*/
|
|
15625
|
+
end_date_time: string | null;
|
|
15626
|
+
/**
|
|
15627
|
+
* The tracking URL template ({lpurl}/{unescapedlpurl}…), or null if unset. A template set at this level OVERRIDES the account-level template (lowest level in the hierarchy wins — it is not concatenated).
|
|
15628
|
+
*/
|
|
15629
|
+
tracking_url_template: string | null;
|
|
15630
|
+
/**
|
|
15631
|
+
* Parameters appended to the final URL (UTMs live here), e.g. "utm_source={_src}", or null if unset. Overrides the account-level suffix.
|
|
15632
|
+
*/
|
|
15633
|
+
final_url_suffix: string | null;
|
|
15634
|
+
/**
|
|
15635
|
+
* Up to 8 {_key} → value substitutions. A value set here OVERRIDES the account level (not merged).
|
|
15636
|
+
*/
|
|
15637
|
+
url_custom_parameters?: Array<GoogleAdsUrlCustomParameter>;
|
|
15638
|
+
};
|
|
15505
15639
|
};
|
|
15506
|
-
type
|
|
15507
|
-
type
|
|
15640
|
+
type GoogleGetCampaignResponse = GoogleGetCampaignResponses[keyof GoogleGetCampaignResponses];
|
|
15641
|
+
type GoogleEditCampaignData = {
|
|
15508
15642
|
body?: {
|
|
15643
|
+
/**
|
|
15644
|
+
* A new name for the campaign, unique within the Google Ads account.
|
|
15645
|
+
*/
|
|
15646
|
+
name?: string;
|
|
15647
|
+
/**
|
|
15648
|
+
* Set the tracking URL template ({lpurl}/{unescapedlpurl}…). A campaign-level template OVERRIDES the account-level one. Omit to leave unchanged; clearing is not yet supported.
|
|
15649
|
+
*/
|
|
15650
|
+
tracking_url_template?: string;
|
|
15651
|
+
/**
|
|
15652
|
+
* Set the final-URL suffix (UTMs live here), e.g. "utm_source={_src}". Omit to leave unchanged; clearing is not yet supported.
|
|
15653
|
+
*/
|
|
15654
|
+
final_url_suffix?: string;
|
|
15655
|
+
/**
|
|
15656
|
+
* Replace the campaign’s URL custom parameters (the whole list, up to 8 {_key} → value substitutions). Omit to leave unchanged; clearing is not yet supported.
|
|
15657
|
+
*/
|
|
15658
|
+
url_custom_parameters?: Array<GoogleAdsUrlCustomParameter>;
|
|
15509
15659
|
/**
|
|
15510
15660
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
15511
15661
|
*/
|
|
@@ -15528,9 +15678,9 @@ type GoogleRemoveCampaignData = {
|
|
|
15528
15678
|
id: string;
|
|
15529
15679
|
};
|
|
15530
15680
|
query?: never;
|
|
15531
|
-
url: '/google/{connection_id}/campaigns/{id}
|
|
15681
|
+
url: '/google/{connection_id}/campaigns/{id}';
|
|
15532
15682
|
};
|
|
15533
|
-
type
|
|
15683
|
+
type GoogleEditCampaignErrors = {
|
|
15534
15684
|
/**
|
|
15535
15685
|
* An RFC 9457 problem response.
|
|
15536
15686
|
*/
|
|
@@ -15804,18 +15954,18 @@ type GoogleRemoveCampaignErrors = {
|
|
|
15804
15954
|
}>;
|
|
15805
15955
|
};
|
|
15806
15956
|
};
|
|
15807
|
-
type
|
|
15808
|
-
type
|
|
15957
|
+
type GoogleEditCampaignError = GoogleEditCampaignErrors[keyof GoogleEditCampaignErrors];
|
|
15958
|
+
type GoogleEditCampaignResponses = {
|
|
15809
15959
|
/**
|
|
15810
15960
|
* OK
|
|
15811
15961
|
*/
|
|
15812
|
-
200:
|
|
15962
|
+
200: GoogleAdsEditResult;
|
|
15813
15963
|
};
|
|
15814
|
-
type
|
|
15815
|
-
type
|
|
15964
|
+
type GoogleEditCampaignResponse = GoogleEditCampaignResponses[keyof GoogleEditCampaignResponses];
|
|
15965
|
+
type GoogleRemoveCampaignData = {
|
|
15816
15966
|
body?: {
|
|
15817
15967
|
/**
|
|
15818
|
-
*
|
|
15968
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
15819
15969
|
*/
|
|
15820
15970
|
dry_run?: boolean;
|
|
15821
15971
|
};
|
|
@@ -15836,9 +15986,9 @@ type GooglePauseCampaignData = {
|
|
|
15836
15986
|
id: string;
|
|
15837
15987
|
};
|
|
15838
15988
|
query?: never;
|
|
15839
|
-
url: '/google/{connection_id}/campaigns/{id}/
|
|
15989
|
+
url: '/google/{connection_id}/campaigns/{id}/remove';
|
|
15840
15990
|
};
|
|
15841
|
-
type
|
|
15991
|
+
type GoogleRemoveCampaignErrors = {
|
|
15842
15992
|
/**
|
|
15843
15993
|
* An RFC 9457 problem response.
|
|
15844
15994
|
*/
|
|
@@ -16112,20 +16262,15 @@ type GooglePauseCampaignErrors = {
|
|
|
16112
16262
|
}>;
|
|
16113
16263
|
};
|
|
16114
16264
|
};
|
|
16115
|
-
type
|
|
16116
|
-
type
|
|
16265
|
+
type GoogleRemoveCampaignError = GoogleRemoveCampaignErrors[keyof GoogleRemoveCampaignErrors];
|
|
16266
|
+
type GoogleRemoveCampaignResponses = {
|
|
16117
16267
|
/**
|
|
16118
|
-
*
|
|
16268
|
+
* OK
|
|
16119
16269
|
*/
|
|
16120
|
-
200:
|
|
16121
|
-
id: string;
|
|
16122
|
-
status: 'ENABLED' | 'PAUSED';
|
|
16123
|
-
dry_run: boolean;
|
|
16124
|
-
executed: boolean;
|
|
16125
|
-
};
|
|
16270
|
+
200: GoogleAdsDeleteResult;
|
|
16126
16271
|
};
|
|
16127
|
-
type
|
|
16128
|
-
type
|
|
16272
|
+
type GoogleRemoveCampaignResponse = GoogleRemoveCampaignResponses[keyof GoogleRemoveCampaignResponses];
|
|
16273
|
+
type GooglePauseCampaignData = {
|
|
16129
16274
|
body?: {
|
|
16130
16275
|
/**
|
|
16131
16276
|
* Preview the change without applying it. Default false (the write executes).
|
|
@@ -16149,9 +16294,9 @@ type GoogleEnableCampaignData = {
|
|
|
16149
16294
|
id: string;
|
|
16150
16295
|
};
|
|
16151
16296
|
query?: never;
|
|
16152
|
-
url: '/google/{connection_id}/campaigns/{id}/
|
|
16297
|
+
url: '/google/{connection_id}/campaigns/{id}/pause';
|
|
16153
16298
|
};
|
|
16154
|
-
type
|
|
16299
|
+
type GooglePauseCampaignErrors = {
|
|
16155
16300
|
/**
|
|
16156
16301
|
* An RFC 9457 problem response.
|
|
16157
16302
|
*/
|
|
@@ -16425,8 +16570,8 @@ type GoogleEnableCampaignErrors = {
|
|
|
16425
16570
|
}>;
|
|
16426
16571
|
};
|
|
16427
16572
|
};
|
|
16428
|
-
type
|
|
16429
|
-
type
|
|
16573
|
+
type GooglePauseCampaignError = GooglePauseCampaignErrors[keyof GooglePauseCampaignErrors];
|
|
16574
|
+
type GooglePauseCampaignResponses = {
|
|
16430
16575
|
/**
|
|
16431
16576
|
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
16432
16577
|
*/
|
|
@@ -16437,28 +16582,34 @@ type GoogleEnableCampaignResponses = {
|
|
|
16437
16582
|
executed: boolean;
|
|
16438
16583
|
};
|
|
16439
16584
|
};
|
|
16440
|
-
type
|
|
16441
|
-
type
|
|
16442
|
-
body?:
|
|
16443
|
-
path: {
|
|
16585
|
+
type GooglePauseCampaignResponse = GooglePauseCampaignResponses[keyof GooglePauseCampaignResponses];
|
|
16586
|
+
type GoogleEnableCampaignData = {
|
|
16587
|
+
body?: {
|
|
16444
16588
|
/**
|
|
16445
|
-
*
|
|
16589
|
+
* Preview the change without applying it. Default false (the write executes).
|
|
16446
16590
|
*/
|
|
16447
|
-
|
|
16591
|
+
dry_run?: boolean;
|
|
16448
16592
|
};
|
|
16449
|
-
|
|
16593
|
+
headers?: {
|
|
16450
16594
|
/**
|
|
16451
|
-
* A
|
|
16595
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
16452
16596
|
*/
|
|
16453
|
-
|
|
16597
|
+
'Idempotency-Key'?: string;
|
|
16598
|
+
};
|
|
16599
|
+
path: {
|
|
16454
16600
|
/**
|
|
16455
|
-
*
|
|
16601
|
+
* The id of a Google Ads connection in your account.
|
|
16456
16602
|
*/
|
|
16457
|
-
|
|
16603
|
+
connection_id: string;
|
|
16604
|
+
/**
|
|
16605
|
+
* The numeric id of the resource.
|
|
16606
|
+
*/
|
|
16607
|
+
id: string;
|
|
16458
16608
|
};
|
|
16459
|
-
|
|
16609
|
+
query?: never;
|
|
16610
|
+
url: '/google/{connection_id}/campaigns/{id}/enable';
|
|
16460
16611
|
};
|
|
16461
|
-
type
|
|
16612
|
+
type GoogleEnableCampaignErrors = {
|
|
16462
16613
|
/**
|
|
16463
16614
|
* An RFC 9457 problem response.
|
|
16464
16615
|
*/
|
|
@@ -16732,33 +16883,40 @@ type GoogleSearchGeoTargetsErrors = {
|
|
|
16732
16883
|
}>;
|
|
16733
16884
|
};
|
|
16734
16885
|
};
|
|
16735
|
-
type
|
|
16736
|
-
type
|
|
16886
|
+
type GoogleEnableCampaignError = GoogleEnableCampaignErrors[keyof GoogleEnableCampaignErrors];
|
|
16887
|
+
type GoogleEnableCampaignResponses = {
|
|
16737
16888
|
/**
|
|
16738
|
-
*
|
|
16889
|
+
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
16739
16890
|
*/
|
|
16740
16891
|
200: {
|
|
16741
|
-
|
|
16742
|
-
|
|
16892
|
+
id: string;
|
|
16893
|
+
status: 'ENABLED' | 'PAUSED';
|
|
16894
|
+
dry_run: boolean;
|
|
16895
|
+
executed: boolean;
|
|
16743
16896
|
};
|
|
16744
16897
|
};
|
|
16745
|
-
type
|
|
16746
|
-
type
|
|
16898
|
+
type GoogleEnableCampaignResponse = GoogleEnableCampaignResponses[keyof GoogleEnableCampaignResponses];
|
|
16899
|
+
type GoogleSearchGeoTargetsData = {
|
|
16747
16900
|
body?: never;
|
|
16748
16901
|
path: {
|
|
16749
16902
|
/**
|
|
16750
16903
|
* The id of a Google Ads connection in your account.
|
|
16751
16904
|
*/
|
|
16752
16905
|
connection_id: string;
|
|
16906
|
+
};
|
|
16907
|
+
query: {
|
|
16753
16908
|
/**
|
|
16754
|
-
*
|
|
16909
|
+
* A free-text location name to resolve (e.g. "New York", "California", "United Kingdom").
|
|
16755
16910
|
*/
|
|
16756
|
-
|
|
16911
|
+
q: string;
|
|
16912
|
+
/**
|
|
16913
|
+
* Optional ISO-3166-1 alpha-2 country code to bias the search (e.g. "US").
|
|
16914
|
+
*/
|
|
16915
|
+
country_code?: string;
|
|
16757
16916
|
};
|
|
16758
|
-
|
|
16759
|
-
url: '/google/{connection_id}/campaigns/{campaign_id}/criteria';
|
|
16917
|
+
url: '/google/{connection_id}/geo-targets/search';
|
|
16760
16918
|
};
|
|
16761
|
-
type
|
|
16919
|
+
type GoogleSearchGeoTargetsErrors = {
|
|
16762
16920
|
/**
|
|
16763
16921
|
* An RFC 9457 problem response.
|
|
16764
16922
|
*/
|
|
@@ -17032,43 +17190,19 @@ type GoogleListCampaignCriteriaErrors = {
|
|
|
17032
17190
|
}>;
|
|
17033
17191
|
};
|
|
17034
17192
|
};
|
|
17035
|
-
type
|
|
17036
|
-
type
|
|
17193
|
+
type GoogleSearchGeoTargetsError = GoogleSearchGeoTargetsErrors[keyof GoogleSearchGeoTargetsErrors];
|
|
17194
|
+
type GoogleSearchGeoTargetsResponses = {
|
|
17037
17195
|
/**
|
|
17038
17196
|
* OK
|
|
17039
17197
|
*/
|
|
17040
17198
|
200: {
|
|
17041
17199
|
object: 'list';
|
|
17042
|
-
data: Array<
|
|
17200
|
+
data: Array<GoogleAdsGeoTargetConstant>;
|
|
17043
17201
|
};
|
|
17044
17202
|
};
|
|
17045
|
-
type
|
|
17046
|
-
type
|
|
17047
|
-
body
|
|
17048
|
-
/**
|
|
17049
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
17050
|
-
*/
|
|
17051
|
-
dry_run?: boolean;
|
|
17052
|
-
type: 'location' | 'language';
|
|
17053
|
-
/**
|
|
17054
|
-
* The geo target constant resource name to target — the `resource_name` returned by the geo-targets search (e.g. `geoTargetConstants/2840`), NOT the bare id.
|
|
17055
|
-
*/
|
|
17056
|
-
geo_target_constant?: string;
|
|
17057
|
-
/**
|
|
17058
|
-
* When true, EXCLUDE this location instead of targeting it (a negative location criterion).
|
|
17059
|
-
*/
|
|
17060
|
-
negative?: boolean;
|
|
17061
|
-
/**
|
|
17062
|
-
* The language constant to target, e.g. `languageConstants/1000` (English). See Google’s language codes table (developers.google.com/google-ads/api/data/codes-formats#languages) for the full id list.
|
|
17063
|
-
*/
|
|
17064
|
-
language_constant?: string;
|
|
17065
|
-
};
|
|
17066
|
-
headers?: {
|
|
17067
|
-
/**
|
|
17068
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
17069
|
-
*/
|
|
17070
|
-
'Idempotency-Key'?: string;
|
|
17071
|
-
};
|
|
17203
|
+
type GoogleSearchGeoTargetsResponse = GoogleSearchGeoTargetsResponses[keyof GoogleSearchGeoTargetsResponses];
|
|
17204
|
+
type GoogleListCampaignCriteriaData = {
|
|
17205
|
+
body?: never;
|
|
17072
17206
|
path: {
|
|
17073
17207
|
/**
|
|
17074
17208
|
* The id of a Google Ads connection in your account.
|
|
@@ -17082,7 +17216,7 @@ type GoogleCreateCampaignCriterionData = {
|
|
|
17082
17216
|
query?: never;
|
|
17083
17217
|
url: '/google/{connection_id}/campaigns/{campaign_id}/criteria';
|
|
17084
17218
|
};
|
|
17085
|
-
type
|
|
17219
|
+
type GoogleListCampaignCriteriaErrors = {
|
|
17086
17220
|
/**
|
|
17087
17221
|
* An RFC 9457 problem response.
|
|
17088
17222
|
*/
|
|
@@ -17356,20 +17490,36 @@ type GoogleCreateCampaignCriterionErrors = {
|
|
|
17356
17490
|
}>;
|
|
17357
17491
|
};
|
|
17358
17492
|
};
|
|
17359
|
-
type
|
|
17360
|
-
type
|
|
17493
|
+
type GoogleListCampaignCriteriaError = GoogleListCampaignCriteriaErrors[keyof GoogleListCampaignCriteriaErrors];
|
|
17494
|
+
type GoogleListCampaignCriteriaResponses = {
|
|
17361
17495
|
/**
|
|
17362
17496
|
* OK
|
|
17363
17497
|
*/
|
|
17364
|
-
|
|
17498
|
+
200: {
|
|
17499
|
+
object: 'list';
|
|
17500
|
+
data: Array<GoogleAdsCampaignCriterion>;
|
|
17501
|
+
};
|
|
17365
17502
|
};
|
|
17366
|
-
type
|
|
17367
|
-
type
|
|
17368
|
-
body
|
|
17503
|
+
type GoogleListCampaignCriteriaResponse = GoogleListCampaignCriteriaResponses[keyof GoogleListCampaignCriteriaResponses];
|
|
17504
|
+
type GoogleCreateCampaignCriterionData = {
|
|
17505
|
+
body: {
|
|
17369
17506
|
/**
|
|
17370
17507
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
17371
17508
|
*/
|
|
17372
17509
|
dry_run?: boolean;
|
|
17510
|
+
type: 'location' | 'language';
|
|
17511
|
+
/**
|
|
17512
|
+
* The geo target constant resource name to target — the `resource_name` returned by the geo-targets search (e.g. `geoTargetConstants/2840`), NOT the bare id.
|
|
17513
|
+
*/
|
|
17514
|
+
geo_target_constant?: string;
|
|
17515
|
+
/**
|
|
17516
|
+
* When true, EXCLUDE this location instead of targeting it (a negative location criterion).
|
|
17517
|
+
*/
|
|
17518
|
+
negative?: boolean;
|
|
17519
|
+
/**
|
|
17520
|
+
* The language constant to target, e.g. `languageConstants/1000` (English). See Google’s language codes table (developers.google.com/google-ads/api/data/codes-formats#languages) for the full id list.
|
|
17521
|
+
*/
|
|
17522
|
+
language_constant?: string;
|
|
17373
17523
|
};
|
|
17374
17524
|
headers?: {
|
|
17375
17525
|
/**
|
|
@@ -17386,15 +17536,11 @@ type GoogleRemoveCampaignCriterionData = {
|
|
|
17386
17536
|
* The numeric id of the campaign.
|
|
17387
17537
|
*/
|
|
17388
17538
|
campaign_id: string;
|
|
17389
|
-
/**
|
|
17390
|
-
* The numeric id of the criterion.
|
|
17391
|
-
*/
|
|
17392
|
-
criterion_id: string;
|
|
17393
17539
|
};
|
|
17394
17540
|
query?: never;
|
|
17395
|
-
url: '/google/{connection_id}/campaigns/{campaign_id}/criteria
|
|
17541
|
+
url: '/google/{connection_id}/campaigns/{campaign_id}/criteria';
|
|
17396
17542
|
};
|
|
17397
|
-
type
|
|
17543
|
+
type GoogleCreateCampaignCriterionErrors = {
|
|
17398
17544
|
/**
|
|
17399
17545
|
* An RFC 9457 problem response.
|
|
17400
17546
|
*/
|
|
@@ -17668,28 +17814,20 @@ type GoogleRemoveCampaignCriterionErrors = {
|
|
|
17668
17814
|
}>;
|
|
17669
17815
|
};
|
|
17670
17816
|
};
|
|
17671
|
-
type
|
|
17672
|
-
type
|
|
17817
|
+
type GoogleCreateCampaignCriterionError = GoogleCreateCampaignCriterionErrors[keyof GoogleCreateCampaignCriterionErrors];
|
|
17818
|
+
type GoogleCreateCampaignCriterionResponses = {
|
|
17673
17819
|
/**
|
|
17674
17820
|
* OK
|
|
17675
17821
|
*/
|
|
17676
|
-
|
|
17822
|
+
201: GoogleAdsCreateResult;
|
|
17677
17823
|
};
|
|
17678
|
-
type
|
|
17679
|
-
type
|
|
17824
|
+
type GoogleCreateCampaignCriterionResponse = GoogleCreateCampaignCriterionResponses[keyof GoogleCreateCampaignCriterionResponses];
|
|
17825
|
+
type GoogleRemoveCampaignCriterionData = {
|
|
17680
17826
|
body?: {
|
|
17681
17827
|
/**
|
|
17682
17828
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
17683
17829
|
*/
|
|
17684
17830
|
dry_run?: boolean;
|
|
17685
|
-
/**
|
|
17686
|
-
* Who a positive location targets: PRESENCE (people in or regularly in the location) or PRESENCE_OR_INTEREST (also people interested in it).
|
|
17687
|
-
*/
|
|
17688
|
-
positive_geo_target_type?: 'PRESENCE_OR_INTEREST' | 'PRESENCE';
|
|
17689
|
-
/**
|
|
17690
|
-
* Who an excluded location excludes: PRESENCE or PRESENCE_OR_INTEREST.
|
|
17691
|
-
*/
|
|
17692
|
-
negative_geo_target_type?: 'PRESENCE_OR_INTEREST' | 'PRESENCE';
|
|
17693
17831
|
};
|
|
17694
17832
|
headers?: {
|
|
17695
17833
|
/**
|
|
@@ -17706,11 +17844,15 @@ type GoogleSetCampaignGeoSettingsData = {
|
|
|
17706
17844
|
* The numeric id of the campaign.
|
|
17707
17845
|
*/
|
|
17708
17846
|
campaign_id: string;
|
|
17847
|
+
/**
|
|
17848
|
+
* The numeric id of the criterion.
|
|
17849
|
+
*/
|
|
17850
|
+
criterion_id: string;
|
|
17709
17851
|
};
|
|
17710
17852
|
query?: never;
|
|
17711
|
-
url: '/google/{connection_id}/campaigns/{campaign_id}/
|
|
17853
|
+
url: '/google/{connection_id}/campaigns/{campaign_id}/criteria/{criterion_id}/remove';
|
|
17712
17854
|
};
|
|
17713
|
-
type
|
|
17855
|
+
type GoogleRemoveCampaignCriterionErrors = {
|
|
17714
17856
|
/**
|
|
17715
17857
|
* An RFC 9457 problem response.
|
|
17716
17858
|
*/
|
|
@@ -17984,32 +18126,49 @@ type GoogleSetCampaignGeoSettingsErrors = {
|
|
|
17984
18126
|
}>;
|
|
17985
18127
|
};
|
|
17986
18128
|
};
|
|
17987
|
-
type
|
|
17988
|
-
type
|
|
18129
|
+
type GoogleRemoveCampaignCriterionError = GoogleRemoveCampaignCriterionErrors[keyof GoogleRemoveCampaignCriterionErrors];
|
|
18130
|
+
type GoogleRemoveCampaignCriterionResponses = {
|
|
17989
18131
|
/**
|
|
17990
18132
|
* OK
|
|
17991
18133
|
*/
|
|
17992
|
-
200:
|
|
18134
|
+
200: GoogleAdsDeleteResult;
|
|
17993
18135
|
};
|
|
17994
|
-
type
|
|
17995
|
-
type
|
|
17996
|
-
body?:
|
|
18136
|
+
type GoogleRemoveCampaignCriterionResponse = GoogleRemoveCampaignCriterionResponses[keyof GoogleRemoveCampaignCriterionResponses];
|
|
18137
|
+
type GoogleSetCampaignGeoSettingsData = {
|
|
18138
|
+
body?: {
|
|
18139
|
+
/**
|
|
18140
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
18141
|
+
*/
|
|
18142
|
+
dry_run?: boolean;
|
|
18143
|
+
/**
|
|
18144
|
+
* Who a positive location targets: PRESENCE (people in or regularly in the location) or PRESENCE_OR_INTEREST (also people interested in it).
|
|
18145
|
+
*/
|
|
18146
|
+
positive_geo_target_type?: 'PRESENCE_OR_INTEREST' | 'PRESENCE';
|
|
18147
|
+
/**
|
|
18148
|
+
* Who an excluded location excludes: PRESENCE or PRESENCE_OR_INTEREST.
|
|
18149
|
+
*/
|
|
18150
|
+
negative_geo_target_type?: 'PRESENCE_OR_INTEREST' | 'PRESENCE';
|
|
18151
|
+
};
|
|
18152
|
+
headers?: {
|
|
18153
|
+
/**
|
|
18154
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
18155
|
+
*/
|
|
18156
|
+
'Idempotency-Key'?: string;
|
|
18157
|
+
};
|
|
17997
18158
|
path: {
|
|
17998
18159
|
/**
|
|
17999
18160
|
* The id of a Google Ads connection in your account.
|
|
18000
18161
|
*/
|
|
18001
18162
|
connection_id: string;
|
|
18002
|
-
};
|
|
18003
|
-
query?: {
|
|
18004
18163
|
/**
|
|
18005
|
-
*
|
|
18164
|
+
* The numeric id of the campaign.
|
|
18006
18165
|
*/
|
|
18007
|
-
campaign_id
|
|
18008
|
-
status?: GoogleAdsReadStatusFilter;
|
|
18166
|
+
campaign_id: string;
|
|
18009
18167
|
};
|
|
18010
|
-
|
|
18168
|
+
query?: never;
|
|
18169
|
+
url: '/google/{connection_id}/campaigns/{campaign_id}/geo-settings';
|
|
18011
18170
|
};
|
|
18012
|
-
type
|
|
18171
|
+
type GoogleSetCampaignGeoSettingsErrors = {
|
|
18013
18172
|
/**
|
|
18014
18173
|
* An RFC 9457 problem response.
|
|
18015
18174
|
*/
|
|
@@ -18283,56 +18442,32 @@ type GoogleListAdGroupsErrors = {
|
|
|
18283
18442
|
}>;
|
|
18284
18443
|
};
|
|
18285
18444
|
};
|
|
18286
|
-
type
|
|
18287
|
-
type
|
|
18445
|
+
type GoogleSetCampaignGeoSettingsError = GoogleSetCampaignGeoSettingsErrors[keyof GoogleSetCampaignGeoSettingsErrors];
|
|
18446
|
+
type GoogleSetCampaignGeoSettingsResponses = {
|
|
18288
18447
|
/**
|
|
18289
18448
|
* OK
|
|
18290
18449
|
*/
|
|
18291
|
-
200:
|
|
18292
|
-
object: 'list';
|
|
18293
|
-
data: Array<GoogleAdsAdGroup>;
|
|
18294
|
-
};
|
|
18450
|
+
200: GoogleAdsEditResult;
|
|
18295
18451
|
};
|
|
18296
|
-
type
|
|
18297
|
-
type
|
|
18298
|
-
body
|
|
18299
|
-
/**
|
|
18300
|
-
* A name for the ad group, unique within the campaign.
|
|
18301
|
-
*/
|
|
18302
|
-
name: string;
|
|
18303
|
-
/**
|
|
18304
|
-
* The resource name of the parent campaign (e.g. `customers/123/campaigns/456`), as returned by POST /campaigns.
|
|
18305
|
-
*/
|
|
18306
|
-
campaign: string;
|
|
18307
|
-
/**
|
|
18308
|
-
* The ad group type; must match the parent campaign channel: SEARCH_STANDARD for a Search campaign, DISPLAY_STANDARD for a Display campaign.
|
|
18309
|
-
*/
|
|
18310
|
-
type: 'SEARCH_STANDARD' | 'DISPLAY_STANDARD';
|
|
18311
|
-
/**
|
|
18312
|
-
* The initial serving status of the ad group. Defaults to ENABLED.
|
|
18313
|
-
*/
|
|
18314
|
-
status?: 'ENABLED' | 'PAUSED';
|
|
18315
|
-
/**
|
|
18316
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
18317
|
-
*/
|
|
18318
|
-
dry_run?: boolean;
|
|
18319
|
-
};
|
|
18320
|
-
headers?: {
|
|
18321
|
-
/**
|
|
18322
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
18323
|
-
*/
|
|
18324
|
-
'Idempotency-Key'?: string;
|
|
18325
|
-
};
|
|
18452
|
+
type GoogleSetCampaignGeoSettingsResponse = GoogleSetCampaignGeoSettingsResponses[keyof GoogleSetCampaignGeoSettingsResponses];
|
|
18453
|
+
type GoogleListAdGroupsData = {
|
|
18454
|
+
body?: never;
|
|
18326
18455
|
path: {
|
|
18327
18456
|
/**
|
|
18328
18457
|
* The id of a Google Ads connection in your account.
|
|
18329
18458
|
*/
|
|
18330
18459
|
connection_id: string;
|
|
18331
18460
|
};
|
|
18332
|
-
query?:
|
|
18461
|
+
query?: {
|
|
18462
|
+
/**
|
|
18463
|
+
* Only return ad groups under this campaign (its numeric id).
|
|
18464
|
+
*/
|
|
18465
|
+
campaign_id?: string;
|
|
18466
|
+
status?: GoogleAdsReadStatusFilter;
|
|
18467
|
+
};
|
|
18333
18468
|
url: '/google/{connection_id}/ad-groups';
|
|
18334
18469
|
};
|
|
18335
|
-
type
|
|
18470
|
+
type GoogleListAdGroupsErrors = {
|
|
18336
18471
|
/**
|
|
18337
18472
|
* An RFC 9457 problem response.
|
|
18338
18473
|
*/
|
|
@@ -18606,30 +18741,56 @@ type GoogleCreateAdGroupErrors = {
|
|
|
18606
18741
|
}>;
|
|
18607
18742
|
};
|
|
18608
18743
|
};
|
|
18609
|
-
type
|
|
18610
|
-
type
|
|
18744
|
+
type GoogleListAdGroupsError = GoogleListAdGroupsErrors[keyof GoogleListAdGroupsErrors];
|
|
18745
|
+
type GoogleListAdGroupsResponses = {
|
|
18611
18746
|
/**
|
|
18612
18747
|
* OK
|
|
18613
18748
|
*/
|
|
18614
|
-
|
|
18749
|
+
200: {
|
|
18750
|
+
object: 'list';
|
|
18751
|
+
data: Array<GoogleAdsAdGroup>;
|
|
18752
|
+
};
|
|
18615
18753
|
};
|
|
18616
|
-
type
|
|
18617
|
-
type
|
|
18618
|
-
body
|
|
18754
|
+
type GoogleListAdGroupsResponse = GoogleListAdGroupsResponses[keyof GoogleListAdGroupsResponses];
|
|
18755
|
+
type GoogleCreateAdGroupData = {
|
|
18756
|
+
body: {
|
|
18757
|
+
/**
|
|
18758
|
+
* A name for the ad group, unique within the campaign.
|
|
18759
|
+
*/
|
|
18760
|
+
name: string;
|
|
18761
|
+
/**
|
|
18762
|
+
* The resource name of the parent campaign (e.g. `customers/123/campaigns/456`), as returned by POST /campaigns.
|
|
18763
|
+
*/
|
|
18764
|
+
campaign: string;
|
|
18765
|
+
/**
|
|
18766
|
+
* The ad group type; must match the parent campaign channel: SEARCH_STANDARD for a Search campaign, DISPLAY_STANDARD for a Display campaign.
|
|
18767
|
+
*/
|
|
18768
|
+
type: 'SEARCH_STANDARD' | 'DISPLAY_STANDARD';
|
|
18769
|
+
/**
|
|
18770
|
+
* The initial serving status of the ad group. Defaults to ENABLED.
|
|
18771
|
+
*/
|
|
18772
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
18773
|
+
/**
|
|
18774
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
18775
|
+
*/
|
|
18776
|
+
dry_run?: boolean;
|
|
18777
|
+
};
|
|
18778
|
+
headers?: {
|
|
18779
|
+
/**
|
|
18780
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
18781
|
+
*/
|
|
18782
|
+
'Idempotency-Key'?: string;
|
|
18783
|
+
};
|
|
18619
18784
|
path: {
|
|
18620
18785
|
/**
|
|
18621
18786
|
* The id of a Google Ads connection in your account.
|
|
18622
18787
|
*/
|
|
18623
18788
|
connection_id: string;
|
|
18624
|
-
/**
|
|
18625
|
-
* The numeric id of the resource.
|
|
18626
|
-
*/
|
|
18627
|
-
id: string;
|
|
18628
18789
|
};
|
|
18629
18790
|
query?: never;
|
|
18630
|
-
url: '/google/{connection_id}/ad-groups
|
|
18791
|
+
url: '/google/{connection_id}/ad-groups';
|
|
18631
18792
|
};
|
|
18632
|
-
type
|
|
18793
|
+
type GoogleCreateAdGroupErrors = {
|
|
18633
18794
|
/**
|
|
18634
18795
|
* An RFC 9457 problem response.
|
|
18635
18796
|
*/
|
|
@@ -18903,31 +19064,16 @@ type GoogleGetAdGroupErrors = {
|
|
|
18903
19064
|
}>;
|
|
18904
19065
|
};
|
|
18905
19066
|
};
|
|
18906
|
-
type
|
|
18907
|
-
type
|
|
19067
|
+
type GoogleCreateAdGroupError = GoogleCreateAdGroupErrors[keyof GoogleCreateAdGroupErrors];
|
|
19068
|
+
type GoogleCreateAdGroupResponses = {
|
|
18908
19069
|
/**
|
|
18909
19070
|
* OK
|
|
18910
19071
|
*/
|
|
18911
|
-
|
|
19072
|
+
201: GoogleAdsCreateResult;
|
|
18912
19073
|
};
|
|
18913
|
-
type
|
|
18914
|
-
type
|
|
18915
|
-
body
|
|
18916
|
-
/**
|
|
18917
|
-
* A new name for the ad group, unique within the campaign.
|
|
18918
|
-
*/
|
|
18919
|
-
name: string;
|
|
18920
|
-
/**
|
|
18921
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
18922
|
-
*/
|
|
18923
|
-
dry_run?: boolean;
|
|
18924
|
-
};
|
|
18925
|
-
headers?: {
|
|
18926
|
-
/**
|
|
18927
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
18928
|
-
*/
|
|
18929
|
-
'Idempotency-Key'?: string;
|
|
18930
|
-
};
|
|
19074
|
+
type GoogleCreateAdGroupResponse = GoogleCreateAdGroupResponses[keyof GoogleCreateAdGroupResponses];
|
|
19075
|
+
type GoogleGetAdGroupData = {
|
|
19076
|
+
body?: never;
|
|
18931
19077
|
path: {
|
|
18932
19078
|
/**
|
|
18933
19079
|
* The id of a Google Ads connection in your account.
|
|
@@ -18941,7 +19087,7 @@ type GoogleEditAdGroupData = {
|
|
|
18941
19087
|
query?: never;
|
|
18942
19088
|
url: '/google/{connection_id}/ad-groups/{id}';
|
|
18943
19089
|
};
|
|
18944
|
-
type
|
|
19090
|
+
type GoogleGetAdGroupErrors = {
|
|
18945
19091
|
/**
|
|
18946
19092
|
* An RFC 9457 problem response.
|
|
18947
19093
|
*/
|
|
@@ -19215,32 +19361,20 @@ type GoogleEditAdGroupErrors = {
|
|
|
19215
19361
|
}>;
|
|
19216
19362
|
};
|
|
19217
19363
|
};
|
|
19218
|
-
type
|
|
19219
|
-
type
|
|
19364
|
+
type GoogleGetAdGroupError = GoogleGetAdGroupErrors[keyof GoogleGetAdGroupErrors];
|
|
19365
|
+
type GoogleGetAdGroupResponses = {
|
|
19220
19366
|
/**
|
|
19221
19367
|
* OK
|
|
19222
19368
|
*/
|
|
19223
|
-
200:
|
|
19369
|
+
200: GoogleAdsAdGroup;
|
|
19224
19370
|
};
|
|
19225
|
-
type
|
|
19226
|
-
type
|
|
19227
|
-
body
|
|
19228
|
-
/**
|
|
19229
|
-
* Manual CPC bid, in micros of the account currency.
|
|
19230
|
-
*/
|
|
19231
|
-
cpc_bid_micros?: number;
|
|
19232
|
-
/**
|
|
19233
|
-
* Manual CPM bid, in micros of the account currency.
|
|
19234
|
-
*/
|
|
19235
|
-
cpm_bid_micros?: number;
|
|
19236
|
-
/**
|
|
19237
|
-
* Target CPA, in micros of the account currency.
|
|
19238
|
-
*/
|
|
19239
|
-
target_cpa_micros?: number;
|
|
19371
|
+
type GoogleGetAdGroupResponse = GoogleGetAdGroupResponses[keyof GoogleGetAdGroupResponses];
|
|
19372
|
+
type GoogleEditAdGroupData = {
|
|
19373
|
+
body: {
|
|
19240
19374
|
/**
|
|
19241
|
-
*
|
|
19375
|
+
* A new name for the ad group, unique within the campaign.
|
|
19242
19376
|
*/
|
|
19243
|
-
|
|
19377
|
+
name: string;
|
|
19244
19378
|
/**
|
|
19245
19379
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
19246
19380
|
*/
|
|
@@ -19263,9 +19397,9 @@ type GoogleSetAdGroupBidsData = {
|
|
|
19263
19397
|
id: string;
|
|
19264
19398
|
};
|
|
19265
19399
|
query?: never;
|
|
19266
|
-
url: '/google/{connection_id}/ad-groups/{id}
|
|
19400
|
+
url: '/google/{connection_id}/ad-groups/{id}';
|
|
19267
19401
|
};
|
|
19268
|
-
type
|
|
19402
|
+
type GoogleEditAdGroupErrors = {
|
|
19269
19403
|
/**
|
|
19270
19404
|
* An RFC 9457 problem response.
|
|
19271
19405
|
*/
|
|
@@ -19539,16 +19673,32 @@ type GoogleSetAdGroupBidsErrors = {
|
|
|
19539
19673
|
}>;
|
|
19540
19674
|
};
|
|
19541
19675
|
};
|
|
19542
|
-
type
|
|
19543
|
-
type
|
|
19676
|
+
type GoogleEditAdGroupError = GoogleEditAdGroupErrors[keyof GoogleEditAdGroupErrors];
|
|
19677
|
+
type GoogleEditAdGroupResponses = {
|
|
19544
19678
|
/**
|
|
19545
19679
|
* OK
|
|
19546
19680
|
*/
|
|
19547
19681
|
200: GoogleAdsEditResult;
|
|
19548
19682
|
};
|
|
19549
|
-
type
|
|
19550
|
-
type
|
|
19683
|
+
type GoogleEditAdGroupResponse = GoogleEditAdGroupResponses[keyof GoogleEditAdGroupResponses];
|
|
19684
|
+
type GoogleSetAdGroupBidsData = {
|
|
19551
19685
|
body?: {
|
|
19686
|
+
/**
|
|
19687
|
+
* Manual CPC bid, in micros of the account currency.
|
|
19688
|
+
*/
|
|
19689
|
+
cpc_bid_micros?: number;
|
|
19690
|
+
/**
|
|
19691
|
+
* Manual CPM bid, in micros of the account currency.
|
|
19692
|
+
*/
|
|
19693
|
+
cpm_bid_micros?: number;
|
|
19694
|
+
/**
|
|
19695
|
+
* Target CPA, in micros of the account currency.
|
|
19696
|
+
*/
|
|
19697
|
+
target_cpa_micros?: number;
|
|
19698
|
+
/**
|
|
19699
|
+
* Target ROAS as a ratio (e.g. 4.0 means 400%).
|
|
19700
|
+
*/
|
|
19701
|
+
target_roas?: number;
|
|
19552
19702
|
/**
|
|
19553
19703
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
19554
19704
|
*/
|
|
@@ -19571,9 +19721,9 @@ type GoogleRemoveAdGroupData = {
|
|
|
19571
19721
|
id: string;
|
|
19572
19722
|
};
|
|
19573
19723
|
query?: never;
|
|
19574
|
-
url: '/google/{connection_id}/ad-groups/{id}/
|
|
19724
|
+
url: '/google/{connection_id}/ad-groups/{id}/bids';
|
|
19575
19725
|
};
|
|
19576
|
-
type
|
|
19726
|
+
type GoogleSetAdGroupBidsErrors = {
|
|
19577
19727
|
/**
|
|
19578
19728
|
* An RFC 9457 problem response.
|
|
19579
19729
|
*/
|
|
@@ -19847,18 +19997,18 @@ type GoogleRemoveAdGroupErrors = {
|
|
|
19847
19997
|
}>;
|
|
19848
19998
|
};
|
|
19849
19999
|
};
|
|
19850
|
-
type
|
|
19851
|
-
type
|
|
20000
|
+
type GoogleSetAdGroupBidsError = GoogleSetAdGroupBidsErrors[keyof GoogleSetAdGroupBidsErrors];
|
|
20001
|
+
type GoogleSetAdGroupBidsResponses = {
|
|
19852
20002
|
/**
|
|
19853
20003
|
* OK
|
|
19854
20004
|
*/
|
|
19855
|
-
200:
|
|
20005
|
+
200: GoogleAdsEditResult;
|
|
19856
20006
|
};
|
|
19857
|
-
type
|
|
19858
|
-
type
|
|
20007
|
+
type GoogleSetAdGroupBidsResponse = GoogleSetAdGroupBidsResponses[keyof GoogleSetAdGroupBidsResponses];
|
|
20008
|
+
type GoogleRemoveAdGroupData = {
|
|
19859
20009
|
body?: {
|
|
19860
20010
|
/**
|
|
19861
|
-
*
|
|
20011
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
19862
20012
|
*/
|
|
19863
20013
|
dry_run?: boolean;
|
|
19864
20014
|
};
|
|
@@ -19879,9 +20029,9 @@ type GooglePauseAdGroupData = {
|
|
|
19879
20029
|
id: string;
|
|
19880
20030
|
};
|
|
19881
20031
|
query?: never;
|
|
19882
|
-
url: '/google/{connection_id}/ad-groups/{id}/
|
|
20032
|
+
url: '/google/{connection_id}/ad-groups/{id}/remove';
|
|
19883
20033
|
};
|
|
19884
|
-
type
|
|
20034
|
+
type GoogleRemoveAdGroupErrors = {
|
|
19885
20035
|
/**
|
|
19886
20036
|
* An RFC 9457 problem response.
|
|
19887
20037
|
*/
|
|
@@ -20155,20 +20305,15 @@ type GooglePauseAdGroupErrors = {
|
|
|
20155
20305
|
}>;
|
|
20156
20306
|
};
|
|
20157
20307
|
};
|
|
20158
|
-
type
|
|
20159
|
-
type
|
|
20308
|
+
type GoogleRemoveAdGroupError = GoogleRemoveAdGroupErrors[keyof GoogleRemoveAdGroupErrors];
|
|
20309
|
+
type GoogleRemoveAdGroupResponses = {
|
|
20160
20310
|
/**
|
|
20161
|
-
*
|
|
20311
|
+
* OK
|
|
20162
20312
|
*/
|
|
20163
|
-
200:
|
|
20164
|
-
id: string;
|
|
20165
|
-
status: 'ENABLED' | 'PAUSED';
|
|
20166
|
-
dry_run: boolean;
|
|
20167
|
-
executed: boolean;
|
|
20168
|
-
};
|
|
20313
|
+
200: GoogleAdsDeleteResult;
|
|
20169
20314
|
};
|
|
20170
|
-
type
|
|
20171
|
-
type
|
|
20315
|
+
type GoogleRemoveAdGroupResponse = GoogleRemoveAdGroupResponses[keyof GoogleRemoveAdGroupResponses];
|
|
20316
|
+
type GooglePauseAdGroupData = {
|
|
20172
20317
|
body?: {
|
|
20173
20318
|
/**
|
|
20174
20319
|
* Preview the change without applying it. Default false (the write executes).
|
|
@@ -20192,9 +20337,9 @@ type GoogleEnableAdGroupData = {
|
|
|
20192
20337
|
id: string;
|
|
20193
20338
|
};
|
|
20194
20339
|
query?: never;
|
|
20195
|
-
url: '/google/{connection_id}/ad-groups/{id}/
|
|
20340
|
+
url: '/google/{connection_id}/ad-groups/{id}/pause';
|
|
20196
20341
|
};
|
|
20197
|
-
type
|
|
20342
|
+
type GooglePauseAdGroupErrors = {
|
|
20198
20343
|
/**
|
|
20199
20344
|
* An RFC 9457 problem response.
|
|
20200
20345
|
*/
|
|
@@ -20468,8 +20613,8 @@ type GoogleEnableAdGroupErrors = {
|
|
|
20468
20613
|
}>;
|
|
20469
20614
|
};
|
|
20470
20615
|
};
|
|
20471
|
-
type
|
|
20472
|
-
type
|
|
20616
|
+
type GooglePauseAdGroupError = GooglePauseAdGroupErrors[keyof GooglePauseAdGroupErrors];
|
|
20617
|
+
type GooglePauseAdGroupResponses = {
|
|
20473
20618
|
/**
|
|
20474
20619
|
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
20475
20620
|
*/
|
|
@@ -20480,23 +20625,34 @@ type GoogleEnableAdGroupResponses = {
|
|
|
20480
20625
|
executed: boolean;
|
|
20481
20626
|
};
|
|
20482
20627
|
};
|
|
20483
|
-
type
|
|
20484
|
-
type
|
|
20485
|
-
body?:
|
|
20628
|
+
type GooglePauseAdGroupResponse = GooglePauseAdGroupResponses[keyof GooglePauseAdGroupResponses];
|
|
20629
|
+
type GoogleEnableAdGroupData = {
|
|
20630
|
+
body?: {
|
|
20631
|
+
/**
|
|
20632
|
+
* Preview the change without applying it. Default false (the write executes).
|
|
20633
|
+
*/
|
|
20634
|
+
dry_run?: boolean;
|
|
20635
|
+
};
|
|
20636
|
+
headers?: {
|
|
20637
|
+
/**
|
|
20638
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
20639
|
+
*/
|
|
20640
|
+
'Idempotency-Key'?: string;
|
|
20641
|
+
};
|
|
20486
20642
|
path: {
|
|
20487
20643
|
/**
|
|
20488
20644
|
* The id of a Google Ads connection in your account.
|
|
20489
20645
|
*/
|
|
20490
20646
|
connection_id: string;
|
|
20491
20647
|
/**
|
|
20492
|
-
* The numeric id of the
|
|
20648
|
+
* The numeric id of the resource.
|
|
20493
20649
|
*/
|
|
20494
|
-
|
|
20650
|
+
id: string;
|
|
20495
20651
|
};
|
|
20496
20652
|
query?: never;
|
|
20497
|
-
url: '/google/{connection_id}/ad-groups/{
|
|
20653
|
+
url: '/google/{connection_id}/ad-groups/{id}/enable';
|
|
20498
20654
|
};
|
|
20499
|
-
type
|
|
20655
|
+
type GoogleEnableAdGroupErrors = {
|
|
20500
20656
|
/**
|
|
20501
20657
|
* An RFC 9457 problem response.
|
|
20502
20658
|
*/
|
|
@@ -20770,63 +20926,21 @@ type GoogleListAdGroupCriteriaErrors = {
|
|
|
20770
20926
|
}>;
|
|
20771
20927
|
};
|
|
20772
20928
|
};
|
|
20773
|
-
type
|
|
20774
|
-
type
|
|
20929
|
+
type GoogleEnableAdGroupError = GoogleEnableAdGroupErrors[keyof GoogleEnableAdGroupErrors];
|
|
20930
|
+
type GoogleEnableAdGroupResponses = {
|
|
20775
20931
|
/**
|
|
20776
|
-
*
|
|
20932
|
+
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
20777
20933
|
*/
|
|
20778
20934
|
200: {
|
|
20779
|
-
|
|
20780
|
-
|
|
20935
|
+
id: string;
|
|
20936
|
+
status: 'ENABLED' | 'PAUSED';
|
|
20937
|
+
dry_run: boolean;
|
|
20938
|
+
executed: boolean;
|
|
20781
20939
|
};
|
|
20782
20940
|
};
|
|
20783
|
-
type
|
|
20784
|
-
type
|
|
20785
|
-
body
|
|
20786
|
-
/**
|
|
20787
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
20788
|
-
*/
|
|
20789
|
-
dry_run?: boolean;
|
|
20790
|
-
type: 'age_range' | 'gender' | 'income_range' | 'parental_status' | 'user_list' | 'audience' | 'custom_audience';
|
|
20791
|
-
/**
|
|
20792
|
-
* The age range to target or exclude (e.g. AGE_RANGE_25_34, or AGE_RANGE_UNDETERMINED for unknown-age users).
|
|
20793
|
-
*/
|
|
20794
|
-
age_range?: 'AGE_RANGE_18_24' | 'AGE_RANGE_25_34' | 'AGE_RANGE_35_44' | 'AGE_RANGE_45_54' | 'AGE_RANGE_55_64' | 'AGE_RANGE_65_UP' | 'AGE_RANGE_UNDETERMINED';
|
|
20795
|
-
/**
|
|
20796
|
-
* When true, EXCLUDE this demographic instead of targeting it (a negative criterion). Demographics are commonly used as exclusions.
|
|
20797
|
-
*/
|
|
20798
|
-
negative?: boolean;
|
|
20799
|
-
/**
|
|
20800
|
-
* The gender to target or exclude (MALE, FEMALE, or UNDETERMINED for unknown-gender users).
|
|
20801
|
-
*/
|
|
20802
|
-
gender?: 'MALE' | 'FEMALE' | 'UNDETERMINED';
|
|
20803
|
-
/**
|
|
20804
|
-
* The household income range to target or exclude (e.g. INCOME_RANGE_0_50 = lowest 50%, INCOME_RANGE_90_UP = top 10%, or INCOME_RANGE_UNDETERMINED).
|
|
20805
|
-
*/
|
|
20806
|
-
income_range?: 'INCOME_RANGE_0_50' | 'INCOME_RANGE_50_60' | 'INCOME_RANGE_60_70' | 'INCOME_RANGE_70_80' | 'INCOME_RANGE_80_90' | 'INCOME_RANGE_90_UP' | 'INCOME_RANGE_UNDETERMINED';
|
|
20807
|
-
/**
|
|
20808
|
-
* The parental status to target or exclude (PARENT, NOT_A_PARENT, or UNDETERMINED).
|
|
20809
|
-
*/
|
|
20810
|
-
parental_status?: 'PARENT' | 'NOT_A_PARENT' | 'UNDETERMINED';
|
|
20811
|
-
/**
|
|
20812
|
-
* The resource name of the userLists to target — the `resource_name` from the audiences discovery read (e.g. `customers/123/userLists/456`), NOT a bare id.
|
|
20813
|
-
*/
|
|
20814
|
-
user_list?: string;
|
|
20815
|
-
/**
|
|
20816
|
-
* The resource name of the audiences to target — the `resource_name` from the audiences discovery read (e.g. `customers/123/audiences/456`), NOT a bare id.
|
|
20817
|
-
*/
|
|
20818
|
-
audience?: string;
|
|
20819
|
-
/**
|
|
20820
|
-
* The resource name of the customAudiences to target — the `resource_name` from the audiences discovery read (e.g. `customers/123/customAudiences/456`), NOT a bare id.
|
|
20821
|
-
*/
|
|
20822
|
-
custom_audience?: string;
|
|
20823
|
-
};
|
|
20824
|
-
headers?: {
|
|
20825
|
-
/**
|
|
20826
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
20827
|
-
*/
|
|
20828
|
-
'Idempotency-Key'?: string;
|
|
20829
|
-
};
|
|
20941
|
+
type GoogleEnableAdGroupResponse = GoogleEnableAdGroupResponses[keyof GoogleEnableAdGroupResponses];
|
|
20942
|
+
type GoogleListAdGroupCriteriaData = {
|
|
20943
|
+
body?: never;
|
|
20830
20944
|
path: {
|
|
20831
20945
|
/**
|
|
20832
20946
|
* The id of a Google Ads connection in your account.
|
|
@@ -20840,7 +20954,7 @@ type GoogleCreateAdGroupCriterionData = {
|
|
|
20840
20954
|
query?: never;
|
|
20841
20955
|
url: '/google/{connection_id}/ad-groups/{ad_group_id}/criteria';
|
|
20842
20956
|
};
|
|
20843
|
-
type
|
|
20957
|
+
type GoogleListAdGroupCriteriaErrors = {
|
|
20844
20958
|
/**
|
|
20845
20959
|
* An RFC 9457 problem response.
|
|
20846
20960
|
*/
|
|
@@ -21114,20 +21228,56 @@ type GoogleCreateAdGroupCriterionErrors = {
|
|
|
21114
21228
|
}>;
|
|
21115
21229
|
};
|
|
21116
21230
|
};
|
|
21117
|
-
type
|
|
21118
|
-
type
|
|
21231
|
+
type GoogleListAdGroupCriteriaError = GoogleListAdGroupCriteriaErrors[keyof GoogleListAdGroupCriteriaErrors];
|
|
21232
|
+
type GoogleListAdGroupCriteriaResponses = {
|
|
21119
21233
|
/**
|
|
21120
21234
|
* OK
|
|
21121
21235
|
*/
|
|
21122
|
-
|
|
21236
|
+
200: {
|
|
21237
|
+
object: 'list';
|
|
21238
|
+
data: Array<GoogleAdsAdGroupCriterion>;
|
|
21239
|
+
};
|
|
21123
21240
|
};
|
|
21124
|
-
type
|
|
21125
|
-
type
|
|
21126
|
-
body
|
|
21241
|
+
type GoogleListAdGroupCriteriaResponse = GoogleListAdGroupCriteriaResponses[keyof GoogleListAdGroupCriteriaResponses];
|
|
21242
|
+
type GoogleCreateAdGroupCriterionData = {
|
|
21243
|
+
body: {
|
|
21127
21244
|
/**
|
|
21128
21245
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
21129
21246
|
*/
|
|
21130
21247
|
dry_run?: boolean;
|
|
21248
|
+
type: 'age_range' | 'gender' | 'income_range' | 'parental_status' | 'user_list' | 'audience' | 'custom_audience';
|
|
21249
|
+
/**
|
|
21250
|
+
* The age range to target or exclude (e.g. AGE_RANGE_25_34, or AGE_RANGE_UNDETERMINED for unknown-age users).
|
|
21251
|
+
*/
|
|
21252
|
+
age_range?: 'AGE_RANGE_18_24' | 'AGE_RANGE_25_34' | 'AGE_RANGE_35_44' | 'AGE_RANGE_45_54' | 'AGE_RANGE_55_64' | 'AGE_RANGE_65_UP' | 'AGE_RANGE_UNDETERMINED';
|
|
21253
|
+
/**
|
|
21254
|
+
* When true, EXCLUDE this demographic instead of targeting it (a negative criterion). Demographics are commonly used as exclusions.
|
|
21255
|
+
*/
|
|
21256
|
+
negative?: boolean;
|
|
21257
|
+
/**
|
|
21258
|
+
* The gender to target or exclude (MALE, FEMALE, or UNDETERMINED for unknown-gender users).
|
|
21259
|
+
*/
|
|
21260
|
+
gender?: 'MALE' | 'FEMALE' | 'UNDETERMINED';
|
|
21261
|
+
/**
|
|
21262
|
+
* The household income range to target or exclude (e.g. INCOME_RANGE_0_50 = lowest 50%, INCOME_RANGE_90_UP = top 10%, or INCOME_RANGE_UNDETERMINED).
|
|
21263
|
+
*/
|
|
21264
|
+
income_range?: 'INCOME_RANGE_0_50' | 'INCOME_RANGE_50_60' | 'INCOME_RANGE_60_70' | 'INCOME_RANGE_70_80' | 'INCOME_RANGE_80_90' | 'INCOME_RANGE_90_UP' | 'INCOME_RANGE_UNDETERMINED';
|
|
21265
|
+
/**
|
|
21266
|
+
* The parental status to target or exclude (PARENT, NOT_A_PARENT, or UNDETERMINED).
|
|
21267
|
+
*/
|
|
21268
|
+
parental_status?: 'PARENT' | 'NOT_A_PARENT' | 'UNDETERMINED';
|
|
21269
|
+
/**
|
|
21270
|
+
* The resource name of the userLists to target — the `resource_name` from the audiences discovery read (e.g. `customers/123/userLists/456`), NOT a bare id.
|
|
21271
|
+
*/
|
|
21272
|
+
user_list?: string;
|
|
21273
|
+
/**
|
|
21274
|
+
* The resource name of the audiences to target — the `resource_name` from the audiences discovery read (e.g. `customers/123/audiences/456`), NOT a bare id.
|
|
21275
|
+
*/
|
|
21276
|
+
audience?: string;
|
|
21277
|
+
/**
|
|
21278
|
+
* The resource name of the customAudiences to target — the `resource_name` from the audiences discovery read (e.g. `customers/123/customAudiences/456`), NOT a bare id.
|
|
21279
|
+
*/
|
|
21280
|
+
custom_audience?: string;
|
|
21131
21281
|
};
|
|
21132
21282
|
headers?: {
|
|
21133
21283
|
/**
|
|
@@ -21144,15 +21294,11 @@ type GoogleRemoveAdGroupCriterionData = {
|
|
|
21144
21294
|
* The numeric id of the ad group.
|
|
21145
21295
|
*/
|
|
21146
21296
|
ad_group_id: string;
|
|
21147
|
-
/**
|
|
21148
|
-
* The numeric id of the criterion.
|
|
21149
|
-
*/
|
|
21150
|
-
criterion_id: string;
|
|
21151
21297
|
};
|
|
21152
21298
|
query?: never;
|
|
21153
|
-
url: '/google/{connection_id}/ad-groups/{ad_group_id}/criteria
|
|
21299
|
+
url: '/google/{connection_id}/ad-groups/{ad_group_id}/criteria';
|
|
21154
21300
|
};
|
|
21155
|
-
type
|
|
21301
|
+
type GoogleCreateAdGroupCriterionErrors = {
|
|
21156
21302
|
/**
|
|
21157
21303
|
* An RFC 9457 problem response.
|
|
21158
21304
|
*/
|
|
@@ -21426,35 +21572,45 @@ type GoogleRemoveAdGroupCriterionErrors = {
|
|
|
21426
21572
|
}>;
|
|
21427
21573
|
};
|
|
21428
21574
|
};
|
|
21429
|
-
type
|
|
21430
|
-
type
|
|
21575
|
+
type GoogleCreateAdGroupCriterionError = GoogleCreateAdGroupCriterionErrors[keyof GoogleCreateAdGroupCriterionErrors];
|
|
21576
|
+
type GoogleCreateAdGroupCriterionResponses = {
|
|
21431
21577
|
/**
|
|
21432
21578
|
* OK
|
|
21433
21579
|
*/
|
|
21434
|
-
|
|
21580
|
+
201: GoogleAdsCreateResult;
|
|
21435
21581
|
};
|
|
21436
|
-
type
|
|
21437
|
-
type
|
|
21438
|
-
body?:
|
|
21582
|
+
type GoogleCreateAdGroupCriterionResponse = GoogleCreateAdGroupCriterionResponses[keyof GoogleCreateAdGroupCriterionResponses];
|
|
21583
|
+
type GoogleRemoveAdGroupCriterionData = {
|
|
21584
|
+
body?: {
|
|
21585
|
+
/**
|
|
21586
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
21587
|
+
*/
|
|
21588
|
+
dry_run?: boolean;
|
|
21589
|
+
};
|
|
21590
|
+
headers?: {
|
|
21591
|
+
/**
|
|
21592
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
21593
|
+
*/
|
|
21594
|
+
'Idempotency-Key'?: string;
|
|
21595
|
+
};
|
|
21439
21596
|
path: {
|
|
21440
21597
|
/**
|
|
21441
21598
|
* The id of a Google Ads connection in your account.
|
|
21442
21599
|
*/
|
|
21443
21600
|
connection_id: string;
|
|
21444
|
-
};
|
|
21445
|
-
query?: {
|
|
21446
21601
|
/**
|
|
21447
|
-
*
|
|
21602
|
+
* The numeric id of the ad group.
|
|
21448
21603
|
*/
|
|
21449
|
-
|
|
21604
|
+
ad_group_id: string;
|
|
21450
21605
|
/**
|
|
21451
|
-
*
|
|
21606
|
+
* The numeric id of the criterion.
|
|
21452
21607
|
*/
|
|
21453
|
-
|
|
21608
|
+
criterion_id: string;
|
|
21454
21609
|
};
|
|
21455
|
-
|
|
21610
|
+
query?: never;
|
|
21611
|
+
url: '/google/{connection_id}/ad-groups/{ad_group_id}/criteria/{criterion_id}/remove';
|
|
21456
21612
|
};
|
|
21457
|
-
type
|
|
21613
|
+
type GoogleRemoveAdGroupCriterionErrors = {
|
|
21458
21614
|
/**
|
|
21459
21615
|
* An RFC 9457 problem response.
|
|
21460
21616
|
*/
|
|
@@ -21728,52 +21884,35 @@ type GoogleListAudiencesErrors = {
|
|
|
21728
21884
|
}>;
|
|
21729
21885
|
};
|
|
21730
21886
|
};
|
|
21731
|
-
type
|
|
21732
|
-
type
|
|
21887
|
+
type GoogleRemoveAdGroupCriterionError = GoogleRemoveAdGroupCriterionErrors[keyof GoogleRemoveAdGroupCriterionErrors];
|
|
21888
|
+
type GoogleRemoveAdGroupCriterionResponses = {
|
|
21733
21889
|
/**
|
|
21734
21890
|
* OK
|
|
21735
21891
|
*/
|
|
21736
|
-
200:
|
|
21737
|
-
object: 'list';
|
|
21738
|
-
data: Array<GoogleAdsAudience>;
|
|
21739
|
-
};
|
|
21892
|
+
200: GoogleAdsDeleteResult;
|
|
21740
21893
|
};
|
|
21741
|
-
type
|
|
21742
|
-
type
|
|
21743
|
-
body
|
|
21894
|
+
type GoogleRemoveAdGroupCriterionResponse = GoogleRemoveAdGroupCriterionResponses[keyof GoogleRemoveAdGroupCriterionResponses];
|
|
21895
|
+
type GoogleListAudiencesData = {
|
|
21896
|
+
body?: never;
|
|
21897
|
+
path: {
|
|
21744
21898
|
/**
|
|
21745
|
-
*
|
|
21899
|
+
* The id of a Google Ads connection in your account.
|
|
21746
21900
|
*/
|
|
21747
|
-
|
|
21901
|
+
connection_id: string;
|
|
21902
|
+
};
|
|
21903
|
+
query?: {
|
|
21748
21904
|
/**
|
|
21749
|
-
*
|
|
21905
|
+
* Optional case-insensitive filter on the audience name.
|
|
21750
21906
|
*/
|
|
21751
|
-
|
|
21907
|
+
q?: string;
|
|
21752
21908
|
/**
|
|
21753
|
-
*
|
|
21909
|
+
* Optional filter to one audience kind (user_list, audience, or custom_audience).
|
|
21754
21910
|
*/
|
|
21755
|
-
|
|
21756
|
-
};
|
|
21757
|
-
headers?: {
|
|
21758
|
-
/**
|
|
21759
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
21760
|
-
*/
|
|
21761
|
-
'Idempotency-Key'?: string;
|
|
21762
|
-
};
|
|
21763
|
-
path: {
|
|
21764
|
-
/**
|
|
21765
|
-
* The id of a Google Ads connection in your account.
|
|
21766
|
-
*/
|
|
21767
|
-
connection_id: string;
|
|
21768
|
-
/**
|
|
21769
|
-
* The numeric id of the campaign.
|
|
21770
|
-
*/
|
|
21771
|
-
campaign_id: string;
|
|
21911
|
+
kind?: 'user_list' | 'audience' | 'custom_audience';
|
|
21772
21912
|
};
|
|
21773
|
-
|
|
21774
|
-
url: '/google/{connection_id}/campaigns/{campaign_id}/targeting-setting';
|
|
21913
|
+
url: '/google/{connection_id}/audiences';
|
|
21775
21914
|
};
|
|
21776
|
-
type
|
|
21915
|
+
type GoogleListAudiencesErrors = {
|
|
21777
21916
|
/**
|
|
21778
21917
|
* An RFC 9457 problem response.
|
|
21779
21918
|
*/
|
|
@@ -22047,32 +22186,52 @@ type GoogleSetCampaignTargetingSettingErrors = {
|
|
|
22047
22186
|
}>;
|
|
22048
22187
|
};
|
|
22049
22188
|
};
|
|
22050
|
-
type
|
|
22051
|
-
type
|
|
22189
|
+
type GoogleListAudiencesError = GoogleListAudiencesErrors[keyof GoogleListAudiencesErrors];
|
|
22190
|
+
type GoogleListAudiencesResponses = {
|
|
22052
22191
|
/**
|
|
22053
22192
|
* OK
|
|
22054
22193
|
*/
|
|
22055
|
-
200:
|
|
22194
|
+
200: {
|
|
22195
|
+
object: 'list';
|
|
22196
|
+
data: Array<GoogleAdsAudience>;
|
|
22197
|
+
};
|
|
22056
22198
|
};
|
|
22057
|
-
type
|
|
22058
|
-
type
|
|
22059
|
-
body
|
|
22199
|
+
type GoogleListAudiencesResponse = GoogleListAudiencesResponses[keyof GoogleListAudiencesResponses];
|
|
22200
|
+
type GoogleSetCampaignTargetingSettingData = {
|
|
22201
|
+
body: {
|
|
22202
|
+
/**
|
|
22203
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
22204
|
+
*/
|
|
22205
|
+
dry_run?: boolean;
|
|
22206
|
+
/**
|
|
22207
|
+
* The criteria dimension this setting controls — most often AUDIENCE.
|
|
22208
|
+
*/
|
|
22209
|
+
targeting_dimension: 'KEYWORD' | 'AUDIENCE' | 'TOPIC' | 'GENDER' | 'AGE_RANGE' | 'PLACEMENT' | 'PARENTAL_STATUS' | 'INCOME_RANGE';
|
|
22210
|
+
/**
|
|
22211
|
+
* true = Observation (the criteria do NOT narrow reach; report/bid only). false = Targeting (narrows reach to the targeted criteria). Default in Google is Targeting; Observation is recommended for audience segments in Search.
|
|
22212
|
+
*/
|
|
22213
|
+
bid_only: boolean;
|
|
22214
|
+
};
|
|
22215
|
+
headers?: {
|
|
22216
|
+
/**
|
|
22217
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
22218
|
+
*/
|
|
22219
|
+
'Idempotency-Key'?: string;
|
|
22220
|
+
};
|
|
22060
22221
|
path: {
|
|
22061
22222
|
/**
|
|
22062
22223
|
* The id of a Google Ads connection in your account.
|
|
22063
22224
|
*/
|
|
22064
22225
|
connection_id: string;
|
|
22065
|
-
};
|
|
22066
|
-
query?: {
|
|
22067
22226
|
/**
|
|
22068
|
-
*
|
|
22227
|
+
* The numeric id of the campaign.
|
|
22069
22228
|
*/
|
|
22070
|
-
|
|
22071
|
-
status?: GoogleAdsReadStatusFilter;
|
|
22229
|
+
campaign_id: string;
|
|
22072
22230
|
};
|
|
22073
|
-
|
|
22231
|
+
query?: never;
|
|
22232
|
+
url: '/google/{connection_id}/campaigns/{campaign_id}/targeting-setting';
|
|
22074
22233
|
};
|
|
22075
|
-
type
|
|
22234
|
+
type GoogleSetCampaignTargetingSettingErrors = {
|
|
22076
22235
|
/**
|
|
22077
22236
|
* An RFC 9457 problem response.
|
|
22078
22237
|
*/
|
|
@@ -22346,82 +22505,32 @@ type GoogleListAdsErrors = {
|
|
|
22346
22505
|
}>;
|
|
22347
22506
|
};
|
|
22348
22507
|
};
|
|
22349
|
-
type
|
|
22350
|
-
type
|
|
22508
|
+
type GoogleSetCampaignTargetingSettingError = GoogleSetCampaignTargetingSettingErrors[keyof GoogleSetCampaignTargetingSettingErrors];
|
|
22509
|
+
type GoogleSetCampaignTargetingSettingResponses = {
|
|
22351
22510
|
/**
|
|
22352
22511
|
* OK
|
|
22353
22512
|
*/
|
|
22354
|
-
200:
|
|
22355
|
-
object: 'list';
|
|
22356
|
-
data: Array<GoogleAdsAd>;
|
|
22357
|
-
};
|
|
22513
|
+
200: GoogleAdsEditResult;
|
|
22358
22514
|
};
|
|
22359
|
-
type
|
|
22360
|
-
type
|
|
22361
|
-
body
|
|
22362
|
-
/**
|
|
22363
|
-
* The ad group resource name this ad belongs to.
|
|
22364
|
-
*/
|
|
22365
|
-
ad_group: string;
|
|
22366
|
-
/**
|
|
22367
|
-
* The landing page URLs for the ad (at least one).
|
|
22368
|
-
*/
|
|
22369
|
-
final_urls: Array<string>;
|
|
22370
|
-
/**
|
|
22371
|
-
* Between 3 and 15 headline assets.
|
|
22372
|
-
*/
|
|
22373
|
-
headlines: Array<{
|
|
22374
|
-
/**
|
|
22375
|
-
* Headline text, up to 30 characters.
|
|
22376
|
-
*/
|
|
22377
|
-
text: string;
|
|
22378
|
-
/**
|
|
22379
|
-
* Optionally pin this headline to position 1, 2, or 3.
|
|
22380
|
-
*/
|
|
22381
|
-
pinned_field?: 'HEADLINE_1' | 'HEADLINE_2' | 'HEADLINE_3';
|
|
22382
|
-
}>;
|
|
22383
|
-
/**
|
|
22384
|
-
* Between 2 and 4 description assets.
|
|
22385
|
-
*/
|
|
22386
|
-
descriptions: Array<{
|
|
22387
|
-
/**
|
|
22388
|
-
* Description text, up to 90 characters.
|
|
22389
|
-
*/
|
|
22390
|
-
text: string;
|
|
22391
|
-
}>;
|
|
22392
|
-
/**
|
|
22393
|
-
* Optional first path segment shown in the display URL, up to 15 characters.
|
|
22394
|
-
*/
|
|
22395
|
-
path1?: string;
|
|
22396
|
-
/**
|
|
22397
|
-
* Optional second path segment shown in the display URL, up to 15 characters (requires path1).
|
|
22398
|
-
*/
|
|
22399
|
-
path2?: string;
|
|
22400
|
-
/**
|
|
22401
|
-
* The ad’s serving status. Defaults to PAUSED.
|
|
22402
|
-
*/
|
|
22403
|
-
status?: 'ENABLED' | 'PAUSED';
|
|
22404
|
-
/**
|
|
22405
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
22406
|
-
*/
|
|
22407
|
-
dry_run?: boolean;
|
|
22408
|
-
};
|
|
22409
|
-
headers?: {
|
|
22410
|
-
/**
|
|
22411
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
22412
|
-
*/
|
|
22413
|
-
'Idempotency-Key'?: string;
|
|
22414
|
-
};
|
|
22515
|
+
type GoogleSetCampaignTargetingSettingResponse = GoogleSetCampaignTargetingSettingResponses[keyof GoogleSetCampaignTargetingSettingResponses];
|
|
22516
|
+
type GoogleListAdsData = {
|
|
22517
|
+
body?: never;
|
|
22415
22518
|
path: {
|
|
22416
22519
|
/**
|
|
22417
22520
|
* The id of a Google Ads connection in your account.
|
|
22418
22521
|
*/
|
|
22419
22522
|
connection_id: string;
|
|
22420
22523
|
};
|
|
22421
|
-
query?:
|
|
22524
|
+
query?: {
|
|
22525
|
+
/**
|
|
22526
|
+
* Only return ads under this ad group (its numeric id).
|
|
22527
|
+
*/
|
|
22528
|
+
ad_group_id?: string;
|
|
22529
|
+
status?: GoogleAdsReadStatusFilter;
|
|
22530
|
+
};
|
|
22422
22531
|
url: '/google/{connection_id}/ads';
|
|
22423
22532
|
};
|
|
22424
|
-
type
|
|
22533
|
+
type GoogleListAdsErrors = {
|
|
22425
22534
|
/**
|
|
22426
22535
|
* An RFC 9457 problem response.
|
|
22427
22536
|
*/
|
|
@@ -22695,30 +22804,82 @@ type GoogleCreateAdErrors = {
|
|
|
22695
22804
|
}>;
|
|
22696
22805
|
};
|
|
22697
22806
|
};
|
|
22698
|
-
type
|
|
22699
|
-
type
|
|
22807
|
+
type GoogleListAdsError = GoogleListAdsErrors[keyof GoogleListAdsErrors];
|
|
22808
|
+
type GoogleListAdsResponses = {
|
|
22700
22809
|
/**
|
|
22701
22810
|
* OK
|
|
22702
22811
|
*/
|
|
22703
|
-
|
|
22812
|
+
200: {
|
|
22813
|
+
object: 'list';
|
|
22814
|
+
data: Array<GoogleAdsAd>;
|
|
22815
|
+
};
|
|
22704
22816
|
};
|
|
22705
|
-
type
|
|
22706
|
-
type
|
|
22707
|
-
body
|
|
22817
|
+
type GoogleListAdsResponse = GoogleListAdsResponses[keyof GoogleListAdsResponses];
|
|
22818
|
+
type GoogleCreateAdData = {
|
|
22819
|
+
body: {
|
|
22820
|
+
/**
|
|
22821
|
+
* The ad group resource name this ad belongs to.
|
|
22822
|
+
*/
|
|
22823
|
+
ad_group: string;
|
|
22824
|
+
/**
|
|
22825
|
+
* The landing page URLs for the ad (at least one).
|
|
22826
|
+
*/
|
|
22827
|
+
final_urls: Array<string>;
|
|
22828
|
+
/**
|
|
22829
|
+
* Between 3 and 15 headline assets.
|
|
22830
|
+
*/
|
|
22831
|
+
headlines: Array<{
|
|
22832
|
+
/**
|
|
22833
|
+
* Headline text, up to 30 characters.
|
|
22834
|
+
*/
|
|
22835
|
+
text: string;
|
|
22836
|
+
/**
|
|
22837
|
+
* Optionally pin this headline to position 1, 2, or 3.
|
|
22838
|
+
*/
|
|
22839
|
+
pinned_field?: 'HEADLINE_1' | 'HEADLINE_2' | 'HEADLINE_3';
|
|
22840
|
+
}>;
|
|
22841
|
+
/**
|
|
22842
|
+
* Between 2 and 4 description assets.
|
|
22843
|
+
*/
|
|
22844
|
+
descriptions: Array<{
|
|
22845
|
+
/**
|
|
22846
|
+
* Description text, up to 90 characters.
|
|
22847
|
+
*/
|
|
22848
|
+
text: string;
|
|
22849
|
+
}>;
|
|
22850
|
+
/**
|
|
22851
|
+
* Optional first path segment shown in the display URL, up to 15 characters.
|
|
22852
|
+
*/
|
|
22853
|
+
path1?: string;
|
|
22854
|
+
/**
|
|
22855
|
+
* Optional second path segment shown in the display URL, up to 15 characters (requires path1).
|
|
22856
|
+
*/
|
|
22857
|
+
path2?: string;
|
|
22858
|
+
/**
|
|
22859
|
+
* The ad’s serving status. Defaults to PAUSED.
|
|
22860
|
+
*/
|
|
22861
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
22862
|
+
/**
|
|
22863
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
22864
|
+
*/
|
|
22865
|
+
dry_run?: boolean;
|
|
22866
|
+
};
|
|
22867
|
+
headers?: {
|
|
22868
|
+
/**
|
|
22869
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
22870
|
+
*/
|
|
22871
|
+
'Idempotency-Key'?: string;
|
|
22872
|
+
};
|
|
22708
22873
|
path: {
|
|
22709
22874
|
/**
|
|
22710
22875
|
* The id of a Google Ads connection in your account.
|
|
22711
22876
|
*/
|
|
22712
22877
|
connection_id: string;
|
|
22713
|
-
/**
|
|
22714
|
-
* The composite id {ad_group_id}~{id} of the resource (as returned by the list/get read).
|
|
22715
|
-
*/
|
|
22716
|
-
id: string;
|
|
22717
22878
|
};
|
|
22718
22879
|
query?: never;
|
|
22719
|
-
url: '/google/{connection_id}/ads
|
|
22880
|
+
url: '/google/{connection_id}/ads';
|
|
22720
22881
|
};
|
|
22721
|
-
type
|
|
22882
|
+
type GoogleCreateAdErrors = {
|
|
22722
22883
|
/**
|
|
22723
22884
|
* An RFC 9457 problem response.
|
|
22724
22885
|
*/
|
|
@@ -22992,107 +23153,708 @@ type GoogleGetAdErrors = {
|
|
|
22992
23153
|
}>;
|
|
22993
23154
|
};
|
|
22994
23155
|
};
|
|
22995
|
-
type
|
|
22996
|
-
type
|
|
23156
|
+
type GoogleCreateAdError = GoogleCreateAdErrors[keyof GoogleCreateAdErrors];
|
|
23157
|
+
type GoogleCreateAdResponses = {
|
|
22997
23158
|
/**
|
|
22998
23159
|
* OK
|
|
22999
23160
|
*/
|
|
23000
|
-
|
|
23161
|
+
201: GoogleAdsCreateResult;
|
|
23001
23162
|
};
|
|
23002
|
-
type
|
|
23003
|
-
type
|
|
23004
|
-
body
|
|
23163
|
+
type GoogleCreateAdResponse = GoogleCreateAdResponses[keyof GoogleCreateAdResponses];
|
|
23164
|
+
type GoogleGetAdData = {
|
|
23165
|
+
body?: never;
|
|
23166
|
+
path: {
|
|
23005
23167
|
/**
|
|
23006
|
-
* The
|
|
23168
|
+
* The id of a Google Ads connection in your account.
|
|
23007
23169
|
*/
|
|
23008
|
-
|
|
23170
|
+
connection_id: string;
|
|
23009
23171
|
/**
|
|
23010
|
-
* The
|
|
23172
|
+
* The composite id {ad_group_id}~{id} of the resource (as returned by the list/get read).
|
|
23011
23173
|
*/
|
|
23012
|
-
|
|
23174
|
+
id: string;
|
|
23175
|
+
};
|
|
23176
|
+
query?: never;
|
|
23177
|
+
url: '/google/{connection_id}/ads/{id}';
|
|
23178
|
+
};
|
|
23179
|
+
type GoogleGetAdErrors = {
|
|
23180
|
+
/**
|
|
23181
|
+
* An RFC 9457 problem response.
|
|
23182
|
+
*/
|
|
23183
|
+
400: {
|
|
23184
|
+
type: string;
|
|
23185
|
+
title: string;
|
|
23186
|
+
status: number;
|
|
23013
23187
|
/**
|
|
23014
|
-
*
|
|
23188
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23189
|
+
*/
|
|
23190
|
+
code: 'idempotency_key_invalid' | 'google_request_failed';
|
|
23191
|
+
display_error: string;
|
|
23192
|
+
detail?: string;
|
|
23193
|
+
request_id?: string;
|
|
23194
|
+
/**
|
|
23195
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23196
|
+
*/
|
|
23197
|
+
source?: {
|
|
23198
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23199
|
+
platform_code?: string;
|
|
23200
|
+
field?: string;
|
|
23201
|
+
value?: string;
|
|
23202
|
+
platform_request_id?: string;
|
|
23203
|
+
};
|
|
23204
|
+
errors?: Array<{
|
|
23205
|
+
field: string;
|
|
23206
|
+
code: string;
|
|
23207
|
+
detail: string;
|
|
23208
|
+
display_error: string;
|
|
23209
|
+
hint?: string;
|
|
23210
|
+
allowed?: Array<string>;
|
|
23211
|
+
got?: string;
|
|
23212
|
+
}>;
|
|
23213
|
+
};
|
|
23214
|
+
/**
|
|
23215
|
+
* An RFC 9457 problem response.
|
|
23216
|
+
*/
|
|
23217
|
+
401: {
|
|
23218
|
+
type: string;
|
|
23219
|
+
title: string;
|
|
23220
|
+
status: number;
|
|
23221
|
+
/**
|
|
23222
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23223
|
+
*/
|
|
23224
|
+
code: 'unauthorized' | 'google_auth_expired';
|
|
23225
|
+
display_error: string;
|
|
23226
|
+
detail?: string;
|
|
23227
|
+
request_id?: string;
|
|
23228
|
+
/**
|
|
23229
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23230
|
+
*/
|
|
23231
|
+
source?: {
|
|
23232
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23233
|
+
platform_code?: string;
|
|
23234
|
+
field?: string;
|
|
23235
|
+
value?: string;
|
|
23236
|
+
platform_request_id?: string;
|
|
23237
|
+
};
|
|
23238
|
+
errors?: Array<{
|
|
23239
|
+
field: string;
|
|
23240
|
+
code: string;
|
|
23241
|
+
detail: string;
|
|
23242
|
+
display_error: string;
|
|
23243
|
+
hint?: string;
|
|
23244
|
+
allowed?: Array<string>;
|
|
23245
|
+
got?: string;
|
|
23246
|
+
}>;
|
|
23247
|
+
};
|
|
23248
|
+
/**
|
|
23249
|
+
* An RFC 9457 problem response.
|
|
23250
|
+
*/
|
|
23251
|
+
403: {
|
|
23252
|
+
type: string;
|
|
23253
|
+
title: string;
|
|
23254
|
+
status: number;
|
|
23255
|
+
/**
|
|
23256
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23257
|
+
*/
|
|
23258
|
+
code: 'forbidden' | 'google_permission_denied';
|
|
23259
|
+
display_error: string;
|
|
23260
|
+
detail?: string;
|
|
23261
|
+
request_id?: string;
|
|
23262
|
+
/**
|
|
23263
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23264
|
+
*/
|
|
23265
|
+
source?: {
|
|
23266
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23267
|
+
platform_code?: string;
|
|
23268
|
+
field?: string;
|
|
23269
|
+
value?: string;
|
|
23270
|
+
platform_request_id?: string;
|
|
23271
|
+
};
|
|
23272
|
+
errors?: Array<{
|
|
23273
|
+
field: string;
|
|
23274
|
+
code: string;
|
|
23275
|
+
detail: string;
|
|
23276
|
+
display_error: string;
|
|
23277
|
+
hint?: string;
|
|
23278
|
+
allowed?: Array<string>;
|
|
23279
|
+
got?: string;
|
|
23280
|
+
}>;
|
|
23281
|
+
};
|
|
23282
|
+
/**
|
|
23283
|
+
* An RFC 9457 problem response.
|
|
23284
|
+
*/
|
|
23285
|
+
404: {
|
|
23286
|
+
type: string;
|
|
23287
|
+
title: string;
|
|
23288
|
+
status: number;
|
|
23289
|
+
/**
|
|
23290
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23291
|
+
*/
|
|
23292
|
+
code: 'not_found';
|
|
23293
|
+
display_error: string;
|
|
23294
|
+
detail?: string;
|
|
23295
|
+
request_id?: string;
|
|
23296
|
+
/**
|
|
23297
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23298
|
+
*/
|
|
23299
|
+
source?: {
|
|
23300
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23301
|
+
platform_code?: string;
|
|
23302
|
+
field?: string;
|
|
23303
|
+
value?: string;
|
|
23304
|
+
platform_request_id?: string;
|
|
23305
|
+
};
|
|
23306
|
+
errors?: Array<{
|
|
23307
|
+
field: string;
|
|
23308
|
+
code: string;
|
|
23309
|
+
detail: string;
|
|
23310
|
+
display_error: string;
|
|
23311
|
+
hint?: string;
|
|
23312
|
+
allowed?: Array<string>;
|
|
23313
|
+
got?: string;
|
|
23314
|
+
}>;
|
|
23315
|
+
};
|
|
23316
|
+
/**
|
|
23317
|
+
* An RFC 9457 problem response.
|
|
23318
|
+
*/
|
|
23319
|
+
409: {
|
|
23320
|
+
type: string;
|
|
23321
|
+
title: string;
|
|
23322
|
+
status: number;
|
|
23323
|
+
/**
|
|
23324
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23325
|
+
*/
|
|
23326
|
+
code: 'conflict' | 'idempotency_request_in_progress';
|
|
23327
|
+
display_error: string;
|
|
23328
|
+
detail?: string;
|
|
23329
|
+
request_id?: string;
|
|
23330
|
+
/**
|
|
23331
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23332
|
+
*/
|
|
23333
|
+
source?: {
|
|
23334
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23335
|
+
platform_code?: string;
|
|
23336
|
+
field?: string;
|
|
23337
|
+
value?: string;
|
|
23338
|
+
platform_request_id?: string;
|
|
23339
|
+
};
|
|
23340
|
+
errors?: Array<{
|
|
23341
|
+
field: string;
|
|
23342
|
+
code: string;
|
|
23343
|
+
detail: string;
|
|
23344
|
+
display_error: string;
|
|
23345
|
+
hint?: string;
|
|
23346
|
+
allowed?: Array<string>;
|
|
23347
|
+
got?: string;
|
|
23348
|
+
}>;
|
|
23349
|
+
};
|
|
23350
|
+
/**
|
|
23351
|
+
* An RFC 9457 problem response.
|
|
23352
|
+
*/
|
|
23353
|
+
422: {
|
|
23354
|
+
type: string;
|
|
23355
|
+
title: string;
|
|
23356
|
+
status: number;
|
|
23357
|
+
/**
|
|
23358
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23359
|
+
*/
|
|
23360
|
+
code: 'idempotency_key_reused';
|
|
23361
|
+
display_error: string;
|
|
23362
|
+
detail?: string;
|
|
23363
|
+
request_id?: string;
|
|
23364
|
+
/**
|
|
23365
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23366
|
+
*/
|
|
23367
|
+
source?: {
|
|
23368
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23369
|
+
platform_code?: string;
|
|
23370
|
+
field?: string;
|
|
23371
|
+
value?: string;
|
|
23372
|
+
platform_request_id?: string;
|
|
23373
|
+
};
|
|
23374
|
+
errors?: Array<{
|
|
23375
|
+
field: string;
|
|
23376
|
+
code: string;
|
|
23377
|
+
detail: string;
|
|
23378
|
+
display_error: string;
|
|
23379
|
+
hint?: string;
|
|
23380
|
+
allowed?: Array<string>;
|
|
23381
|
+
got?: string;
|
|
23382
|
+
}>;
|
|
23383
|
+
};
|
|
23384
|
+
/**
|
|
23385
|
+
* An RFC 9457 problem response.
|
|
23386
|
+
*/
|
|
23387
|
+
429: {
|
|
23388
|
+
type: string;
|
|
23389
|
+
title: string;
|
|
23390
|
+
status: number;
|
|
23391
|
+
/**
|
|
23392
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23393
|
+
*/
|
|
23394
|
+
code: 'rate_limited' | 'google_rate_limited';
|
|
23395
|
+
display_error: string;
|
|
23396
|
+
detail?: string;
|
|
23397
|
+
request_id?: string;
|
|
23398
|
+
/**
|
|
23399
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23400
|
+
*/
|
|
23401
|
+
source?: {
|
|
23402
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23403
|
+
platform_code?: string;
|
|
23404
|
+
field?: string;
|
|
23405
|
+
value?: string;
|
|
23406
|
+
platform_request_id?: string;
|
|
23407
|
+
};
|
|
23408
|
+
errors?: Array<{
|
|
23409
|
+
field: string;
|
|
23410
|
+
code: string;
|
|
23411
|
+
detail: string;
|
|
23412
|
+
display_error: string;
|
|
23413
|
+
hint?: string;
|
|
23414
|
+
allowed?: Array<string>;
|
|
23415
|
+
got?: string;
|
|
23416
|
+
}>;
|
|
23417
|
+
};
|
|
23418
|
+
/**
|
|
23419
|
+
* An RFC 9457 problem response.
|
|
23420
|
+
*/
|
|
23421
|
+
502: {
|
|
23422
|
+
type: string;
|
|
23423
|
+
title: string;
|
|
23424
|
+
status: number;
|
|
23425
|
+
/**
|
|
23426
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23427
|
+
*/
|
|
23428
|
+
code: 'google_server_error';
|
|
23429
|
+
display_error: string;
|
|
23430
|
+
detail?: string;
|
|
23431
|
+
request_id?: string;
|
|
23432
|
+
/**
|
|
23433
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23434
|
+
*/
|
|
23435
|
+
source?: {
|
|
23436
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23437
|
+
platform_code?: string;
|
|
23438
|
+
field?: string;
|
|
23439
|
+
value?: string;
|
|
23440
|
+
platform_request_id?: string;
|
|
23441
|
+
};
|
|
23442
|
+
errors?: Array<{
|
|
23443
|
+
field: string;
|
|
23444
|
+
code: string;
|
|
23445
|
+
detail: string;
|
|
23446
|
+
display_error: string;
|
|
23447
|
+
hint?: string;
|
|
23448
|
+
allowed?: Array<string>;
|
|
23449
|
+
got?: string;
|
|
23450
|
+
}>;
|
|
23451
|
+
};
|
|
23452
|
+
};
|
|
23453
|
+
type GoogleGetAdError = GoogleGetAdErrors[keyof GoogleGetAdErrors];
|
|
23454
|
+
type GoogleGetAdResponses = {
|
|
23455
|
+
/**
|
|
23456
|
+
* OK
|
|
23457
|
+
*/
|
|
23458
|
+
200: GoogleAdsAd;
|
|
23459
|
+
};
|
|
23460
|
+
type GoogleGetAdResponse = GoogleGetAdResponses[keyof GoogleGetAdResponses];
|
|
23461
|
+
type GoogleCreateDisplayAdData = {
|
|
23462
|
+
body: {
|
|
23463
|
+
/**
|
|
23464
|
+
* The ad group resource name this ad belongs to.
|
|
23465
|
+
*/
|
|
23466
|
+
ad_group: string;
|
|
23467
|
+
/**
|
|
23468
|
+
* The landing page URLs for the ad (at least one).
|
|
23469
|
+
*/
|
|
23470
|
+
final_urls: Array<string>;
|
|
23471
|
+
/**
|
|
23472
|
+
* Landscape (1.91:1) marketing image asset resource_names. Combined with square_marketing_images: at least 1, at most 15.
|
|
23473
|
+
*/
|
|
23474
|
+
marketing_images?: Array<{
|
|
23475
|
+
/**
|
|
23476
|
+
* The resource_name of an uploaded Google Ads image asset.
|
|
23477
|
+
*/
|
|
23478
|
+
asset: string;
|
|
23479
|
+
}>;
|
|
23480
|
+
/**
|
|
23481
|
+
* Square (1:1) marketing image asset resource_names. Combined with marketing_images: at least 1, at most 15.
|
|
23482
|
+
*/
|
|
23483
|
+
square_marketing_images?: Array<{
|
|
23484
|
+
/**
|
|
23485
|
+
* The resource_name of an uploaded Google Ads image asset.
|
|
23486
|
+
*/
|
|
23487
|
+
asset: string;
|
|
23488
|
+
}>;
|
|
23489
|
+
/**
|
|
23490
|
+
* Landscape (4:1) logo image asset resource_names. Combined with square_logo_images: at most 5.
|
|
23491
|
+
*/
|
|
23492
|
+
logo_images?: Array<{
|
|
23493
|
+
/**
|
|
23494
|
+
* The resource_name of an uploaded Google Ads image asset.
|
|
23495
|
+
*/
|
|
23496
|
+
asset: string;
|
|
23497
|
+
}>;
|
|
23498
|
+
/**
|
|
23499
|
+
* Square (1:1) logo image asset resource_names. Combined with logo_images: at most 5.
|
|
23500
|
+
*/
|
|
23501
|
+
square_logo_images?: Array<{
|
|
23502
|
+
/**
|
|
23503
|
+
* The resource_name of an uploaded Google Ads image asset.
|
|
23504
|
+
*/
|
|
23505
|
+
asset: string;
|
|
23506
|
+
}>;
|
|
23507
|
+
/**
|
|
23508
|
+
* Between 1 and 5 short headline assets.
|
|
23509
|
+
*/
|
|
23510
|
+
headlines: Array<{
|
|
23511
|
+
/**
|
|
23512
|
+
* Short headline text, up to 30 characters.
|
|
23513
|
+
*/
|
|
23514
|
+
text: string;
|
|
23515
|
+
}>;
|
|
23516
|
+
/**
|
|
23517
|
+
* The required long headline (up to 90 characters).
|
|
23518
|
+
*/
|
|
23519
|
+
long_headline: {
|
|
23520
|
+
/**
|
|
23521
|
+
* The long headline text, up to 90 characters.
|
|
23522
|
+
*/
|
|
23523
|
+
text: string;
|
|
23524
|
+
};
|
|
23525
|
+
/**
|
|
23526
|
+
* Between 1 and 5 description assets.
|
|
23527
|
+
*/
|
|
23528
|
+
descriptions: Array<{
|
|
23529
|
+
/**
|
|
23530
|
+
* Description text, up to 90 characters.
|
|
23531
|
+
*/
|
|
23532
|
+
text: string;
|
|
23533
|
+
}>;
|
|
23534
|
+
/**
|
|
23535
|
+
* The advertiser/business name, up to 25 characters.
|
|
23536
|
+
*/
|
|
23537
|
+
business_name?: string;
|
|
23538
|
+
/**
|
|
23539
|
+
* Optional call-to-action button text.
|
|
23540
|
+
*/
|
|
23541
|
+
call_to_action_text?: string;
|
|
23542
|
+
/**
|
|
23543
|
+
* Optional main brand color as a hex string (e.g. #0a0a0a).
|
|
23544
|
+
*/
|
|
23545
|
+
main_color?: string;
|
|
23546
|
+
/**
|
|
23547
|
+
* Optional accent brand color as a hex string (e.g. #ffffff).
|
|
23548
|
+
*/
|
|
23549
|
+
accent_color?: string;
|
|
23550
|
+
/**
|
|
23551
|
+
* The ad’s serving status. Defaults to PAUSED.
|
|
23552
|
+
*/
|
|
23553
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
23554
|
+
/**
|
|
23555
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
23556
|
+
*/
|
|
23557
|
+
dry_run?: boolean;
|
|
23558
|
+
};
|
|
23559
|
+
headers?: {
|
|
23560
|
+
/**
|
|
23561
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
23562
|
+
*/
|
|
23563
|
+
'Idempotency-Key'?: string;
|
|
23564
|
+
};
|
|
23565
|
+
path: {
|
|
23566
|
+
/**
|
|
23567
|
+
* The id of a Google Ads connection in your account.
|
|
23568
|
+
*/
|
|
23569
|
+
connection_id: string;
|
|
23570
|
+
};
|
|
23571
|
+
query?: never;
|
|
23572
|
+
url: '/google/{connection_id}/display-ads';
|
|
23573
|
+
};
|
|
23574
|
+
type GoogleCreateDisplayAdErrors = {
|
|
23575
|
+
/**
|
|
23576
|
+
* An RFC 9457 problem response.
|
|
23577
|
+
*/
|
|
23578
|
+
400: {
|
|
23579
|
+
type: string;
|
|
23580
|
+
title: string;
|
|
23581
|
+
status: number;
|
|
23582
|
+
/**
|
|
23583
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23584
|
+
*/
|
|
23585
|
+
code: 'idempotency_key_invalid' | 'google_request_failed';
|
|
23586
|
+
display_error: string;
|
|
23587
|
+
detail?: string;
|
|
23588
|
+
request_id?: string;
|
|
23589
|
+
/**
|
|
23590
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23591
|
+
*/
|
|
23592
|
+
source?: {
|
|
23593
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23594
|
+
platform_code?: string;
|
|
23595
|
+
field?: string;
|
|
23596
|
+
value?: string;
|
|
23597
|
+
platform_request_id?: string;
|
|
23598
|
+
};
|
|
23599
|
+
errors?: Array<{
|
|
23600
|
+
field: string;
|
|
23601
|
+
code: string;
|
|
23602
|
+
detail: string;
|
|
23603
|
+
display_error: string;
|
|
23604
|
+
hint?: string;
|
|
23605
|
+
allowed?: Array<string>;
|
|
23606
|
+
got?: string;
|
|
23607
|
+
}>;
|
|
23608
|
+
};
|
|
23609
|
+
/**
|
|
23610
|
+
* An RFC 9457 problem response.
|
|
23611
|
+
*/
|
|
23612
|
+
401: {
|
|
23613
|
+
type: string;
|
|
23614
|
+
title: string;
|
|
23615
|
+
status: number;
|
|
23616
|
+
/**
|
|
23617
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23015
23618
|
*/
|
|
23016
|
-
|
|
23017
|
-
|
|
23018
|
-
|
|
23019
|
-
|
|
23020
|
-
asset: string;
|
|
23021
|
-
}>;
|
|
23619
|
+
code: 'unauthorized' | 'google_auth_expired';
|
|
23620
|
+
display_error: string;
|
|
23621
|
+
detail?: string;
|
|
23622
|
+
request_id?: string;
|
|
23022
23623
|
/**
|
|
23023
|
-
*
|
|
23624
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23024
23625
|
*/
|
|
23025
|
-
|
|
23026
|
-
|
|
23027
|
-
|
|
23028
|
-
|
|
23029
|
-
|
|
23626
|
+
source?: {
|
|
23627
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23628
|
+
platform_code?: string;
|
|
23629
|
+
field?: string;
|
|
23630
|
+
value?: string;
|
|
23631
|
+
platform_request_id?: string;
|
|
23632
|
+
};
|
|
23633
|
+
errors?: Array<{
|
|
23634
|
+
field: string;
|
|
23635
|
+
code: string;
|
|
23636
|
+
detail: string;
|
|
23637
|
+
display_error: string;
|
|
23638
|
+
hint?: string;
|
|
23639
|
+
allowed?: Array<string>;
|
|
23640
|
+
got?: string;
|
|
23030
23641
|
}>;
|
|
23642
|
+
};
|
|
23643
|
+
/**
|
|
23644
|
+
* An RFC 9457 problem response.
|
|
23645
|
+
*/
|
|
23646
|
+
403: {
|
|
23647
|
+
type: string;
|
|
23648
|
+
title: string;
|
|
23649
|
+
status: number;
|
|
23031
23650
|
/**
|
|
23032
|
-
*
|
|
23651
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23033
23652
|
*/
|
|
23034
|
-
|
|
23035
|
-
|
|
23036
|
-
|
|
23037
|
-
|
|
23038
|
-
asset: string;
|
|
23039
|
-
}>;
|
|
23653
|
+
code: 'forbidden' | 'google_permission_denied';
|
|
23654
|
+
display_error: string;
|
|
23655
|
+
detail?: string;
|
|
23656
|
+
request_id?: string;
|
|
23040
23657
|
/**
|
|
23041
|
-
*
|
|
23658
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23042
23659
|
*/
|
|
23043
|
-
|
|
23044
|
-
|
|
23045
|
-
|
|
23046
|
-
|
|
23047
|
-
|
|
23660
|
+
source?: {
|
|
23661
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23662
|
+
platform_code?: string;
|
|
23663
|
+
field?: string;
|
|
23664
|
+
value?: string;
|
|
23665
|
+
platform_request_id?: string;
|
|
23666
|
+
};
|
|
23667
|
+
errors?: Array<{
|
|
23668
|
+
field: string;
|
|
23669
|
+
code: string;
|
|
23670
|
+
detail: string;
|
|
23671
|
+
display_error: string;
|
|
23672
|
+
hint?: string;
|
|
23673
|
+
allowed?: Array<string>;
|
|
23674
|
+
got?: string;
|
|
23048
23675
|
}>;
|
|
23676
|
+
};
|
|
23677
|
+
/**
|
|
23678
|
+
* An RFC 9457 problem response.
|
|
23679
|
+
*/
|
|
23680
|
+
404: {
|
|
23681
|
+
type: string;
|
|
23682
|
+
title: string;
|
|
23683
|
+
status: number;
|
|
23049
23684
|
/**
|
|
23050
|
-
*
|
|
23685
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23051
23686
|
*/
|
|
23052
|
-
|
|
23053
|
-
|
|
23054
|
-
|
|
23055
|
-
|
|
23056
|
-
text: string;
|
|
23057
|
-
}>;
|
|
23687
|
+
code: 'not_found';
|
|
23688
|
+
display_error: string;
|
|
23689
|
+
detail?: string;
|
|
23690
|
+
request_id?: string;
|
|
23058
23691
|
/**
|
|
23059
|
-
*
|
|
23692
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23060
23693
|
*/
|
|
23061
|
-
|
|
23062
|
-
|
|
23063
|
-
|
|
23064
|
-
|
|
23065
|
-
|
|
23694
|
+
source?: {
|
|
23695
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23696
|
+
platform_code?: string;
|
|
23697
|
+
field?: string;
|
|
23698
|
+
value?: string;
|
|
23699
|
+
platform_request_id?: string;
|
|
23066
23700
|
};
|
|
23701
|
+
errors?: Array<{
|
|
23702
|
+
field: string;
|
|
23703
|
+
code: string;
|
|
23704
|
+
detail: string;
|
|
23705
|
+
display_error: string;
|
|
23706
|
+
hint?: string;
|
|
23707
|
+
allowed?: Array<string>;
|
|
23708
|
+
got?: string;
|
|
23709
|
+
}>;
|
|
23710
|
+
};
|
|
23711
|
+
/**
|
|
23712
|
+
* An RFC 9457 problem response.
|
|
23713
|
+
*/
|
|
23714
|
+
409: {
|
|
23715
|
+
type: string;
|
|
23716
|
+
title: string;
|
|
23717
|
+
status: number;
|
|
23067
23718
|
/**
|
|
23068
|
-
*
|
|
23719
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23069
23720
|
*/
|
|
23070
|
-
|
|
23071
|
-
|
|
23072
|
-
|
|
23073
|
-
|
|
23074
|
-
|
|
23721
|
+
code: 'conflict' | 'idempotency_request_in_progress';
|
|
23722
|
+
display_error: string;
|
|
23723
|
+
detail?: string;
|
|
23724
|
+
request_id?: string;
|
|
23725
|
+
/**
|
|
23726
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23727
|
+
*/
|
|
23728
|
+
source?: {
|
|
23729
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23730
|
+
platform_code?: string;
|
|
23731
|
+
field?: string;
|
|
23732
|
+
value?: string;
|
|
23733
|
+
platform_request_id?: string;
|
|
23734
|
+
};
|
|
23735
|
+
errors?: Array<{
|
|
23736
|
+
field: string;
|
|
23737
|
+
code: string;
|
|
23738
|
+
detail: string;
|
|
23739
|
+
display_error: string;
|
|
23740
|
+
hint?: string;
|
|
23741
|
+
allowed?: Array<string>;
|
|
23742
|
+
got?: string;
|
|
23075
23743
|
}>;
|
|
23744
|
+
};
|
|
23745
|
+
/**
|
|
23746
|
+
* An RFC 9457 problem response.
|
|
23747
|
+
*/
|
|
23748
|
+
422: {
|
|
23749
|
+
type: string;
|
|
23750
|
+
title: string;
|
|
23751
|
+
status: number;
|
|
23076
23752
|
/**
|
|
23077
|
-
* The
|
|
23753
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23078
23754
|
*/
|
|
23079
|
-
|
|
23755
|
+
code: 'idempotency_key_reused';
|
|
23756
|
+
display_error: string;
|
|
23757
|
+
detail?: string;
|
|
23758
|
+
request_id?: string;
|
|
23080
23759
|
/**
|
|
23081
|
-
*
|
|
23760
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23082
23761
|
*/
|
|
23083
|
-
|
|
23762
|
+
source?: {
|
|
23763
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23764
|
+
platform_code?: string;
|
|
23765
|
+
field?: string;
|
|
23766
|
+
value?: string;
|
|
23767
|
+
platform_request_id?: string;
|
|
23768
|
+
};
|
|
23769
|
+
errors?: Array<{
|
|
23770
|
+
field: string;
|
|
23771
|
+
code: string;
|
|
23772
|
+
detail: string;
|
|
23773
|
+
display_error: string;
|
|
23774
|
+
hint?: string;
|
|
23775
|
+
allowed?: Array<string>;
|
|
23776
|
+
got?: string;
|
|
23777
|
+
}>;
|
|
23778
|
+
};
|
|
23779
|
+
/**
|
|
23780
|
+
* An RFC 9457 problem response.
|
|
23781
|
+
*/
|
|
23782
|
+
429: {
|
|
23783
|
+
type: string;
|
|
23784
|
+
title: string;
|
|
23785
|
+
status: number;
|
|
23084
23786
|
/**
|
|
23085
|
-
*
|
|
23787
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23086
23788
|
*/
|
|
23087
|
-
|
|
23789
|
+
code: 'rate_limited' | 'google_rate_limited';
|
|
23790
|
+
display_error: string;
|
|
23791
|
+
detail?: string;
|
|
23792
|
+
request_id?: string;
|
|
23088
23793
|
/**
|
|
23089
|
-
*
|
|
23794
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23090
23795
|
*/
|
|
23091
|
-
|
|
23796
|
+
source?: {
|
|
23797
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23798
|
+
platform_code?: string;
|
|
23799
|
+
field?: string;
|
|
23800
|
+
value?: string;
|
|
23801
|
+
platform_request_id?: string;
|
|
23802
|
+
};
|
|
23803
|
+
errors?: Array<{
|
|
23804
|
+
field: string;
|
|
23805
|
+
code: string;
|
|
23806
|
+
detail: string;
|
|
23807
|
+
display_error: string;
|
|
23808
|
+
hint?: string;
|
|
23809
|
+
allowed?: Array<string>;
|
|
23810
|
+
got?: string;
|
|
23811
|
+
}>;
|
|
23812
|
+
};
|
|
23813
|
+
/**
|
|
23814
|
+
* An RFC 9457 problem response.
|
|
23815
|
+
*/
|
|
23816
|
+
502: {
|
|
23817
|
+
type: string;
|
|
23818
|
+
title: string;
|
|
23819
|
+
status: number;
|
|
23092
23820
|
/**
|
|
23093
|
-
* The
|
|
23821
|
+
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
23094
23822
|
*/
|
|
23095
|
-
|
|
23823
|
+
code: 'google_server_error';
|
|
23824
|
+
display_error: string;
|
|
23825
|
+
detail?: string;
|
|
23826
|
+
request_id?: string;
|
|
23827
|
+
/**
|
|
23828
|
+
* Structured detail from the wrapped platform: its own error code, the offending field path + value, and its request id (for that platform’s support).
|
|
23829
|
+
*/
|
|
23830
|
+
source?: {
|
|
23831
|
+
platform: 'google' | 'meta' | 'x' | 'linkedin' | 'instagram' | 'facebook' | 'tiktok' | 'youtube';
|
|
23832
|
+
platform_code?: string;
|
|
23833
|
+
field?: string;
|
|
23834
|
+
value?: string;
|
|
23835
|
+
platform_request_id?: string;
|
|
23836
|
+
};
|
|
23837
|
+
errors?: Array<{
|
|
23838
|
+
field: string;
|
|
23839
|
+
code: string;
|
|
23840
|
+
detail: string;
|
|
23841
|
+
display_error: string;
|
|
23842
|
+
hint?: string;
|
|
23843
|
+
allowed?: Array<string>;
|
|
23844
|
+
got?: string;
|
|
23845
|
+
}>;
|
|
23846
|
+
};
|
|
23847
|
+
};
|
|
23848
|
+
type GoogleCreateDisplayAdError = GoogleCreateDisplayAdErrors[keyof GoogleCreateDisplayAdErrors];
|
|
23849
|
+
type GoogleCreateDisplayAdResponses = {
|
|
23850
|
+
/**
|
|
23851
|
+
* OK
|
|
23852
|
+
*/
|
|
23853
|
+
201: GoogleAdsCreateResult;
|
|
23854
|
+
};
|
|
23855
|
+
type GoogleCreateDisplayAdResponse = GoogleCreateDisplayAdResponses[keyof GoogleCreateDisplayAdResponses];
|
|
23856
|
+
type GoogleRemoveAdData = {
|
|
23857
|
+
body?: {
|
|
23096
23858
|
/**
|
|
23097
23859
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
23098
23860
|
*/
|
|
@@ -23109,11 +23871,15 @@ type GoogleCreateDisplayAdData = {
|
|
|
23109
23871
|
* The id of a Google Ads connection in your account.
|
|
23110
23872
|
*/
|
|
23111
23873
|
connection_id: string;
|
|
23874
|
+
/**
|
|
23875
|
+
* The composite id {ad_group_id}~{id} of the resource (as returned by the list/get read).
|
|
23876
|
+
*/
|
|
23877
|
+
id: string;
|
|
23112
23878
|
};
|
|
23113
23879
|
query?: never;
|
|
23114
|
-
url: '/google/{connection_id}/
|
|
23880
|
+
url: '/google/{connection_id}/ads/{id}/remove';
|
|
23115
23881
|
};
|
|
23116
|
-
type
|
|
23882
|
+
type GoogleRemoveAdErrors = {
|
|
23117
23883
|
/**
|
|
23118
23884
|
* An RFC 9457 problem response.
|
|
23119
23885
|
*/
|
|
@@ -23387,18 +24153,18 @@ type GoogleCreateDisplayAdErrors = {
|
|
|
23387
24153
|
}>;
|
|
23388
24154
|
};
|
|
23389
24155
|
};
|
|
23390
|
-
type
|
|
23391
|
-
type
|
|
24156
|
+
type GoogleRemoveAdError = GoogleRemoveAdErrors[keyof GoogleRemoveAdErrors];
|
|
24157
|
+
type GoogleRemoveAdResponses = {
|
|
23392
24158
|
/**
|
|
23393
24159
|
* OK
|
|
23394
24160
|
*/
|
|
23395
|
-
|
|
24161
|
+
200: GoogleAdsDeleteResult;
|
|
23396
24162
|
};
|
|
23397
|
-
type
|
|
23398
|
-
type
|
|
24163
|
+
type GoogleRemoveAdResponse = GoogleRemoveAdResponses[keyof GoogleRemoveAdResponses];
|
|
24164
|
+
type GooglePauseAdData = {
|
|
23399
24165
|
body?: {
|
|
23400
24166
|
/**
|
|
23401
|
-
*
|
|
24167
|
+
* Preview the change without applying it. Default false (the write executes).
|
|
23402
24168
|
*/
|
|
23403
24169
|
dry_run?: boolean;
|
|
23404
24170
|
};
|
|
@@ -23419,9 +24185,9 @@ type GoogleRemoveAdData = {
|
|
|
23419
24185
|
id: string;
|
|
23420
24186
|
};
|
|
23421
24187
|
query?: never;
|
|
23422
|
-
url: '/google/{connection_id}/ads/{id}/
|
|
24188
|
+
url: '/google/{connection_id}/ads/{id}/pause';
|
|
23423
24189
|
};
|
|
23424
|
-
type
|
|
24190
|
+
type GooglePauseAdErrors = {
|
|
23425
24191
|
/**
|
|
23426
24192
|
* An RFC 9457 problem response.
|
|
23427
24193
|
*/
|
|
@@ -23695,15 +24461,20 @@ type GoogleRemoveAdErrors = {
|
|
|
23695
24461
|
}>;
|
|
23696
24462
|
};
|
|
23697
24463
|
};
|
|
23698
|
-
type
|
|
23699
|
-
type
|
|
24464
|
+
type GooglePauseAdError = GooglePauseAdErrors[keyof GooglePauseAdErrors];
|
|
24465
|
+
type GooglePauseAdResponses = {
|
|
23700
24466
|
/**
|
|
23701
|
-
*
|
|
24467
|
+
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
23702
24468
|
*/
|
|
23703
|
-
200:
|
|
24469
|
+
200: {
|
|
24470
|
+
id: string;
|
|
24471
|
+
status: 'ENABLED' | 'PAUSED';
|
|
24472
|
+
dry_run: boolean;
|
|
24473
|
+
executed: boolean;
|
|
24474
|
+
};
|
|
23704
24475
|
};
|
|
23705
|
-
type
|
|
23706
|
-
type
|
|
24476
|
+
type GooglePauseAdResponse = GooglePauseAdResponses[keyof GooglePauseAdResponses];
|
|
24477
|
+
type GoogleEnableAdData = {
|
|
23707
24478
|
body?: {
|
|
23708
24479
|
/**
|
|
23709
24480
|
* Preview the change without applying it. Default false (the write executes).
|
|
@@ -23727,9 +24498,9 @@ type GooglePauseAdData = {
|
|
|
23727
24498
|
id: string;
|
|
23728
24499
|
};
|
|
23729
24500
|
query?: never;
|
|
23730
|
-
url: '/google/{connection_id}/ads/{id}/
|
|
24501
|
+
url: '/google/{connection_id}/ads/{id}/enable';
|
|
23731
24502
|
};
|
|
23732
|
-
type
|
|
24503
|
+
type GoogleEnableAdErrors = {
|
|
23733
24504
|
/**
|
|
23734
24505
|
* An RFC 9457 problem response.
|
|
23735
24506
|
*/
|
|
@@ -24003,8 +24774,8 @@ type GooglePauseAdErrors = {
|
|
|
24003
24774
|
}>;
|
|
24004
24775
|
};
|
|
24005
24776
|
};
|
|
24006
|
-
type
|
|
24007
|
-
type
|
|
24777
|
+
type GoogleEnableAdError = GoogleEnableAdErrors[keyof GoogleEnableAdErrors];
|
|
24778
|
+
type GoogleEnableAdResponses = {
|
|
24008
24779
|
/**
|
|
24009
24780
|
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
24010
24781
|
*/
|
|
@@ -24015,34 +24786,25 @@ type GooglePauseAdResponses = {
|
|
|
24015
24786
|
executed: boolean;
|
|
24016
24787
|
};
|
|
24017
24788
|
};
|
|
24018
|
-
type
|
|
24019
|
-
type
|
|
24020
|
-
body?:
|
|
24021
|
-
/**
|
|
24022
|
-
* Preview the change without applying it. Default false (the write executes).
|
|
24023
|
-
*/
|
|
24024
|
-
dry_run?: boolean;
|
|
24025
|
-
};
|
|
24026
|
-
headers?: {
|
|
24027
|
-
/**
|
|
24028
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
24029
|
-
*/
|
|
24030
|
-
'Idempotency-Key'?: string;
|
|
24031
|
-
};
|
|
24789
|
+
type GoogleEnableAdResponse = GoogleEnableAdResponses[keyof GoogleEnableAdResponses];
|
|
24790
|
+
type GoogleListKeywordsData = {
|
|
24791
|
+
body?: never;
|
|
24032
24792
|
path: {
|
|
24033
24793
|
/**
|
|
24034
24794
|
* The id of a Google Ads connection in your account.
|
|
24035
24795
|
*/
|
|
24036
24796
|
connection_id: string;
|
|
24797
|
+
};
|
|
24798
|
+
query?: {
|
|
24037
24799
|
/**
|
|
24038
|
-
*
|
|
24800
|
+
* Only return keywords under this ad group (its numeric id).
|
|
24039
24801
|
*/
|
|
24040
|
-
|
|
24802
|
+
ad_group_id?: string;
|
|
24803
|
+
status?: GoogleAdsReadStatusFilter;
|
|
24041
24804
|
};
|
|
24042
|
-
|
|
24043
|
-
url: '/google/{connection_id}/ads/{id}/enable';
|
|
24805
|
+
url: '/google/{connection_id}/keywords';
|
|
24044
24806
|
};
|
|
24045
|
-
type
|
|
24807
|
+
type GoogleListKeywordsErrors = {
|
|
24046
24808
|
/**
|
|
24047
24809
|
* An RFC 9457 problem response.
|
|
24048
24810
|
*/
|
|
@@ -24316,37 +25078,60 @@ type GoogleEnableAdErrors = {
|
|
|
24316
25078
|
}>;
|
|
24317
25079
|
};
|
|
24318
25080
|
};
|
|
24319
|
-
type
|
|
24320
|
-
type
|
|
25081
|
+
type GoogleListKeywordsError = GoogleListKeywordsErrors[keyof GoogleListKeywordsErrors];
|
|
25082
|
+
type GoogleListKeywordsResponses = {
|
|
24321
25083
|
/**
|
|
24322
|
-
*
|
|
25084
|
+
* OK
|
|
24323
25085
|
*/
|
|
24324
25086
|
200: {
|
|
24325
|
-
|
|
24326
|
-
|
|
24327
|
-
dry_run: boolean;
|
|
24328
|
-
executed: boolean;
|
|
25087
|
+
object: 'list';
|
|
25088
|
+
data: Array<GoogleAdsKeyword>;
|
|
24329
25089
|
};
|
|
24330
25090
|
};
|
|
24331
|
-
type
|
|
24332
|
-
type
|
|
24333
|
-
body
|
|
24334
|
-
path: {
|
|
25091
|
+
type GoogleListKeywordsResponse = GoogleListKeywordsResponses[keyof GoogleListKeywordsResponses];
|
|
25092
|
+
type GoogleCreateKeywordData = {
|
|
25093
|
+
body: {
|
|
24335
25094
|
/**
|
|
24336
|
-
* The
|
|
25095
|
+
* The resource name of the ad group to add the keyword to (e.g. `customers/123/adGroups/456`).
|
|
24337
25096
|
*/
|
|
24338
|
-
|
|
25097
|
+
ad_group: string;
|
|
25098
|
+
/**
|
|
25099
|
+
* The keyword text (Google’s 80-character limit).
|
|
25100
|
+
*/
|
|
25101
|
+
text: string;
|
|
25102
|
+
/**
|
|
25103
|
+
* How the keyword matches a search query.
|
|
25104
|
+
*/
|
|
25105
|
+
match_type: 'EXACT' | 'PHRASE' | 'BROAD';
|
|
25106
|
+
/**
|
|
25107
|
+
* When true, the keyword excludes traffic (a negative keyword) rather than targeting it.
|
|
25108
|
+
*/
|
|
25109
|
+
negative?: boolean;
|
|
25110
|
+
/**
|
|
25111
|
+
* The keyword’s initial status.
|
|
25112
|
+
*/
|
|
25113
|
+
status?: 'ENABLED' | 'PAUSED';
|
|
25114
|
+
/**
|
|
25115
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
25116
|
+
*/
|
|
25117
|
+
dry_run?: boolean;
|
|
24339
25118
|
};
|
|
24340
|
-
|
|
25119
|
+
headers?: {
|
|
24341
25120
|
/**
|
|
24342
|
-
*
|
|
25121
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
24343
25122
|
*/
|
|
24344
|
-
|
|
24345
|
-
|
|
25123
|
+
'Idempotency-Key'?: string;
|
|
25124
|
+
};
|
|
25125
|
+
path: {
|
|
25126
|
+
/**
|
|
25127
|
+
* The id of a Google Ads connection in your account.
|
|
25128
|
+
*/
|
|
25129
|
+
connection_id: string;
|
|
24346
25130
|
};
|
|
25131
|
+
query?: never;
|
|
24347
25132
|
url: '/google/{connection_id}/keywords';
|
|
24348
25133
|
};
|
|
24349
|
-
type
|
|
25134
|
+
type GoogleCreateKeywordErrors = {
|
|
24350
25135
|
/**
|
|
24351
25136
|
* An RFC 9457 problem response.
|
|
24352
25137
|
*/
|
|
@@ -24620,60 +25405,30 @@ type GoogleListKeywordsErrors = {
|
|
|
24620
25405
|
}>;
|
|
24621
25406
|
};
|
|
24622
25407
|
};
|
|
24623
|
-
type
|
|
24624
|
-
type
|
|
25408
|
+
type GoogleCreateKeywordError = GoogleCreateKeywordErrors[keyof GoogleCreateKeywordErrors];
|
|
25409
|
+
type GoogleCreateKeywordResponses = {
|
|
24625
25410
|
/**
|
|
24626
25411
|
* OK
|
|
24627
25412
|
*/
|
|
24628
|
-
|
|
24629
|
-
object: 'list';
|
|
24630
|
-
data: Array<GoogleAdsKeyword>;
|
|
24631
|
-
};
|
|
25413
|
+
201: GoogleAdsCreateResult;
|
|
24632
25414
|
};
|
|
24633
|
-
type
|
|
24634
|
-
type
|
|
24635
|
-
body
|
|
24636
|
-
/**
|
|
24637
|
-
* The resource name of the ad group to add the keyword to (e.g. `customers/123/adGroups/456`).
|
|
24638
|
-
*/
|
|
24639
|
-
ad_group: string;
|
|
24640
|
-
/**
|
|
24641
|
-
* The keyword text (Google’s 80-character limit).
|
|
24642
|
-
*/
|
|
24643
|
-
text: string;
|
|
24644
|
-
/**
|
|
24645
|
-
* How the keyword matches a search query.
|
|
24646
|
-
*/
|
|
24647
|
-
match_type: 'EXACT' | 'PHRASE' | 'BROAD';
|
|
24648
|
-
/**
|
|
24649
|
-
* When true, the keyword excludes traffic (a negative keyword) rather than targeting it.
|
|
24650
|
-
*/
|
|
24651
|
-
negative?: boolean;
|
|
24652
|
-
/**
|
|
24653
|
-
* The keyword’s initial status.
|
|
24654
|
-
*/
|
|
24655
|
-
status?: 'ENABLED' | 'PAUSED';
|
|
24656
|
-
/**
|
|
24657
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
24658
|
-
*/
|
|
24659
|
-
dry_run?: boolean;
|
|
24660
|
-
};
|
|
24661
|
-
headers?: {
|
|
24662
|
-
/**
|
|
24663
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
24664
|
-
*/
|
|
24665
|
-
'Idempotency-Key'?: string;
|
|
24666
|
-
};
|
|
25415
|
+
type GoogleCreateKeywordResponse = GoogleCreateKeywordResponses[keyof GoogleCreateKeywordResponses];
|
|
25416
|
+
type GoogleGetKeywordData = {
|
|
25417
|
+
body?: never;
|
|
24667
25418
|
path: {
|
|
24668
25419
|
/**
|
|
24669
25420
|
* The id of a Google Ads connection in your account.
|
|
24670
25421
|
*/
|
|
24671
25422
|
connection_id: string;
|
|
25423
|
+
/**
|
|
25424
|
+
* The composite id {ad_group_id}~{id} of the resource (as returned by the list/get read).
|
|
25425
|
+
*/
|
|
25426
|
+
id: string;
|
|
24672
25427
|
};
|
|
24673
25428
|
query?: never;
|
|
24674
|
-
url: '/google/{connection_id}/keywords';
|
|
25429
|
+
url: '/google/{connection_id}/keywords/{id}';
|
|
24675
25430
|
};
|
|
24676
|
-
type
|
|
25431
|
+
type GoogleGetKeywordErrors = {
|
|
24677
25432
|
/**
|
|
24678
25433
|
* An RFC 9457 problem response.
|
|
24679
25434
|
*/
|
|
@@ -24947,16 +25702,31 @@ type GoogleCreateKeywordErrors = {
|
|
|
24947
25702
|
}>;
|
|
24948
25703
|
};
|
|
24949
25704
|
};
|
|
24950
|
-
type
|
|
24951
|
-
type
|
|
25705
|
+
type GoogleGetKeywordError = GoogleGetKeywordErrors[keyof GoogleGetKeywordErrors];
|
|
25706
|
+
type GoogleGetKeywordResponses = {
|
|
24952
25707
|
/**
|
|
24953
25708
|
* OK
|
|
24954
25709
|
*/
|
|
24955
|
-
|
|
25710
|
+
200: GoogleAdsKeyword;
|
|
24956
25711
|
};
|
|
24957
|
-
type
|
|
24958
|
-
type
|
|
24959
|
-
body
|
|
25712
|
+
type GoogleGetKeywordResponse = GoogleGetKeywordResponses[keyof GoogleGetKeywordResponses];
|
|
25713
|
+
type GoogleSetKeywordBidData = {
|
|
25714
|
+
body: {
|
|
25715
|
+
/**
|
|
25716
|
+
* Manual CPC bid for the keyword, in micros.
|
|
25717
|
+
*/
|
|
25718
|
+
cpc_bid_micros: number;
|
|
25719
|
+
/**
|
|
25720
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
25721
|
+
*/
|
|
25722
|
+
dry_run?: boolean;
|
|
25723
|
+
};
|
|
25724
|
+
headers?: {
|
|
25725
|
+
/**
|
|
25726
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
25727
|
+
*/
|
|
25728
|
+
'Idempotency-Key'?: string;
|
|
25729
|
+
};
|
|
24960
25730
|
path: {
|
|
24961
25731
|
/**
|
|
24962
25732
|
* The id of a Google Ads connection in your account.
|
|
@@ -24968,9 +25738,9 @@ type GoogleGetKeywordData = {
|
|
|
24968
25738
|
id: string;
|
|
24969
25739
|
};
|
|
24970
25740
|
query?: never;
|
|
24971
|
-
url: '/google/{connection_id}/keywords/{id}';
|
|
25741
|
+
url: '/google/{connection_id}/keywords/{id}/bid';
|
|
24972
25742
|
};
|
|
24973
|
-
type
|
|
25743
|
+
type GoogleSetKeywordBidErrors = {
|
|
24974
25744
|
/**
|
|
24975
25745
|
* An RFC 9457 problem response.
|
|
24976
25746
|
*/
|
|
@@ -25244,20 +26014,16 @@ type GoogleGetKeywordErrors = {
|
|
|
25244
26014
|
}>;
|
|
25245
26015
|
};
|
|
25246
26016
|
};
|
|
25247
|
-
type
|
|
25248
|
-
type
|
|
26017
|
+
type GoogleSetKeywordBidError = GoogleSetKeywordBidErrors[keyof GoogleSetKeywordBidErrors];
|
|
26018
|
+
type GoogleSetKeywordBidResponses = {
|
|
25249
26019
|
/**
|
|
25250
26020
|
* OK
|
|
25251
26021
|
*/
|
|
25252
|
-
200:
|
|
26022
|
+
200: GoogleAdsEditResult;
|
|
25253
26023
|
};
|
|
25254
|
-
type
|
|
25255
|
-
type
|
|
25256
|
-
body
|
|
25257
|
-
/**
|
|
25258
|
-
* Manual CPC bid for the keyword, in micros.
|
|
25259
|
-
*/
|
|
25260
|
-
cpc_bid_micros: number;
|
|
26024
|
+
type GoogleSetKeywordBidResponse = GoogleSetKeywordBidResponses[keyof GoogleSetKeywordBidResponses];
|
|
26025
|
+
type GoogleRemoveKeywordData = {
|
|
26026
|
+
body?: {
|
|
25261
26027
|
/**
|
|
25262
26028
|
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
25263
26029
|
*/
|
|
@@ -25280,9 +26046,9 @@ type GoogleSetKeywordBidData = {
|
|
|
25280
26046
|
id: string;
|
|
25281
26047
|
};
|
|
25282
26048
|
query?: never;
|
|
25283
|
-
url: '/google/{connection_id}/keywords/{id}/
|
|
26049
|
+
url: '/google/{connection_id}/keywords/{id}/remove';
|
|
25284
26050
|
};
|
|
25285
|
-
type
|
|
26051
|
+
type GoogleRemoveKeywordErrors = {
|
|
25286
26052
|
/**
|
|
25287
26053
|
* An RFC 9457 problem response.
|
|
25288
26054
|
*/
|
|
@@ -25556,18 +26322,18 @@ type GoogleSetKeywordBidErrors = {
|
|
|
25556
26322
|
}>;
|
|
25557
26323
|
};
|
|
25558
26324
|
};
|
|
25559
|
-
type
|
|
25560
|
-
type
|
|
26325
|
+
type GoogleRemoveKeywordError = GoogleRemoveKeywordErrors[keyof GoogleRemoveKeywordErrors];
|
|
26326
|
+
type GoogleRemoveKeywordResponses = {
|
|
25561
26327
|
/**
|
|
25562
26328
|
* OK
|
|
25563
26329
|
*/
|
|
25564
|
-
200:
|
|
26330
|
+
200: GoogleAdsDeleteResult;
|
|
25565
26331
|
};
|
|
25566
|
-
type
|
|
25567
|
-
type
|
|
26332
|
+
type GoogleRemoveKeywordResponse = GoogleRemoveKeywordResponses[keyof GoogleRemoveKeywordResponses];
|
|
26333
|
+
type GooglePauseKeywordData = {
|
|
25568
26334
|
body?: {
|
|
25569
26335
|
/**
|
|
25570
|
-
*
|
|
26336
|
+
* Preview the change without applying it. Default false (the write executes).
|
|
25571
26337
|
*/
|
|
25572
26338
|
dry_run?: boolean;
|
|
25573
26339
|
};
|
|
@@ -25588,9 +26354,9 @@ type GoogleRemoveKeywordData = {
|
|
|
25588
26354
|
id: string;
|
|
25589
26355
|
};
|
|
25590
26356
|
query?: never;
|
|
25591
|
-
url: '/google/{connection_id}/keywords/{id}/
|
|
26357
|
+
url: '/google/{connection_id}/keywords/{id}/pause';
|
|
25592
26358
|
};
|
|
25593
|
-
type
|
|
26359
|
+
type GooglePauseKeywordErrors = {
|
|
25594
26360
|
/**
|
|
25595
26361
|
* An RFC 9457 problem response.
|
|
25596
26362
|
*/
|
|
@@ -25864,15 +26630,20 @@ type GoogleRemoveKeywordErrors = {
|
|
|
25864
26630
|
}>;
|
|
25865
26631
|
};
|
|
25866
26632
|
};
|
|
25867
|
-
type
|
|
25868
|
-
type
|
|
26633
|
+
type GooglePauseKeywordError = GooglePauseKeywordErrors[keyof GooglePauseKeywordErrors];
|
|
26634
|
+
type GooglePauseKeywordResponses = {
|
|
25869
26635
|
/**
|
|
25870
|
-
*
|
|
26636
|
+
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
25871
26637
|
*/
|
|
25872
|
-
200:
|
|
26638
|
+
200: {
|
|
26639
|
+
id: string;
|
|
26640
|
+
status: 'ENABLED' | 'PAUSED';
|
|
26641
|
+
dry_run: boolean;
|
|
26642
|
+
executed: boolean;
|
|
26643
|
+
};
|
|
25873
26644
|
};
|
|
25874
|
-
type
|
|
25875
|
-
type
|
|
26645
|
+
type GooglePauseKeywordResponse = GooglePauseKeywordResponses[keyof GooglePauseKeywordResponses];
|
|
26646
|
+
type GoogleEnableKeywordData = {
|
|
25876
26647
|
body?: {
|
|
25877
26648
|
/**
|
|
25878
26649
|
* Preview the change without applying it. Default false (the write executes).
|
|
@@ -25896,9 +26667,9 @@ type GooglePauseKeywordData = {
|
|
|
25896
26667
|
id: string;
|
|
25897
26668
|
};
|
|
25898
26669
|
query?: never;
|
|
25899
|
-
url: '/google/{connection_id}/keywords/{id}/
|
|
26670
|
+
url: '/google/{connection_id}/keywords/{id}/enable';
|
|
25900
26671
|
};
|
|
25901
|
-
type
|
|
26672
|
+
type GoogleEnableKeywordErrors = {
|
|
25902
26673
|
/**
|
|
25903
26674
|
* An RFC 9457 problem response.
|
|
25904
26675
|
*/
|
|
@@ -26172,8 +26943,8 @@ type GooglePauseKeywordErrors = {
|
|
|
26172
26943
|
}>;
|
|
26173
26944
|
};
|
|
26174
26945
|
};
|
|
26175
|
-
type
|
|
26176
|
-
type
|
|
26946
|
+
type GoogleEnableKeywordError = GoogleEnableKeywordErrors[keyof GoogleEnableKeywordErrors];
|
|
26947
|
+
type GoogleEnableKeywordResponses = {
|
|
26177
26948
|
/**
|
|
26178
26949
|
* The outcome of a status change: the resource id, the new status, whether it was a dry run, and whether it executed.
|
|
26179
26950
|
*/
|
|
@@ -26184,34 +26955,19 @@ type GooglePauseKeywordResponses = {
|
|
|
26184
26955
|
executed: boolean;
|
|
26185
26956
|
};
|
|
26186
26957
|
};
|
|
26187
|
-
type
|
|
26188
|
-
type
|
|
26189
|
-
body?:
|
|
26190
|
-
/**
|
|
26191
|
-
* Preview the change without applying it. Default false (the write executes).
|
|
26192
|
-
*/
|
|
26193
|
-
dry_run?: boolean;
|
|
26194
|
-
};
|
|
26195
|
-
headers?: {
|
|
26196
|
-
/**
|
|
26197
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
26198
|
-
*/
|
|
26199
|
-
'Idempotency-Key'?: string;
|
|
26200
|
-
};
|
|
26958
|
+
type GoogleEnableKeywordResponse = GoogleEnableKeywordResponses[keyof GoogleEnableKeywordResponses];
|
|
26959
|
+
type GoogleListConversionActionsData = {
|
|
26960
|
+
body?: never;
|
|
26201
26961
|
path: {
|
|
26202
26962
|
/**
|
|
26203
26963
|
* The id of a Google Ads connection in your account.
|
|
26204
26964
|
*/
|
|
26205
26965
|
connection_id: string;
|
|
26206
|
-
/**
|
|
26207
|
-
* The composite id {ad_group_id}~{id} of the resource (as returned by the list/get read).
|
|
26208
|
-
*/
|
|
26209
|
-
id: string;
|
|
26210
26966
|
};
|
|
26211
26967
|
query?: never;
|
|
26212
|
-
url: '/google/{connection_id}/
|
|
26968
|
+
url: '/google/{connection_id}/conversion-actions';
|
|
26213
26969
|
};
|
|
26214
|
-
type
|
|
26970
|
+
type GoogleListConversionActionsErrors = {
|
|
26215
26971
|
/**
|
|
26216
26972
|
* An RFC 9457 problem response.
|
|
26217
26973
|
*/
|
|
@@ -26485,21 +27241,95 @@ type GoogleEnableKeywordErrors = {
|
|
|
26485
27241
|
}>;
|
|
26486
27242
|
};
|
|
26487
27243
|
};
|
|
26488
|
-
type
|
|
26489
|
-
type
|
|
27244
|
+
type GoogleListConversionActionsError = GoogleListConversionActionsErrors[keyof GoogleListConversionActionsErrors];
|
|
27245
|
+
type GoogleListConversionActionsResponses = {
|
|
26490
27246
|
/**
|
|
26491
|
-
*
|
|
27247
|
+
* OK
|
|
26492
27248
|
*/
|
|
26493
27249
|
200: {
|
|
26494
|
-
|
|
26495
|
-
|
|
26496
|
-
|
|
26497
|
-
|
|
27250
|
+
object: 'list';
|
|
27251
|
+
data: Array<{
|
|
27252
|
+
id: string;
|
|
27253
|
+
name: string | null;
|
|
27254
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED' | 'HIDDEN';
|
|
27255
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'AD_CALL' | 'CLICK_TO_CALL' | 'GOOGLE_PLAY_DOWNLOAD' | 'GOOGLE_PLAY_IN_APP_PURCHASE' | 'UPLOAD_CALLS' | 'UPLOAD_CLICKS' | 'WEBPAGE' | 'WEBSITE_CALL' | 'STORE_SALES_DIRECT_UPLOAD' | 'STORE_SALES' | 'FIREBASE_ANDROID_FIRST_OPEN' | 'FIREBASE_ANDROID_IN_APP_PURCHASE' | 'FIREBASE_ANDROID_CUSTOM' | 'FIREBASE_IOS_FIRST_OPEN' | 'FIREBASE_IOS_IN_APP_PURCHASE' | 'FIREBASE_IOS_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM' | 'ANDROID_APP_PRE_REGISTRATION' | 'ANDROID_INSTALLS_ALL_OTHER_APPS' | 'FLOODLIGHT_ACTION' | 'FLOODLIGHT_TRANSACTION' | 'GOOGLE_HOSTED' | 'LEAD_FORM_SUBMIT' | 'SALESFORCE' | 'SEARCH_ADS_360' | 'SMART_CAMPAIGN_AD_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_DIRECTIONS' | 'SMART_CAMPAIGN_TRACKED_CALLS' | 'STORE_VISITS' | 'WEBPAGE_CODELESS' | 'UNIVERSAL_ANALYTICS_GOAL' | 'UNIVERSAL_ANALYTICS_TRANSACTION' | 'GOOGLE_ANALYTICS_4_CUSTOM' | 'GOOGLE_ANALYTICS_4_PURCHASE' | 'GOOGLE_ANALYTICS_4_GENERATE_LEAD' | 'GOOGLE_ANALYTICS_4_QUALIFY_LEAD' | 'GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD' | 'FIREBASE_ANDROID_GENERATE_LEAD' | 'FIREBASE_ANDROID_QUALIFY_LEAD' | 'FIREBASE_ANDROID_CLOSE_CONVERT_LEAD' | 'FIREBASE_IOS_GENERATE_LEAD' | 'FIREBASE_IOS_QUALIFY_LEAD' | 'FIREBASE_IOS_CLOSE_CONVERT_LEAD';
|
|
27256
|
+
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD' | 'YOUTUBE_FOLLOW_ON_VIEWS';
|
|
27257
|
+
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
27258
|
+
primary_for_goal: boolean;
|
|
27259
|
+
counting_type: 'UNSPECIFIED' | 'UNKNOWN' | 'ONE_PER_CLICK' | 'MANY_PER_CLICK';
|
|
27260
|
+
value_settings: {
|
|
27261
|
+
default_value: number | null;
|
|
27262
|
+
default_currency_code: string | null;
|
|
27263
|
+
always_use_default_value: boolean | null;
|
|
27264
|
+
} | null;
|
|
27265
|
+
tag_snippets: Array<{
|
|
27266
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBPAGE' | 'WEBPAGE_ONCLICK' | 'CLICK_TO_CALL' | 'WEBSITE_CALL';
|
|
27267
|
+
page_format: 'UNSPECIFIED' | 'UNKNOWN' | 'HTML' | 'AMP';
|
|
27268
|
+
global_site_tag: string | null;
|
|
27269
|
+
event_snippet: string | null;
|
|
27270
|
+
}>;
|
|
27271
|
+
}>;
|
|
26498
27272
|
};
|
|
26499
27273
|
};
|
|
26500
|
-
type
|
|
26501
|
-
type
|
|
26502
|
-
body
|
|
27274
|
+
type GoogleListConversionActionsResponse = GoogleListConversionActionsResponses[keyof GoogleListConversionActionsResponses];
|
|
27275
|
+
type GoogleCreateConversionActionData = {
|
|
27276
|
+
body: {
|
|
27277
|
+
/**
|
|
27278
|
+
* A name for the conversion action, unique within the Google Ads account.
|
|
27279
|
+
*/
|
|
27280
|
+
name: string;
|
|
27281
|
+
/**
|
|
27282
|
+
* The conversion action type. Launch scope: WEBPAGE (a website tag) or UPLOAD_CLICKS (offline / API-reported conversions).
|
|
27283
|
+
*/
|
|
27284
|
+
type: 'WEBPAGE' | 'UPLOAD_CLICKS';
|
|
27285
|
+
/**
|
|
27286
|
+
* The conversion category (e.g. PURCHASE, SIGNUP, SUBMIT_LEAD_FORM) — any member of Google’s ConversionActionCategory.
|
|
27287
|
+
*/
|
|
27288
|
+
category: 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD' | 'YOUTUBE_FOLLOW_ON_VIEWS';
|
|
27289
|
+
/**
|
|
27290
|
+
* The conversion action status. Only ENABLED is a valid create state (the proto has no PAUSED); defaults to ENABLED.
|
|
27291
|
+
*/
|
|
27292
|
+
status?: 'ENABLED';
|
|
27293
|
+
/**
|
|
27294
|
+
* How to value conversions. Omit to let Google apply its category-based defaults.
|
|
27295
|
+
*/
|
|
27296
|
+
value_settings?: {
|
|
27297
|
+
/**
|
|
27298
|
+
* The value to assign a conversion when the event reports no value.
|
|
27299
|
+
*/
|
|
27300
|
+
default_value?: number;
|
|
27301
|
+
/**
|
|
27302
|
+
* The ISO 4217 currency code (3 letters) for the default value.
|
|
27303
|
+
*/
|
|
27304
|
+
default_currency_code?: string;
|
|
27305
|
+
/**
|
|
27306
|
+
* When true, always use the default value (ignore any value reported with the event).
|
|
27307
|
+
*/
|
|
27308
|
+
always_use_default_value?: boolean;
|
|
27309
|
+
};
|
|
27310
|
+
/**
|
|
27311
|
+
* How to count conversions per ad interaction: ONE_PER_CLICK (e.g. leads) or MANY_PER_CLICK (e.g. purchases).
|
|
27312
|
+
*/
|
|
27313
|
+
counting_type?: 'ONE_PER_CLICK' | 'MANY_PER_CLICK';
|
|
27314
|
+
/**
|
|
27315
|
+
* The max days between an ad click and a conversion to attribute it (click-through).
|
|
27316
|
+
*/
|
|
27317
|
+
click_through_lookback_window_days?: number;
|
|
27318
|
+
/**
|
|
27319
|
+
* The max days between an ad impression and a conversion to attribute it (view-through).
|
|
27320
|
+
*/
|
|
27321
|
+
view_through_lookback_window_days?: number;
|
|
27322
|
+
/**
|
|
27323
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
27324
|
+
*/
|
|
27325
|
+
dry_run?: boolean;
|
|
27326
|
+
};
|
|
27327
|
+
headers?: {
|
|
27328
|
+
/**
|
|
27329
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
27330
|
+
*/
|
|
27331
|
+
'Idempotency-Key'?: string;
|
|
27332
|
+
};
|
|
26503
27333
|
path: {
|
|
26504
27334
|
/**
|
|
26505
27335
|
* The id of a Google Ads connection in your account.
|
|
@@ -26509,7 +27339,7 @@ type GoogleListConversionActionsData = {
|
|
|
26509
27339
|
query?: never;
|
|
26510
27340
|
url: '/google/{connection_id}/conversion-actions';
|
|
26511
27341
|
};
|
|
26512
|
-
type
|
|
27342
|
+
type GoogleCreateConversionActionErrors = {
|
|
26513
27343
|
/**
|
|
26514
27344
|
* An RFC 9457 problem response.
|
|
26515
27345
|
*/
|
|
@@ -26771,117 +27601,42 @@ type GoogleListConversionActionsErrors = {
|
|
|
26771
27601
|
field?: string;
|
|
26772
27602
|
value?: string;
|
|
26773
27603
|
platform_request_id?: string;
|
|
26774
|
-
};
|
|
26775
|
-
errors?: Array<{
|
|
26776
|
-
field: string;
|
|
26777
|
-
code: string;
|
|
26778
|
-
detail: string;
|
|
26779
|
-
display_error: string;
|
|
26780
|
-
hint?: string;
|
|
26781
|
-
allowed?: Array<string>;
|
|
26782
|
-
got?: string;
|
|
26783
|
-
}>;
|
|
26784
|
-
};
|
|
26785
|
-
};
|
|
26786
|
-
type GoogleListConversionActionsError = GoogleListConversionActionsErrors[keyof GoogleListConversionActionsErrors];
|
|
26787
|
-
type GoogleListConversionActionsResponses = {
|
|
26788
|
-
/**
|
|
26789
|
-
* OK
|
|
26790
|
-
*/
|
|
26791
|
-
200: {
|
|
26792
|
-
object: 'list';
|
|
26793
|
-
data: Array<{
|
|
26794
|
-
id: string;
|
|
26795
|
-
name: string | null;
|
|
26796
|
-
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED' | 'HIDDEN';
|
|
26797
|
-
type: 'UNSPECIFIED' | 'UNKNOWN' | 'AD_CALL' | 'CLICK_TO_CALL' | 'GOOGLE_PLAY_DOWNLOAD' | 'GOOGLE_PLAY_IN_APP_PURCHASE' | 'UPLOAD_CALLS' | 'UPLOAD_CLICKS' | 'WEBPAGE' | 'WEBSITE_CALL' | 'STORE_SALES_DIRECT_UPLOAD' | 'STORE_SALES' | 'FIREBASE_ANDROID_FIRST_OPEN' | 'FIREBASE_ANDROID_IN_APP_PURCHASE' | 'FIREBASE_ANDROID_CUSTOM' | 'FIREBASE_IOS_FIRST_OPEN' | 'FIREBASE_IOS_IN_APP_PURCHASE' | 'FIREBASE_IOS_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM' | 'ANDROID_APP_PRE_REGISTRATION' | 'ANDROID_INSTALLS_ALL_OTHER_APPS' | 'FLOODLIGHT_ACTION' | 'FLOODLIGHT_TRANSACTION' | 'GOOGLE_HOSTED' | 'LEAD_FORM_SUBMIT' | 'SALESFORCE' | 'SEARCH_ADS_360' | 'SMART_CAMPAIGN_AD_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_DIRECTIONS' | 'SMART_CAMPAIGN_TRACKED_CALLS' | 'STORE_VISITS' | 'WEBPAGE_CODELESS' | 'UNIVERSAL_ANALYTICS_GOAL' | 'UNIVERSAL_ANALYTICS_TRANSACTION' | 'GOOGLE_ANALYTICS_4_CUSTOM' | 'GOOGLE_ANALYTICS_4_PURCHASE';
|
|
26798
|
-
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD';
|
|
26799
|
-
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
26800
|
-
primary_for_goal: boolean;
|
|
26801
|
-
counting_type: 'UNSPECIFIED' | 'UNKNOWN' | 'ONE_PER_CLICK' | 'MANY_PER_CLICK';
|
|
26802
|
-
value_settings: {
|
|
26803
|
-
default_value: number | null;
|
|
26804
|
-
default_currency_code: string | null;
|
|
26805
|
-
always_use_default_value: boolean | null;
|
|
26806
|
-
} | null;
|
|
26807
|
-
tag_snippets: Array<{
|
|
26808
|
-
type: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBPAGE' | 'WEBPAGE_ONCLICK' | 'CLICK_TO_CALL' | 'WEBSITE_CALL';
|
|
26809
|
-
page_format: 'UNSPECIFIED' | 'UNKNOWN' | 'HTML' | 'AMP';
|
|
26810
|
-
global_site_tag: string | null;
|
|
26811
|
-
event_snippet: string | null;
|
|
26812
|
-
}>;
|
|
26813
|
-
}>;
|
|
26814
|
-
};
|
|
26815
|
-
};
|
|
26816
|
-
type GoogleListConversionActionsResponse = GoogleListConversionActionsResponses[keyof GoogleListConversionActionsResponses];
|
|
26817
|
-
type GoogleCreateConversionActionData = {
|
|
26818
|
-
body: {
|
|
26819
|
-
/**
|
|
26820
|
-
* A name for the conversion action, unique within the Google Ads account.
|
|
26821
|
-
*/
|
|
26822
|
-
name: string;
|
|
26823
|
-
/**
|
|
26824
|
-
* The conversion action type. Launch scope: WEBPAGE (a website tag) or UPLOAD_CLICKS (offline / API-reported conversions).
|
|
26825
|
-
*/
|
|
26826
|
-
type: 'WEBPAGE' | 'UPLOAD_CLICKS';
|
|
26827
|
-
/**
|
|
26828
|
-
* The conversion category (e.g. PURCHASE, SIGNUP, SUBMIT_LEAD_FORM) — any member of Google’s ConversionActionCategory.
|
|
26829
|
-
*/
|
|
26830
|
-
category: 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD';
|
|
26831
|
-
/**
|
|
26832
|
-
* The conversion action status. Only ENABLED is a valid create state (the proto has no PAUSED); defaults to ENABLED.
|
|
26833
|
-
*/
|
|
26834
|
-
status?: 'ENABLED';
|
|
26835
|
-
/**
|
|
26836
|
-
* How to value conversions. Omit to let Google apply its category-based defaults.
|
|
26837
|
-
*/
|
|
26838
|
-
value_settings?: {
|
|
26839
|
-
/**
|
|
26840
|
-
* The value to assign a conversion when the event reports no value.
|
|
26841
|
-
*/
|
|
26842
|
-
default_value?: number;
|
|
26843
|
-
/**
|
|
26844
|
-
* The ISO 4217 currency code (3 letters) for the default value.
|
|
26845
|
-
*/
|
|
26846
|
-
default_currency_code?: string;
|
|
26847
|
-
/**
|
|
26848
|
-
* When true, always use the default value (ignore any value reported with the event).
|
|
26849
|
-
*/
|
|
26850
|
-
always_use_default_value?: boolean;
|
|
26851
|
-
};
|
|
26852
|
-
/**
|
|
26853
|
-
* How to count conversions per ad interaction: ONE_PER_CLICK (e.g. leads) or MANY_PER_CLICK (e.g. purchases).
|
|
26854
|
-
*/
|
|
26855
|
-
counting_type?: 'ONE_PER_CLICK' | 'MANY_PER_CLICK';
|
|
26856
|
-
/**
|
|
26857
|
-
* The max days between an ad click and a conversion to attribute it (click-through).
|
|
26858
|
-
*/
|
|
26859
|
-
click_through_lookback_window_days?: number;
|
|
26860
|
-
/**
|
|
26861
|
-
* The max days between an ad impression and a conversion to attribute it (view-through).
|
|
26862
|
-
*/
|
|
26863
|
-
view_through_lookback_window_days?: number;
|
|
26864
|
-
/**
|
|
26865
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
26866
|
-
*/
|
|
26867
|
-
dry_run?: boolean;
|
|
26868
|
-
};
|
|
26869
|
-
headers?: {
|
|
26870
|
-
/**
|
|
26871
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
26872
|
-
*/
|
|
26873
|
-
'Idempotency-Key'?: string;
|
|
27604
|
+
};
|
|
27605
|
+
errors?: Array<{
|
|
27606
|
+
field: string;
|
|
27607
|
+
code: string;
|
|
27608
|
+
detail: string;
|
|
27609
|
+
display_error: string;
|
|
27610
|
+
hint?: string;
|
|
27611
|
+
allowed?: Array<string>;
|
|
27612
|
+
got?: string;
|
|
27613
|
+
}>;
|
|
26874
27614
|
};
|
|
27615
|
+
};
|
|
27616
|
+
type GoogleCreateConversionActionError = GoogleCreateConversionActionErrors[keyof GoogleCreateConversionActionErrors];
|
|
27617
|
+
type GoogleCreateConversionActionResponses = {
|
|
27618
|
+
/**
|
|
27619
|
+
* OK
|
|
27620
|
+
*/
|
|
27621
|
+
201: GoogleAdsCreateResult;
|
|
27622
|
+
};
|
|
27623
|
+
type GoogleCreateConversionActionResponse = GoogleCreateConversionActionResponses[keyof GoogleCreateConversionActionResponses];
|
|
27624
|
+
type GoogleGetConversionActionData = {
|
|
27625
|
+
body?: never;
|
|
26875
27626
|
path: {
|
|
26876
27627
|
/**
|
|
26877
27628
|
* The id of a Google Ads connection in your account.
|
|
26878
27629
|
*/
|
|
26879
27630
|
connection_id: string;
|
|
27631
|
+
/**
|
|
27632
|
+
* The numeric id of the resource.
|
|
27633
|
+
*/
|
|
27634
|
+
id: string;
|
|
26880
27635
|
};
|
|
26881
27636
|
query?: never;
|
|
26882
|
-
url: '/google/{connection_id}/conversion-actions';
|
|
27637
|
+
url: '/google/{connection_id}/conversion-actions/{id}';
|
|
26883
27638
|
};
|
|
26884
|
-
type
|
|
27639
|
+
type GoogleGetConversionActionErrors = {
|
|
26885
27640
|
/**
|
|
26886
27641
|
* An RFC 9457 problem response.
|
|
26887
27642
|
*/
|
|
@@ -27155,30 +27910,69 @@ type GoogleCreateConversionActionErrors = {
|
|
|
27155
27910
|
}>;
|
|
27156
27911
|
};
|
|
27157
27912
|
};
|
|
27158
|
-
type
|
|
27159
|
-
type
|
|
27913
|
+
type GoogleGetConversionActionError = GoogleGetConversionActionErrors[keyof GoogleGetConversionActionErrors];
|
|
27914
|
+
type GoogleGetConversionActionResponses = {
|
|
27160
27915
|
/**
|
|
27161
|
-
*
|
|
27916
|
+
* A Google Ads conversion action (the `conversion_action` resource): id, name, status, type, category, origin, whether it is a primary goal, counting type, value settings, and the website tag snippets (present only for a WEBPAGE action).
|
|
27162
27917
|
*/
|
|
27163
|
-
|
|
27918
|
+
200: {
|
|
27919
|
+
id: string;
|
|
27920
|
+
name: string | null;
|
|
27921
|
+
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED' | 'HIDDEN';
|
|
27922
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'AD_CALL' | 'CLICK_TO_CALL' | 'GOOGLE_PLAY_DOWNLOAD' | 'GOOGLE_PLAY_IN_APP_PURCHASE' | 'UPLOAD_CALLS' | 'UPLOAD_CLICKS' | 'WEBPAGE' | 'WEBSITE_CALL' | 'STORE_SALES_DIRECT_UPLOAD' | 'STORE_SALES' | 'FIREBASE_ANDROID_FIRST_OPEN' | 'FIREBASE_ANDROID_IN_APP_PURCHASE' | 'FIREBASE_ANDROID_CUSTOM' | 'FIREBASE_IOS_FIRST_OPEN' | 'FIREBASE_IOS_IN_APP_PURCHASE' | 'FIREBASE_IOS_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM' | 'ANDROID_APP_PRE_REGISTRATION' | 'ANDROID_INSTALLS_ALL_OTHER_APPS' | 'FLOODLIGHT_ACTION' | 'FLOODLIGHT_TRANSACTION' | 'GOOGLE_HOSTED' | 'LEAD_FORM_SUBMIT' | 'SALESFORCE' | 'SEARCH_ADS_360' | 'SMART_CAMPAIGN_AD_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_DIRECTIONS' | 'SMART_CAMPAIGN_TRACKED_CALLS' | 'STORE_VISITS' | 'WEBPAGE_CODELESS' | 'UNIVERSAL_ANALYTICS_GOAL' | 'UNIVERSAL_ANALYTICS_TRANSACTION' | 'GOOGLE_ANALYTICS_4_CUSTOM' | 'GOOGLE_ANALYTICS_4_PURCHASE' | 'GOOGLE_ANALYTICS_4_GENERATE_LEAD' | 'GOOGLE_ANALYTICS_4_QUALIFY_LEAD' | 'GOOGLE_ANALYTICS_4_CLOSE_CONVERT_LEAD' | 'FIREBASE_ANDROID_GENERATE_LEAD' | 'FIREBASE_ANDROID_QUALIFY_LEAD' | 'FIREBASE_ANDROID_CLOSE_CONVERT_LEAD' | 'FIREBASE_IOS_GENERATE_LEAD' | 'FIREBASE_IOS_QUALIFY_LEAD' | 'FIREBASE_IOS_CLOSE_CONVERT_LEAD';
|
|
27923
|
+
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD' | 'YOUTUBE_FOLLOW_ON_VIEWS';
|
|
27924
|
+
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
27925
|
+
primary_for_goal: boolean;
|
|
27926
|
+
counting_type: 'UNSPECIFIED' | 'UNKNOWN' | 'ONE_PER_CLICK' | 'MANY_PER_CLICK';
|
|
27927
|
+
value_settings: {
|
|
27928
|
+
default_value: number | null;
|
|
27929
|
+
default_currency_code: string | null;
|
|
27930
|
+
always_use_default_value: boolean | null;
|
|
27931
|
+
} | null;
|
|
27932
|
+
tag_snippets: Array<{
|
|
27933
|
+
type: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBPAGE' | 'WEBPAGE_ONCLICK' | 'CLICK_TO_CALL' | 'WEBSITE_CALL';
|
|
27934
|
+
page_format: 'UNSPECIFIED' | 'UNKNOWN' | 'HTML' | 'AMP';
|
|
27935
|
+
global_site_tag: string | null;
|
|
27936
|
+
event_snippet: string | null;
|
|
27937
|
+
}>;
|
|
27938
|
+
};
|
|
27164
27939
|
};
|
|
27165
|
-
type
|
|
27166
|
-
type
|
|
27167
|
-
body
|
|
27940
|
+
type GoogleGetConversionActionResponse = GoogleGetConversionActionResponses[keyof GoogleGetConversionActionResponses];
|
|
27941
|
+
type GoogleSendConversionsData = {
|
|
27942
|
+
body: {
|
|
27943
|
+
/**
|
|
27944
|
+
* The numeric id of the conversion action these events count toward.
|
|
27945
|
+
*/
|
|
27946
|
+
conversion_action_id: string;
|
|
27947
|
+
/**
|
|
27948
|
+
* The conversion events to send (1–2000 per request).
|
|
27949
|
+
*/
|
|
27950
|
+
conversions: Array<GoogleAdsConversionEvent>;
|
|
27951
|
+
/**
|
|
27952
|
+
* Request-level consent default, applied to every event without its own consent.
|
|
27953
|
+
*/
|
|
27954
|
+
consent?: GoogleAdsConversionConsent;
|
|
27955
|
+
/**
|
|
27956
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
27957
|
+
*/
|
|
27958
|
+
dry_run?: boolean;
|
|
27959
|
+
};
|
|
27960
|
+
headers?: {
|
|
27961
|
+
/**
|
|
27962
|
+
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
27963
|
+
*/
|
|
27964
|
+
'Idempotency-Key'?: string;
|
|
27965
|
+
};
|
|
27168
27966
|
path: {
|
|
27169
27967
|
/**
|
|
27170
27968
|
* The id of a Google Ads connection in your account.
|
|
27171
27969
|
*/
|
|
27172
27970
|
connection_id: string;
|
|
27173
|
-
/**
|
|
27174
|
-
* The numeric id of the resource.
|
|
27175
|
-
*/
|
|
27176
|
-
id: string;
|
|
27177
27971
|
};
|
|
27178
27972
|
query?: never;
|
|
27179
|
-
url: '/google/{connection_id}/
|
|
27973
|
+
url: '/google/{connection_id}/conversions:send';
|
|
27180
27974
|
};
|
|
27181
|
-
type
|
|
27975
|
+
type GoogleSendConversionsErrors = {
|
|
27182
27976
|
/**
|
|
27183
27977
|
* An RFC 9457 problem response.
|
|
27184
27978
|
*/
|
|
@@ -27452,35 +28246,15 @@ type GoogleGetConversionActionErrors = {
|
|
|
27452
28246
|
}>;
|
|
27453
28247
|
};
|
|
27454
28248
|
};
|
|
27455
|
-
type
|
|
27456
|
-
type
|
|
28249
|
+
type GoogleSendConversionsError = GoogleSendConversionsErrors[keyof GoogleSendConversionsErrors];
|
|
28250
|
+
type GoogleSendConversionsResponses = {
|
|
27457
28251
|
/**
|
|
27458
|
-
*
|
|
28252
|
+
* OK
|
|
27459
28253
|
*/
|
|
27460
|
-
|
|
27461
|
-
id: string;
|
|
27462
|
-
name: string | null;
|
|
27463
|
-
status: 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED' | 'HIDDEN';
|
|
27464
|
-
type: 'UNSPECIFIED' | 'UNKNOWN' | 'AD_CALL' | 'CLICK_TO_CALL' | 'GOOGLE_PLAY_DOWNLOAD' | 'GOOGLE_PLAY_IN_APP_PURCHASE' | 'UPLOAD_CALLS' | 'UPLOAD_CLICKS' | 'WEBPAGE' | 'WEBSITE_CALL' | 'STORE_SALES_DIRECT_UPLOAD' | 'STORE_SALES' | 'FIREBASE_ANDROID_FIRST_OPEN' | 'FIREBASE_ANDROID_IN_APP_PURCHASE' | 'FIREBASE_ANDROID_CUSTOM' | 'FIREBASE_IOS_FIRST_OPEN' | 'FIREBASE_IOS_IN_APP_PURCHASE' | 'FIREBASE_IOS_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_ANDROID_CUSTOM' | 'THIRD_PARTY_APP_ANALYTICS_IOS_FIRST_OPEN' | 'THIRD_PARTY_APP_ANALYTICS_IOS_IN_APP_PURCHASE' | 'THIRD_PARTY_APP_ANALYTICS_IOS_CUSTOM' | 'ANDROID_APP_PRE_REGISTRATION' | 'ANDROID_INSTALLS_ALL_OTHER_APPS' | 'FLOODLIGHT_ACTION' | 'FLOODLIGHT_TRANSACTION' | 'GOOGLE_HOSTED' | 'LEAD_FORM_SUBMIT' | 'SALESFORCE' | 'SEARCH_ADS_360' | 'SMART_CAMPAIGN_AD_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_CLICKS_TO_CALL' | 'SMART_CAMPAIGN_MAP_DIRECTIONS' | 'SMART_CAMPAIGN_TRACKED_CALLS' | 'STORE_VISITS' | 'WEBPAGE_CODELESS' | 'UNIVERSAL_ANALYTICS_GOAL' | 'UNIVERSAL_ANALYTICS_TRANSACTION' | 'GOOGLE_ANALYTICS_4_CUSTOM' | 'GOOGLE_ANALYTICS_4_PURCHASE';
|
|
27465
|
-
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD';
|
|
27466
|
-
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
27467
|
-
primary_for_goal: boolean;
|
|
27468
|
-
counting_type: 'UNSPECIFIED' | 'UNKNOWN' | 'ONE_PER_CLICK' | 'MANY_PER_CLICK';
|
|
27469
|
-
value_settings: {
|
|
27470
|
-
default_value: number | null;
|
|
27471
|
-
default_currency_code: string | null;
|
|
27472
|
-
always_use_default_value: boolean | null;
|
|
27473
|
-
} | null;
|
|
27474
|
-
tag_snippets: Array<{
|
|
27475
|
-
type: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBPAGE' | 'WEBPAGE_ONCLICK' | 'CLICK_TO_CALL' | 'WEBSITE_CALL';
|
|
27476
|
-
page_format: 'UNSPECIFIED' | 'UNKNOWN' | 'HTML' | 'AMP';
|
|
27477
|
-
global_site_tag: string | null;
|
|
27478
|
-
event_snippet: string | null;
|
|
27479
|
-
}>;
|
|
27480
|
-
};
|
|
28254
|
+
202: GoogleAdsSendConversionsResult;
|
|
27481
28255
|
};
|
|
27482
|
-
type
|
|
27483
|
-
type
|
|
28256
|
+
type GoogleSendConversionsResponse = GoogleSendConversionsResponses[keyof GoogleSendConversionsResponses];
|
|
28257
|
+
type GoogleGetConversionStatusData = {
|
|
27484
28258
|
body?: never;
|
|
27485
28259
|
path: {
|
|
27486
28260
|
/**
|
|
@@ -27488,10 +28262,15 @@ type GoogleListConversionGoalsData = {
|
|
|
27488
28262
|
*/
|
|
27489
28263
|
connection_id: string;
|
|
27490
28264
|
};
|
|
27491
|
-
query
|
|
27492
|
-
|
|
28265
|
+
query: {
|
|
28266
|
+
/**
|
|
28267
|
+
* The request id returned by the conversion SEND.
|
|
28268
|
+
*/
|
|
28269
|
+
request_id: string;
|
|
28270
|
+
};
|
|
28271
|
+
url: '/google/{connection_id}/conversions/status';
|
|
27493
28272
|
};
|
|
27494
|
-
type
|
|
28273
|
+
type GoogleGetConversionStatusErrors = {
|
|
27495
28274
|
/**
|
|
27496
28275
|
* An RFC 9457 problem response.
|
|
27497
28276
|
*/
|
|
@@ -27765,46 +28544,16 @@ type GoogleListConversionGoalsErrors = {
|
|
|
27765
28544
|
}>;
|
|
27766
28545
|
};
|
|
27767
28546
|
};
|
|
27768
|
-
type
|
|
27769
|
-
type
|
|
28547
|
+
type GoogleGetConversionStatusError = GoogleGetConversionStatusErrors[keyof GoogleGetConversionStatusErrors];
|
|
28548
|
+
type GoogleGetConversionStatusResponses = {
|
|
27770
28549
|
/**
|
|
27771
28550
|
* OK
|
|
27772
28551
|
*/
|
|
27773
|
-
200:
|
|
27774
|
-
object: 'list';
|
|
27775
|
-
data: Array<{
|
|
27776
|
-
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD';
|
|
27777
|
-
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
27778
|
-
biddable: boolean;
|
|
27779
|
-
}>;
|
|
27780
|
-
};
|
|
28552
|
+
200: GoogleAdsConversionStatus;
|
|
27781
28553
|
};
|
|
27782
|
-
type
|
|
27783
|
-
type
|
|
27784
|
-
body
|
|
27785
|
-
/**
|
|
27786
|
-
* The conversion category of the goal to update.
|
|
27787
|
-
*/
|
|
27788
|
-
category: 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD';
|
|
27789
|
-
/**
|
|
27790
|
-
* The origin of the goal to update.
|
|
27791
|
-
*/
|
|
27792
|
-
origin: 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
27793
|
-
/**
|
|
27794
|
-
* Whether the goal is biddable: true makes it a primary goal Google optimises toward, false makes it secondary (observation-only).
|
|
27795
|
-
*/
|
|
27796
|
-
biddable: boolean;
|
|
27797
|
-
/**
|
|
27798
|
-
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
27799
|
-
*/
|
|
27800
|
-
dry_run?: boolean;
|
|
27801
|
-
};
|
|
27802
|
-
headers?: {
|
|
27803
|
-
/**
|
|
27804
|
-
* Optional. A unique key (1–255 chars; a UUID is ideal) that makes this write safe to retry: the first request executes and its outcome is stored; an identical retry replays that exact outcome instead of re-executing. A retry with the same key but a different body returns 422; a retry while the first is still in flight returns 409. See https://docs.postrun.ai/idempotency.
|
|
27805
|
-
*/
|
|
27806
|
-
'Idempotency-Key'?: string;
|
|
27807
|
-
};
|
|
28554
|
+
type GoogleGetConversionStatusResponse = GoogleGetConversionStatusResponses[keyof GoogleGetConversionStatusResponses];
|
|
28555
|
+
type GoogleListConversionGoalsData = {
|
|
28556
|
+
body?: never;
|
|
27808
28557
|
path: {
|
|
27809
28558
|
/**
|
|
27810
28559
|
* The id of a Google Ads connection in your account.
|
|
@@ -27814,7 +28563,7 @@ type GoogleSetConversionGoalData = {
|
|
|
27814
28563
|
query?: never;
|
|
27815
28564
|
url: '/google/{connection_id}/conversion-goals';
|
|
27816
28565
|
};
|
|
27817
|
-
type
|
|
28566
|
+
type GoogleListConversionGoalsErrors = {
|
|
27818
28567
|
/**
|
|
27819
28568
|
* An RFC 9457 problem response.
|
|
27820
28569
|
*/
|
|
@@ -28088,91 +28837,37 @@ type GoogleSetConversionGoalErrors = {
|
|
|
28088
28837
|
}>;
|
|
28089
28838
|
};
|
|
28090
28839
|
};
|
|
28091
|
-
type
|
|
28092
|
-
type
|
|
28840
|
+
type GoogleListConversionGoalsError = GoogleListConversionGoalsErrors[keyof GoogleListConversionGoalsErrors];
|
|
28841
|
+
type GoogleListConversionGoalsResponses = {
|
|
28093
28842
|
/**
|
|
28094
|
-
*
|
|
28843
|
+
* OK
|
|
28095
28844
|
*/
|
|
28096
28845
|
200: {
|
|
28097
|
-
|
|
28098
|
-
|
|
28099
|
-
|
|
28100
|
-
|
|
28101
|
-
|
|
28846
|
+
object: 'list';
|
|
28847
|
+
data: Array<{
|
|
28848
|
+
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD' | 'YOUTUBE_FOLLOW_ON_VIEWS';
|
|
28849
|
+
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
28850
|
+
biddable: boolean;
|
|
28851
|
+
}>;
|
|
28102
28852
|
};
|
|
28103
28853
|
};
|
|
28104
|
-
type
|
|
28105
|
-
type
|
|
28854
|
+
type GoogleListConversionGoalsResponse = GoogleListConversionGoalsResponses[keyof GoogleListConversionGoalsResponses];
|
|
28855
|
+
type GoogleSetConversionGoalData = {
|
|
28106
28856
|
body: {
|
|
28107
28857
|
/**
|
|
28108
|
-
* The
|
|
28858
|
+
* The conversion category of the goal to update.
|
|
28109
28859
|
*/
|
|
28110
|
-
|
|
28111
|
-
|
|
28112
|
-
|
|
28113
|
-
|
|
28114
|
-
|
|
28115
|
-
|
|
28116
|
-
|
|
28117
|
-
|
|
28118
|
-
|
|
28119
|
-
/**
|
|
28120
|
-
* The value of the conversion (in `currency_code`).
|
|
28121
|
-
*/
|
|
28122
|
-
conversion_value?: number;
|
|
28123
|
-
/**
|
|
28124
|
-
* The ISO 4217 currency code (3 letters) for the value.
|
|
28125
|
-
*/
|
|
28126
|
-
currency_code?: string;
|
|
28127
|
-
/**
|
|
28128
|
-
* Your order/transaction id — Google’s dedup key; set it (and keep it stable) to avoid double-counting an upload you retry or also send via the tag.
|
|
28129
|
-
*/
|
|
28130
|
-
order_id?: string;
|
|
28131
|
-
/**
|
|
28132
|
-
* The Google click id that drove the conversion.
|
|
28133
|
-
*/
|
|
28134
|
-
gclid?: string;
|
|
28135
|
-
/**
|
|
28136
|
-
* The click id for iOS app-to-web (when gclid is unavailable).
|
|
28137
|
-
*/
|
|
28138
|
-
gbraid?: string;
|
|
28139
|
-
/**
|
|
28140
|
-
* The click id for iOS web-to-app (when gclid is unavailable).
|
|
28141
|
-
*/
|
|
28142
|
-
wbraid?: string;
|
|
28143
|
-
/**
|
|
28144
|
-
* Enhanced-conversion identifiers — already-hashed first-party data (up to 5). May be sent with or without a click id; Google uses any click id present as an additional match hint.
|
|
28145
|
-
*/
|
|
28146
|
-
user_identifiers?: Array<{
|
|
28147
|
-
/**
|
|
28148
|
-
* A normalised, SHA-256-hashed email (64 lowercase hex chars). We never hash — hash it yourself per Google’s spec.
|
|
28149
|
-
*/
|
|
28150
|
-
hashed_email?: string;
|
|
28151
|
-
/**
|
|
28152
|
-
* A normalised (E.164), SHA-256-hashed phone number (64 lowercase hex chars). We never hash — hash it yourself per Google’s spec.
|
|
28153
|
-
*/
|
|
28154
|
-
hashed_phone_number?: string;
|
|
28155
|
-
/**
|
|
28156
|
-
* Where the identifier came from: FIRST_PARTY (your own data) or THIRD_PARTY.
|
|
28157
|
-
*/
|
|
28158
|
-
user_identifier_source?: 'FIRST_PARTY' | 'THIRD_PARTY';
|
|
28159
|
-
}>;
|
|
28160
|
-
/**
|
|
28161
|
-
* EEA consent signals for this conversion.
|
|
28162
|
-
*/
|
|
28163
|
-
consent?: {
|
|
28164
|
-
/**
|
|
28165
|
-
* Consent for using the data for ads (GRANTED/DENIED).
|
|
28166
|
-
*/
|
|
28167
|
-
ad_user_data?: 'GRANTED' | 'DENIED';
|
|
28168
|
-
/**
|
|
28169
|
-
* Consent for ad personalization (GRANTED/DENIED).
|
|
28170
|
-
*/
|
|
28171
|
-
ad_personalization?: 'GRANTED' | 'DENIED';
|
|
28172
|
-
};
|
|
28173
|
-
}>;
|
|
28860
|
+
category: 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD' | 'YOUTUBE_FOLLOW_ON_VIEWS';
|
|
28861
|
+
/**
|
|
28862
|
+
* The origin of the goal to update.
|
|
28863
|
+
*/
|
|
28864
|
+
origin: 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
28865
|
+
/**
|
|
28866
|
+
* Whether the goal is biddable: true makes it a primary goal Google optimises toward, false makes it secondary (observation-only).
|
|
28867
|
+
*/
|
|
28868
|
+
biddable: boolean;
|
|
28174
28869
|
/**
|
|
28175
|
-
* When true, validate the
|
|
28870
|
+
* When true, validate the request against Google without creating anything (Google’s native validate_only).
|
|
28176
28871
|
*/
|
|
28177
28872
|
dry_run?: boolean;
|
|
28178
28873
|
};
|
|
@@ -28189,9 +28884,9 @@ type GoogleUploadConversionsData = {
|
|
|
28189
28884
|
connection_id: string;
|
|
28190
28885
|
};
|
|
28191
28886
|
query?: never;
|
|
28192
|
-
url: '/google/{connection_id}/conversion-
|
|
28887
|
+
url: '/google/{connection_id}/conversion-goals';
|
|
28193
28888
|
};
|
|
28194
|
-
type
|
|
28889
|
+
type GoogleSetConversionGoalErrors = {
|
|
28195
28890
|
/**
|
|
28196
28891
|
* An RFC 9457 problem response.
|
|
28197
28892
|
*/
|
|
@@ -28465,48 +29160,20 @@ type GoogleUploadConversionsErrors = {
|
|
|
28465
29160
|
}>;
|
|
28466
29161
|
};
|
|
28467
29162
|
};
|
|
28468
|
-
type
|
|
28469
|
-
type
|
|
29163
|
+
type GoogleSetConversionGoalError = GoogleSetConversionGoalErrors[keyof GoogleSetConversionGoalErrors];
|
|
29164
|
+
type GoogleSetConversionGoalResponses = {
|
|
28470
29165
|
/**
|
|
28471
|
-
* The outcome of
|
|
29166
|
+
* The outcome of a conversion-goal update: the goal’s category and origin, the new biddable value, whether it was a dry run, and whether it executed.
|
|
28472
29167
|
*/
|
|
28473
29168
|
200: {
|
|
28474
|
-
|
|
28475
|
-
|
|
28476
|
-
|
|
28477
|
-
received: number;
|
|
28478
|
-
/**
|
|
28479
|
-
* How many rows Google accepted.
|
|
28480
|
-
*/
|
|
28481
|
-
succeeded: number;
|
|
28482
|
-
/**
|
|
28483
|
-
* How many rows Google rejected.
|
|
28484
|
-
*/
|
|
28485
|
-
failed: number;
|
|
28486
|
-
/**
|
|
28487
|
-
* One entry per rejected row, with Google’s own error.
|
|
28488
|
-
*/
|
|
28489
|
-
errors: Array<{
|
|
28490
|
-
/**
|
|
28491
|
-
* The 0-based index of the failed conversion in your request (-1 if Google did not address a specific row).
|
|
28492
|
-
*/
|
|
28493
|
-
index: number;
|
|
28494
|
-
/**
|
|
28495
|
-
* Google’s error code as `<group>:<NAME>` (e.g. conversion_upload_error:UNPARSEABLE_GCLID).
|
|
28496
|
-
*/
|
|
28497
|
-
error_code: string;
|
|
28498
|
-
/**
|
|
28499
|
-
* Google’s human-readable error message for the row.
|
|
28500
|
-
*/
|
|
28501
|
-
message: string;
|
|
28502
|
-
}>;
|
|
28503
|
-
/**
|
|
28504
|
-
* Whether this was a validate-only dry run.
|
|
28505
|
-
*/
|
|
29169
|
+
category: 'UNSPECIFIED' | 'UNKNOWN' | 'DEFAULT' | 'PAGE_VIEW' | 'PURCHASE' | 'SIGNUP' | 'DOWNLOAD' | 'ADD_TO_CART' | 'BEGIN_CHECKOUT' | 'SUBSCRIBE_PAID' | 'PHONE_CALL_LEAD' | 'IMPORTED_LEAD' | 'SUBMIT_LEAD_FORM' | 'BOOK_APPOINTMENT' | 'REQUEST_QUOTE' | 'GET_DIRECTIONS' | 'OUTBOUND_CLICK' | 'CONTACT' | 'ENGAGEMENT' | 'STORE_VISIT' | 'STORE_SALE' | 'QUALIFIED_LEAD' | 'CONVERTED_LEAD' | 'YOUTUBE_FOLLOW_ON_VIEWS';
|
|
29170
|
+
origin: 'UNSPECIFIED' | 'UNKNOWN' | 'WEBSITE' | 'GOOGLE_HOSTED' | 'APP' | 'CALL_FROM_ADS' | 'STORE' | 'YOUTUBE_HOSTED';
|
|
29171
|
+
biddable: boolean;
|
|
28506
29172
|
dry_run: boolean;
|
|
29173
|
+
executed: boolean;
|
|
28507
29174
|
};
|
|
28508
29175
|
};
|
|
28509
|
-
type
|
|
29176
|
+
type GoogleSetConversionGoalResponse = GoogleSetConversionGoalResponses[keyof GoogleSetConversionGoalResponses];
|
|
28510
29177
|
type GoogleUploadImageAssetData = {
|
|
28511
29178
|
body: {
|
|
28512
29179
|
/**
|
|
@@ -29007,7 +29674,7 @@ type TiktokCreatorInfoErrors = {
|
|
|
29007
29674
|
/**
|
|
29008
29675
|
* The machine-readable error code — branch on this. Narrowed to the codes this endpoint can return at this status.
|
|
29009
29676
|
*/
|
|
29010
|
-
code: 'idempotency_key_reused';
|
|
29677
|
+
code: 'idempotency_key_reused' | 'tiktok_cannot_post_now';
|
|
29011
29678
|
display_error: string;
|
|
29012
29679
|
detail?: string;
|
|
29013
29680
|
request_id?: string;
|
|
@@ -29450,9 +30117,18 @@ type LogsListResponses = {
|
|
|
29450
30117
|
*/
|
|
29451
30118
|
response_body?: unknown | null;
|
|
29452
30119
|
/**
|
|
29453
|
-
* Typed error `{ code, message }`
|
|
30120
|
+
* Typed error `{ code, message }` for a failed action, or null on success. INVARIANT: `status: "error"` always carries a non-null `error`. For a publish that failed/partially-published it is the rollup summary (`post_publish_failed` / `post_partially_published`), distinct from any single target — the per-target reasons live in `outcome.targets[].error`. Stored as jsonb.
|
|
29454
30121
|
*/
|
|
29455
|
-
error
|
|
30122
|
+
error: {
|
|
30123
|
+
/**
|
|
30124
|
+
* Stable, machine-readable error code from the closed registry.
|
|
30125
|
+
*/
|
|
30126
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
30127
|
+
/**
|
|
30128
|
+
* Human-readable, non-sensitive message.
|
|
30129
|
+
*/
|
|
30130
|
+
message: string;
|
|
30131
|
+
} | null;
|
|
29456
30132
|
/**
|
|
29457
30133
|
* Per-target publish breakdown (see LogOutcome): the rollup status plus one entry per platform target. Present on a publish action (create/update/scheduled publish that ran), null otherwise.
|
|
29458
30134
|
*/
|
|
@@ -29479,7 +30155,7 @@ type LogsListResponses = {
|
|
|
29479
30155
|
/**
|
|
29480
30156
|
* The typed error code the variant carries.
|
|
29481
30157
|
*/
|
|
29482
|
-
code:
|
|
30158
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
29483
30159
|
message: string;
|
|
29484
30160
|
/**
|
|
29485
30161
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade.
|
|
@@ -29842,9 +30518,18 @@ type LogsGetResponses = {
|
|
|
29842
30518
|
*/
|
|
29843
30519
|
response_body?: unknown | null;
|
|
29844
30520
|
/**
|
|
29845
|
-
* Typed error `{ code, message }`
|
|
30521
|
+
* Typed error `{ code, message }` for a failed action, or null on success. INVARIANT: `status: "error"` always carries a non-null `error`. For a publish that failed/partially-published it is the rollup summary (`post_publish_failed` / `post_partially_published`), distinct from any single target — the per-target reasons live in `outcome.targets[].error`. Stored as jsonb.
|
|
29846
30522
|
*/
|
|
29847
|
-
error
|
|
30523
|
+
error: {
|
|
30524
|
+
/**
|
|
30525
|
+
* Stable, machine-readable error code from the closed registry.
|
|
30526
|
+
*/
|
|
30527
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
30528
|
+
/**
|
|
30529
|
+
* Human-readable, non-sensitive message.
|
|
30530
|
+
*/
|
|
30531
|
+
message: string;
|
|
30532
|
+
} | null;
|
|
29848
30533
|
/**
|
|
29849
30534
|
* Per-target publish breakdown (see LogOutcome): the rollup status plus one entry per platform target. Present on a publish action (create/update/scheduled publish that ran), null otherwise.
|
|
29850
30535
|
*/
|
|
@@ -29871,7 +30556,7 @@ type LogsGetResponses = {
|
|
|
29871
30556
|
/**
|
|
29872
30557
|
* The typed error code the variant carries.
|
|
29873
30558
|
*/
|
|
29874
|
-
code:
|
|
30559
|
+
code: 'unauthorized' | 'forbidden' | 'not_found' | 'conflict' | 'validation_failed' | 'rate_limited' | 'internal_error' | 'idempotency_key_invalid' | 'idempotency_key_reused' | 'idempotency_request_in_progress' | 'account_not_available' | 'connection_reauth_required' | 'connection_not_pending' | 'not_implemented' | 'connection_discovery_failed' | 'tiktok_creator_info_unavailable' | 'tiktok_cannot_post_now' | 'media_processing' | 'media_upload_init_failed' | 'media_upload_incomplete' | 'not_publishable' | 'invalid_connection' | 'invalid_media' | 'profile_scope_invalid' | 'media_unprobeable' | 'media_too_large' | 'media_aspect_ratio_unsupported' | 'media_resolution_too_low' | 'media_gif_unsupported' | 'media_format_recompressed' | 'media_resolution_downscaled' | 'video_container_unsupported' | 'video_codec_unsupported' | 'video_audio_codec_unsupported' | 'video_too_large' | 'video_too_small' | 'video_dimensions_unsupported' | 'video_dimensions_too_large' | 'video_fps_unsupported' | 'video_fps_too_low' | 'video_aspect_unsupported' | 'video_duration_too_short' | 'video_duration_exceeds_max' | 'video_transform_failed' | 'media_fetch_failed' | 'document_format_unsupported' | 'document_too_large' | 'document_too_many_pages' | 'media_format_indeterminate' | 'media_format_unsupported' | 'media_count_invalid' | 'body_too_long' | 'content_missing' | 'content_conflict' | 'content_incomplete' | 'content_kind_mismatch' | 'media_type_mismatch' | 'tag_limit_exceeded' | 'reel_field_on_non_reel' | 'field_placement_invalid' | 'media_not_ready' | 'media_failed' | 'media_unsupported' | 'media_kind_mismatch' | 'variant_unparseable' | 'publishing_unavailable' | 'x_duplicate_content' | 'x_not_authorized' | 'x_access_not_permitted' | 'x_rate_limited' | 'x_publish_failed' | 'x_media_upload_failed' | 'linkedin_duplicate_content' | 'linkedin_auth_expired' | 'linkedin_permission_denied' | 'linkedin_rate_limited' | 'linkedin_media_processing' | 'linkedin_media_failed' | 'linkedin_media_upload_failed' | 'linkedin_publish_failed' | 'instagram_media_processing' | 'instagram_container_expired' | 'instagram_container_failed' | 'instagram_rate_limited' | 'instagram_daily_limit_reached' | 'instagram_aspect_ratio_unsupported' | 'instagram_media_unsupported' | 'instagram_not_authorized' | 'instagram_publish_failed' | 'facebook_reel_processing' | 'facebook_reel_failed' | 'facebook_rate_limited' | 'facebook_duplicate_content' | 'facebook_temporarily_blocked' | 'facebook_not_authorized' | 'facebook_publish_failed' | 'tiktok_privacy_not_allowed' | 'tiktok_duration_exceeds_max' | 'tiktok_media_processing' | 'tiktok_not_authorized' | 'tiktok_rate_limited' | 'tiktok_url_ownership_unverified' | 'tiktok_unaudited_private_only' | 'tiktok_spam_risk' | 'tiktok_file_format_invalid' | 'tiktok_duration_invalid' | 'tiktok_frame_rate_invalid' | 'tiktok_resolution_invalid' | 'tiktok_media_pull_failed' | 'tiktok_server_error' | 'tiktok_publish_failed' | 'google_rate_limited' | 'google_server_error' | 'google_auth_expired' | 'google_permission_denied' | 'google_request_failed' | 'google_conversion_duplicate' | 'google_conversion_invalid_click_id' | 'google_conversion_event_too_old' | 'google_conversion_consent_required' | 'google_conversion_terms_not_signed' | 'google_conversion_rejected' | 'post_publish_failed' | 'post_partially_published' | 'connection_platform_mismatch' | 'connection_removed';
|
|
29875
30560
|
message: string;
|
|
29876
30561
|
/**
|
|
29877
30562
|
* A short, friendly end-user line for `code` (render verbatim). `message` stays developer-grade.
|
|
@@ -32202,7 +32887,7 @@ type TokensMintData = {
|
|
|
32202
32887
|
* Which profiles the minted token may act on. Resolved dynamically per request, so an `external_id` selector also covers profiles created after the token was minted.
|
|
32203
32888
|
*/
|
|
32204
32889
|
profile_scope: {
|
|
32205
|
-
type: '
|
|
32890
|
+
type: 'profile_ids';
|
|
32206
32891
|
values: Array<string>;
|
|
32207
32892
|
} | {
|
|
32208
32893
|
type: 'external_id';
|
|
@@ -32481,4 +33166,4 @@ type TokensMintResponses = {
|
|
|
32481
33166
|
};
|
|
32482
33167
|
type TokensMintResponse = TokensMintResponses[keyof TokensMintResponses];
|
|
32483
33168
|
|
|
32484
|
-
export { type GoogleEditBudgetData as $, type GoogleCreateAdGroupCriterionErrors as A, type GoogleCreateBudgetData as B, type Client as C, type GoogleCreateBudgetResponses as D, type GoogleCreateBudgetErrors as E, type GoogleCreateCampaignData as F, type GoogleCreateAdData as G, type GoogleCreateCampaignResponses as H, type GoogleCreateCampaignErrors as I, type GoogleCreateCampaignCriterionData as J, type GoogleCreateCampaignCriterionResponses as K, type GoogleCreateCampaignCriterionErrors as L, type GoogleCreateConversionActionData as M, type GoogleCreateConversionActionResponses as N, type Options as O, type GoogleCreateConversionActionErrors as P, type GoogleCreateDisplayAdData as Q, type RequestResult as R, type GoogleCreateDisplayAdResponses as S, type TDataShape as T, type GoogleCreateDisplayAdErrors as U, type GoogleCreateKeywordData as V, type GoogleCreateKeywordResponses as W, type GoogleCreateKeywordErrors as X, type GoogleEditAdGroupData as Y, type GoogleEditAdGroupResponses as Z, type GoogleEditAdGroupErrors as _, type ClientMeta as a, type GoogleListConversionGoalsResponses as a$, type GoogleEditBudgetResponses as a0, type GoogleEditBudgetErrors as a1, type GoogleEditCampaignData as a2, type GoogleEditCampaignResponses as a3, type GoogleEditCampaignErrors as a4, type GoogleEnableAdData as a5, type GoogleEnableAdResponses as a6, type GoogleEnableAdErrors as a7, type GoogleEnableAdGroupData as a8, type GoogleEnableAdGroupResponses as a9, type GoogleGetInsightsResponses as aA, type GoogleGetInsightsErrors as aB, type GoogleGetKeywordData as aC, type GoogleGetKeywordResponses as aD, type GoogleGetKeywordErrors as aE, type GoogleListAdGroupCriteriaData as aF, type GoogleListAdGroupCriteriaResponses as aG, type GoogleListAdGroupCriteriaErrors as aH, type GoogleListAdGroupsData as aI, type GoogleListAdGroupsResponses as aJ, type GoogleListAdGroupsErrors as aK, type GoogleListAdsData as aL, type GoogleListAdsResponses as aM, type GoogleListAdsErrors as aN, type GoogleListAudiencesData as aO, type GoogleListAudiencesResponses as aP, type GoogleListAudiencesErrors as aQ, type GoogleListCampaignCriteriaData as aR, type GoogleListCampaignCriteriaResponses as aS, type GoogleListCampaignCriteriaErrors as aT, type GoogleListCampaignsData as aU, type GoogleListCampaignsResponses as aV, type GoogleListCampaignsErrors as aW, type GoogleListConversionActionsData as aX, type GoogleListConversionActionsResponses as aY, type GoogleListConversionActionsErrors as aZ, type GoogleListConversionGoalsData as a_, type GoogleEnableAdGroupErrors as aa, type GoogleEnableCampaignData as ab, type GoogleEnableCampaignResponses as ac, type GoogleEnableCampaignErrors as ad, type GoogleEnableKeywordData as ae, type GoogleEnableKeywordResponses as af, type GoogleEnableKeywordErrors as ag, type GoogleGetAccountData as ah, type GoogleGetAccountResponses as ai, type GoogleGetAccountErrors as aj, type GoogleGetAdData as ak, type GoogleGetAdResponses as al, type GoogleGetAdErrors as am, type GoogleGetAdGroupData as an, type GoogleGetAdGroupResponses as ao, type GoogleGetAdGroupErrors as ap, type GoogleGetAdTreeData as aq, type GoogleGetAdTreeResponses as ar, type GoogleGetAdTreeErrors as as, type GoogleGetCampaignData as at, type GoogleGetCampaignResponses as au, type GoogleGetCampaignErrors as av, type GoogleGetConversionActionData as aw, type GoogleGetConversionActionResponses as ax, type GoogleGetConversionActionErrors as ay, type GoogleGetInsightsData as az, type ConnectionsConnectData as b, type GoogleUploadImageAssetErrors as b$, type GoogleListConversionGoalsErrors as b0, type GoogleListKeywordsData as b1, type GoogleListKeywordsResponses as b2, type GoogleListKeywordsErrors as b3, type GooglePauseAdData as b4, type GooglePauseAdResponses as b5, type GooglePauseAdErrors as b6, type GooglePauseAdGroupData as b7, type GooglePauseAdGroupResponses as b8, type GooglePauseAdGroupErrors as b9, type GoogleRemoveKeywordErrors as bA, type GoogleRunGaqlData as bB, type GoogleRunGaqlResponses as bC, type GoogleRunGaqlErrors as bD, type GoogleSearchGeoTargetsData as bE, type GoogleSearchGeoTargetsResponses as bF, type GoogleSearchGeoTargetsErrors as bG, type GoogleSetAdGroupBidsData as bH, type GoogleSetAdGroupBidsResponses as bI, type GoogleSetAdGroupBidsErrors as bJ, type GoogleSetCampaignGeoSettingsData as bK, type GoogleSetCampaignGeoSettingsResponses as bL, type GoogleSetCampaignGeoSettingsErrors as bM, type GoogleSetCampaignTargetingSettingData as bN, type GoogleSetCampaignTargetingSettingResponses as bO, type GoogleSetCampaignTargetingSettingErrors as bP, type GoogleSetConversionGoalData as bQ, type GoogleSetConversionGoalResponses as bR, type GoogleSetConversionGoalErrors as bS, type GoogleSetKeywordBidData as bT, type GoogleSetKeywordBidResponses as bU, type GoogleSetKeywordBidErrors as bV, type GoogleUploadConversionsData as bW, type GoogleUploadConversionsResponses as bX, type GoogleUploadConversionsErrors as bY, type GoogleUploadImageAssetData as bZ, type GoogleUploadImageAssetResponses as b_, type GooglePauseCampaignData as ba, type GooglePauseCampaignResponses as bb, type GooglePauseCampaignErrors as bc, type GooglePauseKeywordData as bd, type GooglePauseKeywordResponses as be, type GooglePauseKeywordErrors as bf, type GoogleRemoveAdData as bg, type GoogleRemoveAdResponses as bh, type GoogleRemoveAdErrors as bi, type GoogleRemoveAdGroupData as bj, type GoogleRemoveAdGroupResponses as bk, type GoogleRemoveAdGroupErrors as bl, type GoogleRemoveAdGroupCriterionData as bm, type GoogleRemoveAdGroupCriterionResponses as bn, type GoogleRemoveAdGroupCriterionErrors as bo, type GoogleRemoveBudgetData as bp, type GoogleRemoveBudgetResponses as bq, type GoogleRemoveBudgetErrors as br, type GoogleRemoveCampaignData as bs, type GoogleRemoveCampaignResponses as bt, type GoogleRemoveCampaignErrors as bu, type GoogleRemoveCampaignCriterionData as bv, type GoogleRemoveCampaignCriterionResponses as bw, type GoogleRemoveCampaignCriterionErrors as bx, type GoogleRemoveKeywordData as by, type GoogleRemoveKeywordResponses as bz, type ConnectionsConnectResponses as c, type PostsGetData as c$, type LogsGetData as c0, type LogsGetResponses as c1, type LogsGetErrors as c2, type LogsListData as c3, type LogsListResponses as c4, type LogsListErrors as c5, type MediaAbortData as c6, type MediaAbortResponses as c7, type MediaAbortErrors as c8, type MediaCompleteData as c9, type MetaAdData as cA, type MetaAdResponses as cB, type MetaAdErrors as cC, type MetaAdsData as cD, type MetaAdsResponses as cE, type MetaAdsErrors as cF, type MetaAdsetData as cG, type MetaAdsetResponses as cH, type MetaAdsetErrors as cI, type MetaAdsetsData as cJ, type MetaAdsetsResponses as cK, type MetaAdsetsErrors as cL, type MetaCampaignData as cM, type MetaCampaignResponses as cN, type MetaCampaignErrors as cO, type MetaCampaignsData as cP, type MetaCampaignsResponses as cQ, type MetaCampaignsErrors as cR, type MetaInsightsData as cS, type MetaInsightsResponses as cT, type MetaInsightsErrors as cU, type PostsCreateData as cV, type PostsCreateResponses as cW, type PostsCreateErrors as cX, type PostsDeleteData as cY, type PostsDeleteResponses as cZ, type PostsDeleteErrors as c_, type MediaCompleteResponses as ca, type MediaCompleteErrors as cb, type MediaCreateData as cc, type MediaCreateResponses as cd, type MediaCreateErrors as ce, type MediaDeleteData as cf, type MediaDeleteResponses as cg, type MediaDeleteErrors as ch, type MediaGetData as ci, type MediaGetResponses as cj, type MediaGetErrors as ck, type MediaListData as cl, type MediaListResponses as cm, type MediaListErrors as cn, type MediaListPartsData as co, type MediaListPartsResponses as cp, type MediaListPartsErrors as cq, type MediaSignPartData as cr, type MediaSignPartResponses as cs, type MediaSignPartErrors as ct, type MediaUpdateData as cu, type MediaUpdateResponses as cv, type MediaUpdateErrors as cw, type MetaAccountData as cx, type MetaAccountResponses as cy, type MetaAccountErrors as cz, type ConnectionsConnectErrors as d, type ConnectionsListAccountsResponse as d$, type PostsGetResponses as d0, type PostsGetErrors as d1, type PostsListData as d2, type PostsListResponses as d3, type PostsListErrors as d4, type PostsUpdateData as d5, type PostsUpdateResponses as d6, type PostsUpdateErrors as d7, type PostsValidateData as d8, type PostsValidateResponses as d9, type WebhooksCreatePortalData as dA, type WebhooksCreatePortalResponses as dB, type WebhooksCreatePortalErrors as dC, type WebhooksDeleteEndpointData as dD, type WebhooksDeleteEndpointResponses as dE, type WebhooksDeleteEndpointErrors as dF, type WebhooksGetEndpointData as dG, type WebhooksGetEndpointResponses as dH, type WebhooksGetEndpointErrors as dI, type WebhooksListEndpointsData as dJ, type WebhooksListEndpointsResponses as dK, type WebhooksListEndpointsErrors as dL, type WebhooksListEventTypesData as dM, type WebhooksListEventTypesResponses as dN, type WebhooksListEventTypesErrors as dO, type WebhooksPingData as dP, type WebhooksPingResponses as dQ, type WebhooksPingErrors as dR, type WebhooksUpdateEndpointData as dS, type WebhooksUpdateEndpointResponses as dT, type WebhooksUpdateEndpointErrors as dU, type ErrorCode as dV, type MediaGetResponse as dW, type ConnectionsConnectResponse as dX, type ConnectionsGetResponse as dY, type ConnectionsListByProfileResponse as dZ, type MediaCreateResponse as d_, type PostsValidateErrors as da, type ProfilesCreateData as db, type ProfilesCreateResponses as dc, type ProfilesCreateErrors as dd, type ProfilesDeleteData as de, type ProfilesDeleteResponses as df, type ProfilesDeleteErrors as dg, type ProfilesGetData as dh, type ProfilesGetResponses as di, type ProfilesGetErrors as dj, type ProfilesListData as dk, type ProfilesListResponses as dl, type ProfilesListErrors as dm, type ProfilesUpdateData as dn, type ProfilesUpdateResponses as dp, type ProfilesUpdateErrors as dq, type TiktokCreatorInfoData as dr, type TiktokCreatorInfoResponses as ds, type TiktokCreatorInfoErrors as dt, type TokensMintData as du, type TokensMintResponses as dv, type TokensMintErrors as dw, type WebhooksCreateEndpointData as dx, type WebhooksCreateEndpointResponses as dy, type WebhooksCreateEndpointErrors as dz, type ConnectionsDeleteData as e, type GoogleEditCampaignError as e$, type MediaListResponse as e0, type PostsGetResponse as e1, type PostsListResponse as e2, type PostsValidateResponse as e3, type ProfilesGetResponse as e4, type ProfilesListResponse as e5, type TiktokCreatorInfoResponse as e6, type PostrunClient as e7, type GoogleAdTreeNode as e8, type ClientOptions as e9, type GoogleAdsInsights as eA, type GoogleAdsInsightsQuery as eB, type GoogleAdsInsightsRow as eC, type GoogleAdsKeyword as eD, type GoogleAdsReadStatusFilter as eE, type GoogleCreateAdError as eF, type GoogleCreateAdGroupCriterionError as eG, type GoogleCreateAdGroupCriterionResponse as eH, type GoogleCreateAdGroupError as eI, type GoogleCreateAdGroupResponse as eJ, type GoogleCreateAdResponse as eK, type GoogleCreateBudgetError as eL, type GoogleCreateBudgetResponse as eM, type GoogleCreateCampaignCriterionError as eN, type GoogleCreateCampaignCriterionResponse as eO, type GoogleCreateCampaignError as eP, type GoogleCreateCampaignResponse as eQ, type GoogleCreateConversionActionError as eR, type GoogleCreateConversionActionResponse as eS, type GoogleCreateDisplayAdError as eT, type GoogleCreateDisplayAdResponse as eU, type GoogleCreateKeywordError as eV, type GoogleCreateKeywordResponse as eW, type GoogleEditAdGroupError as eX, type GoogleEditAdGroupResponse as eY, type GoogleEditBudgetError as eZ, type GoogleEditBudgetResponse as e_, type ConnectionsConnectError as ea, type ConnectionsDeleteError as eb, type ConnectionsDeleteResponse as ec, type ConnectionsGetError as ed, type ConnectionsListAccountsError as ee, type ConnectionsListByProfileError as ef, type ConnectionsSelectError as eg, type ConnectionsSelectResponse as eh, type CreatePostBody as ei, type DiscoverableAccount as ej, type GoogleAdTree as ek, type GoogleAdsAd as el, type GoogleAdsAdGroup as em, type GoogleAdsAdGroupCriterion as en, type GoogleAdsAudience as eo, type GoogleAdsCampaignCriterion as ep, type GoogleAdsCreateAdGroupCriterionRequest as eq, type GoogleAdsCreateCampaignCriterionRequest as er, type GoogleAdsCreateResult as es, type GoogleAdsDeleteResult as et, type GoogleAdsEditResult as eu, type GoogleAdsGeoSettingsRequest as ev, type GoogleAdsGeoTargetConstant as ew, type GoogleAdsInsightLevel as ex, type GoogleAdsInsightMetric as ey, type GoogleAdsInsightSegment as ez, type ConnectionsDeleteResponses as f, type GoogleRemoveKeywordError as f$, type GoogleEditCampaignResponse as f0, type GoogleEnableAdError as f1, type GoogleEnableAdGroupError as f2, type GoogleEnableAdGroupResponse as f3, type GoogleEnableAdResponse as f4, type GoogleEnableCampaignError as f5, type GoogleEnableCampaignResponse as f6, type GoogleEnableKeywordError as f7, type GoogleEnableKeywordResponse as f8, type GoogleGetAccountError as f9, type GoogleListCampaignsResponse as fA, type GoogleListConversionActionsError as fB, type GoogleListConversionActionsResponse as fC, type GoogleListConversionGoalsError as fD, type GoogleListConversionGoalsResponse as fE, type GoogleListKeywordsError as fF, type GoogleListKeywordsResponse as fG, type GooglePauseAdError as fH, type GooglePauseAdGroupError as fI, type GooglePauseAdGroupResponse as fJ, type GooglePauseAdResponse as fK, type GooglePauseCampaignError as fL, type GooglePauseCampaignResponse as fM, type GooglePauseKeywordError as fN, type GooglePauseKeywordResponse as fO, type GoogleRemoveAdError as fP, type GoogleRemoveAdGroupCriterionError as fQ, type GoogleRemoveAdGroupCriterionResponse as fR, type GoogleRemoveAdGroupError as fS, type GoogleRemoveAdGroupResponse as fT, type GoogleRemoveAdResponse as fU, type GoogleRemoveBudgetError as fV, type GoogleRemoveBudgetResponse as fW, type GoogleRemoveCampaignCriterionError as fX, type GoogleRemoveCampaignCriterionResponse as fY, type GoogleRemoveCampaignError as fZ, type GoogleRemoveCampaignResponse as f_, type GoogleGetAccountResponse as fa, type GoogleGetAdError as fb, type GoogleGetAdGroupError as fc, type GoogleGetAdGroupResponse as fd, type GoogleGetAdResponse as fe, type GoogleGetAdTreeError as ff, type GoogleGetAdTreeResponse as fg, type GoogleGetCampaignError as fh, type GoogleGetCampaignResponse as fi, type GoogleGetConversionActionError as fj, type GoogleGetConversionActionResponse as fk, type GoogleGetInsightsError as fl, type GoogleGetInsightsResponse as fm, type GoogleGetKeywordError as fn, type GoogleGetKeywordResponse as fo, type GoogleListAdGroupCriteriaError as fp, type GoogleListAdGroupCriteriaResponse as fq, type GoogleListAdGroupsError as fr, type GoogleListAdGroupsResponse as fs, type GoogleListAdsError as ft, type GoogleListAdsResponse as fu, type GoogleListAudiencesError as fv, type GoogleListAudiencesResponse as fw, type GoogleListCampaignCriteriaError as fx, type GoogleListCampaignCriteriaResponse as fy, type GoogleListCampaignsError as fz, type ConnectionsDeleteErrors as g, type PostsDeleteResponse as g$, type GoogleRemoveKeywordResponse as g0, type GoogleRunGaqlError as g1, type GoogleRunGaqlResponse as g2, type GoogleSearchGeoTargetsError as g3, type GoogleSearchGeoTargetsResponse as g4, type GoogleSetAdGroupBidsError as g5, type GoogleSetAdGroupBidsResponse as g6, type GoogleSetCampaignGeoSettingsError as g7, type GoogleSetCampaignGeoSettingsResponse as g8, type GoogleSetCampaignTargetingSettingError as g9, type MediaSignPartError as gA, type MediaSignPartResponse as gB, type MediaStage as gC, type MediaUpdateError as gD, type MediaUpdateResponse as gE, type MetaAccountError as gF, type MetaAccountResponse as gG, type MetaAdError as gH, type MetaAdResponse as gI, type MetaAdsError as gJ, type MetaAdsResponse as gK, type MetaAdsetError as gL, type MetaAdsetResponse as gM, type MetaAdsetsError as gN, type MetaAdsetsResponse as gO, type MetaCampaignError as gP, type MetaCampaignResponse as gQ, type MetaCampaignsError as gR, type MetaCampaignsResponse as gS, type MetaInsightsError as gT, type MetaInsightsResponse as gU, type PostType as gV, type PostVariantStatus as gW, type PostrunClientOptions as gX, type PostsCreateError as gY, type PostsCreateResponse as gZ, type PostsDeleteError as g_, type GoogleSetCampaignTargetingSettingResponse as ga, type GoogleSetConversionGoalError as gb, type GoogleSetConversionGoalResponse as gc, type GoogleSetKeywordBidError as gd, type GoogleSetKeywordBidResponse as ge, type GoogleUploadConversionsError as gf, type GoogleUploadConversionsResponse as gg, type GoogleUploadImageAssetError as gh, type GoogleUploadImageAssetResponse as gi, type IdempotencyKey as gj, type LogsGetError as gk, type LogsGetResponse as gl, type LogsListError as gm, type LogsListResponse as gn, type Media as go, type MediaAbortError as gp, type MediaAbortResponse as gq, type MediaCompleteError as gr, type MediaCompleteResponse as gs, type MediaCreateError as gt, type MediaDeleteError as gu, type MediaDeleteResponse as gv, type MediaGetError as gw, type MediaListError as gx, type MediaListPartsError as gy, type MediaListPartsResponse as gz, type ConnectionsGetData as h, type PostsGetError as h0, type PostsListError as h1, type PostsUpdateError as h2, type PostsUpdateResponse as h3, type PostsValidateError as h4, type ProfilesCreateError as h5, type ProfilesCreateResponse as h6, type ProfilesDeleteError as h7, type ProfilesDeleteResponse as h8, type ProfilesGetError as h9, type ProfilesListError as ha, type ProfilesUpdateError as hb, type ProfilesUpdateResponse as hc, type TiktokCreatorInfoError as hd, type TokensMintError as he, type TokensMintResponse as hf, type WebhooksCreateEndpointError as hg, type WebhooksCreateEndpointResponse as hh, type WebhooksCreatePortalError as hi, type WebhooksCreatePortalResponse as hj, type WebhooksDeleteEndpointError as hk, type WebhooksDeleteEndpointResponse as hl, type WebhooksGetEndpointError as hm, type WebhooksGetEndpointResponse as hn, type WebhooksListEndpointsError as ho, type WebhooksListEndpointsResponse as hp, type WebhooksListEventTypesError as hq, type WebhooksListEventTypesResponse as hr, type WebhooksPingError as hs, type WebhooksPingResponse as ht, type WebhooksUpdateEndpointError as hu, type WebhooksUpdateEndpointResponse as hv, createPostrunClient as hw, type ConnectionsGetResponses as i, type ConnectionsGetErrors as j, type ConnectionsListAccountsData as k, type ConnectionsListAccountsResponses as l, type ConnectionsListAccountsErrors as m, type ConnectionsListByProfileData as n, type ConnectionsListByProfileResponses as o, type ConnectionsListByProfileErrors as p, type ConnectionsSelectData as q, type ConnectionsSelectResponses as r, type ConnectionsSelectErrors as s, type GoogleCreateAdResponses as t, type GoogleCreateAdErrors as u, type GoogleCreateAdGroupData as v, type GoogleCreateAdGroupResponses as w, type GoogleCreateAdGroupErrors as x, type GoogleCreateAdGroupCriterionData as y, type GoogleCreateAdGroupCriterionResponses as z };
|
|
33169
|
+
export { type GoogleEditAdGroupData as $, type GoogleCreateAdGroupCriterionErrors as A, type GoogleCreateBudgetData as B, type Client as C, type GoogleCreateBudgetResponses as D, type GoogleCreateBudgetErrors as E, type GoogleCreateCampaignData as F, type GoogleCreateAdData as G, type GoogleCreateCampaignResponses as H, type GoogleCreateCampaignErrors as I, type GoogleCreateCampaignCriterionData as J, type GoogleCreateCampaignCriterionResponses as K, type GoogleCreateCampaignCriterionErrors as L, type GoogleCreateConversionActionData as M, type GoogleCreateConversionActionResponses as N, type Options as O, type GoogleCreateConversionActionErrors as P, type GoogleCreateDisplayAdData as Q, type RequestResult as R, type GoogleCreateDisplayAdResponses as S, type TDataShape as T, type GoogleCreateDisplayAdErrors as U, type GoogleCreateKeywordData as V, type GoogleCreateKeywordResponses as W, type GoogleCreateKeywordErrors as X, type GoogleEditAccountData as Y, type GoogleEditAccountResponses as Z, type GoogleEditAccountErrors as _, type ClientMeta as a, type GoogleListCampaignsResponses as a$, type GoogleEditAdGroupResponses as a0, type GoogleEditAdGroupErrors as a1, type GoogleEditBudgetData as a2, type GoogleEditBudgetResponses as a3, type GoogleEditBudgetErrors as a4, type GoogleEditCampaignData as a5, type GoogleEditCampaignResponses as a6, type GoogleEditCampaignErrors as a7, type GoogleEnableAdData as a8, type GoogleEnableAdResponses as a9, type GoogleGetConversionActionResponses as aA, type GoogleGetConversionActionErrors as aB, type GoogleGetConversionStatusData as aC, type GoogleGetConversionStatusResponses as aD, type GoogleGetConversionStatusErrors as aE, type GoogleGetInsightsData as aF, type GoogleGetInsightsResponses as aG, type GoogleGetInsightsErrors as aH, type GoogleGetKeywordData as aI, type GoogleGetKeywordResponses as aJ, type GoogleGetKeywordErrors as aK, type GoogleListAdGroupCriteriaData as aL, type GoogleListAdGroupCriteriaResponses as aM, type GoogleListAdGroupCriteriaErrors as aN, type GoogleListAdGroupsData as aO, type GoogleListAdGroupsResponses as aP, type GoogleListAdGroupsErrors as aQ, type GoogleListAdsData as aR, type GoogleListAdsResponses as aS, type GoogleListAdsErrors as aT, type GoogleListAudiencesData as aU, type GoogleListAudiencesResponses as aV, type GoogleListAudiencesErrors as aW, type GoogleListCampaignCriteriaData as aX, type GoogleListCampaignCriteriaResponses as aY, type GoogleListCampaignCriteriaErrors as aZ, type GoogleListCampaignsData as a_, type GoogleEnableAdErrors as aa, type GoogleEnableAdGroupData as ab, type GoogleEnableAdGroupResponses as ac, type GoogleEnableAdGroupErrors as ad, type GoogleEnableCampaignData as ae, type GoogleEnableCampaignResponses as af, type GoogleEnableCampaignErrors as ag, type GoogleEnableKeywordData as ah, type GoogleEnableKeywordResponses as ai, type GoogleEnableKeywordErrors as aj, type GoogleGetAccountData as ak, type GoogleGetAccountResponses as al, type GoogleGetAccountErrors as am, type GoogleGetAdData as an, type GoogleGetAdResponses as ao, type GoogleGetAdErrors as ap, type GoogleGetAdGroupData as aq, type GoogleGetAdGroupResponses as ar, type GoogleGetAdGroupErrors as as, type GoogleGetAdTreeData as at, type GoogleGetAdTreeResponses as au, type GoogleGetAdTreeErrors as av, type GoogleGetCampaignData as aw, type GoogleGetCampaignResponses as ax, type GoogleGetCampaignErrors as ay, type GoogleGetConversionActionData as az, type ConnectionsConnectData as b, type GoogleSetConversionGoalErrors as b$, type GoogleListCampaignsErrors as b0, type GoogleListConversionActionsData as b1, type GoogleListConversionActionsResponses as b2, type GoogleListConversionActionsErrors as b3, type GoogleListConversionGoalsData as b4, type GoogleListConversionGoalsResponses as b5, type GoogleListConversionGoalsErrors as b6, type GoogleListKeywordsData as b7, type GoogleListKeywordsResponses as b8, type GoogleListKeywordsErrors as b9, type GoogleRemoveCampaignErrors as bA, type GoogleRemoveCampaignCriterionData as bB, type GoogleRemoveCampaignCriterionResponses as bC, type GoogleRemoveCampaignCriterionErrors as bD, type GoogleRemoveKeywordData as bE, type GoogleRemoveKeywordResponses as bF, type GoogleRemoveKeywordErrors as bG, type GoogleRunGaqlData as bH, type GoogleRunGaqlResponses as bI, type GoogleRunGaqlErrors as bJ, type GoogleSearchGeoTargetsData as bK, type GoogleSearchGeoTargetsResponses as bL, type GoogleSearchGeoTargetsErrors as bM, type GoogleSendConversionsData as bN, type GoogleSendConversionsResponses as bO, type GoogleSendConversionsErrors as bP, type GoogleSetAdGroupBidsData as bQ, type GoogleSetAdGroupBidsResponses as bR, type GoogleSetAdGroupBidsErrors as bS, type GoogleSetCampaignGeoSettingsData as bT, type GoogleSetCampaignGeoSettingsResponses as bU, type GoogleSetCampaignGeoSettingsErrors as bV, type GoogleSetCampaignTargetingSettingData as bW, type GoogleSetCampaignTargetingSettingResponses as bX, type GoogleSetCampaignTargetingSettingErrors as bY, type GoogleSetConversionGoalData as bZ, type GoogleSetConversionGoalResponses as b_, type GooglePauseAdData as ba, type GooglePauseAdResponses as bb, type GooglePauseAdErrors as bc, type GooglePauseAdGroupData as bd, type GooglePauseAdGroupResponses as be, type GooglePauseAdGroupErrors as bf, type GooglePauseCampaignData as bg, type GooglePauseCampaignResponses as bh, type GooglePauseCampaignErrors as bi, type GooglePauseKeywordData as bj, type GooglePauseKeywordResponses as bk, type GooglePauseKeywordErrors as bl, type GoogleRemoveAdData as bm, type GoogleRemoveAdResponses as bn, type GoogleRemoveAdErrors as bo, type GoogleRemoveAdGroupData as bp, type GoogleRemoveAdGroupResponses as bq, type GoogleRemoveAdGroupErrors as br, type GoogleRemoveAdGroupCriterionData as bs, type GoogleRemoveAdGroupCriterionResponses as bt, type GoogleRemoveAdGroupCriterionErrors as bu, type GoogleRemoveBudgetData as bv, type GoogleRemoveBudgetResponses as bw, type GoogleRemoveBudgetErrors as bx, type GoogleRemoveCampaignData as by, type GoogleRemoveCampaignResponses as bz, type ConnectionsConnectResponses as c, type PostsCreateData as c$, type GoogleSetKeywordBidData as c0, type GoogleSetKeywordBidResponses as c1, type GoogleSetKeywordBidErrors as c2, type GoogleUploadImageAssetData as c3, type GoogleUploadImageAssetResponses as c4, type GoogleUploadImageAssetErrors as c5, type LogsGetData as c6, type LogsGetResponses as c7, type LogsGetErrors as c8, type LogsListData as c9, type MediaUpdateData as cA, type MediaUpdateResponses as cB, type MediaUpdateErrors as cC, type MetaAccountData as cD, type MetaAccountResponses as cE, type MetaAccountErrors as cF, type MetaAdData as cG, type MetaAdResponses as cH, type MetaAdErrors as cI, type MetaAdsData as cJ, type MetaAdsResponses as cK, type MetaAdsErrors as cL, type MetaAdsetData as cM, type MetaAdsetResponses as cN, type MetaAdsetErrors as cO, type MetaAdsetsData as cP, type MetaAdsetsResponses as cQ, type MetaAdsetsErrors as cR, type MetaCampaignData as cS, type MetaCampaignResponses as cT, type MetaCampaignErrors as cU, type MetaCampaignsData as cV, type MetaCampaignsResponses as cW, type MetaCampaignsErrors as cX, type MetaInsightsData as cY, type MetaInsightsResponses as cZ, type MetaInsightsErrors as c_, type LogsListResponses as ca, type LogsListErrors as cb, type MediaAbortData as cc, type MediaAbortResponses as cd, type MediaAbortErrors as ce, type MediaCompleteData as cf, type MediaCompleteResponses as cg, type MediaCompleteErrors as ch, type MediaCreateData as ci, type MediaCreateResponses as cj, type MediaCreateErrors as ck, type MediaDeleteData as cl, type MediaDeleteResponses as cm, type MediaDeleteErrors as cn, type MediaGetData as co, type MediaGetResponses as cp, type MediaGetErrors as cq, type MediaListData as cr, type MediaListResponses as cs, type MediaListErrors as ct, type MediaListPartsData as cu, type MediaListPartsResponses as cv, type MediaListPartsErrors as cw, type MediaSignPartData as cx, type MediaSignPartResponses as cy, type MediaSignPartErrors as cz, type ConnectionsConnectErrors as d, type ErrorCode as d$, type PostsCreateResponses as d0, type PostsCreateErrors as d1, type PostsDeleteData as d2, type PostsDeleteResponses as d3, type PostsDeleteErrors as d4, type PostsGetData as d5, type PostsGetResponses as d6, type PostsGetErrors as d7, type PostsListData as d8, type PostsListResponses as d9, type TokensMintData as dA, type TokensMintResponses as dB, type TokensMintErrors as dC, type WebhooksCreateEndpointData as dD, type WebhooksCreateEndpointResponses as dE, type WebhooksCreateEndpointErrors as dF, type WebhooksCreatePortalData as dG, type WebhooksCreatePortalResponses as dH, type WebhooksCreatePortalErrors as dI, type WebhooksDeleteEndpointData as dJ, type WebhooksDeleteEndpointResponses as dK, type WebhooksDeleteEndpointErrors as dL, type WebhooksGetEndpointData as dM, type WebhooksGetEndpointResponses as dN, type WebhooksGetEndpointErrors as dO, type WebhooksListEndpointsData as dP, type WebhooksListEndpointsResponses as dQ, type WebhooksListEndpointsErrors as dR, type WebhooksListEventTypesData as dS, type WebhooksListEventTypesResponses as dT, type WebhooksListEventTypesErrors as dU, type WebhooksPingData as dV, type WebhooksPingResponses as dW, type WebhooksPingErrors as dX, type WebhooksUpdateEndpointData as dY, type WebhooksUpdateEndpointResponses as dZ, type WebhooksUpdateEndpointErrors as d_, type PostsListErrors as da, type PostsUpdateData as db, type PostsUpdateResponses as dc, type PostsUpdateErrors as dd, type PostsValidateData as de, type PostsValidateResponses as df, type PostsValidateErrors as dg, type ProfilesCreateData as dh, type ProfilesCreateResponses as di, type ProfilesCreateErrors as dj, type ProfilesDeleteData as dk, type ProfilesDeleteResponses as dl, type ProfilesDeleteErrors as dm, type ProfilesGetData as dn, type ProfilesGetResponses as dp, type ProfilesGetErrors as dq, type ProfilesListData as dr, type ProfilesListResponses as ds, type ProfilesListErrors as dt, type ProfilesUpdateData as du, type ProfilesUpdateResponses as dv, type ProfilesUpdateErrors as dw, type TiktokCreatorInfoData as dx, type TiktokCreatorInfoResponses as dy, type TiktokCreatorInfoErrors as dz, type ConnectionsDeleteData as e, type GoogleCreateCampaignCriterionError as e$, type MediaGetResponse as e0, type ConnectionsConnectResponse as e1, type ConnectionsGetResponse as e2, type ConnectionsListByProfileResponse as e3, type MediaCreateResponse as e4, type ConnectionsListAccountsResponse as e5, type MediaListResponse as e6, type PostsGetResponse as e7, type PostsListResponse as e8, type PostsValidateResponse as e9, type GoogleAdsConversionUserIdentifier as eA, type GoogleAdsConversionWarning as eB, type GoogleAdsCreateAdGroupCriterionRequest as eC, type GoogleAdsCreateCampaignCriterionRequest as eD, type GoogleAdsCreateResult as eE, type GoogleAdsDeleteResult as eF, type GoogleAdsEditResult as eG, type GoogleAdsGeoSettingsRequest as eH, type GoogleAdsGeoTargetConstant as eI, type GoogleAdsInsightLevel as eJ, type GoogleAdsInsightMetric as eK, type GoogleAdsInsightSegment as eL, type GoogleAdsInsights as eM, type GoogleAdsInsightsQuery as eN, type GoogleAdsInsightsRow as eO, type GoogleAdsKeyword as eP, type GoogleAdsReadStatusFilter as eQ, type GoogleAdsSendConversionsResult as eR, type GoogleAdsUrlCustomParameter as eS, type GoogleCreateAdError as eT, type GoogleCreateAdGroupCriterionError as eU, type GoogleCreateAdGroupCriterionResponse as eV, type GoogleCreateAdGroupError as eW, type GoogleCreateAdGroupResponse as eX, type GoogleCreateAdResponse as eY, type GoogleCreateBudgetError as eZ, type GoogleCreateBudgetResponse as e_, type ProfilesGetResponse as ea, type ProfilesListResponse as eb, type TiktokCreatorInfoResponse as ec, type PostrunClient as ed, type GoogleAdTreeNode as ee, type ClientOptions as ef, type ConnectionsConnectError as eg, type ConnectionsDeleteError as eh, type ConnectionsDeleteResponse as ei, type ConnectionsGetError as ej, type ConnectionsListAccountsError as ek, type ConnectionsListByProfileError as el, type ConnectionsSelectError as em, type ConnectionsSelectResponse as en, type CreatePostBody as eo, type DiscoverableAccount as ep, type GoogleAdTree as eq, type GoogleAdsAd as er, type GoogleAdsAdGroup as es, type GoogleAdsAdGroupCriterion as et, type GoogleAdsAudience as eu, type GoogleAdsCampaignCriterion as ev, type GoogleAdsConversionConsent as ew, type GoogleAdsConversionEvent as ex, type GoogleAdsConversionStatus as ey, type GoogleAdsConversionStatusReason as ez, type ConnectionsDeleteResponses as f, type GooglePauseAdGroupResponse as f$, type GoogleCreateCampaignCriterionResponse as f0, type GoogleCreateCampaignError as f1, type GoogleCreateCampaignResponse as f2, type GoogleCreateConversionActionError as f3, type GoogleCreateConversionActionResponse as f4, type GoogleCreateDisplayAdError as f5, type GoogleCreateDisplayAdResponse as f6, type GoogleCreateKeywordError as f7, type GoogleCreateKeywordResponse as f8, type GoogleEditAccountError as f9, type GoogleGetConversionActionResponse as fA, type GoogleGetConversionStatusError as fB, type GoogleGetConversionStatusResponse as fC, type GoogleGetInsightsError as fD, type GoogleGetInsightsResponse as fE, type GoogleGetKeywordError as fF, type GoogleGetKeywordResponse as fG, type GoogleListAdGroupCriteriaError as fH, type GoogleListAdGroupCriteriaResponse as fI, type GoogleListAdGroupsError as fJ, type GoogleListAdGroupsResponse as fK, type GoogleListAdsError as fL, type GoogleListAdsResponse as fM, type GoogleListAudiencesError as fN, type GoogleListAudiencesResponse as fO, type GoogleListCampaignCriteriaError as fP, type GoogleListCampaignCriteriaResponse as fQ, type GoogleListCampaignsError as fR, type GoogleListCampaignsResponse as fS, type GoogleListConversionActionsError as fT, type GoogleListConversionActionsResponse as fU, type GoogleListConversionGoalsError as fV, type GoogleListConversionGoalsResponse as fW, type GoogleListKeywordsError as fX, type GoogleListKeywordsResponse as fY, type GooglePauseAdError as fZ, type GooglePauseAdGroupError as f_, type GoogleEditAccountResponse as fa, type GoogleEditAdGroupError as fb, type GoogleEditAdGroupResponse as fc, type GoogleEditBudgetError as fd, type GoogleEditBudgetResponse as fe, type GoogleEditCampaignError as ff, type GoogleEditCampaignResponse as fg, type GoogleEnableAdError as fh, type GoogleEnableAdGroupError as fi, type GoogleEnableAdGroupResponse as fj, type GoogleEnableAdResponse as fk, type GoogleEnableCampaignError as fl, type GoogleEnableCampaignResponse as fm, type GoogleEnableKeywordError as fn, type GoogleEnableKeywordResponse as fo, type GoogleGetAccountError as fp, type GoogleGetAccountResponse as fq, type GoogleGetAdError as fr, type GoogleGetAdGroupError as fs, type GoogleGetAdGroupResponse as ft, type GoogleGetAdResponse as fu, type GoogleGetAdTreeError as fv, type GoogleGetAdTreeResponse as fw, type GoogleGetCampaignError as fx, type GoogleGetCampaignResponse as fy, type GoogleGetConversionActionError as fz, type ConnectionsDeleteErrors as g, type MetaAdsError as g$, type GooglePauseAdResponse as g0, type GooglePauseCampaignError as g1, type GooglePauseCampaignResponse as g2, type GooglePauseKeywordError as g3, type GooglePauseKeywordResponse as g4, type GoogleRemoveAdError as g5, type GoogleRemoveAdGroupCriterionError as g6, type GoogleRemoveAdGroupCriterionResponse as g7, type GoogleRemoveAdGroupError as g8, type GoogleRemoveAdGroupResponse as g9, type GoogleUploadImageAssetResponse as gA, type IdempotencyKey as gB, type LogsGetError as gC, type LogsGetResponse as gD, type LogsListError as gE, type LogsListResponse as gF, type Media as gG, type MediaAbortError as gH, type MediaAbortResponse as gI, type MediaCompleteError as gJ, type MediaCompleteResponse as gK, type MediaCreateError as gL, type MediaDeleteError as gM, type MediaDeleteResponse as gN, type MediaGetError as gO, type MediaListError as gP, type MediaListPartsError as gQ, type MediaListPartsResponse as gR, type MediaSignPartError as gS, type MediaSignPartResponse as gT, type MediaStage as gU, type MediaUpdateError as gV, type MediaUpdateResponse as gW, type MetaAccountError as gX, type MetaAccountResponse as gY, type MetaAdError as gZ, type MetaAdResponse as g_, type GoogleRemoveAdResponse as ga, type GoogleRemoveBudgetError as gb, type GoogleRemoveBudgetResponse as gc, type GoogleRemoveCampaignCriterionError as gd, type GoogleRemoveCampaignCriterionResponse as ge, type GoogleRemoveCampaignError as gf, type GoogleRemoveCampaignResponse as gg, type GoogleRemoveKeywordError as gh, type GoogleRemoveKeywordResponse as gi, type GoogleRunGaqlError as gj, type GoogleRunGaqlResponse as gk, type GoogleSearchGeoTargetsError as gl, type GoogleSearchGeoTargetsResponse as gm, type GoogleSendConversionsError as gn, type GoogleSendConversionsResponse as go, type GoogleSetAdGroupBidsError as gp, type GoogleSetAdGroupBidsResponse as gq, type GoogleSetCampaignGeoSettingsError as gr, type GoogleSetCampaignGeoSettingsResponse as gs, type GoogleSetCampaignTargetingSettingError as gt, type GoogleSetCampaignTargetingSettingResponse as gu, type GoogleSetConversionGoalError as gv, type GoogleSetConversionGoalResponse as gw, type GoogleSetKeywordBidError as gx, type GoogleSetKeywordBidResponse as gy, type GoogleUploadImageAssetError as gz, type ConnectionsGetData as h, type MetaAdsResponse as h0, type MetaAdsetError as h1, type MetaAdsetResponse as h2, type MetaAdsetsError as h3, type MetaAdsetsResponse as h4, type MetaCampaignError as h5, type MetaCampaignResponse as h6, type MetaCampaignsError as h7, type MetaCampaignsResponse as h8, type MetaInsightsError as h9, type WebhooksCreatePortalError as hA, type WebhooksCreatePortalResponse as hB, type WebhooksDeleteEndpointError as hC, type WebhooksDeleteEndpointResponse as hD, type WebhooksGetEndpointError as hE, type WebhooksGetEndpointResponse as hF, type WebhooksListEndpointsError as hG, type WebhooksListEndpointsResponse as hH, type WebhooksListEventTypesError as hI, type WebhooksListEventTypesResponse as hJ, type WebhooksPingError as hK, type WebhooksPingResponse as hL, type WebhooksUpdateEndpointError as hM, type WebhooksUpdateEndpointResponse as hN, createPostrunClient as hO, type MetaInsightsResponse as ha, type PostType as hb, type PostVariantStatus as hc, type PostrunClientOptions as hd, type PostsCreateError as he, type PostsCreateResponse as hf, type PostsDeleteError as hg, type PostsDeleteResponse as hh, type PostsGetError as hi, type PostsListError as hj, type PostsUpdateError as hk, type PostsUpdateResponse as hl, type PostsValidateError as hm, type ProfilesCreateError as hn, type ProfilesCreateResponse as ho, type ProfilesDeleteError as hp, type ProfilesDeleteResponse as hq, type ProfilesGetError as hr, type ProfilesListError as hs, type ProfilesUpdateError as ht, type ProfilesUpdateResponse as hu, type TiktokCreatorInfoError as hv, type TokensMintError as hw, type TokensMintResponse as hx, type WebhooksCreateEndpointError as hy, type WebhooksCreateEndpointResponse as hz, type ConnectionsGetResponses as i, type ConnectionsGetErrors as j, type ConnectionsListAccountsData as k, type ConnectionsListAccountsResponses as l, type ConnectionsListAccountsErrors as m, type ConnectionsListByProfileData as n, type ConnectionsListByProfileResponses as o, type ConnectionsListByProfileErrors as p, type ConnectionsSelectData as q, type ConnectionsSelectResponses as r, type ConnectionsSelectErrors as s, type GoogleCreateAdResponses as t, type GoogleCreateAdErrors as u, type GoogleCreateAdGroupData as v, type GoogleCreateAdGroupResponses as w, type GoogleCreateAdGroupErrors as x, type GoogleCreateAdGroupCriterionData as y, type GoogleCreateAdGroupCriterionResponses as z };
|