@pushwoosh/rpc-v2-http-api-data 0.2.281 → 0.2.282
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/data.js +65 -0
- package/integrations.d.ts +28 -0
- package/package.json +1 -1
package/data.js
CHANGED
|
@@ -18482,6 +18482,18 @@ export const data = {
|
|
|
18482
18482
|
"method": "post",
|
|
18483
18483
|
"path": "/api/integrations/google-ads/ad-accounts/disconnect"
|
|
18484
18484
|
},
|
|
18485
|
+
"ListGoogleAdsAudiences": {
|
|
18486
|
+
"request": "pushwoosh.rpc_v2.integrations.ListGoogleAdsAudiencesRequest",
|
|
18487
|
+
"response": "pushwoosh.rpc_v2.integrations.ListGoogleAdsAudiencesResponse",
|
|
18488
|
+
"method": "get",
|
|
18489
|
+
"path": "/api/integrations/google-ads/ad-accounts/{ad_account_id}/audiences"
|
|
18490
|
+
},
|
|
18491
|
+
"CreateGoogleAdsAudience": {
|
|
18492
|
+
"request": "pushwoosh.rpc_v2.integrations.CreateGoogleAdsAudienceRequest",
|
|
18493
|
+
"response": "pushwoosh.rpc_v2.integrations.CreateGoogleAdsAudienceResponse",
|
|
18494
|
+
"method": "post",
|
|
18495
|
+
"path": "/api/integrations/google-ads/ad-accounts/{ad_account_id}/audiences"
|
|
18496
|
+
},
|
|
18485
18497
|
"SetMetaTagMapping": {
|
|
18486
18498
|
"request": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingRequest",
|
|
18487
18499
|
"response": "pushwoosh.rpc_v2.integrations.SetMetaTagMappingResponse",
|
|
@@ -19578,6 +19590,59 @@ export const data = {
|
|
|
19578
19590
|
}
|
|
19579
19591
|
}
|
|
19580
19592
|
},
|
|
19593
|
+
"pushwoosh.rpc_v2.integrations.GoogleAdsAudience": {
|
|
19594
|
+
"type": "I",
|
|
19595
|
+
"fields": {
|
|
19596
|
+
"id": {
|
|
19597
|
+
"type": "string"
|
|
19598
|
+
},
|
|
19599
|
+
"name": {
|
|
19600
|
+
"type": "string"
|
|
19601
|
+
},
|
|
19602
|
+
"approximateCount": {
|
|
19603
|
+
"type": "number"
|
|
19604
|
+
}
|
|
19605
|
+
}
|
|
19606
|
+
},
|
|
19607
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleAdsAudiencesRequest": {
|
|
19608
|
+
"type": "I",
|
|
19609
|
+
"fields": {
|
|
19610
|
+
"adAccountId": {
|
|
19611
|
+
"type": "string"
|
|
19612
|
+
}
|
|
19613
|
+
}
|
|
19614
|
+
},
|
|
19615
|
+
"pushwoosh.rpc_v2.integrations.ListGoogleAdsAudiencesResponse": {
|
|
19616
|
+
"type": "I",
|
|
19617
|
+
"fields": {
|
|
19618
|
+
"audiences": {
|
|
19619
|
+
"type": "pushwoosh.rpc_v2.integrations.GoogleAdsAudience",
|
|
19620
|
+
"array": true
|
|
19621
|
+
}
|
|
19622
|
+
}
|
|
19623
|
+
},
|
|
19624
|
+
"pushwoosh.rpc_v2.integrations.CreateGoogleAdsAudienceRequest": {
|
|
19625
|
+
"type": "I",
|
|
19626
|
+
"fields": {
|
|
19627
|
+
"adAccountId": {
|
|
19628
|
+
"type": "string"
|
|
19629
|
+
},
|
|
19630
|
+
"name": {
|
|
19631
|
+
"type": "string"
|
|
19632
|
+
},
|
|
19633
|
+
"description": {
|
|
19634
|
+
"type": "string"
|
|
19635
|
+
}
|
|
19636
|
+
}
|
|
19637
|
+
},
|
|
19638
|
+
"pushwoosh.rpc_v2.integrations.CreateGoogleAdsAudienceResponse": {
|
|
19639
|
+
"type": "I",
|
|
19640
|
+
"fields": {
|
|
19641
|
+
"audience": {
|
|
19642
|
+
"type": "pushwoosh.rpc_v2.integrations.GoogleAdsAudience"
|
|
19643
|
+
}
|
|
19644
|
+
}
|
|
19645
|
+
},
|
|
19581
19646
|
"pushwoosh.rpc_v2.integrations.DisconnectGoogleAdsAdAccountsResponse": {
|
|
19582
19647
|
"type": "I",
|
|
19583
19648
|
"fields": {
|
package/integrations.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export type IntegrationsService_DeleteGoogleAdsConfiguration = RpcMethod<DeleteG
|
|
|
34
34
|
export type IntegrationsService_ListGoogleAdsAdAccounts = RpcMethod<ListGoogleAdsAdAccountsRequest, ListGoogleAdsAdAccountsResponse>;
|
|
35
35
|
export type IntegrationsService_ConnectGoogleAdsAdAccounts = RpcMethod<ConnectGoogleAdsAdAccountsRequest, ConnectGoogleAdsAdAccountsResponse>;
|
|
36
36
|
export type IntegrationsService_DisconnectGoogleAdsAdAccounts = RpcMethod<DisconnectGoogleAdsAdAccountsRequest, DisconnectGoogleAdsAdAccountsResponse>;
|
|
37
|
+
export type IntegrationsService_ListGoogleAdsAudiences = RpcMethod<ListGoogleAdsAudiencesRequest, ListGoogleAdsAudiencesResponse>;
|
|
38
|
+
export type IntegrationsService_CreateGoogleAdsAudience = RpcMethod<CreateGoogleAdsAudienceRequest, CreateGoogleAdsAudienceResponse>;
|
|
37
39
|
export type IntegrationsService_SetMetaTagMapping = RpcMethod<SetMetaTagMappingRequest, SetMetaTagMappingResponse>;
|
|
38
40
|
export type IntegrationsService_GetGoogleBQConfiguration = RpcMethod<GetGoogleBQConfigurationRequest, GetGoogleBQConfigurationResponse>;
|
|
39
41
|
export type IntegrationsService_CreateGoogleBQConfiguration = RpcMethod<CreateGoogleBQConfigurationRequest, CreateGoogleBQConfigurationResponse>;
|
|
@@ -142,6 +144,10 @@ export interface IntegrationsService {
|
|
|
142
144
|
ConnectGoogleAdsAdAccounts: IntegrationsService_ConnectGoogleAdsAdAccounts;
|
|
143
145
|
/** Disconnects the given Google Ads customers by id while keeping the OAuth grant. Use to remove specific ad accounts; to drop the whole connection use delete_google_ads_integration. */
|
|
144
146
|
DisconnectGoogleAdsAdAccounts: IntegrationsService_DisconnectGoogleAdsAdAccounts;
|
|
147
|
+
/** Lists the CRM-based user lists of a connected Google Ads ad account. Use to pick an audience for a journey audience sync point, or to see what create_google_ads_audience produced. */
|
|
148
|
+
ListGoogleAdsAudiences: IntegrationsService_ListGoogleAdsAudiences;
|
|
149
|
+
/** Creates a CRM-based user list on a connected Google Ads ad account. Use before syncing users: a Customer Match upload targets a list that already exists. */
|
|
150
|
+
CreateGoogleAdsAudience: IntegrationsService_CreateGoogleAdsAudience;
|
|
145
151
|
/** Overwrites the mapping between Pushwoosh tags and Meta custom-audience fields for the current account. Use to define which PW tags sync to Meta audiences; replaces the entire mapping. */
|
|
146
152
|
SetMetaTagMapping: IntegrationsService_SetMetaTagMapping;
|
|
147
153
|
/**
|
|
@@ -600,6 +606,28 @@ export type ConnectGoogleAdsAdAccountsResponse = {
|
|
|
600
606
|
export type DisconnectGoogleAdsAdAccountsRequest = {
|
|
601
607
|
adAccountIds?: string[];
|
|
602
608
|
};
|
|
609
|
+
/** GoogleAdsAudience is a CRM-based user list on an ad account. */
|
|
610
|
+
export type GoogleAdsAudience = {
|
|
611
|
+
id: string;
|
|
612
|
+
name: string;
|
|
613
|
+
/** Google's own estimate of matched members, 0 until matching runs */
|
|
614
|
+
approximateCount: number;
|
|
615
|
+
};
|
|
616
|
+
export type ListGoogleAdsAudiencesRequest = {
|
|
617
|
+
adAccountId?: string;
|
|
618
|
+
};
|
|
619
|
+
export type ListGoogleAdsAudiencesResponse = {
|
|
620
|
+
audiences: GoogleAdsAudience[];
|
|
621
|
+
};
|
|
622
|
+
export type CreateGoogleAdsAudienceRequest = {
|
|
623
|
+
adAccountId?: string;
|
|
624
|
+
name?: string;
|
|
625
|
+
/** optional, the integration fills its own default when empty */
|
|
626
|
+
description?: string;
|
|
627
|
+
};
|
|
628
|
+
export type CreateGoogleAdsAudienceResponse = {
|
|
629
|
+
audience: GoogleAdsAudience;
|
|
630
|
+
};
|
|
603
631
|
export type DisconnectGoogleAdsAdAccountsResponse = {
|
|
604
632
|
adAccounts: GoogleAdsAdAccount[];
|
|
605
633
|
};
|