Over the past few months, we have been working to simplify the Pre-Roll and Reward video integration for Facebook games.

The goal is to make it super easy for any game developer to quickly sign, add a game, go live within 10 minutes or less. Here is an overview, and some more details, on how the integration works

  1. Sign to your AppLixir account and go to games

2. If you haven’t already added a game, add your game. Get your Dev and Game ID.

3. Insert the following line near the closing body tag in your main HTML page:

<script type=’text/javascript’ src=”https://cdn.applixir.com/applixir.sdk.js”></script>

4. Insert the following block of JavaScript wherever it is needed to present video ads for your users. This is all it takes to incorporate the basic functionality of Applixir with your game.

<script type=”application/javascript”>

var options = {

zoneId: nnnn, // The zone ID from the Applixir “Games” page (required)

devId: nnnn,  // From the Applixir “Account” page (for S2S callback)

gameId: nnnn, // The ID for this game from the “Games” page (for S2S callback)

};

// Call the following function when you want to present a video ad to your user

invokeApplixirVideoUnit(options);

</script>

</body>

5. You are done. The user experience will look like this https://vimeo.com/230498856

6. Reports are updated Midnight SF time and you will be able to see it on “reports” tab on your Applixir Dashboard.