glitch-javascript-sdk 3.0.9 → 3.1.1
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 +47 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +36 -0
- package/dist/esm/index.js +47 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +36 -0
- package/package.json +1 -1
- package/src/api/SocialPosts.ts +45 -0
- package/src/routes/SocialPostsRoute.ts +23 -0
package/dist/cjs/index.js
CHANGED
|
@@ -24463,6 +24463,26 @@ var SocialPostsRoute = /** @class */ (function () {
|
|
|
24463
24463
|
getSocialPostAttributionReport: { url: '/reports/fingerprinting/social-post-attribution', method: HTTP_METHODS.GET },
|
|
24464
24464
|
getLinkSummary: { url: '/socialposts/{post_id}/link-summary', method: HTTP_METHODS.GET },
|
|
24465
24465
|
syncHistory: { url: '/social/sync-history/{platform}', method: HTTP_METHODS.POST },
|
|
24466
|
+
/**
|
|
24467
|
+
* Get social media posts correlated with installs, wishlists, and purchases.
|
|
24468
|
+
* GET /reports/fingerprinting/social-post-attribution
|
|
24469
|
+
*/
|
|
24470
|
+
socialPostAttribution: {
|
|
24471
|
+
url: '/reports/fingerprinting/social-post-attribution',
|
|
24472
|
+
method: HTTP_METHODS.GET
|
|
24473
|
+
},
|
|
24474
|
+
influencerAttribution: {
|
|
24475
|
+
url: '/reports/fingerprinting/influencer-attribution',
|
|
24476
|
+
method: HTTP_METHODS.GET
|
|
24477
|
+
},
|
|
24478
|
+
/**
|
|
24479
|
+
* Get UTM performance correlated with installs and revenue.
|
|
24480
|
+
* GET /reports/fingerprinting/utm-attribution
|
|
24481
|
+
*/
|
|
24482
|
+
utmAttribution: {
|
|
24483
|
+
url: '/reports/fingerprinting/utm-attribution',
|
|
24484
|
+
method: HTTP_METHODS.GET
|
|
24485
|
+
},
|
|
24466
24486
|
performAction: { url: '/socialposts/{post_id}/action', method: HTTP_METHODS.POST },
|
|
24467
24487
|
performCommentAction: { url: '/socialposts/comments/{comment_id}/action', method: HTTP_METHODS.POST },
|
|
24468
24488
|
creativePerformance: { url: '/socialposts/creative-performance', method: HTTP_METHODS.GET },
|
|
@@ -24916,6 +24936,33 @@ var SocialPosts = /** @class */ (function () {
|
|
|
24916
24936
|
SocialPosts.optimizeRedditPost = function (data) {
|
|
24917
24937
|
return Requests.processRoute(SocialPostsRoute.routes.optimizeRedditPost, data);
|
|
24918
24938
|
};
|
|
24939
|
+
/**
|
|
24940
|
+
* Get a report attributing game installs, wishlists, and purchases to specific social media posts.
|
|
24941
|
+
*
|
|
24942
|
+
* @param params Filter object:
|
|
24943
|
+
* - title_id: string (Required)
|
|
24944
|
+
* - start_date?: string (YYYY-MM-DD)
|
|
24945
|
+
* - end_date?: string (YYYY-MM-DD)
|
|
24946
|
+
* - confidence_threshold?: number (0-100)
|
|
24947
|
+
*/
|
|
24948
|
+
SocialPosts.getSocialPostAttribution = function (params) {
|
|
24949
|
+
return Requests.processRoute(SocialPostsRoute.routes.socialPostAttribution, {}, undefined, params);
|
|
24950
|
+
};
|
|
24951
|
+
/**
|
|
24952
|
+
* Get a report attributing game installs and revenue to specific UTM sources and campaigns.
|
|
24953
|
+
*
|
|
24954
|
+
* @param params Filter object:
|
|
24955
|
+
* - title_id: string (Required)
|
|
24956
|
+
* - start_date?: string (YYYY-MM-DD)
|
|
24957
|
+
* - end_date?: string (YYYY-MM-DD)
|
|
24958
|
+
* - confidence_threshold?: number (0-100)
|
|
24959
|
+
*/
|
|
24960
|
+
SocialPosts.getUtmAttribution = function (params) {
|
|
24961
|
+
return Requests.processRoute(SocialPostsRoute.routes.utmAttribution, {}, undefined, params);
|
|
24962
|
+
};
|
|
24963
|
+
SocialPosts.getInfluencerAttribution = function (params) {
|
|
24964
|
+
return Requests.processRoute(SocialPostsRoute.routes.influencerAttribution, {}, undefined, params);
|
|
24965
|
+
};
|
|
24919
24966
|
return SocialPosts;
|
|
24920
24967
|
}());
|
|
24921
24968
|
|