@zernio/node 0.2.717 → 0.2.719

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/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@zernio/node",
39
- version: "0.2.717",
39
+ version: "0.2.719",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -3217,6 +3217,24 @@ var getAdsSearchTerms = (options) => {
3217
3217
  url: "/v1/ads/search-terms"
3218
3218
  });
3219
3219
  };
3220
+ var listBidStrategies = (options) => {
3221
+ return (options?.client ?? client).get({
3222
+ ...options,
3223
+ url: "/v1/ads/bid-strategies"
3224
+ });
3225
+ };
3226
+ var createBidStrategy = (options) => {
3227
+ return (options?.client ?? client).post({
3228
+ ...options,
3229
+ url: "/v1/ads/bid-strategies"
3230
+ });
3231
+ };
3232
+ var updateBidStrategy = (options) => {
3233
+ return (options?.client ?? client).patch({
3234
+ ...options,
3235
+ url: "/v1/ads/bid-strategies/{strategyId}"
3236
+ });
3237
+ };
3220
3238
  var listLocalServicesLeads = (options) => {
3221
3239
  return (options?.client ?? client).get({
3222
3240
  ...options,
@@ -3271,6 +3289,12 @@ var updateAdCampaignStatus = (options) => {
3271
3289
  url: "/v1/ads/campaigns/{campaignId}/status"
3272
3290
  });
3273
3291
  };
3292
+ var getCampaignBidding = (options) => {
3293
+ return (options?.client ?? client).get({
3294
+ ...options,
3295
+ url: "/v1/ads/campaigns/{campaignId}/bidding"
3296
+ });
3297
+ };
3274
3298
  var updateAdCampaign = (options) => {
3275
3299
  return (options?.client ?? client).put({
3276
3300
  ...options,
@@ -3307,6 +3331,30 @@ var duplicateAdCampaign = (options) => {
3307
3331
  url: "/v1/ads/campaigns/{campaignId}/duplicate"
3308
3332
  });
3309
3333
  };
3334
+ var getCampaignTargeting = (options) => {
3335
+ return (options?.client ?? client).get({
3336
+ ...options,
3337
+ url: "/v1/ads/campaigns/{campaignId}/targeting"
3338
+ });
3339
+ };
3340
+ var updateCampaignTargeting = (options) => {
3341
+ return (options?.client ?? client).put({
3342
+ ...options,
3343
+ url: "/v1/ads/campaigns/{campaignId}/targeting"
3344
+ });
3345
+ };
3346
+ var listAdSets = (options) => {
3347
+ return (options?.client ?? client).get({
3348
+ ...options,
3349
+ url: "/v1/ads/ad-sets"
3350
+ });
3351
+ };
3352
+ var createAdSet = (options) => {
3353
+ return (options?.client ?? client).post({
3354
+ ...options,
3355
+ url: "/v1/ads/ad-sets"
3356
+ });
3357
+ };
3310
3358
  var duplicateAdSet = (options) => {
3311
3359
  return (options?.client ?? client).post({
3312
3360
  ...options,
@@ -3589,6 +3637,24 @@ var deleteValueRuleSet = (options) => {
3589
3637
  url: "/v1/ads/value-rule-sets/{valueRuleSetId}"
3590
3638
  });
3591
3639
  };
3640
+ var listAccountCallouts = (options) => {
3641
+ return (options?.client ?? client).get({
3642
+ ...options,
3643
+ url: "/v1/ads/accounts/callouts"
3644
+ });
3645
+ };
3646
+ var addAccountCallouts = (options) => {
3647
+ return (options?.client ?? client).post({
3648
+ ...options,
3649
+ url: "/v1/ads/accounts/callouts"
3650
+ });
3651
+ };
3652
+ var removeAccountCallout = (options) => {
3653
+ return (options?.client ?? client).delete({
3654
+ ...options,
3655
+ url: "/v1/ads/accounts/callouts"
3656
+ });
3657
+ };
3592
3658
  var getAdAccountFinance = (options) => {
3593
3659
  return (options?.client ?? client).get({
3594
3660
  ...options,
@@ -3811,6 +3877,18 @@ var adjustConversions = (options) => {
3811
3877
  url: "/v1/ads/conversions/adjustments"
3812
3878
  });
3813
3879
  };
3880
+ var listConversionActions = (options) => {
3881
+ return (options?.client ?? client).get({
3882
+ ...options,
3883
+ url: "/v1/ads/conversions/actions"
3884
+ });
3885
+ };
3886
+ var createConversionAction = (options) => {
3887
+ return (options?.client ?? client).post({
3888
+ ...options,
3889
+ url: "/v1/ads/conversions/actions"
3890
+ });
3891
+ };
3814
3892
  var listConversionDestinations = (options) => {
3815
3893
  return (options?.client ?? client).get({
3816
3894
  ...options,
@@ -4876,6 +4954,9 @@ var Zernio = class _Zernio {
4876
4954
  */
4877
4955
  this.adcampaigns = {
4878
4956
  listAds: this._bind(listAds),
4957
+ listBidStrategies: this._bind(listBidStrategies),
4958
+ createBidStrategy: this._bind(createBidStrategy),
4959
+ updateBidStrategy: this._bind(updateBidStrategy),
4879
4960
  listAdKeywords: this._bind(listAdKeywords),
4880
4961
  addAdKeywords: this._bind(addAdKeywords),
4881
4962
  updateAdKeyword: this._bind(updateAdKeyword),
@@ -4883,12 +4964,17 @@ var Zernio = class _Zernio {
4883
4964
  listAdCampaigns: this._bind(listAdCampaigns),
4884
4965
  createAdCampaign: this._bind(createAdCampaign),
4885
4966
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
4967
+ getCampaignBidding: this._bind(getCampaignBidding),
4886
4968
  updateAdCampaign: this._bind(updateAdCampaign),
4887
4969
  deleteAdCampaign: this._bind(deleteAdCampaign),
4888
4970
  listCampaignNegativeKeywords: this._bind(listCampaignNegativeKeywords),
4889
4971
  replaceCampaignNegativeKeywords: this._bind(replaceCampaignNegativeKeywords),
4890
4972
  bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
4891
4973
  duplicateAdCampaign: this._bind(duplicateAdCampaign),
4974
+ getCampaignTargeting: this._bind(getCampaignTargeting),
4975
+ updateCampaignTargeting: this._bind(updateCampaignTargeting),
4976
+ listAdSets: this._bind(listAdSets),
4977
+ createAdSet: this._bind(createAdSet),
4892
4978
  duplicateAdSet: this._bind(duplicateAdSet),
4893
4979
  duplicateAd: this._bind(duplicateAd),
4894
4980
  getAdSetDetails: this._bind(getAdSetDetails),
@@ -4972,6 +5058,9 @@ var Zernio = class _Zernio {
4972
5058
  getValueRuleSet: this._bind(getValueRuleSet),
4973
5059
  updateValueRuleSet: this._bind(updateValueRuleSet),
4974
5060
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5061
+ listAccountCallouts: this._bind(listAccountCallouts),
5062
+ addAccountCallouts: this._bind(addAccountCallouts),
5063
+ removeAccountCallout: this._bind(removeAccountCallout),
4975
5064
  getAdAccountFinance: this._bind(getAdAccountFinance),
4976
5065
  listAdAccounts: this._bind(listAdAccounts),
4977
5066
  updateAdAccount: this._bind(updateAdAccount),
@@ -5036,6 +5125,8 @@ var Zernio = class _Zernio {
5036
5125
  getConversionsQuality: this._bind(getConversionsQuality),
5037
5126
  sendConversions: this._bind(sendConversions),
5038
5127
  adjustConversions: this._bind(adjustConversions),
5128
+ listConversionActions: this._bind(listConversionActions),
5129
+ createConversionAction: this._bind(createConversionAction),
5039
5130
  listConversionDestinations: this._bind(listConversionDestinations),
5040
5131
  createConversionDestination: this._bind(createConversionDestination),
5041
5132
  getConversionDestination: this._bind(getConversionDestination),
@@ -5085,6 +5176,12 @@ var Zernio = class _Zernio {
5085
5176
  this.ads = {
5086
5177
  /** @deprecated Use `zernio.adcampaigns.listAds` instead. */
5087
5178
  listAds: this._bind(listAds),
5179
+ /** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
5180
+ listBidStrategies: this._bind(listBidStrategies),
5181
+ /** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
5182
+ createBidStrategy: this._bind(createBidStrategy),
5183
+ /** @deprecated Use `zernio.adcampaigns.updateBidStrategy` instead. */
5184
+ updateBidStrategy: this._bind(updateBidStrategy),
5088
5185
  /** @deprecated Use `zernio.adcampaigns.listAdKeywords` instead. */
5089
5186
  listAdKeywords: this._bind(listAdKeywords),
5090
5187
  /** @deprecated Use `zernio.adcampaigns.addAdKeywords` instead. */
@@ -5099,6 +5196,8 @@ var Zernio = class _Zernio {
5099
5196
  createAdCampaign: this._bind(createAdCampaign),
5100
5197
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaignStatus` instead. */
5101
5198
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
5199
+ /** @deprecated Use `zernio.adcampaigns.getCampaignBidding` instead. */
5200
+ getCampaignBidding: this._bind(getCampaignBidding),
5102
5201
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaign` instead. */
5103
5202
  updateAdCampaign: this._bind(updateAdCampaign),
5104
5203
  /** @deprecated Use `zernio.adcampaigns.deleteAdCampaign` instead. */
@@ -5111,6 +5210,14 @@ var Zernio = class _Zernio {
5111
5210
  bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
5112
5211
  /** @deprecated Use `zernio.adcampaigns.duplicateAdCampaign` instead. */
5113
5212
  duplicateAdCampaign: this._bind(duplicateAdCampaign),
5213
+ /** @deprecated Use `zernio.adcampaigns.getCampaignTargeting` instead. */
5214
+ getCampaignTargeting: this._bind(getCampaignTargeting),
5215
+ /** @deprecated Use `zernio.adcampaigns.updateCampaignTargeting` instead. */
5216
+ updateCampaignTargeting: this._bind(updateCampaignTargeting),
5217
+ /** @deprecated Use `zernio.adcampaigns.listAdSets` instead. */
5218
+ listAdSets: this._bind(listAdSets),
5219
+ /** @deprecated Use `zernio.adcampaigns.createAdSet` instead. */
5220
+ createAdSet: this._bind(createAdSet),
5114
5221
  /** @deprecated Use `zernio.adcampaigns.duplicateAdSet` instead. */
5115
5222
  duplicateAdSet: this._bind(duplicateAdSet),
5116
5223
  /** @deprecated Use `zernio.adcampaigns.duplicateAd` instead. */
@@ -5167,6 +5274,12 @@ var Zernio = class _Zernio {
5167
5274
  updateValueRuleSet: this._bind(updateValueRuleSet),
5168
5275
  /** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
5169
5276
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5277
+ /** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
5278
+ listAccountCallouts: this._bind(listAccountCallouts),
5279
+ /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
5280
+ addAccountCallouts: this._bind(addAccountCallouts),
5281
+ /** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
5282
+ removeAccountCallout: this._bind(removeAccountCallout),
5170
5283
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
5171
5284
  getAdAccountFinance: this._bind(getAdAccountFinance),
5172
5285
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
@@ -5261,6 +5374,10 @@ var Zernio = class _Zernio {
5261
5374
  sendConversions: this._bind(sendConversions),
5262
5375
  /** @deprecated Use `zernio.conversions.adjustConversions` instead. */
5263
5376
  adjustConversions: this._bind(adjustConversions),
5377
+ /** @deprecated Use `zernio.conversions.listConversionActions` instead. */
5378
+ listConversionActions: this._bind(listConversionActions),
5379
+ /** @deprecated Use `zernio.conversions.createConversionAction` instead. */
5380
+ createConversionAction: this._bind(createConversionAction),
5264
5381
  /** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
5265
5382
  listConversionDestinations: this._bind(listConversionDestinations),
5266
5383
  /** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@zernio/node",
8
- version: "0.2.717",
8
+ version: "0.2.719",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -3186,6 +3186,24 @@ var getAdsSearchTerms = (options) => {
3186
3186
  url: "/v1/ads/search-terms"
3187
3187
  });
3188
3188
  };
3189
+ var listBidStrategies = (options) => {
3190
+ return (options?.client ?? client).get({
3191
+ ...options,
3192
+ url: "/v1/ads/bid-strategies"
3193
+ });
3194
+ };
3195
+ var createBidStrategy = (options) => {
3196
+ return (options?.client ?? client).post({
3197
+ ...options,
3198
+ url: "/v1/ads/bid-strategies"
3199
+ });
3200
+ };
3201
+ var updateBidStrategy = (options) => {
3202
+ return (options?.client ?? client).patch({
3203
+ ...options,
3204
+ url: "/v1/ads/bid-strategies/{strategyId}"
3205
+ });
3206
+ };
3189
3207
  var listLocalServicesLeads = (options) => {
3190
3208
  return (options?.client ?? client).get({
3191
3209
  ...options,
@@ -3240,6 +3258,12 @@ var updateAdCampaignStatus = (options) => {
3240
3258
  url: "/v1/ads/campaigns/{campaignId}/status"
3241
3259
  });
3242
3260
  };
3261
+ var getCampaignBidding = (options) => {
3262
+ return (options?.client ?? client).get({
3263
+ ...options,
3264
+ url: "/v1/ads/campaigns/{campaignId}/bidding"
3265
+ });
3266
+ };
3243
3267
  var updateAdCampaign = (options) => {
3244
3268
  return (options?.client ?? client).put({
3245
3269
  ...options,
@@ -3276,6 +3300,30 @@ var duplicateAdCampaign = (options) => {
3276
3300
  url: "/v1/ads/campaigns/{campaignId}/duplicate"
3277
3301
  });
3278
3302
  };
3303
+ var getCampaignTargeting = (options) => {
3304
+ return (options?.client ?? client).get({
3305
+ ...options,
3306
+ url: "/v1/ads/campaigns/{campaignId}/targeting"
3307
+ });
3308
+ };
3309
+ var updateCampaignTargeting = (options) => {
3310
+ return (options?.client ?? client).put({
3311
+ ...options,
3312
+ url: "/v1/ads/campaigns/{campaignId}/targeting"
3313
+ });
3314
+ };
3315
+ var listAdSets = (options) => {
3316
+ return (options?.client ?? client).get({
3317
+ ...options,
3318
+ url: "/v1/ads/ad-sets"
3319
+ });
3320
+ };
3321
+ var createAdSet = (options) => {
3322
+ return (options?.client ?? client).post({
3323
+ ...options,
3324
+ url: "/v1/ads/ad-sets"
3325
+ });
3326
+ };
3279
3327
  var duplicateAdSet = (options) => {
3280
3328
  return (options?.client ?? client).post({
3281
3329
  ...options,
@@ -3558,6 +3606,24 @@ var deleteValueRuleSet = (options) => {
3558
3606
  url: "/v1/ads/value-rule-sets/{valueRuleSetId}"
3559
3607
  });
3560
3608
  };
3609
+ var listAccountCallouts = (options) => {
3610
+ return (options?.client ?? client).get({
3611
+ ...options,
3612
+ url: "/v1/ads/accounts/callouts"
3613
+ });
3614
+ };
3615
+ var addAccountCallouts = (options) => {
3616
+ return (options?.client ?? client).post({
3617
+ ...options,
3618
+ url: "/v1/ads/accounts/callouts"
3619
+ });
3620
+ };
3621
+ var removeAccountCallout = (options) => {
3622
+ return (options?.client ?? client).delete({
3623
+ ...options,
3624
+ url: "/v1/ads/accounts/callouts"
3625
+ });
3626
+ };
3561
3627
  var getAdAccountFinance = (options) => {
3562
3628
  return (options?.client ?? client).get({
3563
3629
  ...options,
@@ -3780,6 +3846,18 @@ var adjustConversions = (options) => {
3780
3846
  url: "/v1/ads/conversions/adjustments"
3781
3847
  });
3782
3848
  };
3849
+ var listConversionActions = (options) => {
3850
+ return (options?.client ?? client).get({
3851
+ ...options,
3852
+ url: "/v1/ads/conversions/actions"
3853
+ });
3854
+ };
3855
+ var createConversionAction = (options) => {
3856
+ return (options?.client ?? client).post({
3857
+ ...options,
3858
+ url: "/v1/ads/conversions/actions"
3859
+ });
3860
+ };
3783
3861
  var listConversionDestinations = (options) => {
3784
3862
  return (options?.client ?? client).get({
3785
3863
  ...options,
@@ -4845,6 +4923,9 @@ var Zernio = class _Zernio {
4845
4923
  */
4846
4924
  this.adcampaigns = {
4847
4925
  listAds: this._bind(listAds),
4926
+ listBidStrategies: this._bind(listBidStrategies),
4927
+ createBidStrategy: this._bind(createBidStrategy),
4928
+ updateBidStrategy: this._bind(updateBidStrategy),
4848
4929
  listAdKeywords: this._bind(listAdKeywords),
4849
4930
  addAdKeywords: this._bind(addAdKeywords),
4850
4931
  updateAdKeyword: this._bind(updateAdKeyword),
@@ -4852,12 +4933,17 @@ var Zernio = class _Zernio {
4852
4933
  listAdCampaigns: this._bind(listAdCampaigns),
4853
4934
  createAdCampaign: this._bind(createAdCampaign),
4854
4935
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
4936
+ getCampaignBidding: this._bind(getCampaignBidding),
4855
4937
  updateAdCampaign: this._bind(updateAdCampaign),
4856
4938
  deleteAdCampaign: this._bind(deleteAdCampaign),
4857
4939
  listCampaignNegativeKeywords: this._bind(listCampaignNegativeKeywords),
4858
4940
  replaceCampaignNegativeKeywords: this._bind(replaceCampaignNegativeKeywords),
4859
4941
  bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
4860
4942
  duplicateAdCampaign: this._bind(duplicateAdCampaign),
4943
+ getCampaignTargeting: this._bind(getCampaignTargeting),
4944
+ updateCampaignTargeting: this._bind(updateCampaignTargeting),
4945
+ listAdSets: this._bind(listAdSets),
4946
+ createAdSet: this._bind(createAdSet),
4861
4947
  duplicateAdSet: this._bind(duplicateAdSet),
4862
4948
  duplicateAd: this._bind(duplicateAd),
4863
4949
  getAdSetDetails: this._bind(getAdSetDetails),
@@ -4941,6 +5027,9 @@ var Zernio = class _Zernio {
4941
5027
  getValueRuleSet: this._bind(getValueRuleSet),
4942
5028
  updateValueRuleSet: this._bind(updateValueRuleSet),
4943
5029
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5030
+ listAccountCallouts: this._bind(listAccountCallouts),
5031
+ addAccountCallouts: this._bind(addAccountCallouts),
5032
+ removeAccountCallout: this._bind(removeAccountCallout),
4944
5033
  getAdAccountFinance: this._bind(getAdAccountFinance),
4945
5034
  listAdAccounts: this._bind(listAdAccounts),
4946
5035
  updateAdAccount: this._bind(updateAdAccount),
@@ -5005,6 +5094,8 @@ var Zernio = class _Zernio {
5005
5094
  getConversionsQuality: this._bind(getConversionsQuality),
5006
5095
  sendConversions: this._bind(sendConversions),
5007
5096
  adjustConversions: this._bind(adjustConversions),
5097
+ listConversionActions: this._bind(listConversionActions),
5098
+ createConversionAction: this._bind(createConversionAction),
5008
5099
  listConversionDestinations: this._bind(listConversionDestinations),
5009
5100
  createConversionDestination: this._bind(createConversionDestination),
5010
5101
  getConversionDestination: this._bind(getConversionDestination),
@@ -5054,6 +5145,12 @@ var Zernio = class _Zernio {
5054
5145
  this.ads = {
5055
5146
  /** @deprecated Use `zernio.adcampaigns.listAds` instead. */
5056
5147
  listAds: this._bind(listAds),
5148
+ /** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
5149
+ listBidStrategies: this._bind(listBidStrategies),
5150
+ /** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
5151
+ createBidStrategy: this._bind(createBidStrategy),
5152
+ /** @deprecated Use `zernio.adcampaigns.updateBidStrategy` instead. */
5153
+ updateBidStrategy: this._bind(updateBidStrategy),
5057
5154
  /** @deprecated Use `zernio.adcampaigns.listAdKeywords` instead. */
5058
5155
  listAdKeywords: this._bind(listAdKeywords),
5059
5156
  /** @deprecated Use `zernio.adcampaigns.addAdKeywords` instead. */
@@ -5068,6 +5165,8 @@ var Zernio = class _Zernio {
5068
5165
  createAdCampaign: this._bind(createAdCampaign),
5069
5166
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaignStatus` instead. */
5070
5167
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
5168
+ /** @deprecated Use `zernio.adcampaigns.getCampaignBidding` instead. */
5169
+ getCampaignBidding: this._bind(getCampaignBidding),
5071
5170
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaign` instead. */
5072
5171
  updateAdCampaign: this._bind(updateAdCampaign),
5073
5172
  /** @deprecated Use `zernio.adcampaigns.deleteAdCampaign` instead. */
@@ -5080,6 +5179,14 @@ var Zernio = class _Zernio {
5080
5179
  bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
5081
5180
  /** @deprecated Use `zernio.adcampaigns.duplicateAdCampaign` instead. */
5082
5181
  duplicateAdCampaign: this._bind(duplicateAdCampaign),
5182
+ /** @deprecated Use `zernio.adcampaigns.getCampaignTargeting` instead. */
5183
+ getCampaignTargeting: this._bind(getCampaignTargeting),
5184
+ /** @deprecated Use `zernio.adcampaigns.updateCampaignTargeting` instead. */
5185
+ updateCampaignTargeting: this._bind(updateCampaignTargeting),
5186
+ /** @deprecated Use `zernio.adcampaigns.listAdSets` instead. */
5187
+ listAdSets: this._bind(listAdSets),
5188
+ /** @deprecated Use `zernio.adcampaigns.createAdSet` instead. */
5189
+ createAdSet: this._bind(createAdSet),
5083
5190
  /** @deprecated Use `zernio.adcampaigns.duplicateAdSet` instead. */
5084
5191
  duplicateAdSet: this._bind(duplicateAdSet),
5085
5192
  /** @deprecated Use `zernio.adcampaigns.duplicateAd` instead. */
@@ -5136,6 +5243,12 @@ var Zernio = class _Zernio {
5136
5243
  updateValueRuleSet: this._bind(updateValueRuleSet),
5137
5244
  /** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
5138
5245
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
5246
+ /** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
5247
+ listAccountCallouts: this._bind(listAccountCallouts),
5248
+ /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
5249
+ addAccountCallouts: this._bind(addAccountCallouts),
5250
+ /** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
5251
+ removeAccountCallout: this._bind(removeAccountCallout),
5139
5252
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
5140
5253
  getAdAccountFinance: this._bind(getAdAccountFinance),
5141
5254
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
@@ -5230,6 +5343,10 @@ var Zernio = class _Zernio {
5230
5343
  sendConversions: this._bind(sendConversions),
5231
5344
  /** @deprecated Use `zernio.conversions.adjustConversions` instead. */
5232
5345
  adjustConversions: this._bind(adjustConversions),
5346
+ /** @deprecated Use `zernio.conversions.listConversionActions` instead. */
5347
+ listConversionActions: this._bind(listConversionActions),
5348
+ /** @deprecated Use `zernio.conversions.createConversionAction` instead. */
5349
+ createConversionAction: this._bind(createConversionAction),
5233
5350
  /** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
5234
5351
  listConversionDestinations: this._bind(listConversionDestinations),
5235
5352
  /** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.717",
3
+ "version": "0.2.719",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
package/src/client.ts CHANGED
@@ -3,6 +3,7 @@ import { createClient, createConfig, type Client } from '@hey-api/client-fetch';
3
3
  import {
4
4
  activateSequence,
5
5
  activateWorkflow,
6
+ addAccountCallouts,
6
7
  addAdKeywords,
7
8
  addBroadcastRecipients,
8
9
  addConversionAssociations,
@@ -50,13 +51,16 @@ import {
50
51
  createAdCampaign,
51
52
  createAdCreative,
52
53
  createAdInsightsReport,
54
+ createAdSet,
53
55
  createApiKey,
56
+ createBidStrategy,
54
57
  createBlog,
55
58
  createBlogArticle,
56
59
  createBroadcast,
57
60
  createCallAd,
58
61
  createCommentAutomation,
59
62
  createContact,
63
+ createConversionAction,
60
64
  createConversionDestination,
61
65
  createCtwaAd,
62
66
  createCustomConversion,
@@ -201,6 +205,8 @@ import {
201
205
  getCallRecording,
202
206
  getCallsUsage,
203
207
  getCampaignAnalytics,
208
+ getCampaignBidding,
209
+ getCampaignTargeting,
204
210
  getCommentAutomation,
205
211
  getConnectUrl,
206
212
  getContact,
@@ -344,6 +350,7 @@ import {
344
350
  initiateWhatsAppCall,
345
351
  likeInboxComment,
346
352
  likePost,
353
+ listAccountCallouts,
347
354
  listAccountGroups,
348
355
  listAccounts,
349
356
  listAdAccounts,
@@ -355,11 +362,13 @@ import {
355
362
  listAdImages,
356
363
  listAdKeywords,
357
364
  listAdLabels,
365
+ listAdSets,
358
366
  listAdStudies,
359
367
  listAdVideos,
360
368
  listAds,
361
369
  listAdsBusinessCenters,
362
370
  listApiKeys,
371
+ listBidStrategies,
363
372
  listBlogArticles,
364
373
  listBlogs,
365
374
  listBroadcastRecipients,
@@ -370,6 +379,7 @@ import {
370
379
  listCommentAutomations,
371
380
  listConnectedApps,
372
381
  listContacts,
382
+ listConversionActions,
373
383
  listConversionAssociations,
374
384
  listConversionDestinations,
375
385
  listCustomConversions,
@@ -455,6 +465,7 @@ import {
455
465
  releaseWhatsAppPhoneNumber,
456
466
  remediatePhoneNumber,
457
467
  remediateWhatsAppNumber,
468
+ removeAccountCallout,
458
469
  removeAdKeyword,
459
470
  removeBookmark,
460
471
  removeConversionAssociations,
@@ -547,10 +558,12 @@ import {
547
558
  updateAdSetStatus,
548
559
  updateAdStatus,
549
560
  updateAdTrackingTags,
561
+ updateBidStrategy,
550
562
  updateBlog,
551
563
  updateBlogArticle,
552
564
  updateBlueskySettings,
553
565
  updateBroadcast,
566
+ updateCampaignTargeting,
554
567
  updateCommentAutomation,
555
568
  updateContact,
556
569
  updateConversionDestination,
@@ -1536,6 +1549,9 @@ export class Zernio {
1536
1549
  */
1537
1550
  adcampaigns = {
1538
1551
  listAds: this._bind(listAds),
1552
+ listBidStrategies: this._bind(listBidStrategies),
1553
+ createBidStrategy: this._bind(createBidStrategy),
1554
+ updateBidStrategy: this._bind(updateBidStrategy),
1539
1555
  listAdKeywords: this._bind(listAdKeywords),
1540
1556
  addAdKeywords: this._bind(addAdKeywords),
1541
1557
  updateAdKeyword: this._bind(updateAdKeyword),
@@ -1543,12 +1559,17 @@ export class Zernio {
1543
1559
  listAdCampaigns: this._bind(listAdCampaigns),
1544
1560
  createAdCampaign: this._bind(createAdCampaign),
1545
1561
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
1562
+ getCampaignBidding: this._bind(getCampaignBidding),
1546
1563
  updateAdCampaign: this._bind(updateAdCampaign),
1547
1564
  deleteAdCampaign: this._bind(deleteAdCampaign),
1548
1565
  listCampaignNegativeKeywords: this._bind(listCampaignNegativeKeywords),
1549
1566
  replaceCampaignNegativeKeywords: this._bind(replaceCampaignNegativeKeywords),
1550
1567
  bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
1551
1568
  duplicateAdCampaign: this._bind(duplicateAdCampaign),
1569
+ getCampaignTargeting: this._bind(getCampaignTargeting),
1570
+ updateCampaignTargeting: this._bind(updateCampaignTargeting),
1571
+ listAdSets: this._bind(listAdSets),
1572
+ createAdSet: this._bind(createAdSet),
1552
1573
  duplicateAdSet: this._bind(duplicateAdSet),
1553
1574
  duplicateAd: this._bind(duplicateAd),
1554
1575
  getAdSetDetails: this._bind(getAdSetDetails),
@@ -1636,6 +1657,9 @@ export class Zernio {
1636
1657
  getValueRuleSet: this._bind(getValueRuleSet),
1637
1658
  updateValueRuleSet: this._bind(updateValueRuleSet),
1638
1659
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
1660
+ listAccountCallouts: this._bind(listAccountCallouts),
1661
+ addAccountCallouts: this._bind(addAccountCallouts),
1662
+ removeAccountCallout: this._bind(removeAccountCallout),
1639
1663
  getAdAccountFinance: this._bind(getAdAccountFinance),
1640
1664
  listAdAccounts: this._bind(listAdAccounts),
1641
1665
  updateAdAccount: this._bind(updateAdAccount),
@@ -1706,6 +1730,8 @@ export class Zernio {
1706
1730
  getConversionsQuality: this._bind(getConversionsQuality),
1707
1731
  sendConversions: this._bind(sendConversions),
1708
1732
  adjustConversions: this._bind(adjustConversions),
1733
+ listConversionActions: this._bind(listConversionActions),
1734
+ createConversionAction: this._bind(createConversionAction),
1709
1735
  listConversionDestinations: this._bind(listConversionDestinations),
1710
1736
  createConversionDestination: this._bind(createConversionDestination),
1711
1737
  getConversionDestination: this._bind(getConversionDestination),
@@ -1759,6 +1785,12 @@ export class Zernio {
1759
1785
  ads = {
1760
1786
  /** @deprecated Use `zernio.adcampaigns.listAds` instead. */
1761
1787
  listAds: this._bind(listAds),
1788
+ /** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
1789
+ listBidStrategies: this._bind(listBidStrategies),
1790
+ /** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
1791
+ createBidStrategy: this._bind(createBidStrategy),
1792
+ /** @deprecated Use `zernio.adcampaigns.updateBidStrategy` instead. */
1793
+ updateBidStrategy: this._bind(updateBidStrategy),
1762
1794
  /** @deprecated Use `zernio.adcampaigns.listAdKeywords` instead. */
1763
1795
  listAdKeywords: this._bind(listAdKeywords),
1764
1796
  /** @deprecated Use `zernio.adcampaigns.addAdKeywords` instead. */
@@ -1773,6 +1805,8 @@ export class Zernio {
1773
1805
  createAdCampaign: this._bind(createAdCampaign),
1774
1806
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaignStatus` instead. */
1775
1807
  updateAdCampaignStatus: this._bind(updateAdCampaignStatus),
1808
+ /** @deprecated Use `zernio.adcampaigns.getCampaignBidding` instead. */
1809
+ getCampaignBidding: this._bind(getCampaignBidding),
1776
1810
  /** @deprecated Use `zernio.adcampaigns.updateAdCampaign` instead. */
1777
1811
  updateAdCampaign: this._bind(updateAdCampaign),
1778
1812
  /** @deprecated Use `zernio.adcampaigns.deleteAdCampaign` instead. */
@@ -1785,6 +1819,14 @@ export class Zernio {
1785
1819
  bulkUpdateAdCampaignStatus: this._bind(bulkUpdateAdCampaignStatus),
1786
1820
  /** @deprecated Use `zernio.adcampaigns.duplicateAdCampaign` instead. */
1787
1821
  duplicateAdCampaign: this._bind(duplicateAdCampaign),
1822
+ /** @deprecated Use `zernio.adcampaigns.getCampaignTargeting` instead. */
1823
+ getCampaignTargeting: this._bind(getCampaignTargeting),
1824
+ /** @deprecated Use `zernio.adcampaigns.updateCampaignTargeting` instead. */
1825
+ updateCampaignTargeting: this._bind(updateCampaignTargeting),
1826
+ /** @deprecated Use `zernio.adcampaigns.listAdSets` instead. */
1827
+ listAdSets: this._bind(listAdSets),
1828
+ /** @deprecated Use `zernio.adcampaigns.createAdSet` instead. */
1829
+ createAdSet: this._bind(createAdSet),
1788
1830
  /** @deprecated Use `zernio.adcampaigns.duplicateAdSet` instead. */
1789
1831
  duplicateAdSet: this._bind(duplicateAdSet),
1790
1832
  /** @deprecated Use `zernio.adcampaigns.duplicateAd` instead. */
@@ -1841,6 +1883,12 @@ export class Zernio {
1841
1883
  updateValueRuleSet: this._bind(updateValueRuleSet),
1842
1884
  /** @deprecated Use `zernio.adaccounts.deleteValueRuleSet` instead. */
1843
1885
  deleteValueRuleSet: this._bind(deleteValueRuleSet),
1886
+ /** @deprecated Use `zernio.adaccounts.listAccountCallouts` instead. */
1887
+ listAccountCallouts: this._bind(listAccountCallouts),
1888
+ /** @deprecated Use `zernio.adaccounts.addAccountCallouts` instead. */
1889
+ addAccountCallouts: this._bind(addAccountCallouts),
1890
+ /** @deprecated Use `zernio.adaccounts.removeAccountCallout` instead. */
1891
+ removeAccountCallout: this._bind(removeAccountCallout),
1844
1892
  /** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
1845
1893
  getAdAccountFinance: this._bind(getAdAccountFinance),
1846
1894
  /** @deprecated Use `zernio.adaccounts.listAdAccounts` instead. */
@@ -1935,6 +1983,10 @@ export class Zernio {
1935
1983
  sendConversions: this._bind(sendConversions),
1936
1984
  /** @deprecated Use `zernio.conversions.adjustConversions` instead. */
1937
1985
  adjustConversions: this._bind(adjustConversions),
1986
+ /** @deprecated Use `zernio.conversions.listConversionActions` instead. */
1987
+ listConversionActions: this._bind(listConversionActions),
1988
+ /** @deprecated Use `zernio.conversions.createConversionAction` instead. */
1989
+ createConversionAction: this._bind(createConversionAction),
1938
1990
  /** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
1939
1991
  listConversionDestinations: this._bind(listConversionDestinations),
1940
1992
  /** @deprecated Use `zernio.conversions.createConversionDestination` instead. */