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.
@@ -333,6 +333,21 @@ declare class Ads {
333
333
  static tiktokListActionCategories<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
334
334
  static tiktokListContentExclusions<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
335
335
  static tiktokListRegions<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
336
+ static tiktokGetTargetingInfo<T>(data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
337
+ static tiktokListLanguages<T>(advertiser_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
338
+ static tiktokRecommendInterestKeywords<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
339
+ /**
340
+ * GET /ads/tiktok/targeting/hashtag_info
341
+ */
342
+ static tiktokHashtagInfo<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
343
+ /**
344
+ * GET /ads/tiktok/targeting/contextual_tag_info
345
+ */
346
+ static tiktokContextualTagInfo<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
347
+ /**
348
+ * GET /ads/tiktok/targeting/content_exclusion_info
349
+ */
350
+ static tiktokContentExclusionInfo<T>(params: Record<string, any>): AxiosPromise<Response<T>>;
336
351
  static listTwitterTargetingCriteria<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
337
352
  static getTwitterTargetingCriterion<T>(criterion_id: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
338
353
  static createTwitterTargetingCriterion<T>(data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
package/dist/esm/index.js CHANGED
@@ -6866,6 +6866,30 @@ var AdsRoute = /** @class */ (function () {
6866
6866
  url: "/ads/tiktok/targeting/regions",
6867
6867
  method: HTTP_METHODS.GET,
6868
6868
  },
6869
+ tiktokTargetingInfo: {
6870
+ url: "/ads/tiktok/targeting/info",
6871
+ method: HTTP_METHODS.POST,
6872
+ },
6873
+ tiktokLanguages: {
6874
+ url: "/ads/tiktok/targeting/languages",
6875
+ method: HTTP_METHODS.GET,
6876
+ },
6877
+ tiktokHashtagInfo: {
6878
+ url: "/ads/tiktok/targeting/hashtag_info",
6879
+ method: HTTP_METHODS.GET,
6880
+ },
6881
+ tiktokContextualTagInfo: {
6882
+ url: "/ads/tiktok/targeting/contextual_tag_info",
6883
+ method: HTTP_METHODS.GET,
6884
+ },
6885
+ tiktokContentExclusionInfo: {
6886
+ url: "/ads/tiktok/targeting/content_exclusion_info",
6887
+ method: HTTP_METHODS.GET,
6888
+ },
6889
+ tiktokInterestKeywordRecommend: {
6890
+ url: "/ads/tiktok/targeting/interest_keywords",
6891
+ method: HTTP_METHODS.GET,
6892
+ },
6869
6893
  twitterListTargetingCriteria: {
6870
6894
  url: "/ads/twitter/targeting/criteria",
6871
6895
  method: HTTP_METHODS.GET,
@@ -7380,6 +7404,34 @@ var Ads = /** @class */ (function () {
7380
7404
  Ads.tiktokListRegions = function (params) {
7381
7405
  return Requests.processRoute(AdsRoute.routes.tiktokRegions, undefined, undefined, params);
7382
7406
  };
7407
+ Ads.tiktokGetTargetingInfo = function (data, params) {
7408
+ return Requests.processRoute(AdsRoute.routes.tiktokTargetingInfo, data, {}, params);
7409
+ };
7410
+ Ads.tiktokListLanguages = function (advertiser_id, params) {
7411
+ var mergedParams = __assign(__assign({}, params), { advertiser_id: advertiser_id });
7412
+ return Requests.processRoute(AdsRoute.routes.tiktokLanguages, undefined, undefined, mergedParams);
7413
+ };
7414
+ Ads.tiktokRecommendInterestKeywords = function (params) {
7415
+ return Requests.processRoute(AdsRoute.routes.tiktokInterestKeywordRecommend, undefined, undefined, params);
7416
+ };
7417
+ /**
7418
+ * GET /ads/tiktok/targeting/hashtag_info
7419
+ */
7420
+ Ads.tiktokHashtagInfo = function (params) {
7421
+ return Requests.processRoute(AdsRoute.routes.tiktokHashtagInfo, undefined, undefined, params);
7422
+ };
7423
+ /**
7424
+ * GET /ads/tiktok/targeting/contextual_tag_info
7425
+ */
7426
+ Ads.tiktokContextualTagInfo = function (params) {
7427
+ return Requests.processRoute(AdsRoute.routes.tiktokContextualTagInfo, undefined, undefined, params);
7428
+ };
7429
+ /**
7430
+ * GET /ads/tiktok/targeting/content_exclusion_info
7431
+ */
7432
+ Ads.tiktokContentExclusionInfo = function (params) {
7433
+ return Requests.processRoute(AdsRoute.routes.tiktokContentExclusionInfo, undefined, undefined, params);
7434
+ };
7383
7435
  Ads.listTwitterTargetingCriteria = function (params) {
7384
7436
  return Requests.processRoute(AdsRoute.routes.twitterListTargetingCriteria, undefined, undefined, params);
7385
7437
  };