@oursprivacy/platform-sdk 1.42.1 → 1.43.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/CHANGELOG.md +30 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +7 -1
- package/client.js.map +1 -1
- package/client.mjs +7 -1
- package/client.mjs.map +1 -1
- package/core/pagination.d.mts.map +1 -1
- package/core/pagination.d.ts.map +1 -1
- package/internal/detect-platform.d.mts.map +1 -1
- package/internal/detect-platform.d.ts.map +1 -1
- package/internal/detect-platform.js +1 -1
- package/internal/detect-platform.js.map +1 -1
- package/internal/detect-platform.mjs +1 -1
- package/internal/detect-platform.mjs.map +1 -1
- package/internal/to-file.d.mts.map +1 -1
- package/internal/to-file.d.ts.map +1 -1
- package/internal/to-file.js.map +1 -1
- package/internal/to-file.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/conversion-journey-summaries.d.mts +169 -0
- package/resources/conversion-journey-summaries.d.mts.map +1 -0
- package/resources/conversion-journey-summaries.d.ts +169 -0
- package/resources/conversion-journey-summaries.d.ts.map +1 -0
- package/resources/conversion-journey-summaries.js +51 -0
- package/resources/conversion-journey-summaries.js.map +1 -0
- package/resources/conversion-journey-summaries.mjs +47 -0
- package/resources/conversion-journey-summaries.mjs.map +1 -0
- package/resources/destinations.d.mts +18 -17
- package/resources/destinations.d.mts.map +1 -1
- package/resources/destinations.d.ts +18 -17
- package/resources/destinations.d.ts.map +1 -1
- package/resources/funnels.d.mts +33 -16
- package/resources/funnels.d.mts.map +1 -1
- package/resources/funnels.d.ts +33 -16
- package/resources/funnels.d.ts.map +1 -1
- package/resources/funnels.js +8 -6
- package/resources/funnels.js.map +1 -1
- package/resources/funnels.mjs +8 -6
- package/resources/funnels.mjs.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/versions.d.mts +40 -0
- package/resources/versions.d.mts.map +1 -1
- package/resources/versions.d.ts +40 -0
- package/resources/versions.d.ts.map +1 -1
- package/resources/videos.d.mts +251 -0
- package/resources/videos.d.mts.map +1 -0
- package/resources/videos.d.ts +251 -0
- package/resources/videos.d.ts.map +1 -0
- package/resources/videos.js +81 -0
- package/resources/videos.js.map +1 -0
- package/resources/videos.mjs +77 -0
- package/resources/videos.mjs.map +1 -0
- package/resources/web-scanners.d.mts +43 -0
- package/resources/web-scanners.d.mts.map +1 -1
- package/resources/web-scanners.d.ts +43 -0
- package/resources/web-scanners.d.ts.map +1 -1
- package/src/client.ts +69 -1
- package/src/core/pagination.ts +3 -3
- package/src/internal/detect-platform.ts +2 -10
- package/src/internal/to-file.ts +1 -4
- package/src/resources/conversion-journey-summaries.ts +384 -0
- package/src/resources/destinations.ts +45 -12
- package/src/resources/funnels.ts +34 -16
- package/src/resources/index.ts +31 -0
- package/src/resources/versions.ts +50 -0
- package/src/resources/videos.ts +418 -0
- package/src/resources/web-scanners.ts +62 -0
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -0,0 +1,384 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { Cursor, type CursorParams, PagePromise } from '../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class ConversionJourneySummaries extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* List saved Conversion Journey Summary configurations, most recently updated
|
|
12
|
+
* first. Supports cursor pagination. Each result contains the conversion event,
|
|
13
|
+
* analysis window, attribution window, filters, and bot/source settings needed to
|
|
14
|
+
* reopen the saved analysis. Requires scope: web-analytics:view
|
|
15
|
+
*/
|
|
16
|
+
list(
|
|
17
|
+
query: ConversionJourneySummaryListParams | null | undefined = {},
|
|
18
|
+
options?: RequestOptions,
|
|
19
|
+
): PagePromise<ConversionJourneySummaryListResponsesCursor, ConversionJourneySummaryListResponse> {
|
|
20
|
+
return this._client.getAPIList(
|
|
21
|
+
'/rest/v1/conversion-journey-summaries',
|
|
22
|
+
Cursor<ConversionJourneySummaryListResponse>,
|
|
23
|
+
{ query, ...options },
|
|
24
|
+
);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Save a named Conversion Journey Summary configuration. Returns the full saved
|
|
29
|
+
* summary so callers can reopen the same analysis without a follow-up request.
|
|
30
|
+
* Each account can save up to 100 summaries. Requires scope: web-analytics:write
|
|
31
|
+
*/
|
|
32
|
+
create(
|
|
33
|
+
body: ConversionJourneySummaryCreateParams,
|
|
34
|
+
options?: RequestOptions,
|
|
35
|
+
): APIPromise<ConversionJourneySummaryCreateResponse> {
|
|
36
|
+
return this._client.post('/rest/v1/conversion-journey-summaries', { body, ...options });
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Fetch a saved Conversion Journey Summary by its id. Returns 404 when it does not
|
|
41
|
+
* exist. Requires scope: web-analytics:view
|
|
42
|
+
*/
|
|
43
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<ConversionJourneySummaryRetrieveResponse> {
|
|
44
|
+
return this._client.get(path`/rest/v1/conversion-journey-summaries/${id}`, options);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Update one or more fields on a saved Conversion Journey Summary. Omitted fields
|
|
49
|
+
* remain unchanged. When provided, `filters` replaces the complete saved filter
|
|
50
|
+
* list. Send `null` for `webSourceId` or `excludeBots` to clear that optional
|
|
51
|
+
* setting. Requires scope: web-analytics:write
|
|
52
|
+
*/
|
|
53
|
+
update(
|
|
54
|
+
id: string,
|
|
55
|
+
body: ConversionJourneySummaryUpdateParams,
|
|
56
|
+
options?: RequestOptions,
|
|
57
|
+
): APIPromise<ConversionJourneySummaryUpdateResponse> {
|
|
58
|
+
return this._client.patch(path`/rest/v1/conversion-journey-summaries/${id}`, { body, ...options });
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/**
|
|
62
|
+
* Delete a saved Conversion Journey Summary. The underlying analytics data is
|
|
63
|
+
* unaffected. Requires scope: web-analytics:write
|
|
64
|
+
*/
|
|
65
|
+
delete(id: string, options?: RequestOptions): APIPromise<ConversionJourneySummaryDeleteResponse> {
|
|
66
|
+
return this._client.delete(path`/rest/v1/conversion-journey-summaries/${id}`, options);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export type ConversionJourneySummaryListResponsesCursor = Cursor<ConversionJourneySummaryListResponse>;
|
|
71
|
+
|
|
72
|
+
export interface ConversionJourneySummaryListResponse {
|
|
73
|
+
createdAt: string;
|
|
74
|
+
|
|
75
|
+
dateFrom: string;
|
|
76
|
+
|
|
77
|
+
dateTo: string;
|
|
78
|
+
|
|
79
|
+
eventName: string;
|
|
80
|
+
|
|
81
|
+
filters: Array<ConversionJourneySummaryListResponse.Filter>;
|
|
82
|
+
|
|
83
|
+
name: string;
|
|
84
|
+
|
|
85
|
+
summaryId: string;
|
|
86
|
+
|
|
87
|
+
updatedAt: string;
|
|
88
|
+
|
|
89
|
+
windowDays: number;
|
|
90
|
+
|
|
91
|
+
excludeBots?: boolean | null;
|
|
92
|
+
|
|
93
|
+
webSourceId?: string | null;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export namespace ConversionJourneySummaryListResponse {
|
|
97
|
+
export interface Filter {
|
|
98
|
+
dimension:
|
|
99
|
+
| 'browser'
|
|
100
|
+
| 'campaign'
|
|
101
|
+
| 'city'
|
|
102
|
+
| 'content'
|
|
103
|
+
| 'country'
|
|
104
|
+
| 'device'
|
|
105
|
+
| 'entry_page'
|
|
106
|
+
| 'exit_page'
|
|
107
|
+
| 'medium'
|
|
108
|
+
| 'os'
|
|
109
|
+
| 'page'
|
|
110
|
+
| 'referrer'
|
|
111
|
+
| 'region'
|
|
112
|
+
| 'source'
|
|
113
|
+
| 'term';
|
|
114
|
+
|
|
115
|
+
operator: 'CONTAINS' | 'IS' | 'IS_NOT' | 'NOT_CONTAINS';
|
|
116
|
+
|
|
117
|
+
values: Array<string>;
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
export interface ConversionJourneySummaryCreateResponse {
|
|
122
|
+
createdAt: string;
|
|
123
|
+
|
|
124
|
+
dateFrom: string;
|
|
125
|
+
|
|
126
|
+
dateTo: string;
|
|
127
|
+
|
|
128
|
+
eventName: string;
|
|
129
|
+
|
|
130
|
+
filters: Array<ConversionJourneySummaryCreateResponse.Filter>;
|
|
131
|
+
|
|
132
|
+
name: string;
|
|
133
|
+
|
|
134
|
+
summaryId: string;
|
|
135
|
+
|
|
136
|
+
updatedAt: string;
|
|
137
|
+
|
|
138
|
+
windowDays: number;
|
|
139
|
+
|
|
140
|
+
excludeBots?: boolean | null;
|
|
141
|
+
|
|
142
|
+
webSourceId?: string | null;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
export namespace ConversionJourneySummaryCreateResponse {
|
|
146
|
+
export interface Filter {
|
|
147
|
+
dimension:
|
|
148
|
+
| 'browser'
|
|
149
|
+
| 'campaign'
|
|
150
|
+
| 'city'
|
|
151
|
+
| 'content'
|
|
152
|
+
| 'country'
|
|
153
|
+
| 'device'
|
|
154
|
+
| 'entry_page'
|
|
155
|
+
| 'exit_page'
|
|
156
|
+
| 'medium'
|
|
157
|
+
| 'os'
|
|
158
|
+
| 'page'
|
|
159
|
+
| 'referrer'
|
|
160
|
+
| 'region'
|
|
161
|
+
| 'source'
|
|
162
|
+
| 'term';
|
|
163
|
+
|
|
164
|
+
operator: 'CONTAINS' | 'IS' | 'IS_NOT' | 'NOT_CONTAINS';
|
|
165
|
+
|
|
166
|
+
values: Array<string>;
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
export interface ConversionJourneySummaryRetrieveResponse {
|
|
171
|
+
createdAt: string;
|
|
172
|
+
|
|
173
|
+
dateFrom: string;
|
|
174
|
+
|
|
175
|
+
dateTo: string;
|
|
176
|
+
|
|
177
|
+
eventName: string;
|
|
178
|
+
|
|
179
|
+
filters: Array<ConversionJourneySummaryRetrieveResponse.Filter>;
|
|
180
|
+
|
|
181
|
+
name: string;
|
|
182
|
+
|
|
183
|
+
summaryId: string;
|
|
184
|
+
|
|
185
|
+
updatedAt: string;
|
|
186
|
+
|
|
187
|
+
windowDays: number;
|
|
188
|
+
|
|
189
|
+
excludeBots?: boolean | null;
|
|
190
|
+
|
|
191
|
+
webSourceId?: string | null;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
export namespace ConversionJourneySummaryRetrieveResponse {
|
|
195
|
+
export interface Filter {
|
|
196
|
+
dimension:
|
|
197
|
+
| 'browser'
|
|
198
|
+
| 'campaign'
|
|
199
|
+
| 'city'
|
|
200
|
+
| 'content'
|
|
201
|
+
| 'country'
|
|
202
|
+
| 'device'
|
|
203
|
+
| 'entry_page'
|
|
204
|
+
| 'exit_page'
|
|
205
|
+
| 'medium'
|
|
206
|
+
| 'os'
|
|
207
|
+
| 'page'
|
|
208
|
+
| 'referrer'
|
|
209
|
+
| 'region'
|
|
210
|
+
| 'source'
|
|
211
|
+
| 'term';
|
|
212
|
+
|
|
213
|
+
operator: 'CONTAINS' | 'IS' | 'IS_NOT' | 'NOT_CONTAINS';
|
|
214
|
+
|
|
215
|
+
values: Array<string>;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
export interface ConversionJourneySummaryUpdateResponse {
|
|
220
|
+
createdAt: string;
|
|
221
|
+
|
|
222
|
+
dateFrom: string;
|
|
223
|
+
|
|
224
|
+
dateTo: string;
|
|
225
|
+
|
|
226
|
+
eventName: string;
|
|
227
|
+
|
|
228
|
+
filters: Array<ConversionJourneySummaryUpdateResponse.Filter>;
|
|
229
|
+
|
|
230
|
+
name: string;
|
|
231
|
+
|
|
232
|
+
summaryId: string;
|
|
233
|
+
|
|
234
|
+
updatedAt: string;
|
|
235
|
+
|
|
236
|
+
windowDays: number;
|
|
237
|
+
|
|
238
|
+
excludeBots?: boolean | null;
|
|
239
|
+
|
|
240
|
+
webSourceId?: string | null;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
export namespace ConversionJourneySummaryUpdateResponse {
|
|
244
|
+
export interface Filter {
|
|
245
|
+
dimension:
|
|
246
|
+
| 'browser'
|
|
247
|
+
| 'campaign'
|
|
248
|
+
| 'city'
|
|
249
|
+
| 'content'
|
|
250
|
+
| 'country'
|
|
251
|
+
| 'device'
|
|
252
|
+
| 'entry_page'
|
|
253
|
+
| 'exit_page'
|
|
254
|
+
| 'medium'
|
|
255
|
+
| 'os'
|
|
256
|
+
| 'page'
|
|
257
|
+
| 'referrer'
|
|
258
|
+
| 'region'
|
|
259
|
+
| 'source'
|
|
260
|
+
| 'term';
|
|
261
|
+
|
|
262
|
+
operator: 'CONTAINS' | 'IS' | 'IS_NOT' | 'NOT_CONTAINS';
|
|
263
|
+
|
|
264
|
+
values: Array<string>;
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export interface ConversionJourneySummaryDeleteResponse {
|
|
269
|
+
id: string;
|
|
270
|
+
|
|
271
|
+
deleted: true;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
export interface ConversionJourneySummaryListParams extends CursorParams {}
|
|
275
|
+
|
|
276
|
+
export interface ConversionJourneySummaryCreateParams {
|
|
277
|
+
/**
|
|
278
|
+
* Inclusive start of the saved analysis window in `YYYY-MM-DD` format.
|
|
279
|
+
*/
|
|
280
|
+
dateFrom: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Inclusive end of the saved analysis window in `YYYY-MM-DD` format.
|
|
284
|
+
*/
|
|
285
|
+
dateTo: string;
|
|
286
|
+
|
|
287
|
+
eventName: string;
|
|
288
|
+
|
|
289
|
+
name: string;
|
|
290
|
+
|
|
291
|
+
windowDays: number;
|
|
292
|
+
|
|
293
|
+
excludeBots?: boolean | null;
|
|
294
|
+
|
|
295
|
+
filters?: Array<ConversionJourneySummaryCreateParams.Filter>;
|
|
296
|
+
|
|
297
|
+
webSourceId?: string | null;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
export namespace ConversionJourneySummaryCreateParams {
|
|
301
|
+
export interface Filter {
|
|
302
|
+
dimension:
|
|
303
|
+
| 'browser'
|
|
304
|
+
| 'campaign'
|
|
305
|
+
| 'city'
|
|
306
|
+
| 'content'
|
|
307
|
+
| 'country'
|
|
308
|
+
| 'device'
|
|
309
|
+
| 'entry_page'
|
|
310
|
+
| 'exit_page'
|
|
311
|
+
| 'medium'
|
|
312
|
+
| 'os'
|
|
313
|
+
| 'page'
|
|
314
|
+
| 'referrer'
|
|
315
|
+
| 'region'
|
|
316
|
+
| 'source'
|
|
317
|
+
| 'term';
|
|
318
|
+
|
|
319
|
+
operator?: 'CONTAINS' | 'IS' | 'IS_NOT' | 'NOT_CONTAINS';
|
|
320
|
+
|
|
321
|
+
value?: string;
|
|
322
|
+
|
|
323
|
+
values?: Array<string>;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
export interface ConversionJourneySummaryUpdateParams {
|
|
328
|
+
dateFrom?: string;
|
|
329
|
+
|
|
330
|
+
dateTo?: string;
|
|
331
|
+
|
|
332
|
+
eventName?: string;
|
|
333
|
+
|
|
334
|
+
excludeBots?: boolean | null;
|
|
335
|
+
|
|
336
|
+
filters?: Array<ConversionJourneySummaryUpdateParams.Filter>;
|
|
337
|
+
|
|
338
|
+
name?: string;
|
|
339
|
+
|
|
340
|
+
webSourceId?: string | null;
|
|
341
|
+
|
|
342
|
+
windowDays?: number;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
export namespace ConversionJourneySummaryUpdateParams {
|
|
346
|
+
export interface Filter {
|
|
347
|
+
dimension:
|
|
348
|
+
| 'browser'
|
|
349
|
+
| 'campaign'
|
|
350
|
+
| 'city'
|
|
351
|
+
| 'content'
|
|
352
|
+
| 'country'
|
|
353
|
+
| 'device'
|
|
354
|
+
| 'entry_page'
|
|
355
|
+
| 'exit_page'
|
|
356
|
+
| 'medium'
|
|
357
|
+
| 'os'
|
|
358
|
+
| 'page'
|
|
359
|
+
| 'referrer'
|
|
360
|
+
| 'region'
|
|
361
|
+
| 'source'
|
|
362
|
+
| 'term';
|
|
363
|
+
|
|
364
|
+
operator?: 'CONTAINS' | 'IS' | 'IS_NOT' | 'NOT_CONTAINS';
|
|
365
|
+
|
|
366
|
+
value?: string;
|
|
367
|
+
|
|
368
|
+
values?: Array<string>;
|
|
369
|
+
}
|
|
370
|
+
}
|
|
371
|
+
|
|
372
|
+
export declare namespace ConversionJourneySummaries {
|
|
373
|
+
export {
|
|
374
|
+
type ConversionJourneySummaryListResponse as ConversionJourneySummaryListResponse,
|
|
375
|
+
type ConversionJourneySummaryCreateResponse as ConversionJourneySummaryCreateResponse,
|
|
376
|
+
type ConversionJourneySummaryRetrieveResponse as ConversionJourneySummaryRetrieveResponse,
|
|
377
|
+
type ConversionJourneySummaryUpdateResponse as ConversionJourneySummaryUpdateResponse,
|
|
378
|
+
type ConversionJourneySummaryDeleteResponse as ConversionJourneySummaryDeleteResponse,
|
|
379
|
+
type ConversionJourneySummaryListResponsesCursor as ConversionJourneySummaryListResponsesCursor,
|
|
380
|
+
type ConversionJourneySummaryListParams as ConversionJourneySummaryListParams,
|
|
381
|
+
type ConversionJourneySummaryCreateParams as ConversionJourneySummaryCreateParams,
|
|
382
|
+
type ConversionJourneySummaryUpdateParams as ConversionJourneySummaryUpdateParams,
|
|
383
|
+
};
|
|
384
|
+
}
|
|
@@ -87,8 +87,8 @@ export interface DestinationListResponse {
|
|
|
87
87
|
status: 'Disabled' | 'Enabled';
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
* Destination type. Read responses may include warehouse
|
|
91
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
90
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
91
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
92
92
|
*/
|
|
93
93
|
type:
|
|
94
94
|
| 'AWSEventBridge'
|
|
@@ -117,6 +117,7 @@ export interface DestinationListResponse {
|
|
|
117
117
|
| 'DomoWarehouse'
|
|
118
118
|
| 'Everflow'
|
|
119
119
|
| 'Facebook'
|
|
120
|
+
| 'FacebookAudience'
|
|
120
121
|
| 'FloodlightSGTM'
|
|
121
122
|
| 'FullContact'
|
|
122
123
|
| 'G4Analytics'
|
|
@@ -125,6 +126,7 @@ export interface DestinationListResponse {
|
|
|
125
126
|
| 'Google'
|
|
126
127
|
| 'GoogleAds360'
|
|
127
128
|
| 'GoogleAdsServerContainer'
|
|
129
|
+
| 'GoogleAudience'
|
|
128
130
|
| 'GoogleBigQuery'
|
|
129
131
|
| 'GoogleBigQueryWarehouse'
|
|
130
132
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -141,6 +143,7 @@ export interface DestinationListResponse {
|
|
|
141
143
|
| 'LiveIntent'
|
|
142
144
|
| 'LiveRampWarehouse'
|
|
143
145
|
| 'MNTN'
|
|
146
|
+
| 'MNTNAudience'
|
|
144
147
|
| 'Mailchimp'
|
|
145
148
|
| 'Mixpanel'
|
|
146
149
|
| 'NextdoorAds'
|
|
@@ -155,12 +158,14 @@ export interface DestinationListResponse {
|
|
|
155
158
|
| 'QuantcastCAPI'
|
|
156
159
|
| 'QuoraAds'
|
|
157
160
|
| 'Reddit'
|
|
161
|
+
| 'Rokt'
|
|
158
162
|
| 'RokuCAPI'
|
|
159
163
|
| 'SnapchatAdsCapi'
|
|
160
164
|
| 'Spotify'
|
|
161
165
|
| 'StackAdaptAPI'
|
|
162
166
|
| 'Taboola'
|
|
163
167
|
| 'Tatari'
|
|
168
|
+
| 'TatariCAPI'
|
|
164
169
|
| 'TheTradeDesk'
|
|
165
170
|
| 'TikTok'
|
|
166
171
|
| 'UniversalAds'
|
|
@@ -168,6 +173,7 @@ export interface DestinationListResponse {
|
|
|
168
173
|
| 'Viant'
|
|
169
174
|
| 'ViantCAPI'
|
|
170
175
|
| 'Vibe'
|
|
176
|
+
| 'VibeAudience'
|
|
171
177
|
| 'Woopra'
|
|
172
178
|
| 'XAds'
|
|
173
179
|
| 'YelpCAPI'
|
|
@@ -194,8 +200,8 @@ export interface DestinationCreateResponse {
|
|
|
194
200
|
status: 'Disabled' | 'Enabled';
|
|
195
201
|
|
|
196
202
|
/**
|
|
197
|
-
* Destination type. Read responses may include warehouse
|
|
198
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
203
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
204
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
199
205
|
*/
|
|
200
206
|
type:
|
|
201
207
|
| 'AWSEventBridge'
|
|
@@ -224,6 +230,7 @@ export interface DestinationCreateResponse {
|
|
|
224
230
|
| 'DomoWarehouse'
|
|
225
231
|
| 'Everflow'
|
|
226
232
|
| 'Facebook'
|
|
233
|
+
| 'FacebookAudience'
|
|
227
234
|
| 'FloodlightSGTM'
|
|
228
235
|
| 'FullContact'
|
|
229
236
|
| 'G4Analytics'
|
|
@@ -232,6 +239,7 @@ export interface DestinationCreateResponse {
|
|
|
232
239
|
| 'Google'
|
|
233
240
|
| 'GoogleAds360'
|
|
234
241
|
| 'GoogleAdsServerContainer'
|
|
242
|
+
| 'GoogleAudience'
|
|
235
243
|
| 'GoogleBigQuery'
|
|
236
244
|
| 'GoogleBigQueryWarehouse'
|
|
237
245
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -248,6 +256,7 @@ export interface DestinationCreateResponse {
|
|
|
248
256
|
| 'LiveIntent'
|
|
249
257
|
| 'LiveRampWarehouse'
|
|
250
258
|
| 'MNTN'
|
|
259
|
+
| 'MNTNAudience'
|
|
251
260
|
| 'Mailchimp'
|
|
252
261
|
| 'Mixpanel'
|
|
253
262
|
| 'NextdoorAds'
|
|
@@ -262,12 +271,14 @@ export interface DestinationCreateResponse {
|
|
|
262
271
|
| 'QuantcastCAPI'
|
|
263
272
|
| 'QuoraAds'
|
|
264
273
|
| 'Reddit'
|
|
274
|
+
| 'Rokt'
|
|
265
275
|
| 'RokuCAPI'
|
|
266
276
|
| 'SnapchatAdsCapi'
|
|
267
277
|
| 'Spotify'
|
|
268
278
|
| 'StackAdaptAPI'
|
|
269
279
|
| 'Taboola'
|
|
270
280
|
| 'Tatari'
|
|
281
|
+
| 'TatariCAPI'
|
|
271
282
|
| 'TheTradeDesk'
|
|
272
283
|
| 'TikTok'
|
|
273
284
|
| 'UniversalAds'
|
|
@@ -275,6 +286,7 @@ export interface DestinationCreateResponse {
|
|
|
275
286
|
| 'Viant'
|
|
276
287
|
| 'ViantCAPI'
|
|
277
288
|
| 'Vibe'
|
|
289
|
+
| 'VibeAudience'
|
|
278
290
|
| 'Woopra'
|
|
279
291
|
| 'XAds'
|
|
280
292
|
| 'YelpCAPI'
|
|
@@ -301,8 +313,8 @@ export interface DestinationRetrieveResponse {
|
|
|
301
313
|
status: 'Disabled' | 'Enabled';
|
|
302
314
|
|
|
303
315
|
/**
|
|
304
|
-
* Destination type. Read responses may include warehouse
|
|
305
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
316
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
317
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
306
318
|
*/
|
|
307
319
|
type:
|
|
308
320
|
| 'AWSEventBridge'
|
|
@@ -331,6 +343,7 @@ export interface DestinationRetrieveResponse {
|
|
|
331
343
|
| 'DomoWarehouse'
|
|
332
344
|
| 'Everflow'
|
|
333
345
|
| 'Facebook'
|
|
346
|
+
| 'FacebookAudience'
|
|
334
347
|
| 'FloodlightSGTM'
|
|
335
348
|
| 'FullContact'
|
|
336
349
|
| 'G4Analytics'
|
|
@@ -339,6 +352,7 @@ export interface DestinationRetrieveResponse {
|
|
|
339
352
|
| 'Google'
|
|
340
353
|
| 'GoogleAds360'
|
|
341
354
|
| 'GoogleAdsServerContainer'
|
|
355
|
+
| 'GoogleAudience'
|
|
342
356
|
| 'GoogleBigQuery'
|
|
343
357
|
| 'GoogleBigQueryWarehouse'
|
|
344
358
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -355,6 +369,7 @@ export interface DestinationRetrieveResponse {
|
|
|
355
369
|
| 'LiveIntent'
|
|
356
370
|
| 'LiveRampWarehouse'
|
|
357
371
|
| 'MNTN'
|
|
372
|
+
| 'MNTNAudience'
|
|
358
373
|
| 'Mailchimp'
|
|
359
374
|
| 'Mixpanel'
|
|
360
375
|
| 'NextdoorAds'
|
|
@@ -369,12 +384,14 @@ export interface DestinationRetrieveResponse {
|
|
|
369
384
|
| 'QuantcastCAPI'
|
|
370
385
|
| 'QuoraAds'
|
|
371
386
|
| 'Reddit'
|
|
387
|
+
| 'Rokt'
|
|
372
388
|
| 'RokuCAPI'
|
|
373
389
|
| 'SnapchatAdsCapi'
|
|
374
390
|
| 'Spotify'
|
|
375
391
|
| 'StackAdaptAPI'
|
|
376
392
|
| 'Taboola'
|
|
377
393
|
| 'Tatari'
|
|
394
|
+
| 'TatariCAPI'
|
|
378
395
|
| 'TheTradeDesk'
|
|
379
396
|
| 'TikTok'
|
|
380
397
|
| 'UniversalAds'
|
|
@@ -382,6 +399,7 @@ export interface DestinationRetrieveResponse {
|
|
|
382
399
|
| 'Viant'
|
|
383
400
|
| 'ViantCAPI'
|
|
384
401
|
| 'Vibe'
|
|
402
|
+
| 'VibeAudience'
|
|
385
403
|
| 'Woopra'
|
|
386
404
|
| 'XAds'
|
|
387
405
|
| 'YelpCAPI'
|
|
@@ -408,8 +426,8 @@ export interface DestinationUpdateResponse {
|
|
|
408
426
|
status: 'Disabled' | 'Enabled';
|
|
409
427
|
|
|
410
428
|
/**
|
|
411
|
-
* Destination type. Read responses may include warehouse
|
|
412
|
-
* that are not creatable through POST /rest/v1/destinations.
|
|
429
|
+
* Destination type. Read responses may include warehouse, cloud-storage, and
|
|
430
|
+
* audience-sync types that are not creatable through POST /rest/v1/destinations.
|
|
413
431
|
*/
|
|
414
432
|
type:
|
|
415
433
|
| 'AWSEventBridge'
|
|
@@ -438,6 +456,7 @@ export interface DestinationUpdateResponse {
|
|
|
438
456
|
| 'DomoWarehouse'
|
|
439
457
|
| 'Everflow'
|
|
440
458
|
| 'Facebook'
|
|
459
|
+
| 'FacebookAudience'
|
|
441
460
|
| 'FloodlightSGTM'
|
|
442
461
|
| 'FullContact'
|
|
443
462
|
| 'G4Analytics'
|
|
@@ -446,6 +465,7 @@ export interface DestinationUpdateResponse {
|
|
|
446
465
|
| 'Google'
|
|
447
466
|
| 'GoogleAds360'
|
|
448
467
|
| 'GoogleAdsServerContainer'
|
|
468
|
+
| 'GoogleAudience'
|
|
449
469
|
| 'GoogleBigQuery'
|
|
450
470
|
| 'GoogleBigQueryWarehouse'
|
|
451
471
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -462,6 +482,7 @@ export interface DestinationUpdateResponse {
|
|
|
462
482
|
| 'LiveIntent'
|
|
463
483
|
| 'LiveRampWarehouse'
|
|
464
484
|
| 'MNTN'
|
|
485
|
+
| 'MNTNAudience'
|
|
465
486
|
| 'Mailchimp'
|
|
466
487
|
| 'Mixpanel'
|
|
467
488
|
| 'NextdoorAds'
|
|
@@ -476,12 +497,14 @@ export interface DestinationUpdateResponse {
|
|
|
476
497
|
| 'QuantcastCAPI'
|
|
477
498
|
| 'QuoraAds'
|
|
478
499
|
| 'Reddit'
|
|
500
|
+
| 'Rokt'
|
|
479
501
|
| 'RokuCAPI'
|
|
480
502
|
| 'SnapchatAdsCapi'
|
|
481
503
|
| 'Spotify'
|
|
482
504
|
| 'StackAdaptAPI'
|
|
483
505
|
| 'Taboola'
|
|
484
506
|
| 'Tatari'
|
|
507
|
+
| 'TatariCAPI'
|
|
485
508
|
| 'TheTradeDesk'
|
|
486
509
|
| 'TikTok'
|
|
487
510
|
| 'UniversalAds'
|
|
@@ -489,6 +512,7 @@ export interface DestinationUpdateResponse {
|
|
|
489
512
|
| 'Viant'
|
|
490
513
|
| 'ViantCAPI'
|
|
491
514
|
| 'Vibe'
|
|
515
|
+
| 'VibeAudience'
|
|
492
516
|
| 'Woopra'
|
|
493
517
|
| 'XAds'
|
|
494
518
|
| 'YelpCAPI'
|
|
@@ -775,6 +799,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
775
799
|
| 'DomoWarehouse'
|
|
776
800
|
| 'Everflow'
|
|
777
801
|
| 'Facebook'
|
|
802
|
+
| 'FacebookAudience'
|
|
778
803
|
| 'FloodlightSGTM'
|
|
779
804
|
| 'FullContact'
|
|
780
805
|
| 'G4Analytics'
|
|
@@ -783,6 +808,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
783
808
|
| 'Google'
|
|
784
809
|
| 'GoogleAds360'
|
|
785
810
|
| 'GoogleAdsServerContainer'
|
|
811
|
+
| 'GoogleAudience'
|
|
786
812
|
| 'GoogleBigQuery'
|
|
787
813
|
| 'GoogleBigQueryWarehouse'
|
|
788
814
|
| 'GoogleDataManagerEventIngest'
|
|
@@ -799,6 +825,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
799
825
|
| 'LiveIntent'
|
|
800
826
|
| 'LiveRampWarehouse'
|
|
801
827
|
| 'MNTN'
|
|
828
|
+
| 'MNTNAudience'
|
|
802
829
|
| 'Mailchimp'
|
|
803
830
|
| 'Mixpanel'
|
|
804
831
|
| 'NextdoorAds'
|
|
@@ -813,12 +840,14 @@ export interface DestinationListParams extends CursorParams {
|
|
|
813
840
|
| 'QuantcastCAPI'
|
|
814
841
|
| 'QuoraAds'
|
|
815
842
|
| 'Reddit'
|
|
843
|
+
| 'Rokt'
|
|
816
844
|
| 'RokuCAPI'
|
|
817
845
|
| 'SnapchatAdsCapi'
|
|
818
846
|
| 'Spotify'
|
|
819
847
|
| 'StackAdaptAPI'
|
|
820
848
|
| 'Taboola'
|
|
821
849
|
| 'Tatari'
|
|
850
|
+
| 'TatariCAPI'
|
|
822
851
|
| 'TheTradeDesk'
|
|
823
852
|
| 'TikTok'
|
|
824
853
|
| 'UniversalAds'
|
|
@@ -826,6 +855,7 @@ export interface DestinationListParams extends CursorParams {
|
|
|
826
855
|
| 'Viant'
|
|
827
856
|
| 'ViantCAPI'
|
|
828
857
|
| 'Vibe'
|
|
858
|
+
| 'VibeAudience'
|
|
829
859
|
| 'Woopra'
|
|
830
860
|
| 'XAds'
|
|
831
861
|
| 'YelpCAPI'
|
|
@@ -836,9 +866,10 @@ export interface DestinationListParams extends CursorParams {
|
|
|
836
866
|
|
|
837
867
|
export interface DestinationCreateParams {
|
|
838
868
|
/**
|
|
839
|
-
* Event-dispatch destination type to create. Warehouse
|
|
840
|
-
* destination types may appear on read responses but are not
|
|
841
|
-
* POST.
|
|
869
|
+
* Event-dispatch destination type to create. Warehouse, cloud-storage, and
|
|
870
|
+
* audience-sync destination types may appear on read responses but are not
|
|
871
|
+
* creatable through POST. Audience destinations receive audience membership from
|
|
872
|
+
* Audience Builder on a daily schedule and are configured in the dashboard.
|
|
842
873
|
*/
|
|
843
874
|
type:
|
|
844
875
|
| 'Audiohook'
|
|
@@ -886,6 +917,7 @@ export interface DestinationCreateParams {
|
|
|
886
917
|
| 'Partnerize'
|
|
887
918
|
| 'NextdoorAds'
|
|
888
919
|
| 'Tatari'
|
|
920
|
+
| 'TatariCAPI'
|
|
889
921
|
| 'Viant'
|
|
890
922
|
| 'ViantCAPI'
|
|
891
923
|
| 'Impact'
|
|
@@ -914,7 +946,8 @@ export interface DestinationCreateParams {
|
|
|
914
946
|
| 'OpenAIAds'
|
|
915
947
|
| 'YelpCAPI'
|
|
916
948
|
| 'MNTN'
|
|
917
|
-
| 'ZohoCRM'
|
|
949
|
+
| 'ZohoCRM'
|
|
950
|
+
| 'Rokt';
|
|
918
951
|
|
|
919
952
|
name?: string | null;
|
|
920
953
|
|