@getlatedev/node 0.2.941 → 0.2.943
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 +12 -3
- package/dist/index.d.mts +525 -150
- package/dist/index.d.ts +525 -150
- package/dist/index.js +110 -29
- package/dist/index.mjs +110 -29
- package/package.json +1 -1
- package/src/client.ts +48 -12
- package/src/generated/sdk.gen.ts +149 -34
- package/src/generated/types.gen.ts +533 -153
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.943",
|
|
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,
|
|
@@ -4147,6 +4129,24 @@ var removeAccountStructuredSnippet = (options) => {
|
|
|
4147
4129
|
url: "/v1/ads/accounts/structured-snippets"
|
|
4148
4130
|
});
|
|
4149
4131
|
};
|
|
4132
|
+
var getAdAccountHierarchy = (options) => {
|
|
4133
|
+
return (options?.client ?? client).get({
|
|
4134
|
+
...options,
|
|
4135
|
+
url: "/v1/ads/accounts/hierarchy"
|
|
4136
|
+
});
|
|
4137
|
+
};
|
|
4138
|
+
var inviteAdAccountToManager = (options) => {
|
|
4139
|
+
return (options?.client ?? client).post({
|
|
4140
|
+
...options,
|
|
4141
|
+
url: "/v1/ads/accounts/manager-links"
|
|
4142
|
+
});
|
|
4143
|
+
};
|
|
4144
|
+
var updateAdAccountManagerLink = (options) => {
|
|
4145
|
+
return (options?.client ?? client).patch({
|
|
4146
|
+
...options,
|
|
4147
|
+
url: "/v1/ads/accounts/manager-links"
|
|
4148
|
+
});
|
|
4149
|
+
};
|
|
4150
4150
|
var getAdAccountFinance = (options) => {
|
|
4151
4151
|
return (options?.client ?? client).get({
|
|
4152
4152
|
...options,
|
|
@@ -4537,6 +4537,60 @@ var createConversionAction = (options) => {
|
|
|
4537
4537
|
url: "/v1/ads/conversions/actions"
|
|
4538
4538
|
});
|
|
4539
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
|
+
};
|
|
4540
4594
|
var listConversionDestinations = (options) => {
|
|
4541
4595
|
return (options?.client ?? client).get({
|
|
4542
4596
|
...options,
|
|
@@ -6030,9 +6084,6 @@ var Zernio = class _Zernio {
|
|
|
6030
6084
|
*/
|
|
6031
6085
|
this.adcampaigns = {
|
|
6032
6086
|
listAds: this._bind(listAds),
|
|
6033
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6034
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6035
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6036
6087
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6037
6088
|
createBidStrategy: this._bind(createBidStrategy),
|
|
6038
6089
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -6087,7 +6138,9 @@ var Zernio = class _Zernio {
|
|
|
6087
6138
|
removeGoogleAssetGroup: this._bind(removeGoogleAssetGroup),
|
|
6088
6139
|
editGoogleAssetGroupAssets: this._bind(editGoogleAssetGroupAssets),
|
|
6089
6140
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6090
|
-
createStandaloneAd: this._bind(createStandaloneAd)
|
|
6141
|
+
createStandaloneAd: this._bind(createStandaloneAd),
|
|
6142
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
6143
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals)
|
|
6091
6144
|
};
|
|
6092
6145
|
/**
|
|
6093
6146
|
* adinsights API
|
|
@@ -6189,6 +6242,9 @@ var Zernio = class _Zernio {
|
|
|
6189
6242
|
addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
|
|
6190
6243
|
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
6191
6244
|
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
6245
|
+
getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
|
|
6246
|
+
inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
|
|
6247
|
+
updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
|
|
6192
6248
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
6193
6249
|
createAdAccount: this._bind(createAdAccount),
|
|
6194
6250
|
listAdAccounts: this._bind(listAdAccounts),
|
|
@@ -6282,6 +6338,13 @@ var Zernio = class _Zernio {
|
|
|
6282
6338
|
adjustConversions: this._bind(adjustConversions),
|
|
6283
6339
|
listConversionActions: this._bind(listConversionActions),
|
|
6284
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),
|
|
6285
6348
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6286
6349
|
createConversionDestination: this._bind(createConversionDestination),
|
|
6287
6350
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -6405,12 +6468,6 @@ var Zernio = class _Zernio {
|
|
|
6405
6468
|
this.ads = {
|
|
6406
6469
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
6407
6470
|
listAds: this._bind(listAds),
|
|
6408
|
-
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
6409
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6410
|
-
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
6411
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6412
|
-
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
6413
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6414
6471
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
6415
6472
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6416
6473
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
|
@@ -6521,6 +6578,10 @@ var Zernio = class _Zernio {
|
|
|
6521
6578
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6522
6579
|
/** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
|
|
6523
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),
|
|
6524
6585
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
6525
6586
|
getAdComments: this._bind(getAdComments),
|
|
6526
6587
|
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
@@ -6607,6 +6668,12 @@ var Zernio = class _Zernio {
|
|
|
6607
6668
|
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
6608
6669
|
/** @deprecated Use `zernio.adaccounts.removeAccountStructuredSnippet` instead. */
|
|
6609
6670
|
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
6671
|
+
/** @deprecated Use `zernio.adaccounts.getAdAccountHierarchy` instead. */
|
|
6672
|
+
getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
|
|
6673
|
+
/** @deprecated Use `zernio.adaccounts.inviteAdAccountToManager` instead. */
|
|
6674
|
+
inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
|
|
6675
|
+
/** @deprecated Use `zernio.adaccounts.updateAdAccountManagerLink` instead. */
|
|
6676
|
+
updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
|
|
6610
6677
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
6611
6678
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
6612
6679
|
/** @deprecated Use `zernio.adaccounts.createAdAccount` instead. */
|
|
@@ -6715,6 +6782,20 @@ var Zernio = class _Zernio {
|
|
|
6715
6782
|
listConversionActions: this._bind(listConversionActions),
|
|
6716
6783
|
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
6717
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),
|
|
6718
6799
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
6719
6800
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6720
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.943",
|
|
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,
|
|
@@ -4116,6 +4098,24 @@ var removeAccountStructuredSnippet = (options) => {
|
|
|
4116
4098
|
url: "/v1/ads/accounts/structured-snippets"
|
|
4117
4099
|
});
|
|
4118
4100
|
};
|
|
4101
|
+
var getAdAccountHierarchy = (options) => {
|
|
4102
|
+
return (options?.client ?? client).get({
|
|
4103
|
+
...options,
|
|
4104
|
+
url: "/v1/ads/accounts/hierarchy"
|
|
4105
|
+
});
|
|
4106
|
+
};
|
|
4107
|
+
var inviteAdAccountToManager = (options) => {
|
|
4108
|
+
return (options?.client ?? client).post({
|
|
4109
|
+
...options,
|
|
4110
|
+
url: "/v1/ads/accounts/manager-links"
|
|
4111
|
+
});
|
|
4112
|
+
};
|
|
4113
|
+
var updateAdAccountManagerLink = (options) => {
|
|
4114
|
+
return (options?.client ?? client).patch({
|
|
4115
|
+
...options,
|
|
4116
|
+
url: "/v1/ads/accounts/manager-links"
|
|
4117
|
+
});
|
|
4118
|
+
};
|
|
4119
4119
|
var getAdAccountFinance = (options) => {
|
|
4120
4120
|
return (options?.client ?? client).get({
|
|
4121
4121
|
...options,
|
|
@@ -4506,6 +4506,60 @@ var createConversionAction = (options) => {
|
|
|
4506
4506
|
url: "/v1/ads/conversions/actions"
|
|
4507
4507
|
});
|
|
4508
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
|
+
};
|
|
4509
4563
|
var listConversionDestinations = (options) => {
|
|
4510
4564
|
return (options?.client ?? client).get({
|
|
4511
4565
|
...options,
|
|
@@ -5999,9 +6053,6 @@ var Zernio = class _Zernio {
|
|
|
5999
6053
|
*/
|
|
6000
6054
|
this.adcampaigns = {
|
|
6001
6055
|
listAds: this._bind(listAds),
|
|
6002
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6003
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6004
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6005
6056
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6006
6057
|
createBidStrategy: this._bind(createBidStrategy),
|
|
6007
6058
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -6056,7 +6107,9 @@ var Zernio = class _Zernio {
|
|
|
6056
6107
|
removeGoogleAssetGroup: this._bind(removeGoogleAssetGroup),
|
|
6057
6108
|
editGoogleAssetGroupAssets: this._bind(editGoogleAssetGroupAssets),
|
|
6058
6109
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6059
|
-
createStandaloneAd: this._bind(createStandaloneAd)
|
|
6110
|
+
createStandaloneAd: this._bind(createStandaloneAd),
|
|
6111
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
6112
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals)
|
|
6060
6113
|
};
|
|
6061
6114
|
/**
|
|
6062
6115
|
* adinsights API
|
|
@@ -6158,6 +6211,9 @@ var Zernio = class _Zernio {
|
|
|
6158
6211
|
addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
|
|
6159
6212
|
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
6160
6213
|
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
6214
|
+
getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
|
|
6215
|
+
inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
|
|
6216
|
+
updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
|
|
6161
6217
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
6162
6218
|
createAdAccount: this._bind(createAdAccount),
|
|
6163
6219
|
listAdAccounts: this._bind(listAdAccounts),
|
|
@@ -6251,6 +6307,13 @@ var Zernio = class _Zernio {
|
|
|
6251
6307
|
adjustConversions: this._bind(adjustConversions),
|
|
6252
6308
|
listConversionActions: this._bind(listConversionActions),
|
|
6253
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),
|
|
6254
6317
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6255
6318
|
createConversionDestination: this._bind(createConversionDestination),
|
|
6256
6319
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -6374,12 +6437,6 @@ var Zernio = class _Zernio {
|
|
|
6374
6437
|
this.ads = {
|
|
6375
6438
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
6376
6439
|
listAds: this._bind(listAds),
|
|
6377
|
-
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
6378
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6379
|
-
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
6380
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6381
|
-
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
6382
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6383
6440
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
6384
6441
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6385
6442
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
|
@@ -6490,6 +6547,10 @@ var Zernio = class _Zernio {
|
|
|
6490
6547
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
6491
6548
|
/** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
|
|
6492
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),
|
|
6493
6554
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
6494
6555
|
getAdComments: this._bind(getAdComments),
|
|
6495
6556
|
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
@@ -6576,6 +6637,12 @@ var Zernio = class _Zernio {
|
|
|
6576
6637
|
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
6577
6638
|
/** @deprecated Use `zernio.adaccounts.removeAccountStructuredSnippet` instead. */
|
|
6578
6639
|
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
6640
|
+
/** @deprecated Use `zernio.adaccounts.getAdAccountHierarchy` instead. */
|
|
6641
|
+
getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
|
|
6642
|
+
/** @deprecated Use `zernio.adaccounts.inviteAdAccountToManager` instead. */
|
|
6643
|
+
inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
|
|
6644
|
+
/** @deprecated Use `zernio.adaccounts.updateAdAccountManagerLink` instead. */
|
|
6645
|
+
updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
|
|
6579
6646
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
6580
6647
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
6581
6648
|
/** @deprecated Use `zernio.adaccounts.createAdAccount` instead. */
|
|
@@ -6684,6 +6751,20 @@ var Zernio = class _Zernio {
|
|
|
6684
6751
|
listConversionActions: this._bind(listConversionActions),
|
|
6685
6752
|
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
6686
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),
|
|
6687
6768
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
6688
6769
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
6689
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,
|
|
@@ -225,6 +224,7 @@ import {
|
|
|
225
224
|
getAccountPosts,
|
|
226
225
|
getAd,
|
|
227
226
|
getAdAccountFinance,
|
|
227
|
+
getAdAccountHierarchy,
|
|
228
228
|
getAdAnalytics,
|
|
229
229
|
getAdAudience,
|
|
230
230
|
getAdCampaignDetails,
|
|
@@ -270,6 +270,7 @@ import {
|
|
|
270
270
|
getCampaignAdSchedule,
|
|
271
271
|
getCampaignAnalytics,
|
|
272
272
|
getCampaignBidding,
|
|
273
|
+
getCampaignConversionGoals,
|
|
273
274
|
getCampaignTargeting,
|
|
274
275
|
getCommentAutomation,
|
|
275
276
|
getConnectUrl,
|
|
@@ -425,6 +426,7 @@ import {
|
|
|
425
426
|
hideInboxComment,
|
|
426
427
|
initiateTelegramConnect,
|
|
427
428
|
initiateWhatsAppCall,
|
|
429
|
+
inviteAdAccountToManager,
|
|
428
430
|
likeInboxComment,
|
|
429
431
|
likePost,
|
|
430
432
|
linkWhatsAppCatalog,
|
|
@@ -441,6 +443,7 @@ import {
|
|
|
441
443
|
listAdCatalogProductSets,
|
|
442
444
|
listAdCatalogProducts,
|
|
443
445
|
listAdCatalogs,
|
|
446
|
+
listAdConversionGoals,
|
|
444
447
|
listAdCreatives,
|
|
445
448
|
listAdGroupAssets,
|
|
446
449
|
listAdImages,
|
|
@@ -482,6 +485,7 @@ import {
|
|
|
482
485
|
listConversionActions,
|
|
483
486
|
listConversionAssociations,
|
|
484
487
|
listConversionDestinations,
|
|
488
|
+
listCustomConversionGoals,
|
|
485
489
|
listCustomConversions,
|
|
486
490
|
listCustomFields,
|
|
487
491
|
listDiscordGuildMembers,
|
|
@@ -494,7 +498,6 @@ import {
|
|
|
494
498
|
listGoogleBusinessLocations,
|
|
495
499
|
listGoogleBusinessMedia,
|
|
496
500
|
listGoogleBusinessPlaceActions,
|
|
497
|
-
listGoogleRecommendations,
|
|
498
501
|
listHighDemandPeriods,
|
|
499
502
|
listImessageAudience,
|
|
500
503
|
listImessageAvailableNumbers,
|
|
@@ -593,6 +596,7 @@ import {
|
|
|
593
596
|
removeBusinessAgentAllowlistEntry,
|
|
594
597
|
removeCampaignAssets,
|
|
595
598
|
removeConversionAssociations,
|
|
599
|
+
removeCustomConversionGoal,
|
|
596
600
|
removeDiscordMemberRole,
|
|
597
601
|
removeGoogleAssetGroup,
|
|
598
602
|
removeImessageGroupParticipant,
|
|
@@ -699,11 +703,13 @@ import {
|
|
|
699
703
|
updateAccountStructuredSnippets,
|
|
700
704
|
updateAd,
|
|
701
705
|
updateAdAccount,
|
|
706
|
+
updateAdAccountManagerLink,
|
|
702
707
|
updateAdAudience,
|
|
703
708
|
updateAdCampaign,
|
|
704
709
|
updateAdCampaignStatus,
|
|
705
710
|
updateAdCatalogProduct,
|
|
706
711
|
updateAdCatalogProductSet,
|
|
712
|
+
updateAdConversionGoals,
|
|
707
713
|
updateAdCreative,
|
|
708
714
|
updateAdGroupAssets,
|
|
709
715
|
updateAdKeyword,
|
|
@@ -727,10 +733,13 @@ import {
|
|
|
727
733
|
updateBusinessAgentWebsite,
|
|
728
734
|
updateCampaignAdSchedule,
|
|
729
735
|
updateCampaignAssets,
|
|
736
|
+
updateCampaignConversionGoals,
|
|
730
737
|
updateCampaignTargeting,
|
|
731
738
|
updateCommentAutomation,
|
|
732
739
|
updateContact,
|
|
740
|
+
updateConversionAction,
|
|
733
741
|
updateConversionDestination,
|
|
742
|
+
updateCustomConversionGoal,
|
|
734
743
|
updateCustomField,
|
|
735
744
|
updateDiscordScheduledEvent,
|
|
736
745
|
updateDiscordSettings,
|
|
@@ -1764,9 +1773,6 @@ export class Zernio {
|
|
|
1764
1773
|
*/
|
|
1765
1774
|
adcampaigns = {
|
|
1766
1775
|
listAds: this._bind(listAds),
|
|
1767
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
1768
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
1769
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
1770
1776
|
listBidStrategies: this._bind(listBidStrategies),
|
|
1771
1777
|
createBidStrategy: this._bind(createBidStrategy),
|
|
1772
1778
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -1822,6 +1828,8 @@ export class Zernio {
|
|
|
1822
1828
|
editGoogleAssetGroupAssets: this._bind(editGoogleAssetGroupAssets),
|
|
1823
1829
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
1824
1830
|
createStandaloneAd: this._bind(createStandaloneAd),
|
|
1831
|
+
getCampaignConversionGoals: this._bind(getCampaignConversionGoals),
|
|
1832
|
+
updateCampaignConversionGoals: this._bind(updateCampaignConversionGoals),
|
|
1825
1833
|
};
|
|
1826
1834
|
|
|
1827
1835
|
/**
|
|
@@ -1927,6 +1935,9 @@ export class Zernio {
|
|
|
1927
1935
|
addAccountStructuredSnippets: this._bind(addAccountStructuredSnippets),
|
|
1928
1936
|
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
1929
1937
|
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
1938
|
+
getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
|
|
1939
|
+
inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
|
|
1940
|
+
updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
|
|
1930
1941
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
1931
1942
|
createAdAccount: this._bind(createAdAccount),
|
|
1932
1943
|
listAdAccounts: this._bind(listAdAccounts),
|
|
@@ -2027,6 +2038,13 @@ export class Zernio {
|
|
|
2027
2038
|
adjustConversions: this._bind(adjustConversions),
|
|
2028
2039
|
listConversionActions: this._bind(listConversionActions),
|
|
2029
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),
|
|
2030
2048
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
2031
2049
|
createConversionDestination: this._bind(createConversionDestination),
|
|
2032
2050
|
getConversionDestination: this._bind(getConversionDestination),
|
|
@@ -2157,12 +2175,6 @@ export class Zernio {
|
|
|
2157
2175
|
ads = {
|
|
2158
2176
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
2159
2177
|
listAds: this._bind(listAds),
|
|
2160
|
-
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
2161
|
-
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
2162
|
-
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
2163
|
-
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
2164
|
-
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
2165
|
-
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
2166
2178
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
2167
2179
|
listBidStrategies: this._bind(listBidStrategies),
|
|
2168
2180
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
|
@@ -2273,6 +2285,10 @@ export class Zernio {
|
|
|
2273
2285
|
replaceGoogleListingGroupFilters: this._bind(replaceGoogleListingGroupFilters),
|
|
2274
2286
|
/** @deprecated Use `zernio.adcampaigns.createStandaloneAd` instead. */
|
|
2275
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),
|
|
2276
2292
|
/** @deprecated Use `zernio.adaccounts.getAdComments` instead. */
|
|
2277
2293
|
getAdComments: this._bind(getAdComments),
|
|
2278
2294
|
/** @deprecated Use `zernio.adaccounts.replyToAdComment` instead. */
|
|
@@ -2359,6 +2375,12 @@ export class Zernio {
|
|
|
2359
2375
|
updateAccountStructuredSnippets: this._bind(updateAccountStructuredSnippets),
|
|
2360
2376
|
/** @deprecated Use `zernio.adaccounts.removeAccountStructuredSnippet` instead. */
|
|
2361
2377
|
removeAccountStructuredSnippet: this._bind(removeAccountStructuredSnippet),
|
|
2378
|
+
/** @deprecated Use `zernio.adaccounts.getAdAccountHierarchy` instead. */
|
|
2379
|
+
getAdAccountHierarchy: this._bind(getAdAccountHierarchy),
|
|
2380
|
+
/** @deprecated Use `zernio.adaccounts.inviteAdAccountToManager` instead. */
|
|
2381
|
+
inviteAdAccountToManager: this._bind(inviteAdAccountToManager),
|
|
2382
|
+
/** @deprecated Use `zernio.adaccounts.updateAdAccountManagerLink` instead. */
|
|
2383
|
+
updateAdAccountManagerLink: this._bind(updateAdAccountManagerLink),
|
|
2362
2384
|
/** @deprecated Use `zernio.adaccounts.getAdAccountFinance` instead. */
|
|
2363
2385
|
getAdAccountFinance: this._bind(getAdAccountFinance),
|
|
2364
2386
|
/** @deprecated Use `zernio.adaccounts.createAdAccount` instead. */
|
|
@@ -2467,6 +2489,20 @@ export class Zernio {
|
|
|
2467
2489
|
listConversionActions: this._bind(listConversionActions),
|
|
2468
2490
|
/** @deprecated Use `zernio.conversions.createConversionAction` instead. */
|
|
2469
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),
|
|
2470
2506
|
/** @deprecated Use `zernio.conversions.listConversionDestinations` instead. */
|
|
2471
2507
|
listConversionDestinations: this._bind(listConversionDestinations),
|
|
2472
2508
|
/** @deprecated Use `zernio.conversions.createConversionDestination` instead. */
|