Difference between revisions of "Installing and configuring SuperRewards Offer Wall"

From TITAN Wiki
Jump to: navigation, search
m
m
 
(3 intermediate revisions by the same user not shown)
Line 32: Line 32:
 
|}
 
|}
 
=== Offer Wall HTML ===
 
=== Offer Wall HTML ===
[[File:Editing Offerwalls1.png|thumbnail|Edit Offer Wall: step 1]]
+
[[File:SuperRewards1.png|thumbnail|Edit Offer Wall: step 1]]
[[File:Editing Offerwalls2.png|thumbnail|Edit Offer Wall: step 2]]
+
[[File:SuperRewards2.png|thumbnail|Edit Offer Wall: step 2]]
 
[[File:SuperRewardsClientTest.png|thumbnail|Test your Website]]
 
[[File:SuperRewardsClientTest.png|thumbnail|Test your Website]]
 
[[File:SuperRewardsPostback1.png|thumbnail|Test postback: step 1]]
 
[[File:SuperRewardsPostback1.png|thumbnail|Test postback: step 1]]
Line 40: Line 40:
  
 
The HTML code should look something like:
 
The HTML code should look something like:
 
+
<nowiki><iframe src="<nowiki>https://wall.superrewards.com/super/offers?h=qwertylxvcp.23498734876</nowiki>'''&uid=[USERNAME]'''" frameborder="0" width="728" height="2400" scrolling="no"></iframe></nowiki>
<iframe src="<nowiki>https://wall.superrewards.com/super/offers?h=qwertylxvcp.23498734876</nowiki>'''&uid=[USERNAME]'''" frameborder="0" width="728" height="2400" scrolling="no"></iframe>
 
 
 
 
Full list of supported variables can be found below:
 
Full list of supported variables can be found below:
 
{| class="wikitable"
 
{| class="wikitable"
Line 61: Line 59:
 
|No
 
|No
 
|}Example of HTML code with additional parameters:
 
|}Example of HTML code with additional parameters:
 
+
<nowiki><iframe src="<nowiki>https://wall.superrewards.com/super/offers?h=qwertylxvcp.23498734876</nowiki>'''&uid=[USERNAME]&gender=[GENDER]&age=[AGE]'''" frameborder="0" width="728" height="2400" scrolling="no"></iframe></nowiki>
<iframe src="<nowiki>https://wall.superrewards.com/super/offers?h=qwertylxvcp.23498734876</nowiki>'''&uid=[USERNAME]&gender=[GENDER]&age=[AGE]'''" frameborder="0" width="728" height="2400" scrolling="no"></iframe>
 
  
 
=== Crediting ===
 
=== Crediting ===
Line 111: Line 108:
 
|Signature variable
 
|Signature variable
 
|sig
 
|sig
|md5([id]:[new]:[uid]:SECRET_KEY
+
|MD5([id]:[new]:[uid]:SECRET_KEY)
 
|Replace SECRET_KEY with your APP SECRET KEY
 
|Replace SECRET_KEY with your APP SECRET KEY
 
|-
 
|-
Line 132: Line 129:
 
* Payout($): 1  
 
* Payout($): 1  
 
Now return to your Titan Admin Panel and go to [[Offer Walls|Postback Log]]. If everything has been configured properly, you should see your test postback record with status "'''CreditedByOfferwall'''" or "'''CreditedAndPointsLocked'''" (if Points locking is set). Congratulations! Your [[Offer Walls|Offer Wall]] has been installed and configured properly.
 
Now return to your Titan Admin Panel and go to [[Offer Walls|Postback Log]]. If everything has been configured properly, you should see your test postback record with status "'''CreditedByOfferwall'''" or "'''CreditedAndPointsLocked'''" (if Points locking is set). Congratulations! Your [[Offer Walls|Offer Wall]] has been installed and configured properly.
 +
 +
=== Earnings ===
 +
''See [[Earnings from Offer Walls]]''

Latest revision as of 16:26, 3 October 2016

This tutorial will guide you through the process of integrating SuperRewards Offer Wall into your website.

Preparation

Adding new Offer Wall
Activating newly added Offer Wall
Editing newly added Offer Wall

Create new Offer Wall

Go to Admin Panel → CPA/GPT → Offer Walls → Add new and click "Add new, empty Offer Wall" button. After you click the button, you should see a success message. Now return to Installed Offerwalls page. You should now see your newly created Offer Wall as "Awaiting setup..". Activate it.

Edit the Offer Wall

In Admin Panel CPA/GPT Offer Walls Installed Offerwall click "See details and edit" button. You will now see Offer Wall summary page. To edit its settings, click "Edit Offer Wall" in the panel to the left.

Create the Offer Wall in the Offer Wall provider website

Open a new tab. Go to https://pub.superrewards.com/signup and register as a Publisher. Next log into your account, and go to Your Apps → New App. Fill in all details:

Field Value Example
The name of your app Up to you MyWebsite
Type Web
The URL of your app Your website URL http://mywebsite.com
Currency name Your website virtual currency name. Should be the same as in Admin Panel → Money → Currency → Virtual currency Points
Currency value Your website virtual currency value. Should be the same as in Admin Panel → Money → Currency → Virtual currency $1 = 1000 Points
Postback URL Copy-paste from Titan Admin Panel

 Offer Wall HTML

Edit Offer Wall: step 1
Edit Offer Wall: step 2
Test your Website
Test postback: step 1
Test postback: step 2

Find your Offer Wall HTML on Offer Wall provider website and return to your Titan Admin Panel Offer Wall. Paste your Offer Wall HTML code into "HTML code" field. Make sure to replace current member username with [USERNAME] variable.

The HTML code should look something like:

<iframe src="<nowiki>https://wall.superrewards.com/super/offers?h=qwertylxvcp.23498734876&uid=[USERNAME]" frameborder="0" width="728" height="2400" scrolling="no"></iframe></nowiki>

Full list of supported variables can be found below:

Variable Description Required
[USERNAME] Username of currently logged in member Yes
[AGE] Age of the member No
[GENDER] Gender of the member ('M', 'F' or 'U' if unknown) No
Example of HTML code with additional parameters:
<iframe src="<nowiki>https://wall.superrewards.com/super/offers?h=qwertylxvcp.23498734876&uid=[USERNAME]&gender=[GENDER]&age=[AGE]" frameborder="0" width="728" height="2400" scrolling="no"></iframe></nowiki>

Crediting

Name Value
Credit as Choose how you want to credit users
What is sent? Points

Postback

Restrict Postback IPs

For better security, it is recommended to restrict IP addresses that have access to your postback handler. At the time of writing this article, the SuperRewards IPs are: 54.85.0.76, 54.84.205.80, 54.84.27.163

As the above may change, make sure to visit http://docs.superrewards.com/docs/notification-postbacks to find the up-to-date list.

Check the Restrict Postback IPs checkbox and enter the above IPs into the Whitelisted IPs textbox (should be seperated by a comma).

Postback variables

Variable Value
Username variable uid
Points/money variable new
Tracking Info variable id

 Credit type variable

Leave all fields blank.

Signature variable

Variable Value 1 Value 2 Comment
Signature variable sig MD5([id]:[new]:[uid]:SECRET_KEY) Replace SECRET_KEY with your APP SECRET KEY
Successful response text 1

Test and finish

Save settings

Save your settings on both: SuperRewards website and Titan Admin Panel.

Test if your Offer Wall is displaying properly

Go to your Titan Website → Menu → Earn → Offerwall and check if SuperRewards Offer Wall is being displayed properly.

Go to SuperRewards website and find test postback feature. Enter example variables and test:

  • User ID: admin
  • Payout($): 1

Now return to your Titan Admin Panel and go to Postback Log. If everything has been configured properly, you should see your test postback record with status "CreditedByOfferwall" or "CreditedAndPointsLocked" (if Points locking is set). Congratulations! Your Offer Wall has been installed and configured properly.

Earnings

See Earnings from Offer Walls