Programmatic Access Library (PAL)
The Programmatic Access Library (PAL) is a lightweight SDK that provide discrete access to targeting signals for Google Ad Manager programmatic ads.
Configuration
| Attribute | Type | Required | Description |
|---|---|---|---|
| enabled | boolean | No | Enable the plugin. Defaults to false. |
| ppid | string | No | Publisher provided identifier. |
| descriptionUrl | string | No | Description URL of the content where ads will be played. |
| skippablesSupported | boolean | No | Signals skippable ad support to PAL where supported. |
| forceLimitedAds | boolean | No | Forces limited ads mode when true. Keep false unless forcing limited ads is explicitly required. |
| directedForChildOrUnknownAge | boolean | No | Marks requests as child-directed or unknown-age when set. |
| disableLimitedAdsStorage | boolean | No | Disables limited-ads storage in PAL Google Ad Manager settings when true. |
| disableFirstPartyIdentifiers | boolean | No | Disables first-party identifiers in PAL Google Ad Manager settings when true. |
info
allowStorageConsent is removed from player configuration.
Initialize the PAL Plugin
To initialize the PAL Plugin, add pal attribute to the plugins object in your config. To see more details about configuration, please check out PAL Plugin
m.player.callFunc("setConfig", {
...
plugins: {
pal: {
"enabled": true,
"forceLimitedAds": false,
"directedForChildOrUnknownAge": false,
"disableLimitedAdsStorage": false,
"disableFirstPartyIdentifiers": false,
"ppid": "12DJD92J02KXVLS9D817DCJ078S8F1J2",
"descriptionUrl": "https://docs4.lura.app/",
},
},
...
})
Using the PAL Nonce
LuraPlayer automatically fills the reserved macro LURA_PAL_NONCE in
URL's under the ads parameter. Check out macros for more details.