Warning: is_writable(): open_basedir restriction in effect. File(/var/www/clients/client2/web93/web/wp-content/uploads/broken-link-checker/blc-log.txt) is not within the allowed path(s): (/var/www/clients/client1/web15/web:/var/www/clients/client1/web15/private:/var/www/clients/client1/web15/tmp:/var/www/supersonic-knowledge.rtl.co.il/web:/srv/www/supersonic-knowledge.rtl.co.il/web:/usr/share/php5:/usr/share/php:/tmp:/usr/share/phpmyadmin:/etc/phpmyadmin:/var/lib/phpmyadmin) in /var/www/clients/client1/web15/web/wp-content/plugins/broken-link-checker/core/init.php on line 141
Custom Parameters for Adobe Air - Supersonic Knowledge Center

Custom Parameters for Adobe Air

The Supersonic SDK supports the ability for you to pass Custom Parameters on the initialization of your chosen Ad Units and to receive this data back upon user’s completion event.

Note:

  1. Custom parameters work only in conjunction with server-to-server completion callbacks. You will receive the parameter as part of the Callback string.
  2. You may insert more than one custom parameter to the Init request.

Implementation Example

If in your application you would like to receive the IP of the user as a parameter in the Completion callback for users who engaged with the Offerwall Ad Unit, you would use:

Oren - Air example

You would receive a corresponding callback as such:

http://www.mydomain.com/rewardsCallback?appUserId=[USER_ID]&rewards=[REWARDS]&eventId=[EVENT_ID]&itemName=[ITEM_NAME]&custom_ip=1.0.0.9

Implementation Code

Rewarded Video

var customs:Array = new Array("key1", "val1", "key2", "val2");
Supersonic.getInstance.setRVCustomParameters(customs);

 Offerwall

var customs:Array = new Array("key1", "val1", "key2", "val2");
Supersonic.getInstance.setOWCustomParameters(customs);