Salvo que se indique lo contrario, el contenido de esta página está sujeto a la licencia Atribución 4.0 de Creative Commons, y los ejemplos de código están sujetos a la licencia Apache 2.0. Para obtener más información, consulta las políticas del sitio de Google Developers. Java es una marca registrada de Oracle o sus afiliados.
Última actualización: 2025-03-10 (UTC)
[null,null,["Última actualización: 2025-03-10 (UTC)"],[[["The PAL SDK allows Roku publishers to monetize apps using Direct VAST Call (DVC) by obtaining nonces from Google to sign ad requests."],["Each stream requires a new nonce, which can be reused for multiple ad requests within that stream."],["The SDK involves configuring project files, setting up a sample video player and interface for interactions, and managing communication with Google's servers."],["The PAL SDK is being replaced by a Google Ad Manager solution, but this document provides guidance on its current use for DVC ad integration."],["User consent for storage is necessary and impacts the nonce request process."]]],["The guide details integrating the Programmatic Access Library (PAL) SDK into Roku apps for direct VAST call monetization. It involves requesting encrypted strings (nonces) from the PAL SDK via the `PALInterface` component, which communicates with the `MainScene` component. Key actions include: importing the IMA SDK, requesting a nonce using `nonceLoader.loadNonceManager`, managing storage consent and listening to events like ad clicks and playback start/end. Nonces are appended to ad tag URLs for Google Ad Manager, or forwarded to third party ad servers, to help with IVT detection.\n"]]