@getlatedev/node 0.2.1815 → 0.2.1817
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 +1 -1
- package/dist/index.d.mts +11 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +3 -1
- package/src/generated/types.gen.ts +11 -1
package/README.md
CHANGED
|
@@ -437,7 +437,7 @@ try {
|
|
|
437
437
|
| `connect.completeWhatsAppPhoneSelection()` | Complete number selection |
|
|
438
438
|
| `connect.configureTikTokAdsBrandIdentity()` | Set TikTok brand identity |
|
|
439
439
|
| `connect.connectAds()` | Connect ads for a platform |
|
|
440
|
-
| `connect.connectAppLovinAdsCredentials()` | Connect an AppLovin account |
|
|
440
|
+
| `connect.connectAppLovinAdsCredentials()` | Connect an AppLovin account (not available yet) |
|
|
441
441
|
| `connect.connectAttentiveCredentials()` | Connect an Attentive company |
|
|
442
442
|
| `connect.connectAwinCredentials()` | Connect an Awin advertiser |
|
|
443
443
|
| `connect.connectBlueskyCredentials()` | Connect Bluesky account |
|
package/dist/index.d.mts
CHANGED
|
@@ -6930,7 +6930,7 @@ type scope = 'full' | 'profiles';
|
|
|
6930
6930
|
*/
|
|
6931
6931
|
type permission = 'read-write' | 'read';
|
|
6932
6932
|
/**
|
|
6933
|
-
* AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
6933
|
+
* Not available yet: an AppLovin create answers 403 `platform_not_available_yet`. AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
6934
6934
|
*/
|
|
6935
6935
|
type AppLovinAdsPlatformData = {
|
|
6936
6936
|
/**
|
|
@@ -69869,6 +69869,15 @@ type UpdateAdSetData = {
|
|
|
69869
69869
|
platformSpecificData?: {
|
|
69870
69870
|
/**
|
|
69871
69871
|
* Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
|
|
69872
|
+
*
|
|
69873
|
+
* Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
|
|
69874
|
+
*
|
|
69875
|
+
* - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
|
|
69876
|
+
* - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
|
|
69877
|
+
* - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
|
|
69878
|
+
*
|
|
69879
|
+
* `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
|
|
69880
|
+
*
|
|
69872
69881
|
*/
|
|
69873
69882
|
optimizationGoal?: string;
|
|
69874
69883
|
/**
|
|
@@ -77665,6 +77674,7 @@ type CreateStandaloneAdData = {
|
|
|
77665
77674
|
*
|
|
77666
77675
|
* **AppLovin**
|
|
77667
77676
|
*
|
|
77677
|
+
* - Not available yet: AppLovin has not given Zernio access to its Campaign Management API, so an AppLovin create or change answers 403 `platform_not_available_yet`.
|
|
77668
77678
|
* - A new campaign needs `campaignType` (`APP` or `WEB`), the goal and, for an app, `os`, `packageName` and `tracking`. With `existingCampaignId`, only the creative set fields (`assets`, `languages`, `brandInfo`) apply.
|
|
77669
77679
|
* - Zernio checks every documented AppLovin rule (goal value limits, ROAS day targets, US-only regions and metros, the asset combination, brand info lengths) before calling AppLovin, because 100 refused calls in five minutes lock the AppLovin account for a day. `validateOnly` runs those checks and calls nothing.
|
|
77670
77680
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -6930,7 +6930,7 @@ type scope = 'full' | 'profiles';
|
|
|
6930
6930
|
*/
|
|
6931
6931
|
type permission = 'read-write' | 'read';
|
|
6932
6932
|
/**
|
|
6933
|
-
* AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
6933
|
+
* Not available yet: an AppLovin create answers 403 `platform_not_available_yet`. AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
6934
6934
|
*/
|
|
6935
6935
|
type AppLovinAdsPlatformData = {
|
|
6936
6936
|
/**
|
|
@@ -69869,6 +69869,15 @@ type UpdateAdSetData = {
|
|
|
69869
69869
|
platformSpecificData?: {
|
|
69870
69870
|
/**
|
|
69871
69871
|
* Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
|
|
69872
|
+
*
|
|
69873
|
+
* Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
|
|
69874
|
+
*
|
|
69875
|
+
* - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
|
|
69876
|
+
* - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
|
|
69877
|
+
* - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
|
|
69878
|
+
*
|
|
69879
|
+
* `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
|
|
69880
|
+
*
|
|
69872
69881
|
*/
|
|
69873
69882
|
optimizationGoal?: string;
|
|
69874
69883
|
/**
|
|
@@ -77665,6 +77674,7 @@ type CreateStandaloneAdData = {
|
|
|
77665
77674
|
*
|
|
77666
77675
|
* **AppLovin**
|
|
77667
77676
|
*
|
|
77677
|
+
* - Not available yet: AppLovin has not given Zernio access to its Campaign Management API, so an AppLovin create or change answers 403 `platform_not_available_yet`.
|
|
77668
77678
|
* - A new campaign needs `campaignType` (`APP` or `WEB`), the goal and, for an app, `os`, `packageName` and `tracking`. With `existingCampaignId`, only the creative set fields (`assets`, `languages`, `brandInfo`) apply.
|
|
77669
77679
|
* - Zernio checks every documented AppLovin rule (goal value limits, ROAS day targets, US-only regions and metros, the asset combination, brand info lengths) before calling AppLovin, because 100 refused calls in five minutes lock the AppLovin account for a day. `validateOnly` runs those checks and calls nothing.
|
|
77670
77680
|
*
|
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.1817",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
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.1817",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
package/package.json
CHANGED
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -5091,7 +5091,9 @@ export const connectOpenAiAdsCredentials = <ThrowOnError extends boolean = false
|
|
|
5091
5091
|
};
|
|
5092
5092
|
|
|
5093
5093
|
/**
|
|
5094
|
-
* Connect an AppLovin account
|
|
5094
|
+
* Connect an AppLovin account (not available yet)
|
|
5095
|
+
* **Not available yet.** AppLovin has not given Zernio access to its Campaign Management API, so this call answers 403 `platform_not_available_yet` and saves nothing. The rest of this description is how it will work once AppLovin opens.
|
|
5096
|
+
*
|
|
5095
5097
|
* Connect an AppLovin account (Axon ads) with the Conversion API key and Event Key from the Keys page of AppLovin Axon Ads Manager, the Campaign Management API key with its account id, or all of them.
|
|
5096
5098
|
*
|
|
5097
5099
|
* Zernio checks each key set with AppLovin before saving it.
|
|
@@ -4423,7 +4423,7 @@ export type scope = 'full' | 'profiles';
|
|
|
4423
4423
|
export type permission = 'read-write' | 'read';
|
|
4424
4424
|
|
|
4425
4425
|
/**
|
|
4426
|
-
* AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
4426
|
+
* Not available yet: an AppLovin create answers 403 `platform_not_available_yet`. AppLovin options in platformSpecificData. Campaign fields apply to a new campaign; assets, languages and brandInfo to the creative set (the ad).
|
|
4427
4427
|
*/
|
|
4428
4428
|
export type AppLovinAdsPlatformData = {
|
|
4429
4429
|
/**
|
|
@@ -71315,6 +71315,15 @@ export type UpdateAdSetData = {
|
|
|
71315
71315
|
platformSpecificData?: {
|
|
71316
71316
|
/**
|
|
71317
71317
|
* Meta ad-set optimization_goal (e.g. OFFSITE_CONVERSIONS, LANDING_PAGE_VIEWS).
|
|
71318
|
+
*
|
|
71319
|
+
* Meta fixes an ad set's attribution window (`attribution_spec`) at creation. A goal that needs another window cannot be set here:
|
|
71320
|
+
*
|
|
71321
|
+
* - OFFSITE_CONVERSIONS to LANDING_PAGE_VIEWS needs a 1-day click window.
|
|
71322
|
+
* - Meta answers subcode 1885560, and this returns 400 with `param: platformSpecificData.optimizationGoal`.
|
|
71323
|
+
* - Instead, create a new ad set with POST /v1/ads/create, sending the new `optimizationGoal` and its `attributionSpec`, and pause this one.
|
|
71324
|
+
*
|
|
71325
|
+
* `attributionSpec` is not accepted here for the same reason (400 with `param: platformSpecificData.attributionSpec`).
|
|
71326
|
+
*
|
|
71318
71327
|
*/
|
|
71319
71328
|
optimizationGoal?: string;
|
|
71320
71329
|
/**
|
|
@@ -79492,6 +79501,7 @@ export type CreateStandaloneAdData = {
|
|
|
79492
79501
|
*
|
|
79493
79502
|
* **AppLovin**
|
|
79494
79503
|
*
|
|
79504
|
+
* - Not available yet: AppLovin has not given Zernio access to its Campaign Management API, so an AppLovin create or change answers 403 `platform_not_available_yet`.
|
|
79495
79505
|
* - A new campaign needs `campaignType` (`APP` or `WEB`), the goal and, for an app, `os`, `packageName` and `tracking`. With `existingCampaignId`, only the creative set fields (`assets`, `languages`, `brandInfo`) apply.
|
|
79496
79506
|
* - Zernio checks every documented AppLovin rule (goal value limits, ROAS day targets, US-only regions and metros, the asset combination, brand info lengths) before calling AppLovin, because 100 refused calls in five minutes lock the AppLovin account for a day. `validateOnly` runs those checks and calls nothing.
|
|
79497
79507
|
*
|