glitch-javascript-sdk 1.9.0 → 1.9.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 +52 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Ads.d.ts +15 -0
- package/dist/esm/index.js +52 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +15 -0
- package/package.json +1 -1
- package/src/api/Ads.ts +59 -15
- package/src/routes/AdsRoute.ts +24 -0
package/dist/cjs/index.js
CHANGED
|
@@ -20050,6 +20050,30 @@ var AdsRoute = /** @class */ (function () {
|
|
|
20050
20050
|
url: "/ads/tiktok/targeting/regions",
|
|
20051
20051
|
method: HTTP_METHODS.GET,
|
|
20052
20052
|
},
|
|
20053
|
+
tiktokTargetingInfo: {
|
|
20054
|
+
url: "/ads/tiktok/targeting/info",
|
|
20055
|
+
method: HTTP_METHODS.POST,
|
|
20056
|
+
},
|
|
20057
|
+
tiktokLanguages: {
|
|
20058
|
+
url: "/ads/tiktok/targeting/languages",
|
|
20059
|
+
method: HTTP_METHODS.GET,
|
|
20060
|
+
},
|
|
20061
|
+
tiktokHashtagInfo: {
|
|
20062
|
+
url: "/ads/tiktok/targeting/hashtag_info",
|
|
20063
|
+
method: HTTP_METHODS.GET,
|
|
20064
|
+
},
|
|
20065
|
+
tiktokContextualTagInfo: {
|
|
20066
|
+
url: "/ads/tiktok/targeting/contextual_tag_info",
|
|
20067
|
+
method: HTTP_METHODS.GET,
|
|
20068
|
+
},
|
|
20069
|
+
tiktokContentExclusionInfo: {
|
|
20070
|
+
url: "/ads/tiktok/targeting/content_exclusion_info",
|
|
20071
|
+
method: HTTP_METHODS.GET,
|
|
20072
|
+
},
|
|
20073
|
+
tiktokInterestKeywordRecommend: {
|
|
20074
|
+
url: "/ads/tiktok/targeting/interest_keywords",
|
|
20075
|
+
method: HTTP_METHODS.GET,
|
|
20076
|
+
},
|
|
20053
20077
|
twitterListTargetingCriteria: {
|
|
20054
20078
|
url: "/ads/twitter/targeting/criteria",
|
|
20055
20079
|
method: HTTP_METHODS.GET,
|
|
@@ -20564,6 +20588,34 @@ var Ads = /** @class */ (function () {
|
|
|
20564
20588
|
Ads.tiktokListRegions = function (params) {
|
|
20565
20589
|
return Requests.processRoute(AdsRoute.routes.tiktokRegions, undefined, undefined, params);
|
|
20566
20590
|
};
|
|
20591
|
+
Ads.tiktokGetTargetingInfo = function (data, params) {
|
|
20592
|
+
return Requests.processRoute(AdsRoute.routes.tiktokTargetingInfo, data, {}, params);
|
|
20593
|
+
};
|
|
20594
|
+
Ads.tiktokListLanguages = function (advertiser_id, params) {
|
|
20595
|
+
var mergedParams = __assign(__assign({}, params), { advertiser_id: advertiser_id });
|
|
20596
|
+
return Requests.processRoute(AdsRoute.routes.tiktokLanguages, undefined, undefined, mergedParams);
|
|
20597
|
+
};
|
|
20598
|
+
Ads.tiktokRecommendInterestKeywords = function (params) {
|
|
20599
|
+
return Requests.processRoute(AdsRoute.routes.tiktokInterestKeywordRecommend, undefined, undefined, params);
|
|
20600
|
+
};
|
|
20601
|
+
/**
|
|
20602
|
+
* GET /ads/tiktok/targeting/hashtag_info
|
|
20603
|
+
*/
|
|
20604
|
+
Ads.tiktokHashtagInfo = function (params) {
|
|
20605
|
+
return Requests.processRoute(AdsRoute.routes.tiktokHashtagInfo, undefined, undefined, params);
|
|
20606
|
+
};
|
|
20607
|
+
/**
|
|
20608
|
+
* GET /ads/tiktok/targeting/contextual_tag_info
|
|
20609
|
+
*/
|
|
20610
|
+
Ads.tiktokContextualTagInfo = function (params) {
|
|
20611
|
+
return Requests.processRoute(AdsRoute.routes.tiktokContextualTagInfo, undefined, undefined, params);
|
|
20612
|
+
};
|
|
20613
|
+
/**
|
|
20614
|
+
* GET /ads/tiktok/targeting/content_exclusion_info
|
|
20615
|
+
*/
|
|
20616
|
+
Ads.tiktokContentExclusionInfo = function (params) {
|
|
20617
|
+
return Requests.processRoute(AdsRoute.routes.tiktokContentExclusionInfo, undefined, undefined, params);
|
|
20618
|
+
};
|
|
20567
20619
|
Ads.listTwitterTargetingCriteria = function (params) {
|
|
20568
20620
|
return Requests.processRoute(AdsRoute.routes.twitterListTargetingCriteria, undefined, undefined, params);
|
|
20569
20621
|
};
|