Difference between revisions of "FindAll"

From Ad4Game Developers
Jump to: navigation, search
Line 1: Line 1:
Description
+
==Description==
  
 
Returns details for all offers or a result set with optional filters.
 
Returns details for all offers or a result set with optional filters.
Line 17: Line 17:
 
<li>- EndDate
 
<li>- EndDate
 
</ul>
 
</ul>
URL
+
 
 +
==URL==
 
https://traffic.ad4game.com/www/admin/offers-api.php?apiKey=[YOUR API KEY]&zoneId=[YOUR ZONE ID]&affiliateId=[YOUR AFFILIATE ID]&method=findAll&format=[xml OR json]
 
https://traffic.ad4game.com/www/admin/offers-api.php?apiKey=[YOUR API KEY]&zoneId=[YOUR ZONE ID]&affiliateId=[YOUR AFFILIATE ID]&method=findAll&format=[xml OR json]
  
HTTP Method(s)
+
==HTTP Method(s)==
 
GET, POST
 
GET, POST
  
Filters :
+
==Filters :==
  
 
countries : list of countries (ISO code) sperated by a comma (CA,US,FR,JP).
 
countries : list of countries (ISO code) sperated by a comma (CA,US,FR,JP).
Line 42: Line 43:
  
  
Reponses types
+
==Reponses types==
 
xml, json
 
xml, json

Revision as of 12:27, 15 August 2013

Contents

Description

Returns details for all offers or a result set with optional filters. Results can display a set of fields for all matching offers:

  • - Id : the offer id
  • - Name : the offer name
  • - Platform
  • - DailyCap
  • - PreviewUrl
  • - TrackingUrl
  • - Description
  • - AllowedTraffic
  • - Country
  • - OptIn
  • - Rate : Net Rate paid to affiliate in $ USD
  • - EndDate

URL

https://traffic.ad4game.com/www/admin/offers-api.php?apiKey=[YOUR API KEY]&zoneId=[YOUR ZONE ID]&affiliateId=[YOUR AFFILIATE ID]&method=findAll&format=[xml OR json]

HTTP Method(s)

GET, POST

Filters :

countries : list of countries (ISO code) sperated by a comma (CA,US,FR,JP).

optIn : can be either DOI or SOI.

platform : can be either Display, Android, IOS or Android & IOS.

allowedTraffic : allowed traffic sources can be either S, SEM, B, D, E, P or T S: Social traffic (facebook, etc) SEM: Search Engine Marketing e.g. Google AdWords B: Brand Bidding D: Display / Banners E: Email Marketing P: Pop Unders T: Text Links / Editorial content


Reponses types

xml, json

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox