@getlatedev/node 0.2.1661 → 0.2.1662
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 +9 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +7 -4
- package/src/generated/types.gen.ts +9 -1
package/README.md
CHANGED
|
@@ -607,7 +607,7 @@ try {
|
|
|
607
607
|
| `adCampaigns.updateAdCampaign()` | Update a campaign |
|
|
608
608
|
| `adCampaigns.updateAdCampaignStatus()` | Pause or resume a campaign |
|
|
609
609
|
| `adCampaigns.updateAdGroupAssets()` | Update ad-group assets |
|
|
610
|
-
| `adCampaigns.updateAdKeyword()` |
|
|
610
|
+
| `adCampaigns.updateAdKeyword()` | Update a Search keyword |
|
|
611
611
|
| `adCampaigns.updateAdSet()` | Update an ad set |
|
|
612
612
|
| `adCampaigns.updateAdSetStatus()` | Pause or resume a single ad set |
|
|
613
613
|
| `adCampaigns.updateAdStatus()` | Pause or resume a single ad |
|
package/dist/index.d.mts
CHANGED
|
@@ -3613,6 +3613,10 @@ type AdKeyword = {
|
|
|
3613
3613
|
matchType?: 'exact' | 'phrase' | 'broad' | 'unknown';
|
|
3614
3614
|
status?: 'active' | 'paused';
|
|
3615
3615
|
negative?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Max CPC bid set on this keyword, in the ad account currency. Null when the keyword uses its ad group bid. Takes effect only under Manual CPC bidding.
|
|
3618
|
+
*/
|
|
3619
|
+
cpcBid?: (number) | null;
|
|
3616
3620
|
/**
|
|
3617
3621
|
* Deprecated, use `quality.score`. Google Quality Score, 1-10. Null when unrated.
|
|
3618
3622
|
*/
|
|
@@ -58463,7 +58467,11 @@ type AddAdKeywordsResponse = ({
|
|
|
58463
58467
|
type AddAdKeywordsError = (ErrorResponse | unknown);
|
|
58464
58468
|
type UpdateAdKeywordData = {
|
|
58465
58469
|
body: {
|
|
58466
|
-
status
|
|
58470
|
+
status?: 'active' | 'paused';
|
|
58471
|
+
/**
|
|
58472
|
+
* Max CPC bid for this keyword, in the ad account currency. Takes effect only under Manual CPC bidding.
|
|
58473
|
+
*/
|
|
58474
|
+
cpcBid?: number;
|
|
58467
58475
|
};
|
|
58468
58476
|
path: {
|
|
58469
58477
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -3613,6 +3613,10 @@ type AdKeyword = {
|
|
|
3613
3613
|
matchType?: 'exact' | 'phrase' | 'broad' | 'unknown';
|
|
3614
3614
|
status?: 'active' | 'paused';
|
|
3615
3615
|
negative?: boolean;
|
|
3616
|
+
/**
|
|
3617
|
+
* Max CPC bid set on this keyword, in the ad account currency. Null when the keyword uses its ad group bid. Takes effect only under Manual CPC bidding.
|
|
3618
|
+
*/
|
|
3619
|
+
cpcBid?: (number) | null;
|
|
3616
3620
|
/**
|
|
3617
3621
|
* Deprecated, use `quality.score`. Google Quality Score, 1-10. Null when unrated.
|
|
3618
3622
|
*/
|
|
@@ -58463,7 +58467,11 @@ type AddAdKeywordsResponse = ({
|
|
|
58463
58467
|
type AddAdKeywordsError = (ErrorResponse | unknown);
|
|
58464
58468
|
type UpdateAdKeywordData = {
|
|
58465
58469
|
body: {
|
|
58466
|
-
status
|
|
58470
|
+
status?: 'active' | 'paused';
|
|
58471
|
+
/**
|
|
58472
|
+
* Max CPC bid for this keyword, in the ad account currency. Takes effect only under Manual CPC bidding.
|
|
58473
|
+
*/
|
|
58474
|
+
cpcBid?: number;
|
|
58467
58475
|
};
|
|
58468
58476
|
path: {
|
|
58469
58477
|
/**
|
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.1662",
|
|
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.1662",
|
|
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
|
@@ -13423,11 +13423,14 @@ export const addAdKeywords = <ThrowOnError extends boolean = false>(options: Opt
|
|
|
13423
13423
|
};
|
|
13424
13424
|
|
|
13425
13425
|
/**
|
|
13426
|
-
*
|
|
13427
|
-
* Pauses
|
|
13426
|
+
* Update a Search keyword
|
|
13427
|
+
* Pauses, re-enables or sets the bid of a single Google Search keyword. Send `status`, `cpcBid` or both.
|
|
13428
13428
|
*
|
|
13429
|
-
* Changes `ad_group_criterion.status` for one keyword criterion
|
|
13430
|
-
*
|
|
13429
|
+
* Changes `ad_group_criterion.status` (M.140) and `ad_group_criterion.cpc_bid_micros` for one keyword criterion.
|
|
13430
|
+
*
|
|
13431
|
+
* `cpcBid` is in the ad account currency and takes effect only under Manual CPC bidding. A keyword with no bid of its own reads back `cpcBid: null` and uses its ad group bid.
|
|
13432
|
+
*
|
|
13433
|
+
* Negative keywords have no status or bid on Google and cannot be paused, enabled or given a bid.
|
|
13431
13434
|
*
|
|
13432
13435
|
*/
|
|
13433
13436
|
export const updateAdKeyword = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateAdKeywordData, ThrowOnError>) => {
|
|
@@ -1157,6 +1157,10 @@ export type AdKeyword = {
|
|
|
1157
1157
|
matchType?: 'exact' | 'phrase' | 'broad' | 'unknown';
|
|
1158
1158
|
status?: 'active' | 'paused';
|
|
1159
1159
|
negative?: boolean;
|
|
1160
|
+
/**
|
|
1161
|
+
* Max CPC bid set on this keyword, in the ad account currency. Null when the keyword uses its ad group bid. Takes effect only under Manual CPC bidding.
|
|
1162
|
+
*/
|
|
1163
|
+
cpcBid?: (number) | null;
|
|
1160
1164
|
/**
|
|
1161
1165
|
* Deprecated, use `quality.score`. Google Quality Score, 1-10. Null when unrated.
|
|
1162
1166
|
*/
|
|
@@ -59403,7 +59407,11 @@ export type AddAdKeywordsError = (ErrorResponse | unknown);
|
|
|
59403
59407
|
|
|
59404
59408
|
export type UpdateAdKeywordData = {
|
|
59405
59409
|
body: {
|
|
59406
|
-
status
|
|
59410
|
+
status?: 'active' | 'paused';
|
|
59411
|
+
/**
|
|
59412
|
+
* Max CPC bid for this keyword, in the ad account currency. Takes effect only under Manual CPC bidding.
|
|
59413
|
+
*/
|
|
59414
|
+
cpcBid?: number;
|
|
59407
59415
|
};
|
|
59408
59416
|
path: {
|
|
59409
59417
|
/**
|