Developers » API methods » Account » account.getActiveOffers
Returns a list of active ads (offers). If the user fulfill their conditions, he will be able to get the appropriate number of votes to his balance.
To show the user one or all ads you can use showOrderBox JS API method. When the user completes one of the campaigns offered to them, votes will be automatically accrued to user's application balance. In this case, the application can charge the required number of votes by converting them into the application's internal currency.
This method can be called with a user token.
offsetOffset needed to return a specific subset of offers.
positive number, default 0
countNumber of results to return.
positive number, default 100, maximum value 100
Returns an array that contains the total number of current user-targeted special offers (first element) and the list of objects containing information about offers.

In case no special offer is targeted to the user, the array will include 0 element (number of special offers).

Global errors can occur while running. See their descriptions on this page.