Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-03-10 UTC.
[null,null,["Son güncelleme tarihi: 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"]]