@wix/auto_sdk_promote-google-ads_performance-metrics 1.0.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.
Files changed (52) hide show
  1. package/build/cjs/index.d.ts +70 -0
  2. package/build/cjs/index.js +697 -0
  3. package/build/cjs/index.js.map +1 -0
  4. package/build/cjs/index.typings.d.ts +816 -0
  5. package/build/cjs/index.typings.js +638 -0
  6. package/build/cjs/index.typings.js.map +1 -0
  7. package/build/cjs/meta.d.ts +688 -0
  8. package/build/cjs/meta.js +534 -0
  9. package/build/cjs/meta.js.map +1 -0
  10. package/build/cjs/schemas.d.ts +616 -0
  11. package/build/cjs/schemas.js +981 -0
  12. package/build/cjs/schemas.js.map +1 -0
  13. package/build/es/index.d.mts +70 -0
  14. package/build/es/index.mjs +658 -0
  15. package/build/es/index.mjs.map +1 -0
  16. package/build/es/index.typings.d.mts +816 -0
  17. package/build/es/index.typings.mjs +599 -0
  18. package/build/es/index.typings.mjs.map +1 -0
  19. package/build/es/meta.d.mts +688 -0
  20. package/build/es/meta.mjs +492 -0
  21. package/build/es/meta.mjs.map +1 -0
  22. package/build/es/package.json +3 -0
  23. package/build/es/schemas.d.mts +616 -0
  24. package/build/es/schemas.mjs +933 -0
  25. package/build/es/schemas.mjs.map +1 -0
  26. package/build/internal/cjs/index.d.ts +70 -0
  27. package/build/internal/cjs/index.js +697 -0
  28. package/build/internal/cjs/index.js.map +1 -0
  29. package/build/internal/cjs/index.typings.d.ts +816 -0
  30. package/build/internal/cjs/index.typings.js +638 -0
  31. package/build/internal/cjs/index.typings.js.map +1 -0
  32. package/build/internal/cjs/meta.d.ts +688 -0
  33. package/build/internal/cjs/meta.js +534 -0
  34. package/build/internal/cjs/meta.js.map +1 -0
  35. package/build/internal/cjs/schemas.d.ts +616 -0
  36. package/build/internal/cjs/schemas.js +981 -0
  37. package/build/internal/cjs/schemas.js.map +1 -0
  38. package/build/internal/es/index.d.mts +70 -0
  39. package/build/internal/es/index.mjs +658 -0
  40. package/build/internal/es/index.mjs.map +1 -0
  41. package/build/internal/es/index.typings.d.mts +816 -0
  42. package/build/internal/es/index.typings.mjs +599 -0
  43. package/build/internal/es/index.typings.mjs.map +1 -0
  44. package/build/internal/es/meta.d.mts +688 -0
  45. package/build/internal/es/meta.mjs +492 -0
  46. package/build/internal/es/meta.mjs.map +1 -0
  47. package/build/internal/es/schemas.d.mts +616 -0
  48. package/build/internal/es/schemas.mjs +933 -0
  49. package/build/internal/es/schemas.mjs.map +1 -0
  50. package/meta/package.json +3 -0
  51. package/package.json +61 -0
  52. package/schemas/package.json +3 -0
@@ -0,0 +1,816 @@
1
+ import { NonNullablePaths } from '@wix/sdk-types';
2
+
3
+ interface PerformanceMetrics {
4
+ /**
5
+ * Number of times the ad was shown.
6
+ * @readonly
7
+ */
8
+ impressions?: number;
9
+ /**
10
+ * Number of clicks on the ad.
11
+ * @readonly
12
+ */
13
+ clicks?: number;
14
+ /**
15
+ * Click-through rate expressed as a decimal, for example 0.05 for 5%.
16
+ * @readonly
17
+ */
18
+ ctr?: number;
19
+ /**
20
+ * Date of this metric row, in YYYY-MM-DD format.
21
+ * @readonly
22
+ */
23
+ date?: string;
24
+ /**
25
+ * Google Ads resource name of the campaign, in the format `customers/{customerId}/campaigns/{campaignId}`.
26
+ * @readonly
27
+ */
28
+ campaignResourceName?: string;
29
+ /**
30
+ * Number of phone calls initiated through the ad.
31
+ * @readonly
32
+ */
33
+ phoneCalls?: number;
34
+ /** Number of leads generated by the campaign. */
35
+ leads?: number;
36
+ /** Total amount spent in the account's currency. Already converted from micros. */
37
+ cost?: number;
38
+ /** Click count broken down by the ad network that served the ad. */
39
+ clicksByAdNetworkType?: AdNetworkTypeSegmentation;
40
+ /** Impression count broken down by the ad network that served the ad. */
41
+ impressionsByAdNetworkType?: AdNetworkTypeSegmentation;
42
+ }
43
+ interface AdNetworkTypeSegmentation {
44
+ /** Count of the metric attributed to Google Search. */
45
+ search?: number;
46
+ /**
47
+ * Count of the metric attributed to ad networks not individually listed here.
48
+ * For Smart campaigns this includes all non-search networks such as display, video, and partner networks.
49
+ * For Performance Max campaigns this captures any networks beyond the ones explicitly broken out below.
50
+ */
51
+ other?: number;
52
+ /** Count of the metric attributed to Gmail placements. */
53
+ gmail?: number;
54
+ /** Count of the metric attributed to YouTube placements. */
55
+ youtube?: number;
56
+ /** Count of the metric attributed to Google Discover placements. */
57
+ discover?: number;
58
+ /** Count of the metric attributed to the Google Display Network. */
59
+ display?: number;
60
+ /** Count of the metric attributed to Google Search partner sites. */
61
+ searchPartners?: number;
62
+ }
63
+ interface QuerySearchTermMetricsRequest {
64
+ /**
65
+ * Google Ads resource name of the Smart campaign to query, in the format `customers/{customerId}/campaigns/{campaignId}`.
66
+ * @maxLength 1000
67
+ */
68
+ campaignResourceName: string;
69
+ /**
70
+ * Filters results to search terms whose text contains this string. When omitted, all search terms are returned.
71
+ * @maxLength 1000
72
+ */
73
+ searchTermText?: string | null;
74
+ /** Filters results to an explicit list of search term texts. When combined with searchTermText, only terms matching both conditions are returned. */
75
+ searchTermTextsFilter?: SearchTermTextsFilter;
76
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
77
+ dateRange?: DateRange;
78
+ /** Sorting to apply. Defaults to descending by cost when omitted. */
79
+ sort?: SearchTermSorting;
80
+ /** Paging to apply. */
81
+ paging?: Paging;
82
+ }
83
+ interface SearchTermTextsFilter {
84
+ /** Whether to include or exclude search terms that match the provided list. */
85
+ type?: SearchTermTextFilterTypeWithLiterals;
86
+ /**
87
+ * Exact search term texts to filter by.
88
+ * @maxSize 1000
89
+ * @maxLength 1000
90
+ */
91
+ searchTermTexts?: string[] | null;
92
+ }
93
+ declare enum SearchTermTextFilterType {
94
+ /** Unknown filter type. Do not use. */
95
+ UNSPECIFIED = "UNSPECIFIED",
96
+ /** Return only search terms that appear in the provided list. */
97
+ MATCH = "MATCH",
98
+ /** Return only search terms that do not appear in the provided list. */
99
+ NOT_MATCH = "NOT_MATCH"
100
+ }
101
+ /** @enumType */
102
+ type SearchTermTextFilterTypeWithLiterals = SearchTermTextFilterType | 'UNSPECIFIED' | 'MATCH' | 'NOT_MATCH';
103
+ interface DateRange extends DateRangeRangeOneOf {
104
+ /** Custom date range */
105
+ custom?: CustomDateRange;
106
+ /** Predefined date range */
107
+ predefined?: PredefinedDateRangeWithLiterals;
108
+ }
109
+ /** @oneof */
110
+ interface DateRangeRangeOneOf {
111
+ /** Custom date range */
112
+ custom?: CustomDateRange;
113
+ /** Predefined date range */
114
+ predefined?: PredefinedDateRangeWithLiterals;
115
+ }
116
+ interface CustomDateRange {
117
+ /**
118
+ * Date in format YYYY-MM-DD
119
+ * @maxLength 20
120
+ */
121
+ from?: string;
122
+ /**
123
+ * Date in format YYYY-MM-DD
124
+ * @maxLength 20
125
+ */
126
+ to?: string;
127
+ }
128
+ declare enum PredefinedDateRange {
129
+ /** Today only. */
130
+ UNSPECIFIED = "UNSPECIFIED",
131
+ /** Today only. */
132
+ TODAY = "TODAY",
133
+ /** Yesterday only. */
134
+ YESTERDAY = "YESTERDAY",
135
+ /** The last 7 days not including today. */
136
+ LAST_7_DAYS = "LAST_7_DAYS",
137
+ /** The 5 day business week, Monday through Friday, of the previous business week. */
138
+ LAST_BUSINESS_WEEK = "LAST_BUSINESS_WEEK",
139
+ /** All days in the current month. */
140
+ THIS_MONTH = "THIS_MONTH",
141
+ /** All days in the previous month */
142
+ LAST_MONTH = "LAST_MONTH",
143
+ /** The last 14 days not including today. */
144
+ LAST_14_DAYS = "LAST_14_DAYS",
145
+ /** The last 30 days not including today. */
146
+ LAST_30_DAYS = "LAST_30_DAYS",
147
+ /** The period between the previous Sunday and the current day. */
148
+ THIS_WEEK_SUN_TODAY = "THIS_WEEK_SUN_TODAY",
149
+ /** The period between the previous Monday and the current day. */
150
+ THIS_WEEK_MON_TODAY = "THIS_WEEK_MON_TODAY",
151
+ /** The 7-day period starting with the previous Monday. */
152
+ LAST_WEEK_SUN_SAT = "LAST_WEEK_SUN_SAT",
153
+ /** The 7-day period starting with the previous Sunday. */
154
+ LAST_WEEK_MON_SUN = "LAST_WEEK_MON_SUN",
155
+ /** Since beginning of campaign */
156
+ LIFETIME = "LIFETIME"
157
+ }
158
+ /** @enumType */
159
+ type PredefinedDateRangeWithLiterals = PredefinedDateRange | 'UNSPECIFIED' | 'TODAY' | 'YESTERDAY' | 'LAST_7_DAYS' | 'LAST_BUSINESS_WEEK' | 'THIS_MONTH' | 'LAST_MONTH' | 'LAST_14_DAYS' | 'LAST_30_DAYS' | 'THIS_WEEK_SUN_TODAY' | 'THIS_WEEK_MON_TODAY' | 'LAST_WEEK_SUN_SAT' | 'LAST_WEEK_MON_SUN' | 'LIFETIME';
160
+ interface SearchTermSorting {
161
+ /** Metric field to sort by. */
162
+ field?: SearchTermQueryFieldsWithLiterals;
163
+ /** Sort direction. */
164
+ order?: SortOrderWithLiterals;
165
+ }
166
+ declare enum SearchTermQueryFields {
167
+ /** Unknown field. Do not use. */
168
+ UNSPECIFIED = "UNSPECIFIED",
169
+ /** Number of times the ad was shown for this search term. */
170
+ IMPRESSIONS = "IMPRESSIONS",
171
+ /** Number of clicks on the ad for this search term. */
172
+ CLICKS = "CLICKS",
173
+ /** Total amount spent on ads triggered by this search term, in the account's currency. */
174
+ COST = "COST",
175
+ /** The search term text entered by the user. */
176
+ SEARCH_TERM = "SEARCH_TERM"
177
+ }
178
+ /** @enumType */
179
+ type SearchTermQueryFieldsWithLiterals = SearchTermQueryFields | 'UNSPECIFIED' | 'IMPRESSIONS' | 'CLICKS' | 'COST' | 'SEARCH_TERM';
180
+ declare enum SortOrder {
181
+ /** Ascending order */
182
+ ASC = "ASC",
183
+ /** Descending order */
184
+ DESC = "DESC"
185
+ }
186
+ /** @enumType */
187
+ type SortOrderWithLiterals = SortOrder | 'ASC' | 'DESC';
188
+ interface Paging {
189
+ /**
190
+ * Next page token can be used in subsequent requests to fetch the next page of results
191
+ * @maxLength 100
192
+ */
193
+ nextPageToken?: string | null;
194
+ /** Size of page to return */
195
+ pageSize?: number;
196
+ }
197
+ interface QuerySearchTermMetricsResponse {
198
+ /**
199
+ * Per-search-term metric results for the requested page.
200
+ * @maxSize 1000
201
+ */
202
+ results?: SearchTermMetrics[];
203
+ /** Aggregated totals across all search terms, not just the current page. */
204
+ summaryRow?: SearchTermMetrics;
205
+ /**
206
+ * Token to pass in the next request to retrieve the following page of results.
207
+ * @maxLength 1000
208
+ */
209
+ nextPageToken?: string | null;
210
+ }
211
+ interface SearchTermMetrics {
212
+ /**
213
+ * Number of times the ad was shown for this search term.
214
+ * @readonly
215
+ */
216
+ impressions?: number;
217
+ /**
218
+ * Number of clicks on the ad for this search term.
219
+ * @readonly
220
+ */
221
+ clicks?: number;
222
+ /**
223
+ * Total amount spent on ads triggered by this search term, in the account's currency.
224
+ * @readonly
225
+ */
226
+ cost?: number;
227
+ /**
228
+ * The search term text entered by the user that triggered the ad.
229
+ * @readonly
230
+ * @maxLength 1000
231
+ */
232
+ searchTerm?: string | null;
233
+ }
234
+ interface QueryPerformanceMetricsRequest {
235
+ /**
236
+ * Google Ads resource name of the campaign to query, in the format `customers/{customerId}/campaigns/{campaignId}`.
237
+ * @maxLength 1000
238
+ */
239
+ campaignResourceName: string;
240
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
241
+ dateRange?: DateRange;
242
+ /** Sorting to apply. Defaults to descending by date when omitted. */
243
+ sort?: PerformanceSorting;
244
+ /**
245
+ * Metrics to include in each result row. When omitted, defaults to clicks, impressions, CTR, cost, phone calls, and date.
246
+ * @maxSize 1000
247
+ */
248
+ fields?: PerformanceQueryFieldsWithLiterals[];
249
+ /** When true, the response includes previousPeriodSummaryRow and trends showing percentage changes relative to the equivalent preceding period. */
250
+ includePreviousPeriod?: boolean | null;
251
+ }
252
+ interface PerformanceSorting {
253
+ /** Metric field to sort by. */
254
+ field?: PerformanceQueryFieldsWithLiterals;
255
+ /** Sort direction. */
256
+ order?: SortOrderWithLiterals;
257
+ }
258
+ declare enum PerformanceQueryFields {
259
+ /** Unknown field. Do not use. */
260
+ UNSPECIFIED = "UNSPECIFIED",
261
+ /** Number of times the ad was shown. */
262
+ IMPRESSIONS = "IMPRESSIONS",
263
+ /** Number of clicks on the ad. */
264
+ CLICKS = "CLICKS",
265
+ /** Click-through rate expressed as a decimal, for example 0.05 for 5%. */
266
+ CTR = "CTR",
267
+ /** The date of the metric row, in YYYY-MM-DD format. */
268
+ DATE = "DATE",
269
+ /** Number of phone calls initiated through the ad. */
270
+ PHONE_CALLS = "PHONE_CALLS",
271
+ /** Number of leads generated by the campaign. */
272
+ LEADS = "LEADS",
273
+ /** Total amount spent on the campaign in the account's currency. */
274
+ COST = "COST",
275
+ /** Average cost per click in the account's currency. */
276
+ COST_PER_CLICK = "COST_PER_CLICK",
277
+ /** Click count broken down by ad network type. */
278
+ CLICKS_BY_AD_NETWORK_TYPE = "CLICKS_BY_AD_NETWORK_TYPE",
279
+ /** Impression count broken down by ad network type. */
280
+ IMPRESSIONS_BY_AD_NETWORK_TYPE = "IMPRESSIONS_BY_AD_NETWORK_TYPE"
281
+ }
282
+ /** @enumType */
283
+ type PerformanceQueryFieldsWithLiterals = PerformanceQueryFields | 'UNSPECIFIED' | 'IMPRESSIONS' | 'CLICKS' | 'CTR' | 'DATE' | 'PHONE_CALLS' | 'LEADS' | 'COST' | 'COST_PER_CLICK' | 'CLICKS_BY_AD_NETWORK_TYPE' | 'IMPRESSIONS_BY_AD_NETWORK_TYPE';
284
+ interface QueryPerformanceMetricsResponse {
285
+ /**
286
+ * Daily performance metric rows for the requested date range.
287
+ * @maxSize 1000
288
+ */
289
+ results?: PerformanceMetrics[];
290
+ /** Aggregated totals across all result rows. */
291
+ summaryRow?: PerformanceMetrics;
292
+ /** Aggregated totals for the equivalent preceding period. Only present when includePreviousPeriod was true. */
293
+ previousPeriodSummaryRow?: PerformanceMetrics;
294
+ /** Decimal percentage changes between the current and previous period summary rows. Only present when includePreviousPeriod was true. */
295
+ trends?: PerformanceMetricsTrends;
296
+ }
297
+ interface PerformanceMetricsTrends {
298
+ /**
299
+ * Impressions change as a decimal percentage, for example 0.10 for a 10% increase or -0.05 for a 5% decrease.
300
+ * @readonly
301
+ */
302
+ impressions?: number | null;
303
+ /**
304
+ * Clicks change as a decimal percentage, for example 0.10 for a 10% increase or -0.05 for a 5% decrease.
305
+ * @readonly
306
+ */
307
+ clicks?: number | null;
308
+ /**
309
+ * CTR change as a decimal percentage, for example 0.10 for a 10% increase or -0.05 for a 5% decrease.
310
+ * @readonly
311
+ */
312
+ ctr?: number | null;
313
+ /**
314
+ * Phone calls change as a decimal percentage, for example 0.10 for a 10% increase or -0.05 for a 5% decrease.
315
+ * @readonly
316
+ */
317
+ phoneCalls?: number | null;
318
+ /** Leads change as a decimal percentage, for example 0.10 for a 10% increase or -0.05 for a 5% decrease. */
319
+ leads?: number | null;
320
+ /** Cost change as a decimal percentage, for example 0.10 for a 10% increase or -0.05 for a 5% decrease. */
321
+ cost?: number | null;
322
+ }
323
+ interface QueryConversionMetricsRequest {
324
+ /**
325
+ * Wix internal campaign ID (GUID) of the campaign to query.
326
+ * @format GUID
327
+ */
328
+ campaignId: string;
329
+ /** Date range to query. Required. */
330
+ dateRange: DateRange;
331
+ }
332
+ interface QueryConversionMetricsResponse {
333
+ /** Aggregated conversion totals for the campaign over the requested date range. */
334
+ summaryRow?: ConversionMetrics;
335
+ }
336
+ interface ConversionMetrics {
337
+ /**
338
+ * Orders / Sales
339
+ * @readonly
340
+ */
341
+ orders?: number;
342
+ /**
343
+ * Revenue
344
+ * @readonly
345
+ */
346
+ revenue?: number | null;
347
+ /**
348
+ * Date
349
+ * @readonly
350
+ */
351
+ date?: string | null;
352
+ /**
353
+ * Leads
354
+ * @readonly
355
+ */
356
+ leads?: number;
357
+ /**
358
+ * Cost per lead. Total spend on camapign on that period / Leads. If leads = 0 or spend = 0 then undefined
359
+ * @readonly
360
+ */
361
+ cpl?: number | null;
362
+ /**
363
+ * Conversion rate. Leads / Clicks. If leads = 0 or clicks = 0 then undefined
364
+ * @readonly
365
+ */
366
+ leadsConversionRate?: number | null;
367
+ /**
368
+ * Cost per purchase. Total spend on camapign on that period / Orders(Sales), If orders = 0 or spend = 0 then undefined
369
+ * @readonly
370
+ */
371
+ cpp?: number | null;
372
+ /**
373
+ * Return on ad spend. Revenue / Total spend on camapign on that period, If revenue = 0 or spend = 0 then undefined
374
+ * @readonly
375
+ */
376
+ roas?: number | null;
377
+ }
378
+ interface QueryShoppingPerformanceMetricsRequest {
379
+ /** Wix internal campaign ID (GUID) of the shopping or retail Performance Max campaign to query. */
380
+ campaignId: string;
381
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
382
+ dateRange?: DateRange;
383
+ /** Sorting to apply. Defaults to descending by date when omitted. */
384
+ sort?: PerformanceSorting;
385
+ /**
386
+ * Metrics to include in each result row. When omitted, all available fields are returned.
387
+ * @maxSize 1000
388
+ */
389
+ fields?: PerformanceQueryFieldsWithLiterals[];
390
+ /** Paging to apply. */
391
+ paging?: Paging;
392
+ /** Controls whether the response contains per-product results, a summary row, or both. */
393
+ resultSetting?: ShoppingPerformanceResultSettingWithLiterals;
394
+ }
395
+ declare enum ShoppingPerformanceResultSetting {
396
+ /** Unknown result setting. Do not use. */
397
+ UNSPECIFIED = "UNSPECIFIED",
398
+ /** Return only the summaryRow. Per-product results are omitted. */
399
+ SUMMARY_ONLY = "SUMMARY_ONLY",
400
+ /** Return only the per-product result rows. The summaryRow is omitted. */
401
+ RESULTS_ONLY = "RESULTS_ONLY",
402
+ /** Return both per-product result rows and the summaryRow. */
403
+ SUMMARY_AND_RESULTS = "SUMMARY_AND_RESULTS"
404
+ }
405
+ /** @enumType */
406
+ type ShoppingPerformanceResultSettingWithLiterals = ShoppingPerformanceResultSetting | 'UNSPECIFIED' | 'SUMMARY_ONLY' | 'RESULTS_ONLY' | 'SUMMARY_AND_RESULTS';
407
+ interface QueryShoppingPerformanceMetricsResponse {
408
+ /**
409
+ * Per-product performance metric rows for the requested page.
410
+ * @maxSize 10000
411
+ */
412
+ results?: ShoppingPerformanceMetrics[];
413
+ /** Aggregated totals across all products. */
414
+ summaryRow?: ShoppingPerformanceMetricsSummary;
415
+ /** Token to pass in the next request to retrieve the following page of results. */
416
+ nextPageToken?: string | null;
417
+ }
418
+ interface ShoppingPerformanceMetrics {
419
+ /**
420
+ * Number of times the product ad was shown.
421
+ * @readonly
422
+ */
423
+ impressions?: number;
424
+ /**
425
+ * Number of clicks on the product ad.
426
+ * @readonly
427
+ */
428
+ clicks?: number;
429
+ /**
430
+ * Click-through rate expressed as a decimal, for example 0.05 for 5%.
431
+ * @readonly
432
+ */
433
+ ctr?: number;
434
+ /**
435
+ * Date of this metric row, in YYYY-MM-DD format.
436
+ * @readonly
437
+ */
438
+ date?: string;
439
+ /**
440
+ * Google Ads resource name of the campaign, in the format `customers/{customerId}/campaigns/{campaignId}`.
441
+ * @readonly
442
+ */
443
+ campaignResourceName?: string;
444
+ /**
445
+ * Total amount spent on this product in the account's currency.
446
+ * @readonly
447
+ */
448
+ cost?: number;
449
+ /**
450
+ * Display title of the product.
451
+ * @readonly
452
+ */
453
+ productTitle?: string;
454
+ /**
455
+ * URL of the product's image.
456
+ * @readonly
457
+ */
458
+ productImageUrl?: string;
459
+ /**
460
+ * Conversion rate for this product. Always returns 0 because conversions are not queried from Google Ads for shopping campaigns.
461
+ * @readonly
462
+ */
463
+ conversionRate?: number;
464
+ /**
465
+ * Number of conversions attributed to this product. Always returns 0 because conversions are not queried from Google Ads for shopping campaigns.
466
+ * @readonly
467
+ */
468
+ conversions?: number;
469
+ /**
470
+ * Average cost per click in the account's currency.
471
+ * @readonly
472
+ */
473
+ costPerClick?: number;
474
+ /**
475
+ * Wix product ID resolved from the Google Ads product item ID.
476
+ * @readonly
477
+ */
478
+ productId?: string;
479
+ }
480
+ interface ShoppingPerformanceMetricsSummary {
481
+ /**
482
+ * Total number of conversions or purchases across all products.
483
+ * @readonly
484
+ */
485
+ totalConversions?: number;
486
+ /**
487
+ * Total revenue across all products in the account's currency.
488
+ * @readonly
489
+ */
490
+ totalRevenue?: number;
491
+ /**
492
+ * Return on ad spend (revenue divided by cost).
493
+ * @readonly
494
+ */
495
+ roas?: number;
496
+ /**
497
+ * Whether additional results exist for the campaign regardless of the current date filters.
498
+ * @readonly
499
+ */
500
+ moreResultsAvailable?: boolean;
501
+ }
502
+ interface QuerySearchTermMetricsV2Request {
503
+ /**
504
+ * Wix internal campaign ID (GUID) of the campaign to query.
505
+ * @format GUID
506
+ */
507
+ campaignId: string;
508
+ /**
509
+ * Filters results to search terms whose text contains this string. When omitted, all search terms are returned.
510
+ * @maxLength 1000
511
+ */
512
+ searchTermText?: string | null;
513
+ /** Filters results to an explicit list of search term texts. When combined with searchTermText, only terms matching both conditions are returned. */
514
+ searchTermTextsFilter?: SearchTermTextsFilter;
515
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
516
+ dateRange?: DateRange;
517
+ /** Sorting to apply. Defaults to descending by cost when omitted. */
518
+ sort?: SearchTermSorting;
519
+ /** Paging to apply. */
520
+ paging?: Paging;
521
+ }
522
+ interface QuerySearchTermMetricsV2Response {
523
+ /**
524
+ * Per-search-term metric results for the requested page.
525
+ * @maxSize 1000
526
+ */
527
+ results?: SearchTermMetrics[];
528
+ /** Aggregated totals across all search terms, not just the current page. */
529
+ summaryRow?: SearchTermMetrics;
530
+ /**
531
+ * Token to pass in the next request to retrieve the following page of results.
532
+ * @maxLength 1000
533
+ */
534
+ nextPageToken?: string | null;
535
+ }
536
+ interface QueryAssetPerformanceMetricsRequest {
537
+ /**
538
+ * Wix internal campaign ID (GUID) of the Performance Max campaign to query.
539
+ * @format GUID
540
+ */
541
+ campaignId: string;
542
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
543
+ dateRange?: DateRange;
544
+ /** Sorting to apply. Defaults to descending by impressions when omitted. */
545
+ sort?: AssetPerformanceSorting;
546
+ /**
547
+ * Metrics to include in each result row. When omitted, all available fields are returned.
548
+ * @maxSize 1000
549
+ */
550
+ fields?: AssetPerformanceQueryFieldsWithLiterals[];
551
+ /** Filters to narrow results to specific asset types. */
552
+ filter?: AssetPerformanceMetricsFilter;
553
+ }
554
+ interface AssetPerformanceSorting {
555
+ /** Metric field to sort by. */
556
+ field?: AssetPerformanceQueryFieldsWithLiterals;
557
+ /** Sort direction. */
558
+ order?: SortOrderWithLiterals;
559
+ }
560
+ declare enum AssetPerformanceQueryFields {
561
+ /** Unknown field. Do not use. */
562
+ UNSPECIFIED = "UNSPECIFIED",
563
+ /** Number of times the ad containing this asset was shown. */
564
+ IMPRESSIONS = "IMPRESSIONS",
565
+ /** Number of clicks on the ad containing this asset. */
566
+ CLICKS = "CLICKS",
567
+ /** Click-through rate for the ad containing this asset, expressed as a decimal. */
568
+ CTR = "CTR",
569
+ /** Total amount spent on ads containing this asset, in the account's currency. */
570
+ COST = "COST",
571
+ /** Whether the asset was created by the advertiser or automatically generated by Google Ads. */
572
+ ASSET_SOURCE = "ASSET_SOURCE"
573
+ }
574
+ /** @enumType */
575
+ type AssetPerformanceQueryFieldsWithLiterals = AssetPerformanceQueryFields | 'UNSPECIFIED' | 'IMPRESSIONS' | 'CLICKS' | 'CTR' | 'COST' | 'ASSET_SOURCE';
576
+ interface AssetPerformanceMetricsFilter {
577
+ /**
578
+ * Asset field types to include in results. When omitted or empty, all asset types are returned.
579
+ * @maxSize 50
580
+ */
581
+ assetTypes?: AssetFieldTypeWithLiterals[];
582
+ }
583
+ declare enum AssetFieldType {
584
+ /** Short headline shown in ads. At least 3 required; up to 15 allowed. Maximum 30 characters. */
585
+ HEADLINE = "HEADLINE",
586
+ /** Longer headline used in certain ad formats. Exactly 1 required. Maximum 90 characters. */
587
+ LONG_HEADLINE = "LONG_HEADLINE",
588
+ /** Description shown below the headline. At least 2 required; up to 4 allowed. Maximum 90 characters. */
589
+ DESCRIPTION = "DESCRIPTION",
590
+ /** Business name shown in the ad. Exactly 1 required. Maximum 25 characters. */
591
+ BUSINESS_NAME = "BUSINESS_NAME",
592
+ /** Landscape marketing image with a 1.91:1 aspect ratio (e.g. 1200x628). Multiple images allowed. */
593
+ MARKETING_IMAGE = "MARKETING_IMAGE",
594
+ /** Square marketing image with a 1:1 aspect ratio (e.g. 1200x1200). Multiple images allowed. */
595
+ SQUARE_MARKETING_IMAGE = "SQUARE_MARKETING_IMAGE",
596
+ /** Square logo with a 1:1 aspect ratio (e.g. 1200x1200). A transparent background is recommended. */
597
+ LOGO = "LOGO",
598
+ /** Portrait marketing image with a 4:5 aspect ratio (e.g. 960x1200). Multiple images allowed. */
599
+ PORTRAIT_MARKETING_IMAGE = "PORTRAIT_MARKETING_IMAGE",
600
+ /** Landscape logo with a 4:1 aspect ratio (e.g. 1200x300). */
601
+ LANDSCAPE_LOGO = "LANDSCAPE_LOGO",
602
+ /** Call-to-action button label. Select a value from CallToActionType. Optional. */
603
+ CALL_TO_ACTION_SELECTION = "CALL_TO_ACTION_SELECTION",
604
+ /** YouTube video asset identified by an 11-character video ID. 1 to 5 videos recommended. */
605
+ YOUTUBE_VIDEO = "YOUTUBE_VIDEO",
606
+ /** HTML5 media bundle (ZIP file). Mutate-only in Google Ads. */
607
+ MEDIA_BUNDLE = "MEDIA_BUNDLE"
608
+ }
609
+ /** @enumType */
610
+ type AssetFieldTypeWithLiterals = AssetFieldType | 'HEADLINE' | 'LONG_HEADLINE' | 'DESCRIPTION' | 'BUSINESS_NAME' | 'MARKETING_IMAGE' | 'SQUARE_MARKETING_IMAGE' | 'LOGO' | 'PORTRAIT_MARKETING_IMAGE' | 'LANDSCAPE_LOGO' | 'CALL_TO_ACTION_SELECTION' | 'YOUTUBE_VIDEO' | 'MEDIA_BUNDLE';
611
+ interface QueryAssetPerformanceMetricsResponse {
612
+ /**
613
+ * Per-asset performance metric rows.
614
+ * @maxSize 1000
615
+ */
616
+ results?: AssetPerformanceMetrics[];
617
+ /** Aggregated totals across all assets. */
618
+ summaryRow?: PerformanceMetrics;
619
+ }
620
+ interface AssetPerformanceMetrics {
621
+ /**
622
+ * Google Ads resource name of the asset group asset.
623
+ * @readonly
624
+ * @maxLength 1000
625
+ */
626
+ assetResourceName?: string | null;
627
+ /** Role the asset plays in the ad, for example HEADLINE, LONG_HEADLINE, DESCRIPTION, or MARKETING_IMAGE. */
628
+ assetFieldType?: AssetFieldTypeWithLiterals;
629
+ /**
630
+ * Content of the asset. For text assets this is the text itself. For image assets this is the image URL.
631
+ * @maxLength 1000
632
+ */
633
+ assetContent?: string | null;
634
+ /** Aggregated performance metrics (clicks, impressions, CTR, cost) for this asset. */
635
+ metrics?: PerformanceMetrics;
636
+ /** Google Ads performance label assigned to this asset based on its status and relative CTR. */
637
+ performanceLabel?: AssetPerformanceLabelWithLiterals;
638
+ /** Whether the asset was created by the advertiser or automatically generated by Google Ads. */
639
+ assetSource?: AssetSourceWithLiterals;
640
+ }
641
+ declare enum AssetPerformanceLabel {
642
+ /** Unknown performance label. */
643
+ UNKNOWN = "UNKNOWN",
644
+ /** Asset has been submitted but Google Ads has not yet assigned a performance label. */
645
+ PENDING = "PENDING",
646
+ /** Asset was disapproved by Google Ads policy review. */
647
+ DISAPPROVED = "DISAPPROVED",
648
+ /** Asset is in the learning phase and does not yet have enough data for a label. */
649
+ LEARNING = "LEARNING",
650
+ /** Asset CTR is below the threshold for its asset type. */
651
+ LOW = "LOW",
652
+ /** Asset CTR is between the low and excellent thresholds for its asset type. */
653
+ GOOD = "GOOD",
654
+ /** Asset CTR is at or above the excellent threshold for its asset type. */
655
+ EXCELLENT = "EXCELLENT"
656
+ }
657
+ /** @enumType */
658
+ type AssetPerformanceLabelWithLiterals = AssetPerformanceLabel | 'UNKNOWN' | 'PENDING' | 'DISAPPROVED' | 'LEARNING' | 'LOW' | 'GOOD' | 'EXCELLENT';
659
+ declare enum AssetSource {
660
+ /** Unknown asset source. */
661
+ UNKNOWN = "UNKNOWN",
662
+ /** Asset was created and uploaded by the advertiser. */
663
+ ADVERTISER = "ADVERTISER",
664
+ /** Asset was automatically generated by Google Ads. */
665
+ AUTOMATICALLY_CREATED = "AUTOMATICALLY_CREATED"
666
+ }
667
+ /** @enumType */
668
+ type AssetSourceWithLiterals = AssetSource | 'UNKNOWN' | 'ADVERTISER' | 'AUTOMATICALLY_CREATED';
669
+ /**
670
+ * Retrieves a list of search terms that triggered a Smart campaign's ads, given the provided filtering and sorting.
671
+ * Only supported for Smart campaigns. For Performance Max Leads campaigns, use QuerySearchTermMetricsV2.
672
+ * @param campaignResourceName - Google Ads resource name of the Smart campaign to query, in the format `customers/{customerId}/campaigns/{campaignId}`.
673
+ * @public
674
+ * @documentationMaturity preview
675
+ * @requiredField campaignResourceName
676
+ * @permissionId PROMOTE.GOOGLE_ADS_CAMPAIGN_READ
677
+ * @fqn wix.promote_paid_ads.google_ads.v1.AnalyticsService.QuerySearchTermMetrics
678
+ */
679
+ declare function querySearchTermMetrics(campaignResourceName: string, options?: QuerySearchTermMetricsOptions): Promise<NonNullablePaths<QuerySearchTermMetricsResponse, `results` | `results.${number}.impressions` | `results.${number}.clicks` | `results.${number}.cost` | `summaryRow.impressions` | `summaryRow.clicks` | `summaryRow.cost`, 4>>;
680
+ interface QuerySearchTermMetricsOptions {
681
+ /**
682
+ * Filters results to search terms whose text contains this string. When omitted, all search terms are returned.
683
+ * @maxLength 1000
684
+ */
685
+ searchTermText?: string | null;
686
+ /** Filters results to an explicit list of search term texts. When combined with searchTermText, only terms matching both conditions are returned. */
687
+ searchTermTextsFilter?: SearchTermTextsFilter;
688
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
689
+ dateRange?: DateRange;
690
+ /** Sorting to apply. Defaults to descending by cost when omitted. */
691
+ sort?: SearchTermSorting;
692
+ /** Paging to apply. */
693
+ paging?: Paging;
694
+ }
695
+ /**
696
+ * Retrieves a list of daily performance metrics for a campaign, given the provided filtering and sorting.
697
+ * Queries clicks, impressions, CTR, cost, leads, and phone calls from Google Ads in parallel.
698
+ * Use the fields parameter to control which metrics are returned. When includePreviousPeriod is true,
699
+ * the response also includes a previousPeriodSummaryRow and trends showing decimal percentage changes.
700
+ * @param campaignResourceName - Google Ads resource name of the campaign to query, in the format `customers/{customerId}/campaigns/{campaignId}`.
701
+ * @public
702
+ * @documentationMaturity preview
703
+ * @requiredField campaignResourceName
704
+ * @permissionId PROMOTE.GOOGLE_ADS_CAMPAIGN_READ
705
+ * @fqn wix.promote_paid_ads.google_ads.v1.AnalyticsService.QueryPerformanceMetrics
706
+ */
707
+ declare function queryPerformanceMetrics(campaignResourceName: string, options?: QueryPerformanceMetricsOptions): Promise<NonNullablePaths<QueryPerformanceMetricsResponse, `results` | `results.${number}.impressions` | `results.${number}.clicks` | `results.${number}.ctr` | `results.${number}.date` | `results.${number}.campaignResourceName` | `results.${number}.phoneCalls` | `results.${number}.leads` | `results.${number}.cost` | `results.${number}.clicksByAdNetworkType.search` | `results.${number}.clicksByAdNetworkType.other` | `results.${number}.clicksByAdNetworkType.gmail` | `results.${number}.clicksByAdNetworkType.youtube` | `results.${number}.clicksByAdNetworkType.discover` | `results.${number}.clicksByAdNetworkType.display` | `results.${number}.clicksByAdNetworkType.searchPartners` | `summaryRow.impressions` | `summaryRow.clicks` | `summaryRow.ctr` | `summaryRow.date` | `summaryRow.campaignResourceName` | `summaryRow.phoneCalls` | `summaryRow.leads` | `summaryRow.cost` | `summaryRow.clicksByAdNetworkType.search` | `summaryRow.clicksByAdNetworkType.other` | `summaryRow.clicksByAdNetworkType.gmail` | `summaryRow.clicksByAdNetworkType.youtube` | `summaryRow.clicksByAdNetworkType.discover` | `summaryRow.clicksByAdNetworkType.display` | `summaryRow.clicksByAdNetworkType.searchPartners` | `previousPeriodSummaryRow.impressions` | `previousPeriodSummaryRow.clicks` | `previousPeriodSummaryRow.ctr` | `previousPeriodSummaryRow.date` | `previousPeriodSummaryRow.campaignResourceName` | `previousPeriodSummaryRow.phoneCalls` | `previousPeriodSummaryRow.leads` | `previousPeriodSummaryRow.cost` | `previousPeriodSummaryRow.clicksByAdNetworkType.search` | `previousPeriodSummaryRow.clicksByAdNetworkType.other` | `previousPeriodSummaryRow.clicksByAdNetworkType.gmail` | `previousPeriodSummaryRow.clicksByAdNetworkType.youtube` | `previousPeriodSummaryRow.clicksByAdNetworkType.discover` | `previousPeriodSummaryRow.clicksByAdNetworkType.display` | `previousPeriodSummaryRow.clicksByAdNetworkType.searchPartners`, 5>>;
708
+ interface QueryPerformanceMetricsOptions {
709
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
710
+ dateRange?: DateRange;
711
+ /** Sorting to apply. Defaults to descending by date when omitted. */
712
+ sort?: PerformanceSorting;
713
+ /**
714
+ * Metrics to include in each result row. When omitted, defaults to clicks, impressions, CTR, cost, phone calls, and date.
715
+ * @maxSize 1000
716
+ */
717
+ fields?: PerformanceQueryFieldsWithLiterals[];
718
+ /** When true, the response includes previousPeriodSummaryRow and trends showing percentage changes relative to the equivalent preceding period. */
719
+ includePreviousPeriod?: boolean | null;
720
+ }
721
+ /**
722
+ * Retrieves aggregated conversion metrics for a campaign from Wix Analytics.
723
+ * Both campaignId and dateRange are required. Due to analytics query complexity, this method has a 120-second SLA.
724
+ * @param campaignId - Wix internal campaign ID (GUID) of the campaign to query.
725
+ * @public
726
+ * @documentationMaturity preview
727
+ * @requiredField campaignId
728
+ * @requiredField options
729
+ * @requiredField options.dateRange
730
+ * @permissionId PROMOTE.GOOGLE_ADS_CAMPAIGN_READ
731
+ * @fqn wix.promote_paid_ads.google_ads.v1.AnalyticsService.QueryConversionMetrics
732
+ */
733
+ declare function queryConversionMetrics(campaignId: string, options: NonNullablePaths<QueryConversionMetricsOptions, `dateRange`, 2>): Promise<NonNullablePaths<QueryConversionMetricsResponse, `summaryRow.orders` | `summaryRow.leads`, 3>>;
734
+ interface QueryConversionMetricsOptions {
735
+ /** Date range to query. Required. */
736
+ dateRange: DateRange;
737
+ }
738
+ /**
739
+ * Retrieves a list of per-product performance metrics for a shopping or retail Performance Max campaign, given the provided filtering and sorting.
740
+ * The conversions and conversionRate fields always return 0 and are not queried from Google Ads.
741
+ * Due to product lookup complexity, this method has a 120-second SLA.
742
+ * @param campaignId - Wix internal campaign ID (GUID) of the shopping or retail Performance Max campaign to query.
743
+ * @public
744
+ * @documentationMaturity preview
745
+ * @requiredField campaignId
746
+ * @permissionId PROMOTE.GOOGLE_ADS_CAMPAIGN_READ
747
+ * @fqn wix.promote_paid_ads.google_ads.v1.AnalyticsService.QueryShoppingPerformanceMetrics
748
+ */
749
+ declare function queryShoppingPerformanceMetrics(campaignId: string, options?: QueryShoppingPerformanceMetricsOptions): Promise<NonNullablePaths<QueryShoppingPerformanceMetricsResponse, `results` | `results.${number}.impressions` | `results.${number}.clicks` | `results.${number}.ctr` | `results.${number}.date` | `results.${number}.campaignResourceName` | `results.${number}.cost` | `results.${number}.productTitle` | `results.${number}.productImageUrl` | `results.${number}.conversionRate` | `results.${number}.conversions` | `results.${number}.costPerClick` | `results.${number}.productId` | `summaryRow.totalConversions` | `summaryRow.totalRevenue` | `summaryRow.roas` | `summaryRow.moreResultsAvailable`, 4>>;
750
+ interface QueryShoppingPerformanceMetricsOptions {
751
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
752
+ dateRange?: DateRange;
753
+ /** Sorting to apply. Defaults to descending by date when omitted. */
754
+ sort?: PerformanceSorting;
755
+ /**
756
+ * Metrics to include in each result row. When omitted, all available fields are returned.
757
+ * @maxSize 1000
758
+ */
759
+ fields?: PerformanceQueryFieldsWithLiterals[];
760
+ /** Paging to apply. */
761
+ paging?: Paging;
762
+ /** Controls whether the response contains per-product results, a summary row, or both. */
763
+ resultSetting?: ShoppingPerformanceResultSettingWithLiterals;
764
+ }
765
+ /**
766
+ * Retrieves a list of search terms that triggered a campaign's ads, given the provided filtering and sorting.
767
+ * Supports both Smart campaigns and Performance Max Leads campaigns. Uses the Wix internal campaignId instead of the Google Ads resource name.
768
+ * @param campaignId - Wix internal campaign ID (GUID) of the campaign to query.
769
+ * @public
770
+ * @documentationMaturity preview
771
+ * @requiredField campaignId
772
+ * @permissionId PROMOTE.GOOGLE_ADS_CAMPAIGN_READ
773
+ * @fqn wix.promote_paid_ads.google_ads.v1.AnalyticsService.QuerySearchTermMetricsV2
774
+ */
775
+ declare function querySearchTermMetricsV2(campaignId: string, options?: QuerySearchTermMetricsV2Options): Promise<NonNullablePaths<QuerySearchTermMetricsV2Response, `results` | `results.${number}.impressions` | `results.${number}.clicks` | `results.${number}.cost` | `summaryRow.impressions` | `summaryRow.clicks` | `summaryRow.cost`, 4>>;
776
+ interface QuerySearchTermMetricsV2Options {
777
+ /**
778
+ * Filters results to search terms whose text contains this string. When omitted, all search terms are returned.
779
+ * @maxLength 1000
780
+ */
781
+ searchTermText?: string | null;
782
+ /** Filters results to an explicit list of search term texts. When combined with searchTermText, only terms matching both conditions are returned. */
783
+ searchTermTextsFilter?: SearchTermTextsFilter;
784
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
785
+ dateRange?: DateRange;
786
+ /** Sorting to apply. Defaults to descending by cost when omitted. */
787
+ sort?: SearchTermSorting;
788
+ /** Paging to apply. */
789
+ paging?: Paging;
790
+ }
791
+ /**
792
+ * Retrieves a list of per-asset performance metrics for a Performance Max campaign, given the provided filtering and sorting.
793
+ * Returns performance data for individual creative assets such as headlines, descriptions, and images.
794
+ * @param campaignId - Wix internal campaign ID (GUID) of the Performance Max campaign to query.
795
+ * @public
796
+ * @documentationMaturity preview
797
+ * @requiredField campaignId
798
+ * @permissionId PROMOTE.GOOGLE_ADS_CAMPAIGN_READ
799
+ * @fqn wix.promote_paid_ads.google_ads.v1.AnalyticsService.QueryAssetPerformanceMetrics
800
+ */
801
+ declare function queryAssetPerformanceMetrics(campaignId: string, options?: QueryAssetPerformanceMetricsOptions): Promise<NonNullablePaths<QueryAssetPerformanceMetricsResponse, `results` | `results.${number}.assetFieldType` | `results.${number}.metrics.impressions` | `results.${number}.metrics.clicks` | `results.${number}.metrics.ctr` | `results.${number}.metrics.date` | `results.${number}.metrics.campaignResourceName` | `results.${number}.metrics.phoneCalls` | `results.${number}.metrics.leads` | `results.${number}.metrics.cost` | `results.${number}.metrics.clicksByAdNetworkType.search` | `results.${number}.metrics.clicksByAdNetworkType.other` | `results.${number}.metrics.clicksByAdNetworkType.gmail` | `results.${number}.metrics.clicksByAdNetworkType.youtube` | `results.${number}.metrics.clicksByAdNetworkType.discover` | `results.${number}.metrics.clicksByAdNetworkType.display` | `results.${number}.metrics.clicksByAdNetworkType.searchPartners` | `results.${number}.performanceLabel` | `results.${number}.assetSource` | `summaryRow.impressions` | `summaryRow.clicks` | `summaryRow.ctr` | `summaryRow.date` | `summaryRow.campaignResourceName` | `summaryRow.phoneCalls` | `summaryRow.leads` | `summaryRow.cost` | `summaryRow.clicksByAdNetworkType.search` | `summaryRow.clicksByAdNetworkType.other` | `summaryRow.clicksByAdNetworkType.gmail` | `summaryRow.clicksByAdNetworkType.youtube` | `summaryRow.clicksByAdNetworkType.discover` | `summaryRow.clicksByAdNetworkType.display` | `summaryRow.clicksByAdNetworkType.searchPartners`, 6>>;
802
+ interface QueryAssetPerformanceMetricsOptions {
803
+ /** Date range to query. When omitted, defaults to the campaign lifetime. */
804
+ dateRange?: DateRange;
805
+ /** Sorting to apply. Defaults to descending by impressions when omitted. */
806
+ sort?: AssetPerformanceSorting;
807
+ /**
808
+ * Metrics to include in each result row. When omitted, all available fields are returned.
809
+ * @maxSize 1000
810
+ */
811
+ fields?: AssetPerformanceQueryFieldsWithLiterals[];
812
+ /** Filters to narrow results to specific asset types. */
813
+ filter?: AssetPerformanceMetricsFilter;
814
+ }
815
+
816
+ export { type AdNetworkTypeSegmentation, AssetFieldType, type AssetFieldTypeWithLiterals, AssetPerformanceLabel, type AssetPerformanceLabelWithLiterals, type AssetPerformanceMetrics, type AssetPerformanceMetricsFilter, AssetPerformanceQueryFields, type AssetPerformanceQueryFieldsWithLiterals, type AssetPerformanceSorting, AssetSource, type AssetSourceWithLiterals, type ConversionMetrics, type CustomDateRange, type DateRange, type DateRangeRangeOneOf, type Paging, type PerformanceMetrics, type PerformanceMetricsTrends, PerformanceQueryFields, type PerformanceQueryFieldsWithLiterals, type PerformanceSorting, PredefinedDateRange, type PredefinedDateRangeWithLiterals, type QueryAssetPerformanceMetricsOptions, type QueryAssetPerformanceMetricsRequest, type QueryAssetPerformanceMetricsResponse, type QueryConversionMetricsOptions, type QueryConversionMetricsRequest, type QueryConversionMetricsResponse, type QueryPerformanceMetricsOptions, type QueryPerformanceMetricsRequest, type QueryPerformanceMetricsResponse, type QuerySearchTermMetricsOptions, type QuerySearchTermMetricsRequest, type QuerySearchTermMetricsResponse, type QuerySearchTermMetricsV2Options, type QuerySearchTermMetricsV2Request, type QuerySearchTermMetricsV2Response, type QueryShoppingPerformanceMetricsOptions, type QueryShoppingPerformanceMetricsRequest, type QueryShoppingPerformanceMetricsResponse, type SearchTermMetrics, SearchTermQueryFields, type SearchTermQueryFieldsWithLiterals, type SearchTermSorting, SearchTermTextFilterType, type SearchTermTextFilterTypeWithLiterals, type SearchTermTextsFilter, type ShoppingPerformanceMetrics, type ShoppingPerformanceMetricsSummary, ShoppingPerformanceResultSetting, type ShoppingPerformanceResultSettingWithLiterals, SortOrder, type SortOrderWithLiterals, queryAssetPerformanceMetrics, queryConversionMetrics, queryPerformanceMetrics, querySearchTermMetrics, querySearchTermMetricsV2, queryShoppingPerformanceMetrics };