@getlatedev/node 0.2.1198 → 0.2.1199

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 CHANGED
@@ -41795,7 +41795,7 @@ type ListAdSetsResponse = ({
41795
41795
  adSetName?: (string) | null;
41796
41796
  status?: (string) | null;
41797
41797
  /**
41798
- * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign.
41798
+ * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign. On Meta and Reddit the ad set's `effective_status` (e.g. CAMPAIGN_PAUSED).
41799
41799
  */
41800
41800
  platformAdSetStatus?: (string) | null;
41801
41801
  platformCampaignId?: (string) | null;
@@ -42122,7 +42122,7 @@ type UpdateAdSetData = {
42122
42122
  */
42123
42123
  status?: 'active' | 'paused';
42124
42124
  /**
42125
- * Rename the ad set (on X, the line item `name`). Platforms without a rename return 501. At least one of budget/status/bidStrategy/name is required.
42125
+ * Rename the ad set on any supported platform: Meta, Google (the ad group), TikTok, LinkedIn (the campaign), Pinterest, X (the line item `name`), OpenAI and Reddit; platforms without a rename return 501. The new name is stored right away, so GET /v1/ads/ad-sets and GET /v1/ads/tree return it without a sync. At least one of budget/status/bidStrategy/name is required.
42126
42126
  */
42127
42127
  name?: string;
42128
42128
  /**
@@ -42278,7 +42278,7 @@ type UpdateAdSetResponse = ({
42278
42278
  */
42279
42279
  status?: 'active' | 'paused';
42280
42280
  /**
42281
- * The ad set's own switch read back from the platform; null when it could not be read.
42281
+ * The ad set's status read back from the platform, as in PUT /v1/ads/ad-sets/{adSetId}/status (Meta and Reddit return the ad set's effective_status); null when it could not be read.
42282
42282
  */
42283
42283
  platformAdSetStatus?: (string) | null;
42284
42284
  platformCampaignStatus?: (string) | null;
@@ -42334,7 +42334,7 @@ type UpdateAdSetStatusResponse = ({
42334
42334
  */
42335
42335
  status?: 'active' | 'paused';
42336
42336
  /**
42337
- * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit configured_status). Null when the platform could not be read, which is always the case on X.
42337
+ * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit effective_status such as CAMPAIGN_PAUSED, as GET /v1/ads/ad-sets returns it). Null when the platform could not be read, which is always the case on X.
42338
42338
  */
42339
42339
  platformAdSetStatus?: (string) | null;
42340
42340
  /**
package/dist/index.d.ts CHANGED
@@ -41795,7 +41795,7 @@ type ListAdSetsResponse = ({
41795
41795
  adSetName?: (string) | null;
41796
41796
  status?: (string) | null;
41797
41797
  /**
41798
- * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign.
41798
+ * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign. On Meta and Reddit the ad set's `effective_status` (e.g. CAMPAIGN_PAUSED).
41799
41799
  */
41800
41800
  platformAdSetStatus?: (string) | null;
41801
41801
  platformCampaignId?: (string) | null;
@@ -42122,7 +42122,7 @@ type UpdateAdSetData = {
42122
42122
  */
42123
42123
  status?: 'active' | 'paused';
42124
42124
  /**
42125
- * Rename the ad set (on X, the line item `name`). Platforms without a rename return 501. At least one of budget/status/bidStrategy/name is required.
42125
+ * Rename the ad set on any supported platform: Meta, Google (the ad group), TikTok, LinkedIn (the campaign), Pinterest, X (the line item `name`), OpenAI and Reddit; platforms without a rename return 501. The new name is stored right away, so GET /v1/ads/ad-sets and GET /v1/ads/tree return it without a sync. At least one of budget/status/bidStrategy/name is required.
42126
42126
  */
42127
42127
  name?: string;
42128
42128
  /**
@@ -42278,7 +42278,7 @@ type UpdateAdSetResponse = ({
42278
42278
  */
42279
42279
  status?: 'active' | 'paused';
42280
42280
  /**
42281
- * The ad set's own switch read back from the platform; null when it could not be read.
42281
+ * The ad set's status read back from the platform, as in PUT /v1/ads/ad-sets/{adSetId}/status (Meta and Reddit return the ad set's effective_status); null when it could not be read.
42282
42282
  */
42283
42283
  platformAdSetStatus?: (string) | null;
42284
42284
  platformCampaignStatus?: (string) | null;
@@ -42334,7 +42334,7 @@ type UpdateAdSetStatusResponse = ({
42334
42334
  */
42335
42335
  status?: 'active' | 'paused';
42336
42336
  /**
42337
- * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit configured_status). Null when the platform could not be read, which is always the case on X.
42337
+ * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit effective_status such as CAMPAIGN_PAUSED, as GET /v1/ads/ad-sets returns it). Null when the platform could not be read, which is always the case on X.
42338
42338
  */
42339
42339
  platformAdSetStatus?: (string) | null;
42340
42340
  /**
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.1198",
39
+ version: "0.2.1199",
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.1198",
8
+ version: "0.2.1199",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1198",
3
+ "version": "0.2.1199",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -10563,9 +10563,9 @@ export const deleteAdSet = <ThrowOnError extends boolean = false>(options: Optio
10563
10563
  * the delivery status of its ads (up to 20) is re-read and stored, so an
10564
10564
  * immediate GET returns what the platform now reports. A stored switch
10565
10565
  * never skips a write, and when the platform cannot be read the write
10566
- * always goes out. On Meta the check reads the ad set's own `status`, so
10567
- * a repeated request skips even while `platformAdSetStatus` reads
10568
- * `CAMPAIGN_PAUSED`, `WITH_ISSUES` or `IN_PROCESS`.
10566
+ * always goes out. On Meta and Reddit the check reads the ad set's own
10567
+ * switch (`status` / `configured_status`), so a repeated request skips even
10568
+ * while `platformAdSetStatus` reads `CAMPAIGN_PAUSED`, `WITH_ISSUES` or `IN_PROCESS`.
10569
10569
  *
10570
10570
  */
10571
10571
  export const updateAdSetStatus = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateAdSetStatusData, ThrowOnError>) => {
@@ -42263,7 +42263,7 @@ export type ListAdSetsResponse = ({
42263
42263
  adSetName?: (string) | null;
42264
42264
  status?: (string) | null;
42265
42265
  /**
42266
- * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign.
42266
+ * Raw platform ad set status. On TikTok the ad group's own switch `operation_status` (ENABLE / DISABLE), independent of its campaign. On Meta and Reddit the ad set's `effective_status` (e.g. CAMPAIGN_PAUSED).
42267
42267
  */
42268
42268
  platformAdSetStatus?: (string) | null;
42269
42269
  platformCampaignId?: (string) | null;
@@ -42604,7 +42604,7 @@ export type UpdateAdSetData = {
42604
42604
  */
42605
42605
  status?: 'active' | 'paused';
42606
42606
  /**
42607
- * Rename the ad set (on X, the line item `name`). Platforms without a rename return 501. At least one of budget/status/bidStrategy/name is required.
42607
+ * Rename the ad set on any supported platform: Meta, Google (the ad group), TikTok, LinkedIn (the campaign), Pinterest, X (the line item `name`), OpenAI and Reddit; platforms without a rename return 501. The new name is stored right away, so GET /v1/ads/ad-sets and GET /v1/ads/tree return it without a sync. At least one of budget/status/bidStrategy/name is required.
42608
42608
  */
42609
42609
  name?: string;
42610
42610
  /**
@@ -42761,7 +42761,7 @@ export type UpdateAdSetResponse = ({
42761
42761
  */
42762
42762
  status?: 'active' | 'paused';
42763
42763
  /**
42764
- * The ad set's own switch read back from the platform; null when it could not be read.
42764
+ * The ad set's status read back from the platform, as in PUT /v1/ads/ad-sets/{adSetId}/status (Meta and Reddit return the ad set's effective_status); null when it could not be read.
42765
42765
  */
42766
42766
  platformAdSetStatus?: (string) | null;
42767
42767
  platformCampaignStatus?: (string) | null;
@@ -42823,7 +42823,7 @@ export type UpdateAdSetStatusResponse = ({
42823
42823
  */
42824
42824
  status?: 'active' | 'paused';
42825
42825
  /**
42826
- * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit configured_status). Null when the platform could not be read, which is always the case on X.
42826
+ * The ad set's own switch as read back from the platform, in the raw platform vocabulary (Meta effective_status, TikTok ENABLE / DISABLE, Google ENABLED / PAUSED, LinkedIn and Pinterest ACTIVE / PAUSED, ChatGPT (OpenAI) status, Reddit effective_status such as CAMPAIGN_PAUSED, as GET /v1/ads/ad-sets returns it). Null when the platform could not be read, which is always the case on X.
42827
42827
  */
42828
42828
  platformAdSetStatus?: (string) | null;
42829
42829
  /**