@getlatedev/node 0.2.942 → 0.2.944
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/README.md +9 -3
- package/dist/index.d.mts +426 -167
- package/dist/index.d.ts +426 -167
- package/dist/index.js +83 -29
- package/dist/index.mjs +83 -29
- package/package.json +1 -1
- package/src/client.ts +36 -12
- package/src/generated/sdk.gen.ts +132 -34
- package/src/generated/types.gen.ts +431 -170
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: "@getlatedev/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.944",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -3445,24 +3445,6 @@ var getAdsSearchTerms = (options) => {
|
|
|
3445
3445
|
url: "/v1/ads/search-terms"
|
|
3446
3446
|
});
|
|
3447
3447
|
};
|
|
3448
|
-
var listGoogleRecommendations = (options) => {
|
|
3449
|
-
return (options?.client ?? client).get({
|
|
3450
|
-
...options,
|
|
3451
|
-
url: "/v1/ads/recommendations"
|
|
3452
|
-
});
|
|
3453
|
-
};
|
|
3454
|
-
var applyGoogleRecommendations = (options) => {
|
|
3455
|
-
return (options?.client ?? client).post({
|
|
3456
|
-
...options,
|
|
3457
|
-
url: "/v1/ads/recommendations/apply"
|
|
3458
|
-
});
|
|
3459
|
-
};
|
|
3460
|
-
var dismissGoogleRecommendations = (options) => {
|
|
3461
|
-
return (options?.client ?? client).post({
|
|
3462
|
-
...options,
|
|
3463
|
-
url: "/v1/ads/recommendations/dismiss"
|
|
3464
|
-
});
|
|
3465
|
-
};
|
|
3466
3448
|
var listBidStrategies = (options) => {
|
|
3467
3449
|
return (options?.client ?? client).get({
|
|
3468
3450
|
...options,
|
|
@@ -4555,6 +4537,60 @@ var createConversionAction = (options) => {
|
|
|
4555
4537
|
url: "/v1/ads/conversions/actions"
|
|
4556
4538
|
});
|
|
4557
4539
|
};
|
|
4540
|
+
var listAdConversionGoals = (options) => {
|
|
4541
|
+
return (options?.client ?? client).get({
|
|
4542
|
+
...options,
|
|
4543
|
+
url: "/v1/ads/conversions/goals"
|
|
4544
|
+
});
|
|
4545
|
+
};
|
|
4546
|
+
var updateAdConversionGoals = (options) => {
|
|
4547
|
+
return (options?.client ?? client).patch({
|
|
4548
|
+
...options,
|
|
4549
|
+
url: "/v1/ads/conversions/goals"
|
|
4550
|
+
});
|
|
4551
|
+
};
|
|
4552
|
+
var updateConversionAction = (options) => {
|
|
4553
|
+
return (options?.client ?? client).patch({
|
|
4554
|
+
...options,
|
|
4555
|
+
url: "/v1/ads/conversions/actions/{actionId}"
|
|
4556
|
+
});
|
|
4557
|
+
};
|
|
4558
|
+
var listCustomConversionGoals = (options) => {
|
|
4559
|
+
return (options?.client ?? client).get({
|
|
4560
|
+
...options,
|
|
4561
|
+
url: "/v1/ads/conversions/custom-goals"
|
|
4562
|
+
});
|
|
4563
|
+
};
|
|
4564
|
+
var createCustomConversionGoal = (options) => {
|
|
4565
|
+
return (options?.client ?? client).post({
|
|
4566
|
+
...options,
|
|
4567
|
+
url: "/v1/ads/conversions/custom-goals"
|
|
4568
|
+
});
|
|
4569
|
+
};
|
|
4570
|
+
var updateCustomConversionGoal = (options) => {
|
|
4571
|
+
return (options?.client ?? client).patch({
|
|
4572
|
+
...options,
|
|
4573
|
+
url: "/v1/ads/conversions/custom-goals/{goalId}"
|
|
4574
|
+
});
|
|
4575
|
+
};
|
|
4576
|
+
var removeCustomConversionGoal = (options) => {
|
|
4577
|
+
return (options?.client ?? client).delete({
|
|
4578
|
+
...options,
|
|
4579
|
+
url: "/v1/ads/conversions/custom-goals/{goalId}"
|
|
4580
|
+
});
|
|
4581
|
+
};
|
|
4582
|
+
var getCampaignConversionGoals = (options) => {
|
|
4583
|
+
return (options?.client ?? client).get({
|
|
4584
|
+
...options,
|
|
4585
|
+
url: "/v1/ads/campaigns/{campaignId}/conversion-goals"
|
|
4586
|
+
});
|
|
4587
|
+
};
|
|
4588
|
+
var updateCampaignConversionGoals = (options) => {
|
|
4589
|
+
return (options?.client ?? client).patch({
|
|
4590
|
+
...options,
|
|
4591
|
+
url: "/v1/ads/campaigns/{campaignId}/conversion-goals"
|
|
4592
|
+
});
|
|
4593
|
+
};
|
|
4558
4594
|
var listConversionDestinations = (options) => {
|
|
4559
4595
|
return (options?.client ?? client).get({
|
|
4560
4596
|
...options,
|
|
@@ -6048,9 +6084,6 @@ var Zernio = class _Zernio {
|
|
|
6048
6084
|
*/
|
|
6049
6085
|
this.adcampaigns = {
|
|
6050
6086
|
listAds: this._bind(listAds),
|
|
6051
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6052
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6053
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6054
6087
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6055
6088
|
createBidStrategy: this._bind(createBidStrategy),
|
|
6056
6089
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -6105,7 +6138,9 @@ var Zernio = class _Zernio {
|
|
|
6105
6138
|
removeGoogleAssetGroup: this._bind(removeGoogleAssetGroup),
|
|
6106
6139
|
editGoogleAssetGroupAssets: this._bind(editGoogleAssetGroupAssets),
|
|
6107
6140
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6108
|
-
createStandaloneAd: this._bind(createStandaloneAd)
|
|
6141
|
+
createStandaloneAd: this._bind(createStandaloneAd),
|
|
6142
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
6143
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals)
|
|
6109
6144
|
};
|
|
6110
6145
|
/**
|
|
6111
6146
|
* adinsights API
|
|
@@ -6303,6 +6338,13 @@ var Zernio = class _Zernio {
|
|
|
6303
6338
|
adjustConversions: this._bind(adjustConversions),
|
|
6304
6339
|
listConversionActions: this._bind(listConversionActions),
|
|
6305
6340
|
createConversionAction: this._bind(createConversionAction),
|
|
6341
|
+
listAdConversionGoals: this._bind(listAdConversionGoals),
|
|
6342
|
+
updateAdConversionGoals: this._bind(updateAdConversionGoals),
|
|
6343
|
+
updateConversionAction: this._bind(updateConversionAction),
|
|
6344
|
+
listCustomConversionGoals: this._bind(listCustomConversionGoals),
|
|
6345
|
+
createCustomConversionGoal: this._bind(createCustomConversionGoal),
|
|
6346
|
+
updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
|
|
6347
|
+
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
6306
6348
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6307
6349
|
createConversionDestination: this._bind(createConversionDestination),
|
|
6308
6350
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -6426,12 +6468,6 @@ var Zernio = class _Zernio {
|
|
|
6426
6468
|
this.ads = {
|
|
6427
6469
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
6428
6470
|
listAds: this._bind(listAds),
|
|
6429
|
-
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
6430
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6431
|
-
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
6432
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6433
|
-
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
6434
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6435
6471
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
6436
6472
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6437
6473
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
|
@@ -6542,6 +6578,10 @@ var Zernio = class _Zernio {
|
|
|
6542
6578
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6543
6579
|
/** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
|
|
6544
6580
|
createStandaloneAd: this._bind(createStandaloneAd),
|
|
6581
|
+
/** @deprecated Use `zernio.adcampaigns.getCampaignConversionGoals` instead. */
|
|
6582
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
6583
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignConversionGoals` instead. */
|
|
6584
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals),
|
|
6545
6585
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
6546
6586
|
getAdComments: this._bind(getAdComments),
|
|
6547
6587
|
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
@@ -6742,6 +6782,20 @@ var Zernio = class _Zernio {
|
|
|
6742
6782
|
listConversionActions: this._bind(listConversionActions),
|
|
6743
6783
|
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
6744
6784
|
createConversionAction: this._bind(createConversionAction),
|
|
6785
|
+
/** @deprecated Use `zernio.conversions.listAdConversionGoals` instead. */
|
|
6786
|
+
listAdConversionGoals: this._bind(listAdConversionGoals),
|
|
6787
|
+
/** @deprecated Use `zernio.conversions.updateAdConversionGoals` instead. */
|
|
6788
|
+
updateAdConversionGoals: this._bind(updateAdConversionGoals),
|
|
6789
|
+
/** @deprecated Use `zernio.conversions.updateConversionAction` instead. */
|
|
6790
|
+
updateConversionAction: this._bind(updateConversionAction),
|
|
6791
|
+
/** @deprecated Use `zernio.conversions.listCustomConversionGoals` instead. */
|
|
6792
|
+
listCustomConversionGoals: this._bind(listCustomConversionGoals),
|
|
6793
|
+
/** @deprecated Use `zernio.conversions.createCustomConversionGoal` instead. */
|
|
6794
|
+
createCustomConversionGoal: this._bind(createCustomConversionGoal),
|
|
6795
|
+
/** @deprecated Use `zernio.conversions.updateCustomConversionGoal` instead. */
|
|
6796
|
+
updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
|
|
6797
|
+
/** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
|
|
6798
|
+
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
6745
6799
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
6746
6800
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6747
6801
|
/** @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: "@getlatedev/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.944",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -3414,24 +3414,6 @@ var getAdsSearchTerms = (options) => {
|
|
|
3414
3414
|
url: "/v1/ads/search-terms"
|
|
3415
3415
|
});
|
|
3416
3416
|
};
|
|
3417
|
-
var listGoogleRecommendations = (options) => {
|
|
3418
|
-
return (options?.client ?? client).get({
|
|
3419
|
-
...options,
|
|
3420
|
-
url: "/v1/ads/recommendations"
|
|
3421
|
-
});
|
|
3422
|
-
};
|
|
3423
|
-
var applyGoogleRecommendations = (options) => {
|
|
3424
|
-
return (options?.client ?? client).post({
|
|
3425
|
-
...options,
|
|
3426
|
-
url: "/v1/ads/recommendations/apply"
|
|
3427
|
-
});
|
|
3428
|
-
};
|
|
3429
|
-
var dismissGoogleRecommendations = (options) => {
|
|
3430
|
-
return (options?.client ?? client).post({
|
|
3431
|
-
...options,
|
|
3432
|
-
url: "/v1/ads/recommendations/dismiss"
|
|
3433
|
-
});
|
|
3434
|
-
};
|
|
3435
3417
|
var listBidStrategies = (options) => {
|
|
3436
3418
|
return (options?.client ?? client).get({
|
|
3437
3419
|
...options,
|
|
@@ -4524,6 +4506,60 @@ var createConversionAction = (options) => {
|
|
|
4524
4506
|
url: "/v1/ads/conversions/actions"
|
|
4525
4507
|
});
|
|
4526
4508
|
};
|
|
4509
|
+
var listAdConversionGoals = (options) => {
|
|
4510
|
+
return (options?.client ?? client).get({
|
|
4511
|
+
...options,
|
|
4512
|
+
url: "/v1/ads/conversions/goals"
|
|
4513
|
+
});
|
|
4514
|
+
};
|
|
4515
|
+
var updateAdConversionGoals = (options) => {
|
|
4516
|
+
return (options?.client ?? client).patch({
|
|
4517
|
+
...options,
|
|
4518
|
+
url: "/v1/ads/conversions/goals"
|
|
4519
|
+
});
|
|
4520
|
+
};
|
|
4521
|
+
var updateConversionAction = (options) => {
|
|
4522
|
+
return (options?.client ?? client).patch({
|
|
4523
|
+
...options,
|
|
4524
|
+
url: "/v1/ads/conversions/actions/{actionId}"
|
|
4525
|
+
});
|
|
4526
|
+
};
|
|
4527
|
+
var listCustomConversionGoals = (options) => {
|
|
4528
|
+
return (options?.client ?? client).get({
|
|
4529
|
+
...options,
|
|
4530
|
+
url: "/v1/ads/conversions/custom-goals"
|
|
4531
|
+
});
|
|
4532
|
+
};
|
|
4533
|
+
var createCustomConversionGoal = (options) => {
|
|
4534
|
+
return (options?.client ?? client).post({
|
|
4535
|
+
...options,
|
|
4536
|
+
url: "/v1/ads/conversions/custom-goals"
|
|
4537
|
+
});
|
|
4538
|
+
};
|
|
4539
|
+
var updateCustomConversionGoal = (options) => {
|
|
4540
|
+
return (options?.client ?? client).patch({
|
|
4541
|
+
...options,
|
|
4542
|
+
url: "/v1/ads/conversions/custom-goals/{goalId}"
|
|
4543
|
+
});
|
|
4544
|
+
};
|
|
4545
|
+
var removeCustomConversionGoal = (options) => {
|
|
4546
|
+
return (options?.client ?? client).delete({
|
|
4547
|
+
...options,
|
|
4548
|
+
url: "/v1/ads/conversions/custom-goals/{goalId}"
|
|
4549
|
+
});
|
|
4550
|
+
};
|
|
4551
|
+
var getCampaignConversionGoals = (options) => {
|
|
4552
|
+
return (options?.client ?? client).get({
|
|
4553
|
+
...options,
|
|
4554
|
+
url: "/v1/ads/campaigns/{campaignId}/conversion-goals"
|
|
4555
|
+
});
|
|
4556
|
+
};
|
|
4557
|
+
var updateCampaignConversionGoals = (options) => {
|
|
4558
|
+
return (options?.client ?? client).patch({
|
|
4559
|
+
...options,
|
|
4560
|
+
url: "/v1/ads/campaigns/{campaignId}/conversion-goals"
|
|
4561
|
+
});
|
|
4562
|
+
};
|
|
4527
4563
|
var listConversionDestinations = (options) => {
|
|
4528
4564
|
return (options?.client ?? client).get({
|
|
4529
4565
|
...options,
|
|
@@ -6017,9 +6053,6 @@ var Zernio = class _Zernio {
|
|
|
6017
6053
|
*/
|
|
6018
6054
|
this.adcampaigns = {
|
|
6019
6055
|
listAds: this._bind(listAds),
|
|
6020
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6021
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6022
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6023
6056
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6024
6057
|
createBidStrategy: this._bind(createBidStrategy),
|
|
6025
6058
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -6074,7 +6107,9 @@ var Zernio = class _Zernio {
|
|
|
6074
6107
|
removeGoogleAssetGroup: this._bind(removeGoogleAssetGroup),
|
|
6075
6108
|
editGoogleAssetGroupAssets: this._bind(editGoogleAssetGroupAssets),
|
|
6076
6109
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6077
|
-
createStandaloneAd: this._bind(createStandaloneAd)
|
|
6110
|
+
createStandaloneAd: this._bind(createStandaloneAd),
|
|
6111
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
6112
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals)
|
|
6078
6113
|
};
|
|
6079
6114
|
/**
|
|
6080
6115
|
* adinsights API
|
|
@@ -6272,6 +6307,13 @@ var Zernio = class _Zernio {
|
|
|
6272
6307
|
adjustConversions: this._bind(adjustConversions),
|
|
6273
6308
|
listConversionActions: this._bind(listConversionActions),
|
|
6274
6309
|
createConversionAction: this._bind(createConversionAction),
|
|
6310
|
+
listAdConversionGoals: this._bind(listAdConversionGoals),
|
|
6311
|
+
updateAdConversionGoals: this._bind(updateAdConversionGoals),
|
|
6312
|
+
updateConversionAction: this._bind(updateConversionAction),
|
|
6313
|
+
listCustomConversionGoals: this._bind(listCustomConversionGoals),
|
|
6314
|
+
createCustomConversionGoal: this._bind(createCustomConversionGoal),
|
|
6315
|
+
updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
|
|
6316
|
+
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
6275
6317
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6276
6318
|
createConversionDestination: this._bind(createConversionDestination),
|
|
6277
6319
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -6395,12 +6437,6 @@ var Zernio = class _Zernio {
|
|
|
6395
6437
|
this.ads = {
|
|
6396
6438
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
6397
6439
|
listAds: this._bind(listAds),
|
|
6398
|
-
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
6399
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6400
|
-
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
6401
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6402
|
-
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
6403
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6404
6440
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
6405
6441
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6406
6442
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
|
@@ -6511,6 +6547,10 @@ var Zernio = class _Zernio {
|
|
|
6511
6547
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6512
6548
|
/** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
|
|
6513
6549
|
createStandaloneAd: this._bind(createStandaloneAd),
|
|
6550
|
+
/** @deprecated Use `zernio.adcampaigns.getCampaignConversionGoals` instead. */
|
|
6551
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
6552
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignConversionGoals` instead. */
|
|
6553
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals),
|
|
6514
6554
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
6515
6555
|
getAdComments: this._bind(getAdComments),
|
|
6516
6556
|
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
@@ -6711,6 +6751,20 @@ var Zernio = class _Zernio {
|
|
|
6711
6751
|
listConversionActions: this._bind(listConversionActions),
|
|
6712
6752
|
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
6713
6753
|
createConversionAction: this._bind(createConversionAction),
|
|
6754
|
+
/** @deprecated Use `zernio.conversions.listAdConversionGoals` instead. */
|
|
6755
|
+
listAdConversionGoals: this._bind(listAdConversionGoals),
|
|
6756
|
+
/** @deprecated Use `zernio.conversions.updateAdConversionGoals` instead. */
|
|
6757
|
+
updateAdConversionGoals: this._bind(updateAdConversionGoals),
|
|
6758
|
+
/** @deprecated Use `zernio.conversions.updateConversionAction` instead. */
|
|
6759
|
+
updateConversionAction: this._bind(updateConversionAction),
|
|
6760
|
+
/** @deprecated Use `zernio.conversions.listCustomConversionGoals` instead. */
|
|
6761
|
+
listCustomConversionGoals: this._bind(listCustomConversionGoals),
|
|
6762
|
+
/** @deprecated Use `zernio.conversions.createCustomConversionGoal` instead. */
|
|
6763
|
+
createCustomConversionGoal: this._bind(createCustomConversionGoal),
|
|
6764
|
+
/** @deprecated Use `zernio.conversions.updateCustomConversionGoal` instead. */
|
|
6765
|
+
updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
|
|
6766
|
+
/** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
|
|
6767
|
+
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
6714
6768
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
6715
6769
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6716
6770
|
/** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -19,7 +19,6 @@ import {
|
|
|
19
19
|
addWhatsAppGroupParticipants,
|
|
20
20
|
adjustConversions,
|
|
21
21
|
appealSmsRegistration,
|
|
22
|
-
applyGoogleRecommendations,
|
|
23
22
|
approveWhatsAppGroupJoinRequests,
|
|
24
23
|
archiveLeadForm,
|
|
25
24
|
assignGoogleBusinessLocation,
|
|
@@ -89,6 +88,7 @@ import {
|
|
|
89
88
|
createConversionDestination,
|
|
90
89
|
createCtwaAd,
|
|
91
90
|
createCustomConversion,
|
|
91
|
+
createCustomConversionGoal,
|
|
92
92
|
createCustomField,
|
|
93
93
|
createDiscordGuildRole,
|
|
94
94
|
createDiscordScheduledEvent,
|
|
@@ -198,7 +198,6 @@ import {
|
|
|
198
198
|
disableVoiceOnNumber,
|
|
199
199
|
disableWhatsAppCalling,
|
|
200
200
|
disableWhatsAppCallingLegacy,
|
|
201
|
-
dismissGoogleRecommendations,
|
|
202
201
|
downloadTikTokVideo,
|
|
203
202
|
duplicateAd,
|
|
204
203
|
duplicateAdCampaign,
|
|
@@ -271,6 +270,7 @@ import {
|
|
|
271
270
|
getCampaignAdSchedule,
|
|
272
271
|
getCampaignAnalytics,
|
|
273
272
|
getCampaignBidding,
|
|
273
|
+
getCampaignConversionGoals,
|
|
274
274
|
getCampaignTargeting,
|
|
275
275
|
getCommentAutomation,
|
|
276
276
|
getConnectUrl,
|
|
@@ -443,6 +443,7 @@ import {
|
|
|
443
443
|
listAdCatalogProductSets,
|
|
444
444
|
listAdCatalogProducts,
|
|
445
445
|
listAdCatalogs,
|
|
446
|
+
listAdConversionGoals,
|
|
446
447
|
listAdCreatives,
|
|
447
448
|
listAdGroupAssets,
|
|
448
449
|
listAdImages,
|
|
@@ -484,6 +485,7 @@ import {
|
|
|
484
485
|
listConversionActions,
|
|
485
486
|
listConversionAssociations,
|
|
486
487
|
listConversionDestinations,
|
|
488
|
+
listCustomConversionGoals,
|
|
487
489
|
listCustomConversions,
|
|
488
490
|
listCustomFields,
|
|
489
491
|
listDiscordGuildMembers,
|
|
@@ -496,7 +498,6 @@ import {
|
|
|
496
498
|
listGoogleBusinessLocations,
|
|
497
499
|
listGoogleBusinessMedia,
|
|
498
500
|
listGoogleBusinessPlaceActions,
|
|
499
|
-
listGoogleRecommendations,
|
|
500
501
|
listHighDemandPeriods,
|
|
501
502
|
listImessageAudience,
|
|
502
503
|
listImessageAvailableNumbers,
|
|
@@ -595,6 +596,7 @@ import {
|
|
|
595
596
|
removeBusinessAgentAllowlistEntry,
|
|
596
597
|
removeCampaignAssets,
|
|
597
598
|
removeConversionAssociations,
|
|
599
|
+
removeCustomConversionGoal,
|
|
598
600
|
removeDiscordMemberRole,
|
|
599
601
|
removeGoogleAssetGroup,
|
|
600
602
|
removeImessageGroupParticipant,
|
|
@@ -707,6 +709,7 @@ import {
|
|
|
707
709
|
updateAdCampaignStatus,
|
|
708
710
|
updateAdCatalogProduct,
|
|
709
711
|
updateAdCatalogProductSet,
|
|
712
|
+
updateAdConversionGoals,
|
|
710
713
|
updateAdCreative,
|
|
711
714
|
updateAdGroupAssets,
|
|
712
715
|
updateAdKeyword,
|
|
@@ -730,10 +733,13 @@ import {
|
|
|
730
733
|
updateBusinessAgentWebsite,
|
|
731
734
|
updateCampaignAdSchedule,
|
|
732
735
|
updateCampaignAssets,
|
|
736
|
+
updateCampaignConversionGoals,
|
|
733
737
|
updateCampaignTargeting,
|
|
734
738
|
updateCommentAutomation,
|
|
735
739
|
updateContact,
|
|
740
|
+
updateConversionAction,
|
|
736
741
|
updateConversionDestination,
|
|
742
|
+
updateCustomConversionGoal,
|
|
737
743
|
updateCustomField,
|
|
738
744
|
updateDiscordScheduledEvent,
|
|
739
745
|
updateDiscordSettings,
|
|
@@ -1767,9 +1773,6 @@ export class Zernio {
|
|
|
1767
1773
|
*/
|
|
1768
1774
|
adcampaigns = {
|
|
1769
1775
|
listAds: this._bind(listAds),
|
|
1770
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
1771
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
1772
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
1773
1776
|
listBidStrategies: this._bind(listBidStrategies),
|
|
1774
1777
|
createBidStrategy: this._bind(createBidStrategy),
|
|
1775
1778
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -1825,6 +1828,8 @@ export class Zernio {
|
|
|
1825
1828
|
editGoogleAssetGroupAssets: this._bind(editGoogleAssetGroupAssets),
|
|
1826
1829
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
1827
1830
|
createStandaloneAd: this._bind(createStandaloneAd),
|
|
1831
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
1832
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals),
|
|
1828
1833
|
};
|
|
1829
1834
|
|
|
1830
1835
|
/**
|
|
@@ -2033,6 +2038,13 @@ export class Zernio {
|
|
|
2033
2038
|
adjustConversions: this._bind(adjustConversions),
|
|
2034
2039
|
listConversionActions: this._bind(listConversionActions),
|
|
2035
2040
|
createConversionAction: this._bind(createConversionAction),
|
|
2041
|
+
listAdConversionGoals: this._bind(listAdConversionGoals),
|
|
2042
|
+
updateAdConversionGoals: this._bind(updateAdConversionGoals),
|
|
2043
|
+
updateConversionAction: this._bind(updateConversionAction),
|
|
2044
|
+
listCustomConversionGoals: this._bind(listCustomConversionGoals),
|
|
2045
|
+
createCustomConversionGoal: this._bind(createCustomConversionGoal),
|
|
2046
|
+
updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
|
|
2047
|
+
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
2036
2048
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
2037
2049
|
createConversionDestination: this._bind(createConversionDestination),
|
|
2038
2050
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -2163,12 +2175,6 @@ export class Zernio {
|
|
|
2163
2175
|
ads = {
|
|
2164
2176
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
2165
2177
|
listAds: this._bind(listAds),
|
|
2166
|
-
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
2167
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
2168
|
-
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
2169
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
2170
|
-
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
2171
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
2172
2178
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
2173
2179
|
listBidStrategies: this._bind(listBidStrategies),
|
|
2174
2180
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
|
@@ -2279,6 +2285,10 @@ export class Zernio {
|
|
|
2279
2285
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
2280
2286
|
/** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
|
|
2281
2287
|
createStandaloneAd: this._bind(createStandaloneAd),
|
|
2288
|
+
/** @deprecated Use `zernio.adcampaigns.getCampaignConversionGoals` instead. */
|
|
2289
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
2290
|
+
/** @deprecated Use `zernio.adcampaigns.updateCampaignConversionGoals` instead. */
|
|
2291
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals),
|
|
2282
2292
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
2283
2293
|
getAdComments: this._bind(getAdComments),
|
|
2284
2294
|
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
@@ -2479,6 +2489,20 @@ export class Zernio {
|
|
|
2479
2489
|
listConversionActions: this._bind(listConversionActions),
|
|
2480
2490
|
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
2481
2491
|
createConversionAction: this._bind(createConversionAction),
|
|
2492
|
+
/** @deprecated Use `zernio.conversions.listAdConversionGoals` instead. */
|
|
2493
|
+
listAdConversionGoals: this._bind(listAdConversionGoals),
|
|
2494
|
+
/** @deprecated Use `zernio.conversions.updateAdConversionGoals` instead. */
|
|
2495
|
+
updateAdConversionGoals: this._bind(updateAdConversionGoals),
|
|
2496
|
+
/** @deprecated Use `zernio.conversions.updateConversionAction` instead. */
|
|
2497
|
+
updateConversionAction: this._bind(updateConversionAction),
|
|
2498
|
+
/** @deprecated Use `zernio.conversions.listCustomConversionGoals` instead. */
|
|
2499
|
+
listCustomConversionGoals: this._bind(listCustomConversionGoals),
|
|
2500
|
+
/** @deprecated Use `zernio.conversions.createCustomConversionGoal` instead. */
|
|
2501
|
+
createCustomConversionGoal: this._bind(createCustomConversionGoal),
|
|
2502
|
+
/** @deprecated Use `zernio.conversions.updateCustomConversionGoal` instead. */
|
|
2503
|
+
updateCustomConversionGoal: this._bind(updateCustomConversionGoal),
|
|
2504
|
+
/** @deprecated Use `zernio.conversions.removeCustomConversionGoal` instead. */
|
|
2505
|
+
removeCustomConversionGoal: this._bind(removeCustomConversionGoal),
|
|
2482
2506
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
2483
2507
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
2484
2508
|
/** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
|