@getlatedev/node 0.2.1282 → 0.2.1284
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 +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -3
- package/src/generated/types.gen.ts +6 -2
package/dist/index.d.mts
CHANGED
|
@@ -41985,6 +41985,10 @@ type GetAdsSearchTermsResponse = ({
|
|
|
41985
41985
|
* How the term matched (BROAD, PHRASE, EXACT, NEAR_PHRASE, NEAR_EXACT).
|
|
41986
41986
|
*/
|
|
41987
41987
|
matchType?: (string) | null;
|
|
41988
|
+
/**
|
|
41989
|
+
* What matched the term: ADVERTISER_PROVIDED_KEYWORD (one of your keywords), AI_MAX_BROAD_MATCH or AI_MAX_KEYWORDLESS (AI Max expansion).
|
|
41990
|
+
*/
|
|
41991
|
+
matchSource?: (string) | null;
|
|
41988
41992
|
campaignId?: (string) | null;
|
|
41989
41993
|
campaignName?: (string) | null;
|
|
41990
41994
|
adGroupId?: (string) | null;
|
|
@@ -48432,7 +48436,7 @@ type ListAdAccountsData = {
|
|
|
48432
48436
|
*/
|
|
48433
48437
|
adAccountId?: string;
|
|
48434
48438
|
/**
|
|
48435
|
-
*
|
|
48439
|
+
* `true` returns only the ad accounts this connection accepts as `adAccountId` on the other /v1/ads endpoints, i.e. those inside its ad-account selection (every item then has `selected: true`). Without it, every ad account the login can reach is listed and `selected` flags selection membership. On Meta, LinkedIn, X and Reddit it drops the ad accounts with `selected: false`; a connection without a selection keeps them all. On Google Ads it also drops customers the login reaches that are not on this connection (for example ones selected on another connection of the same login), which those endpoints answer with a 400. TikTok and Pinterest have no selection, so the list is unchanged.
|
|
48436
48440
|
*/
|
|
48437
48441
|
inScopeOnly?: boolean;
|
|
48438
48442
|
/**
|
|
@@ -48575,7 +48579,7 @@ type ListAdAccountsResponse = ({
|
|
|
48575
48579
|
*/
|
|
48576
48580
|
unusableReason?: (string) | null;
|
|
48577
48581
|
/**
|
|
48578
|
-
* Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false`
|
|
48582
|
+
* Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` answer 403 `ad_account_not_selected`; `inScopeOnly=true` lists only the selected ones.
|
|
48579
48583
|
*/
|
|
48580
48584
|
selected?: boolean;
|
|
48581
48585
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -41985,6 +41985,10 @@ type GetAdsSearchTermsResponse = ({
|
|
|
41985
41985
|
* How the term matched (BROAD, PHRASE, EXACT, NEAR_PHRASE, NEAR_EXACT).
|
|
41986
41986
|
*/
|
|
41987
41987
|
matchType?: (string) | null;
|
|
41988
|
+
/**
|
|
41989
|
+
* What matched the term: ADVERTISER_PROVIDED_KEYWORD (one of your keywords), AI_MAX_BROAD_MATCH or AI_MAX_KEYWORDLESS (AI Max expansion).
|
|
41990
|
+
*/
|
|
41991
|
+
matchSource?: (string) | null;
|
|
41988
41992
|
campaignId?: (string) | null;
|
|
41989
41993
|
campaignName?: (string) | null;
|
|
41990
41994
|
adGroupId?: (string) | null;
|
|
@@ -48432,7 +48436,7 @@ type ListAdAccountsData = {
|
|
|
48432
48436
|
*/
|
|
48433
48437
|
adAccountId?: string;
|
|
48434
48438
|
/**
|
|
48435
|
-
*
|
|
48439
|
+
* `true` returns only the ad accounts this connection accepts as `adAccountId` on the other /v1/ads endpoints, i.e. those inside its ad-account selection (every item then has `selected: true`). Without it, every ad account the login can reach is listed and `selected` flags selection membership. On Meta, LinkedIn, X and Reddit it drops the ad accounts with `selected: false`; a connection without a selection keeps them all. On Google Ads it also drops customers the login reaches that are not on this connection (for example ones selected on another connection of the same login), which those endpoints answer with a 400. TikTok and Pinterest have no selection, so the list is unchanged.
|
|
48436
48440
|
*/
|
|
48437
48441
|
inScopeOnly?: boolean;
|
|
48438
48442
|
/**
|
|
@@ -48575,7 +48579,7 @@ type ListAdAccountsResponse = ({
|
|
|
48575
48579
|
*/
|
|
48576
48580
|
unusableReason?: (string) | null;
|
|
48577
48581
|
/**
|
|
48578
|
-
* Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false`
|
|
48582
|
+
* Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` answer 403 `ad_account_not_selected`; `inScopeOnly=true` lists only the selected ones.
|
|
48579
48583
|
*/
|
|
48580
48584
|
selected?: boolean;
|
|
48581
48585
|
}>;
|
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.1284",
|
|
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.1284",
|
|
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
|
@@ -13086,9 +13086,10 @@ export const createAdAccount = <ThrowOnError extends boolean = false>(options: O
|
|
|
13086
13086
|
* Every listed ad account carries `selected`: whether it is in the connection's ad-account
|
|
13087
13087
|
* selection (the ad accounts picked at connect time or in the dashboard picker, the ones
|
|
13088
13088
|
* Zernio syncs). On a connection without a selection every ad account is `selected: true`.
|
|
13089
|
-
* Writes through /v1/ads endpoints to an ad account with `selected: false`
|
|
13090
|
-
*
|
|
13091
|
-
*
|
|
13089
|
+
* Writes through /v1/ads endpoints to an ad account with `selected: false` answer
|
|
13090
|
+
* `403 ad_account_not_selected`; add it to the selection first (dashboard picker, or
|
|
13091
|
+
* `GET /v1/connect/{platform}/ads` with `adAccountIds`). The list includes unselected ad
|
|
13092
|
+
* accounts by default; pass `inScopeOnly=true` to get only the ones this connection can use.
|
|
13092
13093
|
*
|
|
13093
13094
|
*/
|
|
13094
13095
|
export const listAdAccounts = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<ListAdAccountsData, ThrowOnError>) => {
|
|
@@ -42405,6 +42405,10 @@ export type GetAdsSearchTermsResponse = ({
|
|
|
42405
42405
|
* How the term matched (BROAD, PHRASE, EXACT, NEAR_PHRASE, NEAR_EXACT).
|
|
42406
42406
|
*/
|
|
42407
42407
|
matchType?: (string) | null;
|
|
42408
|
+
/**
|
|
42409
|
+
* What matched the term: ADVERTISER_PROVIDED_KEYWORD (one of your keywords), AI_MAX_BROAD_MATCH or AI_MAX_KEYWORDLESS (AI Max expansion).
|
|
42410
|
+
*/
|
|
42411
|
+
matchSource?: (string) | null;
|
|
42408
42412
|
campaignId?: (string) | null;
|
|
42409
42413
|
campaignName?: (string) | null;
|
|
42410
42414
|
adGroupId?: (string) | null;
|
|
@@ -49280,7 +49284,7 @@ export type ListAdAccountsData = {
|
|
|
49280
49284
|
*/
|
|
49281
49285
|
adAccountId?: string;
|
|
49282
49286
|
/**
|
|
49283
|
-
*
|
|
49287
|
+
* `true` returns only the ad accounts this connection accepts as `adAccountId` on the other /v1/ads endpoints, i.e. those inside its ad-account selection (every item then has `selected: true`). Without it, every ad account the login can reach is listed and `selected` flags selection membership. On Meta, LinkedIn, X and Reddit it drops the ad accounts with `selected: false`; a connection without a selection keeps them all. On Google Ads it also drops customers the login reaches that are not on this connection (for example ones selected on another connection of the same login), which those endpoints answer with a 400. TikTok and Pinterest have no selection, so the list is unchanged.
|
|
49284
49288
|
*/
|
|
49285
49289
|
inScopeOnly?: boolean;
|
|
49286
49290
|
/**
|
|
@@ -49424,7 +49428,7 @@ export type ListAdAccountsResponse = ({
|
|
|
49424
49428
|
*/
|
|
49425
49429
|
unusableReason?: (string) | null;
|
|
49426
49430
|
/**
|
|
49427
|
-
* Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false`
|
|
49431
|
+
* Always present. True when the ad account is in this connection's ad-account selection, or when the connection has no selection (then every ad account is usable). For a posting account (e.g. facebook, twitter) the selection of its ads connection applies. Unrelated to `selectable`, which is the platform's own status. Writes to an ad account with `selected: false` answer 403 `ad_account_not_selected`; `inScopeOnly=true` lists only the selected ones.
|
|
49428
49432
|
*/
|
|
49429
49433
|
selected?: boolean;
|
|
49430
49434
|
}>;
|