@zernio/node 0.2.740 → 0.2.742
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 +28 -19
- package/dist/index.d.mts +270 -93
- package/dist/index.d.ts +270 -93
- package/dist/index.js +51 -3
- package/dist/index.mjs +51 -3
- package/package.json +1 -1
- package/src/client.ts +24 -0
- package/src/generated/sdk.gen.ts +75 -20
- package/src/generated/types.gen.ts +264 -90
package/README.md
CHANGED
|
@@ -284,6 +284,11 @@ try {
|
|
|
284
284
|
|--------|-------------|
|
|
285
285
|
| `media.getMediaPresignedUrl()` | Get upload URL |
|
|
286
286
|
|
|
287
|
+
### Tools
|
|
288
|
+
| Method | Description |
|
|
289
|
+
|--------|-------------|
|
|
290
|
+
| `tools.downloadTikTokVideo()` | Download a TikTok video |
|
|
291
|
+
|
|
287
292
|
### Users
|
|
288
293
|
| Method | Description |
|
|
289
294
|
|--------|-------------|
|
|
@@ -394,12 +399,13 @@ try {
|
|
|
394
399
|
| `adAccounts.listAdStudies()` | A/B tests and lift studies |
|
|
395
400
|
| `adAccounts.listAdvertisableApplications()` | List advertisable apps |
|
|
396
401
|
| `adAccounts.listCustomConversions()` | List custom conversions |
|
|
397
|
-
| `adAccounts.listHighDemandPeriods()` |
|
|
402
|
+
| `adAccounts.listHighDemandPeriods()` | List high-demand periods |
|
|
398
403
|
| `adAccounts.listMetaBusinesses()` | Businesses list |
|
|
404
|
+
| `adAccounts.listTikTokAdPixels()` | List TikTok ad pixels |
|
|
399
405
|
| `adAccounts.listValueRuleSets()` | List value rule sets |
|
|
400
406
|
| `adAccounts.createAdAccount()` | Create Meta ad account |
|
|
401
407
|
| `adAccounts.createAdNegativeKeywordList()` | Create a negative keyword list |
|
|
402
|
-
| `adAccounts.createCustomConversion()` | Create
|
|
408
|
+
| `adAccounts.createCustomConversion()` | Create custom conversion |
|
|
403
409
|
| `adAccounts.createHighDemandPeriod()` | Schedule a budget increase |
|
|
404
410
|
| `adAccounts.createValueRuleSet()` | Create a value rule set |
|
|
405
411
|
| `adAccounts.getAdAccountFinance()` | Ad account finances |
|
|
@@ -407,7 +413,7 @@ try {
|
|
|
407
413
|
| `adAccounts.getAdNegativeKeywordList()` | Get a negative keyword list |
|
|
408
414
|
| `adAccounts.getAdsActivityLog()` | Ad account change / audit log |
|
|
409
415
|
| `adAccounts.getDsaDefaults()` | Get ad account DSA defaults |
|
|
410
|
-
| `adAccounts.getDsaRecommendations()` |
|
|
416
|
+
| `adAccounts.getDsaRecommendations()` | Get DSA recommendations |
|
|
411
417
|
| `adAccounts.getIosFourteenCampaignLimits()` | Get iOS 14 campaign limits |
|
|
412
418
|
| `adAccounts.getValueRuleSet()` | Read a value rule set |
|
|
413
419
|
| `adAccounts.updateAccountCallouts()` | Update account callouts |
|
|
@@ -448,7 +454,7 @@ try {
|
|
|
448
454
|
| `adCampaigns.listAdKeywords()` | List Search keywords |
|
|
449
455
|
| `adCampaigns.listAds()` | List ads |
|
|
450
456
|
| `adCampaigns.listAdSets()` | List ad sets |
|
|
451
|
-
| `adCampaigns.listBidStrategies()` | List
|
|
457
|
+
| `adCampaigns.listBidStrategies()` | List portfolio bid strategies |
|
|
452
458
|
| `adCampaigns.listCampaignAssets()` | List campaign assets |
|
|
453
459
|
| `adCampaigns.listCampaignNegativeKeywordLists()` | List campaign negative lists |
|
|
454
460
|
| `adCampaigns.listCampaignNegativeKeywords()` | List campaign-level negative keywords |
|
|
@@ -456,10 +462,10 @@ try {
|
|
|
456
462
|
| `adCampaigns.bulkUpdateAdCampaignStatus()` | Pause or resume many campaigns |
|
|
457
463
|
| `adCampaigns.createAdCampaign()` | Create a standalone campaign |
|
|
458
464
|
| `adCampaigns.createAdSet()` | Create a standalone ad group |
|
|
459
|
-
| `adCampaigns.createBidStrategy()` | Create
|
|
465
|
+
| `adCampaigns.createBidStrategy()` | Create portfolio bid strategy |
|
|
460
466
|
| `adCampaigns.createStandaloneAd()` | Create standalone ad |
|
|
461
467
|
| `adCampaigns.getAd()` | Get ad details |
|
|
462
|
-
| `adCampaigns.getAdSetDetails()` |
|
|
468
|
+
| `adCampaigns.getAdSetDetails()` | Get live ad-set details |
|
|
463
469
|
| `adCampaigns.getAdsTimeline()` | Get daily account metrics |
|
|
464
470
|
| `adCampaigns.getAdTree()` | Get campaign tree |
|
|
465
471
|
| `adCampaigns.getCampaignBidding()` | Read a campaign's current bidding |
|
|
@@ -472,13 +478,13 @@ try {
|
|
|
472
478
|
| `adCampaigns.updateAdSet()` | Update an ad set |
|
|
473
479
|
| `adCampaigns.updateAdSetStatus()` | Pause or resume a single ad set |
|
|
474
480
|
| `adCampaigns.updateAdStatus()` | Pause or resume a single ad |
|
|
475
|
-
| `adCampaigns.updateBidStrategy()` | Update
|
|
481
|
+
| `adCampaigns.updateBidStrategy()` | Update portfolio bid strategy |
|
|
476
482
|
| `adCampaigns.updateCampaignAssets()` | Update campaign assets |
|
|
477
483
|
| `adCampaigns.updateCampaignTargeting()` | Edit a Google campaign's device, location, or language targeting |
|
|
478
484
|
| `adCampaigns.deleteAd()` | Cancel an ad |
|
|
479
485
|
| `adCampaigns.deleteAdCampaign()` | Delete a campaign |
|
|
480
486
|
| `adCampaigns.deleteAdSet()` | Delete an ad set |
|
|
481
|
-
| `adCampaigns.addAdKeywords()` | Add Search
|
|
487
|
+
| `adCampaigns.addAdKeywords()` | Add Search ad-group keywords |
|
|
482
488
|
| `adCampaigns.attachAdGroupAssets()` | Attach ad-group assets |
|
|
483
489
|
| `adCampaigns.attachCampaignAssets()` | Attach campaign assets |
|
|
484
490
|
| `adCampaigns.boostPost()` | Boost post as ad |
|
|
@@ -499,6 +505,8 @@ try {
|
|
|
499
505
|
| `adCreatives.listAdCreatives()` | Creative library |
|
|
500
506
|
| `adCreatives.listAdImages()` | Ad image library |
|
|
501
507
|
| `adCreatives.listAdVideos()` | Ad video library |
|
|
508
|
+
| `adCreatives.listPartnershipAdContent()` | List partnership ad content |
|
|
509
|
+
| `adCreatives.listPartnershipAdPermissions()` | List partnership permissions |
|
|
502
510
|
| `adCreatives.createAdCreative()` | Create a standalone creative |
|
|
503
511
|
| `adCreatives.getAdCreative()` | Creative details |
|
|
504
512
|
| `adCreatives.getAdMedia()` | Direct video and image URLs for an ad |
|
|
@@ -507,21 +515,22 @@ try {
|
|
|
507
515
|
| `adCreatives.deleteAdCreative()` | Delete a creative |
|
|
508
516
|
| `adCreatives.deleteAdVideo()` | Delete an ad video |
|
|
509
517
|
| `adCreatives.generateAdPreviews()` | Render pre-create ad previews |
|
|
518
|
+
| `adCreatives.setPartnershipAdPermission()` | Set partnership permission |
|
|
510
519
|
| `adCreatives.uploadAdImage()` | Upload an ad image from base64 |
|
|
511
520
|
| `adCreatives.uploadAdVideo()` | Upload an ad video |
|
|
512
521
|
|
|
513
522
|
### Ad Insights
|
|
514
523
|
| Method | Description |
|
|
515
524
|
|--------|-------------|
|
|
516
|
-
| `adInsights.listLocalServicesLeadConversations()` |
|
|
525
|
+
| `adInsights.listLocalServicesLeadConversations()` | List lead conversations |
|
|
517
526
|
| `adInsights.listLocalServicesLeads()` | Google Local Services Ads leads |
|
|
518
|
-
| `adInsights.createAdInsightsReport()` | Submit
|
|
527
|
+
| `adInsights.createAdInsightsReport()` | Submit async insights report |
|
|
519
528
|
| `adInsights.getAdAnalytics()` | Get ad analytics |
|
|
520
529
|
| `adInsights.getAdInsightsReport()` | Poll an async insights report run |
|
|
521
530
|
| `adInsights.getAdsSearchTerms()` | Google Ads search terms report |
|
|
522
531
|
| `adInsights.getCampaignAnalytics()` | Get campaign analytics |
|
|
523
|
-
| `adInsights.generateKeywordHistoricalMetrics()` |
|
|
524
|
-
| `adInsights.generateKeywordIdeas()` | Generate keyword ideas
|
|
532
|
+
| `adInsights.generateKeywordHistoricalMetrics()` | Get historical keyword metrics |
|
|
533
|
+
| `adInsights.generateKeywordIdeas()` | Generate keyword ideas |
|
|
525
534
|
| `adInsights.queryAdInsights()` | Flexible live insights query |
|
|
526
535
|
|
|
527
536
|
### Ad Library
|
|
@@ -533,7 +542,7 @@ try {
|
|
|
533
542
|
| Method | Description |
|
|
534
543
|
|--------|-------------|
|
|
535
544
|
| `adTargeting.getLinkedInBidPricing()` | Suggested bid and budget bounds |
|
|
536
|
-
| `adTargeting.getLinkedInSupplyForecast()` |
|
|
545
|
+
| `adTargeting.getLinkedInSupplyForecast()` | Forecast ad delivery |
|
|
537
546
|
| `adTargeting.estimateAdReach()` | Estimate audience reach |
|
|
538
547
|
| `adTargeting.searchAdInterests()` | Search targeting interests |
|
|
539
548
|
| `adTargeting.searchAdTargeting()` | Search targeting options |
|
|
@@ -679,10 +688,10 @@ try {
|
|
|
679
688
|
### Conversions
|
|
680
689
|
| Method | Description |
|
|
681
690
|
|--------|-------------|
|
|
682
|
-
| `conversions.listConversionActions()` | List conversion actions
|
|
691
|
+
| `conversions.listConversionActions()` | List conversion actions |
|
|
683
692
|
| `conversions.listConversionAssociations()` | List associated campaigns |
|
|
684
693
|
| `conversions.listConversionDestinations()` | List conversion destinations |
|
|
685
|
-
| `conversions.createConversionAction()` | Create
|
|
694
|
+
| `conversions.createConversionAction()` | Create website conversion action |
|
|
686
695
|
| `conversions.createConversionDestination()` | Create a conversion destination |
|
|
687
696
|
| `conversions.getConversionDestination()` | Get a conversion destination |
|
|
688
697
|
| `conversions.getConversionMetrics()` | Get attribution metrics |
|
|
@@ -879,10 +888,10 @@ try {
|
|
|
879
888
|
### Reach and Frequency
|
|
880
889
|
| Method | Description |
|
|
881
890
|
|--------|-------------|
|
|
882
|
-
| `reachAndFrequency.createRfPrediction()` | Create
|
|
883
|
-
| `reachAndFrequency.getRfPrediction()` |
|
|
884
|
-
| `reachAndFrequency.cancelRfReservation()` | Cancel
|
|
885
|
-
| `reachAndFrequency.reserveRfPrediction()` | Reserve
|
|
891
|
+
| `reachAndFrequency.createRfPrediction()` | Create reach-frequency prediction |
|
|
892
|
+
| `reachAndFrequency.getRfPrediction()` | Get reach-frequency prediction |
|
|
893
|
+
| `reachAndFrequency.cancelRfReservation()` | Cancel reach-frequency booking |
|
|
894
|
+
| `reachAndFrequency.reserveRfPrediction()` | Reserve reach-frequency inventory |
|
|
886
895
|
|
|
887
896
|
### Reviews (Inbox)
|
|
888
897
|
| Method | Description |
|