@dolby-optiview/ads-sdk 1.0.0-beta.2 → 1.0.0-beta.4
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.
|
@@ -66,6 +66,7 @@ of the public contract and are never renamed.
|
|
|
66
66
|
| `DA-INSERTION-TYPE-IGNORED-SSAI` | session | warn | adInsertionType is ignored in SSAI mode; the stitcher controls ad insertion server-side. |
|
|
67
67
|
| `DA-VAST-UNSUPPORTED-FORMAT` | break | warn | A VAST asset appeared in an unsupported break format; VAST is only supported in single, double, and lshape_ad. The break was skipped. |
|
|
68
68
|
| `DA-ASSET-MACRO-UNKNOWN` | break | warn | An asset parameter value contained a macro the SDK has no value for (an unknown or unavailable OptiView macro, or a registered customer macro that returned no value); the parameter was still sent, with the macro kept as its literal token. Raised once per parameter key and macro. context: key, macro, breakId, assetId. |
|
|
69
|
+
| `DA-ASSET-PARAMETER-OMITTED` | break | info | An asset parameter value contained a customer macro that is empty (value `null`), so the parameter was not sent; for GAM `cust_params` only the `&`-separated pair containing the macro was dropped. Raised once per parameter key and macro (per dropped pair for GAM `cust_params`). context: key, macro, pair (GAM `cust_params` only), breakId, assetId. |
|
|
69
70
|
| `DA-VAST-SSAI-UNSUPPORTED` | session | warn | VAST assets are not supported in SSAI mode (VAST is SGAI-only); the asset was skipped. |
|
|
70
71
|
| `DA-VAST-IMA-ERROR` | gam | error | Google IMA reported an error while loading or playing a VAST (client-side / CSAI) ad. |
|
|
71
72
|
| `DA-VAST-IMA-SDK-MISSING` | gam | error | The Google IMA client-side SDK (ima3.js) is unavailable; VAST (CSAI) ads cannot be played. |
|
|
@@ -1035,6 +1035,18 @@ and `$APP_NAME$` never collide. A registered customer macro that returns
|
|
|
1035
1035
|
`undefined` is also reported. A non-OptiView `$NAME$` without a customer macro
|
|
1036
1036
|
is sent literally without a diagnostic.
|
|
1037
1037
|
|
|
1038
|
+
## DA-ASSET-PARAMETER-OMITTED
|
|
1039
|
+
|
|
1040
|
+
**Cause:** An `assetParameters` value contained a customer macro that resolved
|
|
1041
|
+
to `null`. The parameter was omitted from the ad request. For GAM
|
|
1042
|
+
`cust_params`, only the `&`-separated pair containing the macro was dropped;
|
|
1043
|
+
for VAST, the whole `cust_params` parameter was omitted.
|
|
1044
|
+
|
|
1045
|
+
**Fix:** Return a string when the parameter should be sent. Return
|
|
1046
|
+
`undefined` when the macro has no value and the literal token should remain in
|
|
1047
|
+
the request. Return `null` only when the parameter or pair should be omitted.
|
|
1048
|
+
`DA-ASSET-MACRO-UNKNOWN` reports unresolved macros that remain in the request.
|
|
1049
|
+
|
|
1038
1050
|
## DA-ASSET-PARAMETERS-UPDATED
|
|
1039
1051
|
|
|
1040
1052
|
**Cause:** The break manifest changed its session-level asset parameters while
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dolby-optiview/ads-sdk",
|
|
3
|
-
"version": "1.0.0-beta.
|
|
3
|
+
"version": "1.0.0-beta.4",
|
|
4
4
|
"description": "OptiView Ads SDK entry package - OptiViewAds with a default HLS.js ad player (native fallback)",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -44,8 +44,8 @@
|
|
|
44
44
|
},
|
|
45
45
|
"sideEffects": false,
|
|
46
46
|
"dependencies": {
|
|
47
|
-
"@dolby-optiview/ads-sdk-adapter-hlsjs": "1.0.0-beta.
|
|
48
|
-
"@dolby-optiview/ads-sdk-core": "1.0.0-beta.
|
|
47
|
+
"@dolby-optiview/ads-sdk-adapter-hlsjs": "1.0.0-beta.4",
|
|
48
|
+
"@dolby-optiview/ads-sdk-core": "1.0.0-beta.4"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"hls.js": "^1.0.0"
|