Offers API (v2)
WARNING! This is our old API. Please update to API v3 .
Use Case
Our offers API allow you to pull offers compatible with virtual currency applications and display them natively on your website or app.
It is recommended to get a fresh list of offers every 10 minutes. Please do not use live traffic to request offers; the API should be called periodically from the backend.
Limitations
There are certain features that are available via the AdGate Rewards offer wall that are currently not accessible via the offers API.
These include:
A page that displays user history
Access to offers that are hyper-targeted (state or postal code specific)
Access to thousands of market research surveys via the AdGate Rewards routing system
Please keep this in mind prior to implementation.
API
Method: GET Base URL: https://api.adgatemedia.com/v2/offers
Required Parameters
Parameter
Description
Type
Example
aff
Any Integer
60000
api_key
Any String
941bd1fecf7e6596823b895e04df3a0c
wall_code
String
nQug
Optional Parameters
Parameter
Description
Type
Example
countries
Filter by specific countries. Accepts a list of comma separated country codes.
String
gb,us,ca
offer
Filter by specific offers. Accepts a list of comma separated offer IDs.
String
4849,5201,4809
paymin
Filter by offers above a minimum payout. Values are in USD.
Decimal
0.50
minepc
Filter by offers above a minimum EPC. Values are in USD.
Decimal
0.05
mobile_only
Filter by offers that can only be displayed on mobile devices. Accepted values are 1
or 0
. A value of 0
will display all offers (default).
Integer
1
categories
Filter by offers in certain categories. Accepts a comma separated list of category IDs. Please see the table below for the category ID list.
String
4,10,11
orderby
Order results by either payout
,epc
, or id
(offer id) in descending order. Default is epc
.
String
payout
take
Limit the number of results to X. By default all results are returned.
Integer
200
skip
Skips the first X number of results. Useful when combined with limiting (see above). By default, no offers are skipped.
Integer
Category List
Category ID
Category Name
1
Android
2
Downloads
3
Email Submits
4
Free
10
iPad
11
iPhone
12
Lead Gen
13
Credit Card Required
14
Mobile Subscription
16
Surveys
17
Videos
18
CPC
19
Pay Per Call
20
Cash Back
21
CPI
22
CPE
23
CPA
Response
Note that country abbreviations use the ISO standard, e.g. GB instead of UK.
Sample Response
Response Parameters
Key Name
Description
id
AdGate offer id.
name
AdGate's internal offer name, not to be displayed to end-users.
anchor
Deprecated value. Do not use this. Use "title" from the "adgate_rewards" section.
requirements
Deprecated value. Do not use this. Use "requirements" from the "adgate_rewards" section.
user_agent
An array of strings that must be present in the end-user's user agent. If an empty array, then any user agent is permitted.
mobile_only
Mobile and tablet traffic only. If false, allowed on any device.
creatives
Object of key-values representing creatives.
epc
Network-wide EPCs
categories
Array offer categories (listed above)
tools
The types of traffic and AdGate tools this offer can be displayed on. May include one or more of: super_urls, content_locking, incent_mobile_app_walls, non_incent_mobile_app_walls, virtual_currency, video
adgate_rewards
If "virtual_currency" is listed in "tools" above, the "adgate_rewards" key will be present, which is an object that provides the following key-value pairs: cpm: deprecated value, always returns 0.00 anchor: Offer title to display to end-users requirements: Offer requirements to display to end users. description: Offer description to display to end users
lockers
If "content_locking" is listed in the "tools" array, this "lockers" key will contains content locking EPCs as an object containing the following key-value pairs: epc: Network-wide locker traffic EPC desktop_average_epc: Network-wide desktop locker traffic EPC mobile_average_epc: Network-wide mobile locker traffic EPC
countries
Array of two-letter country codes this offer is available to. If this array is empty, all countries are allowed. Use "GB" for the UK.
type
One of "flat" or "dynamic". Flat payouts don't change. Dynamic payouts vary.
payout
The dollar amount if "type" above is "flat".
click_url
Tracking link. The s1
parameter should include the ID of the user accessing the offer. The ID can be any string up to 255 characters long. s2-5 subids are available.
support_url
The URL the user can access to get support in case they are not rewarded. The s1
parameter is required (see click_url
above for info.) Note that most offers require waiting at least one hour after clicking an offer to be able to contact support.
preview_url
Preview of the offer's landing page.
multiple_conversions_allowed
Boolean. Indicates if the offer allows multiple conversions for a single user (IP), according to the rules specified in "multiple_conversions_rules".
multiple_conversions_rules
If "multiple_conversions_allowed" is false then this will be null. Otherwise, it will be an object with the following values: rule_type: Can be one of "UNLIMITED" or "INTERVAL". "UNLIMITED" means ths offer can be completed an indefinite amount of times without time limit. "INTERVAL" means the offer can be completed a certain amount of times in a given amount of time, in the format "allow X conversions every Y seconds". x_conversions: Integer when the rule type is "INTERVAL", "null" otherwise. every_y_seconds: Integer when the rule type is "INTERVAL", "null" otherwise. More attempts than the rule allows will not result in a conversion.
Last updated
Was this helpful?