@getlatedev/node 0.2.1355 → 0.2.1356
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 +42 -0
- package/dist/index.d.ts +42 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +4 -1
- package/src/generated/types.gen.ts +42 -0
package/dist/index.d.mts
CHANGED
|
@@ -46912,6 +46912,48 @@ type UpdateAdSetData = {
|
|
|
46912
46912
|
*
|
|
46913
46913
|
*/
|
|
46914
46914
|
bidStrategy?: (BidStrategy);
|
|
46915
|
+
/**
|
|
46916
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46917
|
+
* set's `dsa_beneficiary`, the legal entity that benefits from its ads, same field and
|
|
46918
|
+
* limits as `dsaBeneficiary` on POST /v1/ads/create. Only the fields you send are
|
|
46919
|
+
* written. It is the EU DSA field; for the regional regimes (Brazil, Malaysia,
|
|
46920
|
+
* Thailand, Australia, Singapore, Taiwan, India) use `regionalRegulatedCategories` and
|
|
46921
|
+
* `regionalRegulationIdentities` instead. Read it back with
|
|
46922
|
+
* GET /v1/ads/ad-sets/{adSetId}?accountId={accountId}&fields=dsa_beneficiary,dsa_payor.
|
|
46923
|
+
*
|
|
46924
|
+
*/
|
|
46925
|
+
dsaBeneficiary?: string;
|
|
46926
|
+
/**
|
|
46927
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46928
|
+
* set's `dsa_payor`, the legal entity that pays for its ads, same field and limits as
|
|
46929
|
+
* `dsaPayor` on POST /v1/ads/create. Can differ from `dsaBeneficiary`.
|
|
46930
|
+
*
|
|
46931
|
+
*/
|
|
46932
|
+
dsaPayor?: string;
|
|
46933
|
+
/**
|
|
46934
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46935
|
+
* set's `regional_regulated_categories`, same values as on POST /v1/ads/create
|
|
46936
|
+
* (AUSTRALIA_FINSERV, AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, INDIA_FINSERV,
|
|
46937
|
+
* MALAYSIA_UNIVERSAL, SINGAPORE_UNIVERSAL, TAIWAN_FINSERV, TAIWAN_UNIVERSAL,
|
|
46938
|
+
* THAILAND_UNIVERSAL). Send it with `regionalRegulationIdentities`. An empty array is a 400.
|
|
46939
|
+
*
|
|
46940
|
+
*/
|
|
46941
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
46942
|
+
/**
|
|
46943
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46944
|
+
* set's `regional_regulation_identities`: the Verified identity IDs of the beneficiary
|
|
46945
|
+
* and payer for each declared category, same keys and validation as on
|
|
46946
|
+
* POST /v1/ads/create (for example `universal_beneficiary` / `universal_payer` for
|
|
46947
|
+
* BRAZIL_REGULATION, MALAYSIA_UNIVERSAL and THAILAND_UNIVERSAL). Send each ID as a
|
|
46948
|
+
* string of digits; an empty object is a 400. When Meta refuses the ad set for a missing
|
|
46949
|
+
* verified advertiser, the 400 `platform_api_error` names the keys the declared categories
|
|
46950
|
+
* expect in `details.expectedIdentityKeys`, as on create. Read both back with
|
|
46951
|
+
* GET /v1/ads/ad-sets/{adSetId}?accountId={accountId}&fields=regional_regulated_categories,regional_regulation_identities.
|
|
46952
|
+
*
|
|
46953
|
+
*/
|
|
46954
|
+
regionalRegulationIdentities?: {
|
|
46955
|
+
[key: string]: (string | number);
|
|
46956
|
+
};
|
|
46915
46957
|
/**
|
|
46916
46958
|
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
46917
46959
|
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
package/dist/index.d.ts
CHANGED
|
@@ -46912,6 +46912,48 @@ type UpdateAdSetData = {
|
|
|
46912
46912
|
*
|
|
46913
46913
|
*/
|
|
46914
46914
|
bidStrategy?: (BidStrategy);
|
|
46915
|
+
/**
|
|
46916
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46917
|
+
* set's `dsa_beneficiary`, the legal entity that benefits from its ads, same field and
|
|
46918
|
+
* limits as `dsaBeneficiary` on POST /v1/ads/create. Only the fields you send are
|
|
46919
|
+
* written. It is the EU DSA field; for the regional regimes (Brazil, Malaysia,
|
|
46920
|
+
* Thailand, Australia, Singapore, Taiwan, India) use `regionalRegulatedCategories` and
|
|
46921
|
+
* `regionalRegulationIdentities` instead. Read it back with
|
|
46922
|
+
* GET /v1/ads/ad-sets/{adSetId}?accountId={accountId}&fields=dsa_beneficiary,dsa_payor.
|
|
46923
|
+
*
|
|
46924
|
+
*/
|
|
46925
|
+
dsaBeneficiary?: string;
|
|
46926
|
+
/**
|
|
46927
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46928
|
+
* set's `dsa_payor`, the legal entity that pays for its ads, same field and limits as
|
|
46929
|
+
* `dsaPayor` on POST /v1/ads/create. Can differ from `dsaBeneficiary`.
|
|
46930
|
+
*
|
|
46931
|
+
*/
|
|
46932
|
+
dsaPayor?: string;
|
|
46933
|
+
/**
|
|
46934
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46935
|
+
* set's `regional_regulated_categories`, same values as on POST /v1/ads/create
|
|
46936
|
+
* (AUSTRALIA_FINSERV, AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, INDIA_FINSERV,
|
|
46937
|
+
* MALAYSIA_UNIVERSAL, SINGAPORE_UNIVERSAL, TAIWAN_FINSERV, TAIWAN_UNIVERSAL,
|
|
46938
|
+
* THAILAND_UNIVERSAL). Send it with `regionalRegulationIdentities`. An empty array is a 400.
|
|
46939
|
+
*
|
|
46940
|
+
*/
|
|
46941
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
46942
|
+
/**
|
|
46943
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
46944
|
+
* set's `regional_regulation_identities`: the Verified identity IDs of the beneficiary
|
|
46945
|
+
* and payer for each declared category, same keys and validation as on
|
|
46946
|
+
* POST /v1/ads/create (for example `universal_beneficiary` / `universal_payer` for
|
|
46947
|
+
* BRAZIL_REGULATION, MALAYSIA_UNIVERSAL and THAILAND_UNIVERSAL). Send each ID as a
|
|
46948
|
+
* string of digits; an empty object is a 400. When Meta refuses the ad set for a missing
|
|
46949
|
+
* verified advertiser, the 400 `platform_api_error` names the keys the declared categories
|
|
46950
|
+
* expect in `details.expectedIdentityKeys`, as on create. Read both back with
|
|
46951
|
+
* GET /v1/ads/ad-sets/{adSetId}?accountId={accountId}&fields=regional_regulated_categories,regional_regulation_identities.
|
|
46952
|
+
*
|
|
46953
|
+
*/
|
|
46954
|
+
regionalRegulationIdentities?: {
|
|
46955
|
+
[key: string]: (string | number);
|
|
46956
|
+
};
|
|
46915
46957
|
/**
|
|
46916
46958
|
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
46917
46959
|
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|
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.1356",
|
|
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.1356",
|
|
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
|
@@ -11575,7 +11575,10 @@ export const getAdSetDetails = <ThrowOnError extends boolean = false>(options: O
|
|
|
11575
11575
|
* Changes an ad set's settings, such as its budget, bid strategy, status or delivery options.
|
|
11576
11576
|
*
|
|
11577
11577
|
* Use this for ABO budget updates, ad-set-scoped
|
|
11578
|
-
* pause/resume, bid-strategy edits, Meta value-rule-set attach/detach,
|
|
11578
|
+
* pause/resume, bid-strategy edits, Meta value-rule-set attach/detach, Meta
|
|
11579
|
+
* beneficiary and payer (`dsaBeneficiary` / `dsaPayor` for the EU,
|
|
11580
|
+
* `regionalRegulatedCategories` / `regionalRegulationIdentities` for the
|
|
11581
|
+
* regional regimes), and
|
|
11579
11582
|
* Meta-only post-launch delivery settings via `platformSpecificData`. At
|
|
11580
11583
|
* least one updatable field is required.
|
|
11581
11584
|
*
|
|
@@ -47598,6 +47598,48 @@ export type UpdateAdSetData = {
|
|
|
47598
47598
|
*
|
|
47599
47599
|
*/
|
|
47600
47600
|
bidStrategy?: (BidStrategy);
|
|
47601
|
+
/**
|
|
47602
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
47603
|
+
* set's `dsa_beneficiary`, the legal entity that benefits from its ads, same field and
|
|
47604
|
+
* limits as `dsaBeneficiary` on POST /v1/ads/create. Only the fields you send are
|
|
47605
|
+
* written. It is the EU DSA field; for the regional regimes (Brazil, Malaysia,
|
|
47606
|
+
* Thailand, Australia, Singapore, Taiwan, India) use `regionalRegulatedCategories` and
|
|
47607
|
+
* `regionalRegulationIdentities` instead. Read it back with
|
|
47608
|
+
* GET /v1/ads/ad-sets/{adSetId}?accountId={accountId}&fields=dsa_beneficiary,dsa_payor.
|
|
47609
|
+
*
|
|
47610
|
+
*/
|
|
47611
|
+
dsaBeneficiary?: string;
|
|
47612
|
+
/**
|
|
47613
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
47614
|
+
* set's `dsa_payor`, the legal entity that pays for its ads, same field and limits as
|
|
47615
|
+
* `dsaPayor` on POST /v1/ads/create. Can differ from `dsaBeneficiary`.
|
|
47616
|
+
*
|
|
47617
|
+
*/
|
|
47618
|
+
dsaPayor?: string;
|
|
47619
|
+
/**
|
|
47620
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
47621
|
+
* set's `regional_regulated_categories`, same values as on POST /v1/ads/create
|
|
47622
|
+
* (AUSTRALIA_FINSERV, AUSTRALIA_UNIVERSAL, BRAZIL_REGULATION, INDIA_FINSERV,
|
|
47623
|
+
* MALAYSIA_UNIVERSAL, SINGAPORE_UNIVERSAL, TAIWAN_FINSERV, TAIWAN_UNIVERSAL,
|
|
47624
|
+
* THAILAND_UNIVERSAL). Send it with `regionalRegulationIdentities`. An empty array is a 400.
|
|
47625
|
+
*
|
|
47626
|
+
*/
|
|
47627
|
+
regionalRegulatedCategories?: Array<(string)>;
|
|
47628
|
+
/**
|
|
47629
|
+
* Meta only (400 elsewhere, before anything in the request is written). Writes the ad
|
|
47630
|
+
* set's `regional_regulation_identities`: the Verified identity IDs of the beneficiary
|
|
47631
|
+
* and payer for each declared category, same keys and validation as on
|
|
47632
|
+
* POST /v1/ads/create (for example `universal_beneficiary` / `universal_payer` for
|
|
47633
|
+
* BRAZIL_REGULATION, MALAYSIA_UNIVERSAL and THAILAND_UNIVERSAL). Send each ID as a
|
|
47634
|
+
* string of digits; an empty object is a 400. When Meta refuses the ad set for a missing
|
|
47635
|
+
* verified advertiser, the 400 `platform_api_error` names the keys the declared categories
|
|
47636
|
+
* expect in `details.expectedIdentityKeys`, as on create. Read both back with
|
|
47637
|
+
* GET /v1/ads/ad-sets/{adSetId}?accountId={accountId}&fields=regional_regulated_categories,regional_regulation_identities.
|
|
47638
|
+
*
|
|
47639
|
+
*/
|
|
47640
|
+
regionalRegulationIdentities?: {
|
|
47641
|
+
[key: string]: (string | number);
|
|
47642
|
+
};
|
|
47601
47643
|
/**
|
|
47602
47644
|
* TikTok only (a 400 elsewhere). TikTok Smart Targeting on the ad group: `audience` is
|
|
47603
47645
|
* TikTok's `smart_audience_enabled`, `interestsBehaviors` its `smart_interest_behavior_enabled`.
|