@getlatedev/node 0.2.389 → 0.2.391
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 -0
- package/dist/index.d.mts +355 -8
- package/dist/index.d.ts +355 -8
- package/dist/index.js +64 -1
- package/dist/index.mjs +64 -1
- package/package.json +1 -1
- package/src/client.ts +18 -0
- package/src/generated/sdk.gen.ts +125 -1
- package/src/generated/types.gen.ts +373 -7
package/README.md
CHANGED
|
@@ -372,6 +372,7 @@ try {
|
|
|
372
372
|
|--------|-------------|
|
|
373
373
|
| `adCampaigns.listAdCampaigns()` | List campaigns |
|
|
374
374
|
| `adCampaigns.bulkUpdateAdCampaignStatus()` | Pause or resume many campaigns |
|
|
375
|
+
| `adCampaigns.getAdSetDetails()` | Live ad-set details incl. learning phase (Meta) |
|
|
375
376
|
| `adCampaigns.getAdsTimeline()` | Get daily account metrics |
|
|
376
377
|
| `adCampaigns.getAdTree()` | Get campaign tree |
|
|
377
378
|
| `adCampaigns.updateAdCampaign()` | Update a campaign |
|
|
@@ -389,6 +390,7 @@ try {
|
|
|
389
390
|
| `ads.listAdCatalogs()` | List Meta product catalogs |
|
|
390
391
|
| `ads.listAds()` | List ads |
|
|
391
392
|
| `ads.listAdsBusinessCenters()` | List TikTok Business Centers |
|
|
393
|
+
| `ads.listAdStudies()` | A/B tests and lift studies (Meta) |
|
|
392
394
|
| `ads.listConversionAssociations()` | List associated campaigns |
|
|
393
395
|
| `ads.listConversionDestinations()` | List conversion destinations |
|
|
394
396
|
| `ads.listFormLeads()` | List leads for a single form |
|
|
@@ -400,13 +402,16 @@ try {
|
|
|
400
402
|
| `ads.createCtwaAd()` | Create Click-to-WhatsApp ad (deprecated) |
|
|
401
403
|
| `ads.createLeadForm()` | Create a lead form |
|
|
402
404
|
| `ads.createMessagingAd()` | Create click-to-message ad (WhatsApp / Messenger / Instagram Direct) |
|
|
405
|
+
| `ads.createRfPrediction()` | Create a Reach & Frequency prediction (Meta) |
|
|
403
406
|
| `ads.createStandaloneAd()` | Create standalone ad |
|
|
404
407
|
| `ads.createTestLead()` | Create a test lead |
|
|
405
408
|
| `ads.getAd()` | Get ad details |
|
|
409
|
+
| `ads.getAdAccountFinance()` | Ad account finances (Meta) |
|
|
406
410
|
| `ads.getAdAnalytics()` | Get ad analytics |
|
|
407
411
|
| `ads.getAdComments()` | List comments on an ad |
|
|
408
412
|
| `ads.getAdInsightsReport()` | Poll an async insights report run (Meta) |
|
|
409
413
|
| `ads.getAdPreviews()` | Render previews of an existing ad (Meta) |
|
|
414
|
+
| `ads.getAdsActivityLog()` | Ad account change / audit log (Meta) |
|
|
410
415
|
| `ads.getAdTrackingTags()` | Get ad tracking tags |
|
|
411
416
|
| `ads.getCampaignAnalytics()` | Get campaign analytics |
|
|
412
417
|
| `ads.getConversionDestination()` | Get a conversion destination |
|
|
@@ -417,6 +422,7 @@ try {
|
|
|
417
422
|
| `ads.getLeadForm()` | Get a lead form |
|
|
418
423
|
| `ads.getLinkedInBidPricing()` | Suggested bid and budget bounds (LinkedIn) |
|
|
419
424
|
| `ads.getLinkedInSupplyForecast()` | Impressions, clicks and spend forecast (LinkedIn) |
|
|
425
|
+
| `ads.getRfPrediction()` | Read a Reach & Frequency prediction (Meta) |
|
|
420
426
|
| `ads.updateAd()` | Update ad |
|
|
421
427
|
| `ads.updateAdAccount()` | Update ad account settings |
|
|
422
428
|
| `ads.updateAdStatus()` | Pause or resume a single ad |
|
|
@@ -428,13 +434,16 @@ try {
|
|
|
428
434
|
| `ads.adjustConversions()` | Adjust uploaded conversions |
|
|
429
435
|
| `ads.archiveLeadForm()` | Archive a lead form |
|
|
430
436
|
| `ads.boostPost()` | Boost post as ad |
|
|
437
|
+
| `ads.cancelRfReservation()` | Cancel a Reach & Frequency reservation (Meta) |
|
|
431
438
|
| `ads.estimateAdReach()` | Estimate audience reach |
|
|
432
439
|
| `ads.generateAdPreviews()` | Render pre-create ad previews (Meta) |
|
|
433
440
|
| `ads.queryAdInsights()` | Flexible live insights query (Meta) |
|
|
434
441
|
| `ads.removeConversionAssociations()` | Remove associated campaigns |
|
|
442
|
+
| `ads.reserveRfPrediction()` | Reserve a Reach & Frequency prediction (Meta) |
|
|
435
443
|
| `ads.searchAdInterests()` | Search targeting interests |
|
|
436
444
|
| `ads.searchAdTargeting()` | Search targeting options |
|
|
437
445
|
| `ads.sendConversions()` | Send conversion events |
|
|
446
|
+
| `ads.uploadAdImage()` | Upload an ad image from base64 (Meta) |
|
|
438
447
|
|
|
439
448
|
### Broadcasts
|
|
440
449
|
| Method | Description |
|