Help with postback urls with blam ads.

2 replies
Hi guys,

i have just setup a rewards site,

i have set the site up fine and added rewards etc...


however i dont understand postback urls and what they are and how to find mine?

any help will be great.
#ads #blam #postback #urls
  • Profile picture of the author jinn
    Hello Deanomagic777,

    When you setup a postback url in blamads, it will execute the postback script located on your webserver as soon as a lead is completed, in this case if you have a reward site, whenever someone completes an offer, blamads will call the your postback url in this format (hxxp://yoursite.com/postback.xxx?end_user_id={end_user_id}&virtual_amo unt={virtual_amount}.

    the user id and virtual amount are sent from blamads back to your webserver where they could be used to update your database, ie update user points, etc...

    But how do you know who triggered the postback ( which user made a survey)? Wel, by including the following on the page you have the gateway appearing that problem is solved:
    <input type="hidden" id="end_user_id" value="xxx"/>

    the important thing here is the value field, this could be populated with anything, it could look like this for example:

    <input type="hidden" id="end_user_id" value="<?php echo $memberUserName; ?>"/>

    in this example blamads will send back the content of the $memberUserName variable in the postback url. it could be for example $_SESSION['username'] or anything else you have on your site that identifies your visitors.

    Sorry for making such a long post out of this, and I hope you at least have a better idea of what you have to do :p. GL and let me know if you need further assistance.

    BR

    Jinn
    Signature

    find the latest dragon city hack and cheats

    Alla tv kanaler på en och samma plats tv5 play, tv4 play, tv3 play

    {{ DiscussionBoard.errors[5656378].message }}
  • {{ DiscussionBoard.errors[5661258].message }}

Trending Topics