| Variable | Type | Description | ||
| uid | encrypted string | The account ID of the current user. May contain the value of the reward(delimited) | required | |
| tag | string | The ad tag | required | |
| callback | string | The name of the JavaScript function to call after the reward has been confirmed or terminated. Retained for backwards compatibility. | optional | |
| title | string | The title to display in the head of the SocialViews/Flex unit | optional | |
| confirmText |
string | Text to display on the confirmation rewards panel | optional | |
| confirmHeader | string | Header to display on the confirmation rewards panel | optional | |
| iconURL | string | URL of an icon to display on the confirm reward panel URL(PNG @120x120) |
optional | |
| rewardsBackgroundURL | string | URL of an icon to display on the confirm reward panel URL(PNG @644x449) |
optional | |
| share | array | A list of sharing sites to enable. Accepted values are youtube (links to a youtube channel) tweet (tweets a URL) twitter (goes to a twitter stream) linkedin (post a URL to linkedin) facebook (share a link on Facebook |
REMOVE | |
| top | string | vertical position in pixels or percentage | optional | |
| adDisplayed | callback | The name of the JavaScript function or full URL to call at invocation of socialViews |
secret | |
| rewardConfirmation | callback |
The name of the JavaScript function or full URL to call when the reward has been earned |
required |
|
| adClosed | callback | The name of the JavaScript function or full URL to call when the ad is closed |
optional | |
| appID | encrypted string | ID of the publisher game/app | optional | |
| adVerification (tickler) | callback |
Reference to a named JavaScript function | required | |
| rewardEncryption | string |
Encrypted string for reward confirmation | optional |
|
| closeBtn |
string | String; Set to "none" if the close button should not be shown. | optional |