Conviva Google IMA DAI SDK module auto-detects ad events emitted by Google IMA DAI SDK.
The Conviva JavaScript Google IMA DAI SDK module is built on top of conviva-core-sdk, is shared as offline library and should be included via the <script> tag in the application.
Via html:
<script type="text/javascript" src="<PATH>/conviva-core-sdk.js"></script>
<script type="text/javascript" src="<PATH>/conviva-googledai-module.js"></script>
npm install @convivainc/conviva-js-daisdk --save
yarn add @convivainc/conviva-js-daisdk
Refer to following sample code to include Google IMA DAI SDK modules followed by Conviva modules.
Via import/require:
import Conviva from '@convivainc/conviva-js-coresdk'
import ConvivaGoogledaiModule from'@convivainc/conviva-js-daisdk'
const Conviva = require('<path>/conviva-js-coresdk');
const ConvivaGoogledaiModule = require('<path>/conviva-js-daisdk');
- Refer https://community.conviva.com/ for integration guidelines.