@zernio/node 0.2.1846 → 0.2.1848

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
@@ -8300,7 +8300,7 @@ type AutomationTemplateAutomation = {
8300
8300
  [key: string]: unknown;
8301
8301
  };
8302
8302
  /**
8303
- * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for a definition whose kind cannot be told.
8303
+ * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for an automation that cannot be read as a graph.
8304
8304
  */
8305
8305
  graph?: (AutomationGraph | null);
8306
8306
  };
@@ -78078,11 +78078,11 @@ type CreateStandaloneAdData = {
78078
78078
  */
78079
78079
  keywords?: Array<KeywordEntry>;
78080
78080
  /**
78081
- * Google Search and Amazon Sponsored Products and Sponsored Brands (EXACT or PHRASE only); other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords.
78081
+ * Google Search, Microsoft Ads, and Amazon Sponsored Products and Sponsored Brands (EXACT or PHRASE only on Amazon and Microsoft; on Microsoft a bare string is PHRASE); other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords (Google and Amazon only).
78082
78082
  */
78083
78083
  negativeKeywords?: Array<KeywordEntry>;
78084
78084
  /**
78085
- * Google Search and Amazon Sponsored Products; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative on Google), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords.
78085
+ * Google Search, Microsoft Ads (EXACT or PHRASE, a bare string is PHRASE) and Amazon Sponsored Products; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative on Google), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords (Google and Amazon only).
78086
78086
  */
78087
78087
  campaignNegativeKeywords?: Array<KeywordEntry>;
78088
78088
  /**
package/dist/index.d.ts CHANGED
@@ -8300,7 +8300,7 @@ type AutomationTemplateAutomation = {
8300
8300
  [key: string]: unknown;
8301
8301
  };
8302
8302
  /**
8303
- * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for a definition whose kind cannot be told.
8303
+ * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for an automation that cannot be read as a graph.
8304
8304
  */
8305
8305
  graph?: (AutomationGraph | null);
8306
8306
  };
@@ -78078,11 +78078,11 @@ type CreateStandaloneAdData = {
78078
78078
  */
78079
78079
  keywords?: Array<KeywordEntry>;
78080
78080
  /**
78081
- * Google Search and Amazon Sponsored Products and Sponsored Brands (EXACT or PHRASE only); other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords.
78081
+ * Google Search, Microsoft Ads, and Amazon Sponsored Products and Sponsored Brands (EXACT or PHRASE only on Amazon and Microsoft; on Microsoft a bare string is PHRASE); other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords (Google and Amazon only).
78082
78082
  */
78083
78083
  negativeKeywords?: Array<KeywordEntry>;
78084
78084
  /**
78085
- * Google Search and Amazon Sponsored Products; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative on Google), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords.
78085
+ * Google Search, Microsoft Ads (EXACT or PHRASE, a bare string is PHRASE) and Amazon Sponsored Products; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative on Google), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords (Google and Amazon only).
78086
78086
  */
78087
78087
  campaignNegativeKeywords?: Array<KeywordEntry>;
78088
78088
  /**
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: "@zernio/node",
39
- version: "0.2.1846",
39
+ version: "0.2.1848",
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: "@zernio/node",
8
- version: "0.2.1846",
8
+ version: "0.2.1848",
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": "@zernio/node",
3
- "version": "0.2.1846",
3
+ "version": "0.2.1848",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -20145,12 +20145,13 @@ export const replaceGoogleListingGroupFilters = <ThrowOnError extends boolean =
20145
20145
  *
20146
20146
  * ### Microsoft Ads
20147
20147
  *
20148
- * Use the `accountId` of a `microsoftads` connection and its numeric `adAccountId`. Zernio creates a Search campaign carrying the daily budget and the countries, an ad group carrying the schedule, a responsive search ad and the `keywords`.
20148
+ * Use the `accountId` of a `microsoftads` connection and its numeric `adAccountId`. Zernio creates a Search campaign carrying the daily budget, the countries and the `campaignNegativeKeywords`, an ad group carrying the schedule and the `negativeKeywords`, a responsive search ad and the `keywords`.
20149
20149
  *
20150
20150
  * - `goal` is `traffic`; `budgetType` must be `daily`.
20151
20151
  * - `headline`, `body` and `linkUrl` are required. `additionalHeadlines` and `additionalDescriptions` complete the ad to 3 to 15 headlines (30 characters) and 2 to 4 descriptions (90 characters); missing ones are filled from `name` and the link's host.
20152
20152
  * - `countries` (or `targeting.countries`) is required; no other targeting field applies.
20153
- * - Bid fields, `negativeKeywords`, `campaignNegativeKeywords`, sitelinks, callouts, structured snippets, `businessName`, `longHeadline` and a `campaignType` other than `search` return 422.
20153
+ * - Negative keywords match `exact` or `phrase` (a bare string is `phrase`); `broad` returns 422.
20154
+ * - Bid fields, sitelinks, callouts, structured snippets, `businessName`, `longHeadline` and a `campaignType` other than `search` return 422.
20154
20155
  *
20155
20156
  * Without `status`, every level is switched on and the campaign spends once Microsoft approves the ad: send `status: PAUSED` to create it paused. A failed step deletes the campaign the call created.
20156
20157
  *
@@ -5863,7 +5863,7 @@ export type AutomationTemplateAutomation = {
5863
5863
  [key: string]: unknown;
5864
5864
  };
5865
5865
  /**
5866
- * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for a definition whose kind cannot be told.
5866
+ * The same automation as the graph the editor opens and saves, input references kept in place. Read only: always present in responses, null only for an automation that cannot be read as a graph.
5867
5867
  */
5868
5868
  graph?: (AutomationGraph | null);
5869
5869
  };
@@ -79914,11 +79914,11 @@ export type CreateStandaloneAdData = {
79914
79914
  */
79915
79915
  keywords?: Array<KeywordEntry>;
79916
79916
  /**
79917
- * Google Search and Amazon Sponsored Products and Sponsored Brands (EXACT or PHRASE only); other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords.
79917
+ * Google Search, Microsoft Ads, and Amazon Sponsored Products and Sponsored Brands (EXACT or PHRASE only on Amazon and Microsoft; on Microsoft a bare string is PHRASE); other platforms return 400. Ad-group-level negative keywords on the new ad group. Editable later via PUT /v1/ads/{adId} targeting.negativeKeywords (Google and Amazon only).
79918
79918
  */
79919
79919
  negativeKeywords?: Array<KeywordEntry>;
79920
79920
  /**
79921
- * Google Search and Amazon Sponsored Products; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative on Google), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords.
79921
+ * Google Search, Microsoft Ads (EXACT or PHRASE, a bare string is PHRASE) and Amazon Sponsored Products; other platforms return 400. Campaign-level negative keywords (campaign_criterion.negative on Google), created alongside the ad group. Editable later via PUT /v1/ads/campaigns/{campaignId}/negative-keywords (Google and Amazon only).
79922
79922
  */
79923
79923
  campaignNegativeKeywords?: Array<KeywordEntry>;
79924
79924
  /**