Category Filter

Adscend Offers API Parameters

Your publisher ID pubID, and API Key api_key values are needed for every API call.
These values can be found at Offers API section of the publisher dashboard.


If you would like us to notify you whenever an offer is completed (lead generated), set up a server postback.

Filtering Offers by Category

Using the category URL parameter you can filter the offers returned by our API to only offers that match specified categories.


Response 204 when no offers are available for the given parameters.
Response 400 when required parameter not provided.
Response 403 when apikey doesn't match the pubID specified.

GET:

https://api.adscendmedia.com/v1/publisher/{pubId}/offers.json?category[]={category}

Parameters   Description Type
pubId Required Your publisher ID Number
category Optional Filter offers by category. Possible values are 17 = Free, 18 = Mobile Apps, 19 = Videos, 20 = Surveys, 21 = Shopping, 22 = Free Trials, 23 = Downloads, 24= Sign-Ups, 25 = Mobile Subscriptions, and 26 = Co-Registrations. Ex: category_id[]=17&category_id[]=20 Number

Response 200

Content-Type: application/json

{
  "profile": {
    "publisher_id": 255,
    "profile_id": 0,
    "settings": {
      "name": "Our Awesome Offer Wall",
      "header": "Complete a great deal below and earn coins!",
      "payout_min": null,
      "size": {
        "width": 300,
        "height": 400
      },
      "currency": {
        "name": "Coins",
        "ratio": 500,
        "round": true,
        "visible": true
      }
    }
  }
}