@getlatedev/node 0.2.1196 → 0.2.1198
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/dist/index.d.mts +8 -2
- package/dist/index.d.ts +8 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +8 -3
- package/src/generated/types.gen.ts +8 -2
package/dist/index.d.mts
CHANGED
|
@@ -7030,7 +7030,7 @@ type CtwaMultiResponse = {
|
|
|
7030
7030
|
platformAdSetId: string;
|
|
7031
7031
|
message: string;
|
|
7032
7032
|
/**
|
|
7033
|
-
* Present when Meta created the ad set differently from the request
|
|
7033
|
+
* Present when Meta created the ad set differently from the request: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button), or the ad set joined a CBO campaign (`existingCampaignId`) whose own bid strategy applies, so a different `bidStrategy` or a `roasAverageFloor` that strategy cannot take was not applied.
|
|
7034
7034
|
*/
|
|
7035
7035
|
warnings?: Array<(string)>;
|
|
7036
7036
|
};
|
|
@@ -7051,7 +7051,7 @@ type CtwaSingleResponse = {
|
|
|
7051
7051
|
};
|
|
7052
7052
|
message: string;
|
|
7053
7053
|
/**
|
|
7054
|
-
* Present when Meta created the ad set differently from the request
|
|
7054
|
+
* Present when Meta created the ad set differently from the request: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button), or the ad set joined a CBO campaign (`existingCampaignId`) whose own bid strategy applies, so a different `bidStrategy` or a `roasAverageFloor` that strategy cannot take was not applied.
|
|
7055
7055
|
*/
|
|
7056
7056
|
warnings?: Array<(string)>;
|
|
7057
7057
|
};
|
|
@@ -22900,6 +22900,10 @@ type ListInstagramPagesResponse = ({
|
|
|
22900
22900
|
id?: string;
|
|
22901
22901
|
username?: string;
|
|
22902
22902
|
profile_picture_url?: string;
|
|
22903
|
+
/**
|
|
22904
|
+
* Followers of the Instagram account when Meta returns it
|
|
22905
|
+
*/
|
|
22906
|
+
followers_count?: number;
|
|
22903
22907
|
};
|
|
22904
22908
|
}>;
|
|
22905
22909
|
});
|
|
@@ -42172,6 +42176,8 @@ type UpdateAdSetData = {
|
|
|
42172
42176
|
/**
|
|
42173
42177
|
* Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
|
|
42174
42178
|
* LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
|
|
42179
|
+
* Meta only: may be sent alone, WITHOUT bidStrategy, to update the floor on an ad set
|
|
42180
|
+
* whose strategy (its own, or the campaign's under CBO) is LOWEST_COST_WITH_MIN_ROAS.
|
|
42175
42181
|
* Not supported on OpenAI (422).
|
|
42176
42182
|
*
|
|
42177
42183
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -7030,7 +7030,7 @@ type CtwaMultiResponse = {
|
|
|
7030
7030
|
platformAdSetId: string;
|
|
7031
7031
|
message: string;
|
|
7032
7032
|
/**
|
|
7033
|
-
* Present when Meta created the ad set differently from the request
|
|
7033
|
+
* Present when Meta created the ad set differently from the request: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button), or the ad set joined a CBO campaign (`existingCampaignId`) whose own bid strategy applies, so a different `bidStrategy` or a `roasAverageFloor` that strategy cannot take was not applied.
|
|
7034
7034
|
*/
|
|
7035
7035
|
warnings?: Array<(string)>;
|
|
7036
7036
|
};
|
|
@@ -7051,7 +7051,7 @@ type CtwaSingleResponse = {
|
|
|
7051
7051
|
};
|
|
7052
7052
|
message: string;
|
|
7053
7053
|
/**
|
|
7054
|
-
* Present when Meta created the ad set differently from the request
|
|
7054
|
+
* Present when Meta created the ad set differently from the request: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button), or the ad set joined a CBO campaign (`existingCampaignId`) whose own bid strategy applies, so a different `bidStrategy` or a `roasAverageFloor` that strategy cannot take was not applied.
|
|
7055
7055
|
*/
|
|
7056
7056
|
warnings?: Array<(string)>;
|
|
7057
7057
|
};
|
|
@@ -22900,6 +22900,10 @@ type ListInstagramPagesResponse = ({
|
|
|
22900
22900
|
id?: string;
|
|
22901
22901
|
username?: string;
|
|
22902
22902
|
profile_picture_url?: string;
|
|
22903
|
+
/**
|
|
22904
|
+
* Followers of the Instagram account when Meta returns it
|
|
22905
|
+
*/
|
|
22906
|
+
followers_count?: number;
|
|
22903
22907
|
};
|
|
22904
22908
|
}>;
|
|
22905
22909
|
});
|
|
@@ -42172,6 +42176,8 @@ type UpdateAdSetData = {
|
|
|
42172
42176
|
/**
|
|
42173
42177
|
* Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
|
|
42174
42178
|
* LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
|
|
42179
|
+
* Meta only: may be sent alone, WITHOUT bidStrategy, to update the floor on an ad set
|
|
42180
|
+
* whose strategy (its own, or the campaign's under CBO) is LOWEST_COST_WITH_MIN_ROAS.
|
|
42175
42181
|
* Not supported on OpenAI (422).
|
|
42176
42182
|
*
|
|
42177
42183
|
*/
|
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.1198",
|
|
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.1198",
|
|
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
|
@@ -10480,9 +10480,14 @@ export const getAdSetDetails = <ThrowOnError extends boolean = false>(options: O
|
|
|
10480
10480
|
* - `LOWEST_COST_WITH_BID_CAP` / `COST_CAP`: `bidAmount` REQUIRED (whole currency units).
|
|
10481
10481
|
* - `LOWEST_COST_WITH_MIN_ROAS`: `roasAverageFloor` REQUIRED (decimal multiplier, e.g. 2.0 = 2.0x ROAS).
|
|
10482
10482
|
* - Meta only: send `bidAmount` WITHOUT `bidStrategy` to change the cap amount on an ad set
|
|
10483
|
-
*
|
|
10484
|
-
*
|
|
10485
|
-
*
|
|
10483
|
+
* whose strategy (its own, or the campaign's under CBO) is COST_CAP / LOWEST_COST_WITH_BID_CAP,
|
|
10484
|
+
* leaving the strategy untouched. Send `roasAverageFloor` WITHOUT `bidStrategy` the same way
|
|
10485
|
+
* to change the floor of a LOWEST_COST_WITH_MIN_ROAS ad set. Either field against an
|
|
10486
|
+
* incompatible current strategy is a 400.
|
|
10487
|
+
* - Meta CBO (the campaign holds the budget): the campaign also holds the bid strategy, so only
|
|
10488
|
+
* `bidAmount` or `roasAverageFloor` is written on the ad set. A `bidStrategy` equal to the
|
|
10489
|
+
* campaign's is accepted; a different one is a 409 (change it with
|
|
10490
|
+
* PUT /v1/ads/campaigns/{campaignId}).
|
|
10486
10491
|
*
|
|
10487
10492
|
* Delivery settings are validated by Meta against the campaign objective;
|
|
10488
10493
|
* incompatible combinations (e.g. a billingEvent the optimization goal
|
|
@@ -5219,7 +5219,7 @@ export type CtwaMultiResponse = {
|
|
|
5219
5219
|
platformAdSetId: string;
|
|
5220
5220
|
message: string;
|
|
5221
5221
|
/**
|
|
5222
|
-
* Present when Meta created the ad set differently from the request
|
|
5222
|
+
* Present when Meta created the ad set differently from the request: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button), or the ad set joined a CBO campaign (`existingCampaignId`) whose own bid strategy applies, so a different `bidStrategy` or a `roasAverageFloor` that strategy cannot take was not applied.
|
|
5223
5223
|
*/
|
|
5224
5224
|
warnings?: Array<(string)>;
|
|
5225
5225
|
};
|
|
@@ -5242,7 +5242,7 @@ export type CtwaSingleResponse = {
|
|
|
5242
5242
|
};
|
|
5243
5243
|
message: string;
|
|
5244
5244
|
/**
|
|
5245
|
-
* Present when Meta created the ad set differently from the request
|
|
5245
|
+
* Present when Meta created the ad set differently from the request: Meta kept the ad set without the requested `whatsappPhoneNumber` in its promoted_object (the ads still carry it on their WhatsApp button), or the ad set joined a CBO campaign (`existingCampaignId`) whose own bid strategy applies, so a different `bidStrategy` or a `roasAverageFloor` that strategy cannot take was not applied.
|
|
5246
5246
|
*/
|
|
5247
5247
|
warnings?: Array<(string)>;
|
|
5248
5248
|
};
|
|
@@ -21883,6 +21883,10 @@ export type ListInstagramPagesResponse = ({
|
|
|
21883
21883
|
id?: string;
|
|
21884
21884
|
username?: string;
|
|
21885
21885
|
profile_picture_url?: string;
|
|
21886
|
+
/**
|
|
21887
|
+
* Followers of the Instagram account when Meta returns it
|
|
21888
|
+
*/
|
|
21889
|
+
followers_count?: number;
|
|
21886
21890
|
};
|
|
21887
21891
|
}>;
|
|
21888
21892
|
});
|
|
@@ -42654,6 +42658,8 @@ export type UpdateAdSetData = {
|
|
|
42654
42658
|
/**
|
|
42655
42659
|
* Minimum ROAS as a decimal multiplier (2.0 = 2.0x). Required when bidStrategy is
|
|
42656
42660
|
* LOWEST_COST_WITH_MIN_ROAS. Sent to Meta as `bid_constraints.roas_average_floor` × 10000.
|
|
42661
|
+
* Meta only: may be sent alone, WITHOUT bidStrategy, to update the floor on an ad set
|
|
42662
|
+
* whose strategy (its own, or the campaign's under CBO) is LOWEST_COST_WITH_MIN_ROAS.
|
|
42657
42663
|
* Not supported on OpenAI (422).
|
|
42658
42664
|
*
|
|
42659
42665
|
*/
|