@getlatedev/node 0.2.1158 → 0.2.1160
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 +27 -2
- package/dist/index.d.ts +27 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +657 -95
- package/src/generated/types.gen.ts +27 -2
package/dist/index.d.mts
CHANGED
|
@@ -42814,11 +42814,11 @@ type GetAdReviewResponse = ({
|
|
|
42814
42814
|
platformAdId?: string;
|
|
42815
42815
|
review?: {
|
|
42816
42816
|
/**
|
|
42817
|
-
* TikTok `is_approved`.
|
|
42817
|
+
* TikTok `is_approved`. Google and Meta: derived from the platform status (see the description).
|
|
42818
42818
|
*/
|
|
42819
42819
|
approved?: (boolean) | null;
|
|
42820
42820
|
/**
|
|
42821
|
-
* TikTok `review_status`, verbatim: ALL_AVAILABLE (approved everywhere), PART_AVAILABLE (approved for part of the targeting), UNAVAILABLE (rejected).
|
|
42821
|
+
* TikTok `review_status`, verbatim: ALL_AVAILABLE (approved everywhere), PART_AVAILABLE (approved for part of the targeting), UNAVAILABLE (rejected). Google: `review_status`. Meta: the ad's `effective_status`.
|
|
42822
42822
|
*/
|
|
42823
42823
|
reviewStatus?: (string) | null;
|
|
42824
42824
|
forbiddenPlacements?: Array<(string)>;
|
|
@@ -42877,6 +42877,31 @@ type GetAdReviewResponse = ({
|
|
|
42877
42877
|
[key: string]: unknown;
|
|
42878
42878
|
}>;
|
|
42879
42879
|
}>;
|
|
42880
|
+
/**
|
|
42881
|
+
* Meta only. The Ad's `ad_review_feedback`, verbatim. Both maps are empty when Meta returned no feedback (approved or in-review ad).
|
|
42882
|
+
*/
|
|
42883
|
+
reviewFeedback?: {
|
|
42884
|
+
/**
|
|
42885
|
+
* Meta `global`: policy or reason -> Meta's explanation.
|
|
42886
|
+
*/
|
|
42887
|
+
global?: {
|
|
42888
|
+
[key: string]: (string);
|
|
42889
|
+
};
|
|
42890
|
+
/**
|
|
42891
|
+
* Meta `placement_specific`: placement (facebook, instagram, ...) -> reason -> Meta's explanation.
|
|
42892
|
+
*/
|
|
42893
|
+
placementSpecific?: {
|
|
42894
|
+
[key: string]: {
|
|
42895
|
+
[key: string]: (string);
|
|
42896
|
+
};
|
|
42897
|
+
};
|
|
42898
|
+
};
|
|
42899
|
+
/**
|
|
42900
|
+
* Meta only. The Ad's `issues_info` objects (`error_code`, `error_message`, `error_summary`, `error_type`, `level`), verbatim.
|
|
42901
|
+
*/
|
|
42902
|
+
issues?: Array<{
|
|
42903
|
+
[key: string]: unknown;
|
|
42904
|
+
}>;
|
|
42880
42905
|
/**
|
|
42881
42906
|
* When the verdict was read from the platform.
|
|
42882
42907
|
*/
|
package/dist/index.d.ts
CHANGED
|
@@ -42814,11 +42814,11 @@ type GetAdReviewResponse = ({
|
|
|
42814
42814
|
platformAdId?: string;
|
|
42815
42815
|
review?: {
|
|
42816
42816
|
/**
|
|
42817
|
-
* TikTok `is_approved`.
|
|
42817
|
+
* TikTok `is_approved`. Google and Meta: derived from the platform status (see the description).
|
|
42818
42818
|
*/
|
|
42819
42819
|
approved?: (boolean) | null;
|
|
42820
42820
|
/**
|
|
42821
|
-
* TikTok `review_status`, verbatim: ALL_AVAILABLE (approved everywhere), PART_AVAILABLE (approved for part of the targeting), UNAVAILABLE (rejected).
|
|
42821
|
+
* TikTok `review_status`, verbatim: ALL_AVAILABLE (approved everywhere), PART_AVAILABLE (approved for part of the targeting), UNAVAILABLE (rejected). Google: `review_status`. Meta: the ad's `effective_status`.
|
|
42822
42822
|
*/
|
|
42823
42823
|
reviewStatus?: (string) | null;
|
|
42824
42824
|
forbiddenPlacements?: Array<(string)>;
|
|
@@ -42877,6 +42877,31 @@ type GetAdReviewResponse = ({
|
|
|
42877
42877
|
[key: string]: unknown;
|
|
42878
42878
|
}>;
|
|
42879
42879
|
}>;
|
|
42880
|
+
/**
|
|
42881
|
+
* Meta only. The Ad's `ad_review_feedback`, verbatim. Both maps are empty when Meta returned no feedback (approved or in-review ad).
|
|
42882
|
+
*/
|
|
42883
|
+
reviewFeedback?: {
|
|
42884
|
+
/**
|
|
42885
|
+
* Meta `global`: policy or reason -> Meta's explanation.
|
|
42886
|
+
*/
|
|
42887
|
+
global?: {
|
|
42888
|
+
[key: string]: (string);
|
|
42889
|
+
};
|
|
42890
|
+
/**
|
|
42891
|
+
* Meta `placement_specific`: placement (facebook, instagram, ...) -> reason -> Meta's explanation.
|
|
42892
|
+
*/
|
|
42893
|
+
placementSpecific?: {
|
|
42894
|
+
[key: string]: {
|
|
42895
|
+
[key: string]: (string);
|
|
42896
|
+
};
|
|
42897
|
+
};
|
|
42898
|
+
};
|
|
42899
|
+
/**
|
|
42900
|
+
* Meta only. The Ad's `issues_info` objects (`error_code`, `error_message`, `error_summary`, `error_type`, `level`), verbatim.
|
|
42901
|
+
*/
|
|
42902
|
+
issues?: Array<{
|
|
42903
|
+
[key: string]: unknown;
|
|
42904
|
+
}>;
|
|
42880
42905
|
/**
|
|
42881
42906
|
* When the verdict was read from the platform.
|
|
42882
42907
|
*/
|
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.1160",
|
|
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.1160",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|