glitch-javascript-sdk 3.2.7 → 3.2.8
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/cjs/index.js +28 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Ads.d.ts +22 -0
- package/dist/esm/api/Scheduler.d.ts +5 -0
- package/dist/esm/index.js +28 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +27 -0
- package/package.json +1 -1
- package/src/api/Ads.ts +36 -0
- package/src/api/Scheduler.ts +16 -0
- package/src/routes/AdsRoute.ts +10 -0
package/dist/esm/api/Ads.d.ts
CHANGED
|
@@ -418,6 +418,19 @@ declare class Ads {
|
|
|
418
418
|
platform?: string;
|
|
419
419
|
}): AxiosPromise<Response<T>>;
|
|
420
420
|
/**
|
|
421
|
+
* Get detailed paid campaign performance rows for tables and exports.
|
|
422
|
+
*/
|
|
423
|
+
static getDetailedBreakdownReport<T>(params: {
|
|
424
|
+
start_date: string;
|
|
425
|
+
end_date: string;
|
|
426
|
+
community_id?: string;
|
|
427
|
+
scheduler_id?: string;
|
|
428
|
+
platform?: string;
|
|
429
|
+
campaign_id?: string;
|
|
430
|
+
ad_group_id?: string;
|
|
431
|
+
ad_id?: string;
|
|
432
|
+
}): AxiosPromise<Response<T>>;
|
|
433
|
+
/**
|
|
421
434
|
* GET /ads/google/targeting/geo/suggest
|
|
422
435
|
*/
|
|
423
436
|
static listGoogleGeoSuggestions<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
|
|
@@ -476,5 +489,14 @@ declare class Ads {
|
|
|
476
489
|
currency_code: string;
|
|
477
490
|
time_zone: string;
|
|
478
491
|
}): AxiosPromise<Response<T>>;
|
|
492
|
+
/**
|
|
493
|
+
* Submit a SKAN attribution postback to the public Apple app attribution endpoint.
|
|
494
|
+
* This mirrors POST /.well-known/appattribution/report-attribution.
|
|
495
|
+
*/
|
|
496
|
+
static reportSkanAttributionPostback<T>(data: {
|
|
497
|
+
"jws-string"?: string;
|
|
498
|
+
jws?: string;
|
|
499
|
+
[key: string]: any;
|
|
500
|
+
}, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
479
501
|
}
|
|
480
502
|
export default Ads;
|
|
@@ -459,6 +459,11 @@ declare class Scheduler {
|
|
|
459
459
|
* @returns A response object with data (funding instruments)
|
|
460
460
|
*/
|
|
461
461
|
static listCampaignFundingInstruments<T>(scheduler_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
462
|
+
/**
|
|
463
|
+
* List Google Ads conversion actions available to a scheduler account.
|
|
464
|
+
* GET /schedulers/{scheduler_id}/conversion-actions
|
|
465
|
+
*/
|
|
466
|
+
static listConversionActions<T>(scheduler_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
462
467
|
/**
|
|
463
468
|
* List all destinations for a title update.
|
|
464
469
|
*
|
package/dist/esm/index.js
CHANGED
|
@@ -7102,6 +7102,10 @@ var AdsRoute = /** @class */ (function () {
|
|
|
7102
7102
|
url: "/ads/reports/time-performance",
|
|
7103
7103
|
method: HTTP_METHODS.GET,
|
|
7104
7104
|
},
|
|
7105
|
+
getDetailedBreakdownReport: {
|
|
7106
|
+
url: "/ads/reports/detailed-breakdown",
|
|
7107
|
+
method: HTTP_METHODS.GET,
|
|
7108
|
+
},
|
|
7105
7109
|
getGoogleGeoSuggestions: {
|
|
7106
7110
|
url: "/ads/google/targeting/geo/suggest",
|
|
7107
7111
|
method: HTTP_METHODS.GET,
|
|
@@ -7158,6 +7162,10 @@ var AdsRoute = /** @class */ (function () {
|
|
|
7158
7162
|
url: "/ads/google/accounts/create",
|
|
7159
7163
|
method: HTTP_METHODS.POST,
|
|
7160
7164
|
},
|
|
7165
|
+
reportSkanAttributionPostback: {
|
|
7166
|
+
url: "/.well-known/appattribution/report-attribution",
|
|
7167
|
+
method: HTTP_METHODS.POST,
|
|
7168
|
+
},
|
|
7161
7169
|
};
|
|
7162
7170
|
return AdsRoute;
|
|
7163
7171
|
}());
|
|
@@ -7758,6 +7766,12 @@ var Ads = /** @class */ (function () {
|
|
|
7758
7766
|
return Requests.processRoute(AdsRoute.routes.getTimePerformanceReport, undefined, undefined, params);
|
|
7759
7767
|
};
|
|
7760
7768
|
/**
|
|
7769
|
+
* Get detailed paid campaign performance rows for tables and exports.
|
|
7770
|
+
*/
|
|
7771
|
+
Ads.getDetailedBreakdownReport = function (params) {
|
|
7772
|
+
return Requests.processRoute(AdsRoute.routes.getDetailedBreakdownReport, undefined, undefined, params);
|
|
7773
|
+
};
|
|
7774
|
+
/**
|
|
7761
7775
|
* GET /ads/google/targeting/geo/suggest
|
|
7762
7776
|
*/
|
|
7763
7777
|
Ads.listGoogleGeoSuggestions = function (params) {
|
|
@@ -7838,6 +7852,13 @@ var Ads = /** @class */ (function () {
|
|
|
7838
7852
|
Ads.createGoogleAccount = function (data) {
|
|
7839
7853
|
return Requests.processRoute(AdsRoute.routes.createGoogleAccount, data, undefined, undefined);
|
|
7840
7854
|
};
|
|
7855
|
+
/**
|
|
7856
|
+
* Submit a SKAN attribution postback to the public Apple app attribution endpoint.
|
|
7857
|
+
* This mirrors POST /.well-known/appattribution/report-attribution.
|
|
7858
|
+
*/
|
|
7859
|
+
Ads.reportSkanAttributionPostback = function (data, params) {
|
|
7860
|
+
return Requests.processRoute(AdsRoute.routes.reportSkanAttributionPostback, data, undefined, params);
|
|
7861
|
+
};
|
|
7841
7862
|
return Ads;
|
|
7842
7863
|
}());
|
|
7843
7864
|
|
|
@@ -16288,6 +16309,13 @@ var Scheduler = /** @class */ (function () {
|
|
|
16288
16309
|
Scheduler.listCampaignFundingInstruments = function (scheduler_id, params) {
|
|
16289
16310
|
return Requests.processRoute(SchedulerRoute.routes.getCampaignFundingInstruments, undefined, { scheduler_id: scheduler_id }, params);
|
|
16290
16311
|
};
|
|
16312
|
+
/**
|
|
16313
|
+
* List Google Ads conversion actions available to a scheduler account.
|
|
16314
|
+
* GET /schedulers/{scheduler_id}/conversion-actions
|
|
16315
|
+
*/
|
|
16316
|
+
Scheduler.listConversionActions = function (scheduler_id, params) {
|
|
16317
|
+
return Requests.processRoute(SchedulerRoute.routes.getConversionActions, undefined, { scheduler_id: scheduler_id }, params);
|
|
16318
|
+
};
|
|
16291
16319
|
/**
|
|
16292
16320
|
* List all destinations for a title update.
|
|
16293
16321
|
*
|