@zernio/node 0.2.845 → 0.2.846
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 +9 -4
- package/dist/index.d.ts +9 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +9 -4
package/dist/index.d.mts
CHANGED
|
@@ -16885,10 +16885,15 @@ type ConnectAdsData = {
|
|
|
16885
16885
|
* numeric sponsored-account id), `googleads` (bare customer id digits)
|
|
16886
16886
|
* and `twitter` (X Ads, base36 account id). `tiktok` scopes advertisers
|
|
16887
16887
|
* at OAuth and `pinterest` has no ads discovery, so both ignore it.
|
|
16888
|
-
* Meta ids are additionally validated against the connected token
|
|
16889
|
-
*
|
|
16890
|
-
*
|
|
16891
|
-
* `
|
|
16888
|
+
* Meta ids are additionally validated against the connected token:
|
|
16889
|
+
* an id the token cannot see returns 400 `invalid_field_value`, and an
|
|
16890
|
+
* id it can see but that Meta marks unusable for ads (disabled, closed,
|
|
16891
|
+
* under risk review, settlement pending) returns 400 `ad_account_unusable`
|
|
16892
|
+
* with `details.accountStatus` (Meta's `account_status`) and, when Meta
|
|
16893
|
+
* gives one, `details.disableReason`. Unsettled and in-grace accounts
|
|
16894
|
+
* are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
|
|
16895
|
+
* Setting a scope also removes already synced ads from de-scoped ad
|
|
16896
|
+
* accounts. For multiple accounts use `adAccountIds` instead.
|
|
16892
16897
|
*
|
|
16893
16898
|
*/
|
|
16894
16899
|
adAccountId?: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -16885,10 +16885,15 @@ type ConnectAdsData = {
|
|
|
16885
16885
|
* numeric sponsored-account id), `googleads` (bare customer id digits)
|
|
16886
16886
|
* and `twitter` (X Ads, base36 account id). `tiktok` scopes advertisers
|
|
16887
16887
|
* at OAuth and `pinterest` has no ads discovery, so both ignore it.
|
|
16888
|
-
* Meta ids are additionally validated against the connected token
|
|
16889
|
-
*
|
|
16890
|
-
*
|
|
16891
|
-
* `
|
|
16888
|
+
* Meta ids are additionally validated against the connected token:
|
|
16889
|
+
* an id the token cannot see returns 400 `invalid_field_value`, and an
|
|
16890
|
+
* id it can see but that Meta marks unusable for ads (disabled, closed,
|
|
16891
|
+
* under risk review, settlement pending) returns 400 `ad_account_unusable`
|
|
16892
|
+
* with `details.accountStatus` (Meta's `account_status`) and, when Meta
|
|
16893
|
+
* gives one, `details.disableReason`. Unsettled and in-grace accounts
|
|
16894
|
+
* are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
|
|
16895
|
+
* Setting a scope also removes already synced ads from de-scoped ad
|
|
16896
|
+
* accounts. For multiple accounts use `adAccountIds` instead.
|
|
16892
16897
|
*
|
|
16893
16898
|
*/
|
|
16894
16899
|
adAccountId?: 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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.846",
|
|
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.
|
|
8
|
+
version: "0.2.846",
|
|
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
|
@@ -15937,10 +15937,15 @@ export type ConnectAdsData = {
|
|
|
15937
15937
|
* numeric sponsored-account id), `googleads` (bare customer id digits)
|
|
15938
15938
|
* and `twitter` (X Ads, base36 account id). `tiktok` scopes advertisers
|
|
15939
15939
|
* at OAuth and `pinterest` has no ads discovery, so both ignore it.
|
|
15940
|
-
* Meta ids are additionally validated against the connected token
|
|
15941
|
-
*
|
|
15942
|
-
*
|
|
15943
|
-
* `
|
|
15940
|
+
* Meta ids are additionally validated against the connected token:
|
|
15941
|
+
* an id the token cannot see returns 400 `invalid_field_value`, and an
|
|
15942
|
+
* id it can see but that Meta marks unusable for ads (disabled, closed,
|
|
15943
|
+
* under risk review, settlement pending) returns 400 `ad_account_unusable`
|
|
15944
|
+
* with `details.accountStatus` (Meta's `account_status`) and, when Meta
|
|
15945
|
+
* gives one, `details.disableReason`. Unsettled and in-grace accounts
|
|
15946
|
+
* are accepted, matching the `selectable` flag of `GET /v1/ads/accounts`.
|
|
15947
|
+
* Setting a scope also removes already synced ads from de-scoped ad
|
|
15948
|
+
* accounts. For multiple accounts use `adAccountIds` instead.
|
|
15944
15949
|
*
|
|
15945
15950
|
*/
|
|
15946
15951
|
adAccountId?: string;
|