Integration‎ > ‎

Displaying Offers in YAP

TapjoyOffers  is a way to display a multitude of offers to your users. This is an all-in-one solution that provides your users with payment options in addition to offers to complete.

To request an offer page, follow the steps below:

Step 1: Upload this PHP file on your server

Step 2: Edit the getoffers.php file with your application ID (provided in onboarding) :    

    <?php

       function getoffers ($snuid) {

           $applicationID = '[APPLICATION ID]';

            ...

        }

    ?>

Step 3: Place the following lines of YML code in your application:

                  <?php include("getoffers.php"); ?>

                  <?php getoffers("[YAP user ID]"); ?>

Note: You will need to dynamically set [YAP user ID] with the actual user ID

The details needed for OfferpalOffers are explained in the table below:

Key 

Description

APPLICATION_ID

Unique identifier provided in the Tapjoy URL.

What is my application id?

snuid

Social Network User ID 

What is a SNUID?

Attachments (1)

Sign in  |  Recent Site Activity  |  Terms  |  Report Abuse  |  Print page  |  Powered by Google Sites