@getlatedev/node 0.2.937 → 0.2.938

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
@@ -2413,7 +2413,18 @@ type AdFunnelCounts = {
2413
2413
  messagingFirstReplies?: number;
2414
2414
  };
2415
2415
  type AdKeyword = {
2416
+ /**
2417
+ * Zernio keyword ID. Accepted as `keywordId` by PATCH/DELETE /v1/ads/keywords/{keywordId}.
2418
+ */
2416
2419
  id?: string;
2420
+ /**
2421
+ * Google ad_group_criterion.criterion_id. Unique only within its ad group (`adSetId`), not across the account.
2422
+ */
2423
+ platformCriterionId?: string;
2424
+ /**
2425
+ * Google resource name, customers/{adAccountId}/adGroupCriteria/{adSetId}~{platformCriterionId}.
2426
+ */
2427
+ resourceName?: string;
2417
2428
  /**
2418
2429
  * Account ID owning the sync
2419
2430
  */
@@ -35123,7 +35134,7 @@ type UpdateAdKeywordData = {
35123
35134
  };
35124
35135
  path: {
35125
35136
  /**
35126
- * Zernio keyword ID (not the Google criterion ID)
35137
+ * Zernio keyword ID (`id`), or Google's native `{adSetId}~{platformCriterionId}` (the tail of `resourceName`, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
35127
35138
  */
35128
35139
  keywordId: string;
35129
35140
  };
@@ -35137,7 +35148,7 @@ type UpdateAdKeywordError = (ErrorResponse | {
35137
35148
  type RemoveAdKeywordData = {
35138
35149
  path: {
35139
35150
  /**
35140
- * Zernio keyword ID (not the Google criterion ID)
35151
+ * Zernio keyword ID (`id`), or Google's native `{adSetId}~{platformCriterionId}` (the tail of `resourceName`, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
35141
35152
  */
35142
35153
  keywordId: string;
35143
35154
  };
@@ -35147,7 +35158,26 @@ type RemoveAdKeywordResponse = ({
35147
35158
  * Always true on success
35148
35159
  */
35149
35160
  removed?: boolean;
35161
+ /**
35162
+ * Zernio keyword ID
35163
+ */
35150
35164
  keywordId?: string;
35165
+ /**
35166
+ * Google ad_group_criterion.criterion_id
35167
+ */
35168
+ platformCriterionId?: string;
35169
+ /**
35170
+ * Google resource name of the removed criterion
35171
+ */
35172
+ resourceName?: string;
35173
+ /**
35174
+ * Google campaign ID
35175
+ */
35176
+ campaignId?: string;
35177
+ /**
35178
+ * Google ad group ID
35179
+ */
35180
+ adSetId?: string;
35151
35181
  });
35152
35182
  type RemoveAdKeywordError = (ErrorResponse | {
35153
35183
  error?: string;
package/dist/index.d.ts CHANGED
@@ -2413,7 +2413,18 @@ type AdFunnelCounts = {
2413
2413
  messagingFirstReplies?: number;
2414
2414
  };
2415
2415
  type AdKeyword = {
2416
+ /**
2417
+ * Zernio keyword ID. Accepted as `keywordId` by PATCH/DELETE /v1/ads/keywords/{keywordId}.
2418
+ */
2416
2419
  id?: string;
2420
+ /**
2421
+ * Google ad_group_criterion.criterion_id. Unique only within its ad group (`adSetId`), not across the account.
2422
+ */
2423
+ platformCriterionId?: string;
2424
+ /**
2425
+ * Google resource name, customers/{adAccountId}/adGroupCriteria/{adSetId}~{platformCriterionId}.
2426
+ */
2427
+ resourceName?: string;
2417
2428
  /**
2418
2429
  * Account ID owning the sync
2419
2430
  */
@@ -35123,7 +35134,7 @@ type UpdateAdKeywordData = {
35123
35134
  };
35124
35135
  path: {
35125
35136
  /**
35126
- * Zernio keyword ID (not the Google criterion ID)
35137
+ * Zernio keyword ID (`id`), or Google's native `{adSetId}~{platformCriterionId}` (the tail of `resourceName`, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
35127
35138
  */
35128
35139
  keywordId: string;
35129
35140
  };
@@ -35137,7 +35148,7 @@ type UpdateAdKeywordError = (ErrorResponse | {
35137
35148
  type RemoveAdKeywordData = {
35138
35149
  path: {
35139
35150
  /**
35140
- * Zernio keyword ID (not the Google criterion ID)
35151
+ * Zernio keyword ID (`id`), or Google's native `{adSetId}~{platformCriterionId}` (the tail of `resourceName`, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
35141
35152
  */
35142
35153
  keywordId: string;
35143
35154
  };
@@ -35147,7 +35158,26 @@ type RemoveAdKeywordResponse = ({
35147
35158
  * Always true on success
35148
35159
  */
35149
35160
  removed?: boolean;
35161
+ /**
35162
+ * Zernio keyword ID
35163
+ */
35150
35164
  keywordId?: string;
35165
+ /**
35166
+ * Google ad_group_criterion.criterion_id
35167
+ */
35168
+ platformCriterionId?: string;
35169
+ /**
35170
+ * Google resource name of the removed criterion
35171
+ */
35172
+ resourceName?: string;
35173
+ /**
35174
+ * Google campaign ID
35175
+ */
35176
+ campaignId?: string;
35177
+ /**
35178
+ * Google ad group ID
35179
+ */
35180
+ adSetId?: string;
35151
35181
  });
35152
35182
  type RemoveAdKeywordError = (ErrorResponse | {
35153
35183
  error?: string;
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.937",
39
+ version: "0.2.938",
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.937",
8
+ version: "0.2.938",
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.937",
3
+ "version": "0.2.938",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -743,7 +743,18 @@ export type AdFunnelCounts = {
743
743
  };
744
744
 
745
745
  export type AdKeyword = {
746
+ /**
747
+ * Zernio keyword ID. Accepted as `keywordId` by PATCH/DELETE /v1/ads/keywords/{keywordId}.
748
+ */
746
749
  id?: string;
750
+ /**
751
+ * Google ad_group_criterion.criterion_id. Unique only within its ad group (`adSetId`), not across the account.
752
+ */
753
+ platformCriterionId?: string;
754
+ /**
755
+ * Google resource name, customers/{adAccountId}/adGroupCriteria/{adSetId}~{platformCriterionId}.
756
+ */
757
+ resourceName?: string;
747
758
  /**
748
759
  * Account ID owning the sync
749
760
  */
@@ -35451,7 +35462,7 @@ export type UpdateAdKeywordData = {
35451
35462
  };
35452
35463
  path: {
35453
35464
  /**
35454
- * Zernio keyword ID (not the Google criterion ID)
35465
+ * Zernio keyword ID (`id`), or Google's native `{adSetId}~{platformCriterionId}` (the tail of `resourceName`, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
35455
35466
  */
35456
35467
  keywordId: string;
35457
35468
  };
@@ -35468,7 +35479,7 @@ export type UpdateAdKeywordError = (ErrorResponse | {
35468
35479
  export type RemoveAdKeywordData = {
35469
35480
  path: {
35470
35481
  /**
35471
- * Zernio keyword ID (not the Google criterion ID)
35482
+ * Zernio keyword ID (`id`), or Google's native `{adSetId}~{platformCriterionId}` (the tail of `resourceName`, e.g. 1234567890~987654321). A bare criterion id is rejected because it is only unique within its ad group.
35472
35483
  */
35473
35484
  keywordId: string;
35474
35485
  };
@@ -35479,7 +35490,26 @@ export type RemoveAdKeywordResponse = ({
35479
35490
  * Always true on success
35480
35491
  */
35481
35492
  removed?: boolean;
35493
+ /**
35494
+ * Zernio keyword ID
35495
+ */
35482
35496
  keywordId?: string;
35497
+ /**
35498
+ * Google ad_group_criterion.criterion_id
35499
+ */
35500
+ platformCriterionId?: string;
35501
+ /**
35502
+ * Google resource name of the removed criterion
35503
+ */
35504
+ resourceName?: string;
35505
+ /**
35506
+ * Google campaign ID
35507
+ */
35508
+ campaignId?: string;
35509
+ /**
35510
+ * Google ad group ID
35511
+ */
35512
+ adSetId?: string;
35483
35513
  });
35484
35514
 
35485
35515
  export type RemoveAdKeywordError = (ErrorResponse | {