glitch-javascript-sdk 2.1.0 → 2.1.2
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 +52 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Fingerprinting.d.ts +33 -0
- package/dist/esm/index.js +52 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +33 -0
- package/package.json +1 -1
- package/src/api/Fingerprinting.ts +58 -0
- package/src/routes/FingerprintingRoute.ts +13 -1
package/dist/cjs/index.js
CHANGED
|
@@ -22912,7 +22912,19 @@ var FingerprintingRoute = /** @class */ (function () {
|
|
|
22912
22912
|
geolocationReport: {
|
|
22913
22913
|
url: '/reports/fingerprinting/geolocation',
|
|
22914
22914
|
method: HTTP_METHODS.GET
|
|
22915
|
-
}
|
|
22915
|
+
},
|
|
22916
|
+
pixelAttributionReport: {
|
|
22917
|
+
url: '/reports/fingerprinting/pixel-attribution',
|
|
22918
|
+
method: HTTP_METHODS.GET
|
|
22919
|
+
},
|
|
22920
|
+
installJourneyReport: {
|
|
22921
|
+
url: '/reports/fingerprinting/install-journey',
|
|
22922
|
+
method: HTTP_METHODS.GET
|
|
22923
|
+
},
|
|
22924
|
+
adCampaignPerformanceReport: {
|
|
22925
|
+
url: '/reports/fingerprinting/ad-campaign-performance',
|
|
22926
|
+
method: HTTP_METHODS.GET
|
|
22927
|
+
},
|
|
22916
22928
|
};
|
|
22917
22929
|
return FingerprintingRoute;
|
|
22918
22930
|
}());
|
|
@@ -23067,6 +23079,45 @@ var Fingerprinting = /** @class */ (function () {
|
|
|
23067
23079
|
Fingerprinting.geolocationReport = function (params) {
|
|
23068
23080
|
return Requests.processRoute(FingerprintingRoute.routes.geolocationReport, {}, undefined, params);
|
|
23069
23081
|
};
|
|
23082
|
+
/**
|
|
23083
|
+
* Get pixel and utem reports
|
|
23084
|
+
*
|
|
23085
|
+
* @param params Report options:
|
|
23086
|
+
* - title_id: string - Required title ID
|
|
23087
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
23088
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
23089
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
23090
|
+
* @returns Promise with geolocation report data
|
|
23091
|
+
*/
|
|
23092
|
+
Fingerprinting.pixelAttributionReport = function (params) {
|
|
23093
|
+
return Requests.processRoute(FingerprintingRoute.routes.pixelAttributionReport, {}, undefined, params);
|
|
23094
|
+
};
|
|
23095
|
+
/**
|
|
23096
|
+
* Get an understanding of the path people take to install your game
|
|
23097
|
+
*
|
|
23098
|
+
* @param params Report options:
|
|
23099
|
+
* - title_id: string - Required title ID
|
|
23100
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
23101
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
23102
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
23103
|
+
* @returns Promise with geolocation report data
|
|
23104
|
+
*/
|
|
23105
|
+
Fingerprinting.installJourneyReport = function (params) {
|
|
23106
|
+
return Requests.processRoute(FingerprintingRoute.routes.installJourneyReport, {}, undefined, params);
|
|
23107
|
+
};
|
|
23108
|
+
/**
|
|
23109
|
+
* Get how the ad campaigns are performing and turning into installs
|
|
23110
|
+
*
|
|
23111
|
+
* @param params Report options:
|
|
23112
|
+
* - title_id: string - Required title ID
|
|
23113
|
+
* - start_date?: string - Start date (YYYY-MM-DD)
|
|
23114
|
+
* - end_date?: string - End date (YYYY-MM-DD)
|
|
23115
|
+
* - group_by?: 'country'|'region'|'city' - Grouping level
|
|
23116
|
+
* @returns Promise with geolocation report data
|
|
23117
|
+
*/
|
|
23118
|
+
Fingerprinting.adCampaignPerformanceReport = function (params) {
|
|
23119
|
+
return Requests.processRoute(FingerprintingRoute.routes.adCampaignPerformanceReport, {}, undefined, params);
|
|
23120
|
+
};
|
|
23070
23121
|
return Fingerprinting;
|
|
23071
23122
|
}());
|
|
23072
23123
|
|