Difference between revisions of "GetConversionsDetails"

From Ad4Game Developers
Jump to: navigation, search
(JSON)
(URL)
 
Line 20: Line 20:
  
 
==URL==
 
==URL==
https://traffic.ad4game.com/www/admin/offers-api.php?apiKey=[YOUR API KEY]&affiliateId=[YOUR AFFILIATE ID]&method=getConversionsDetails&format=[xml OR json]&period_start=[yyyy-mm-dd]&period_end=[yyyy-mm-dd]
+
https://traffic.ad4game.com/www/admin/offers-api.php?apiKey=[YOUR API KEY]&affiliateId=[YOUR AFFILIATE ID]&zoneId=[YOUR ZONE ID]&method=getConversionsDetails&format=[xml OR json]&period_start=[yyyy-mm-dd]&period_end=[yyyy-mm-dd]
  
 
==Reponses types==
 
==Reponses types==

Latest revision as of 10:35, 24 November 2014

Contents

[edit] Description

Returns the conversions details for a given period.
Results can display a set of fields for conversions:

  • - TransactionType : lead, sale ...
  • - Status : Approved or Disaproved
  • - OfferName : the offer name
  • - OfferId : the offer id.
  • - TrackingDateTime : the tracking date.
  • - TrackerId : the tracker id.
  • - Commission : the payout.
  • - Currency : dollar, euro ...
  • - subid
  • - subid2
  • - subid3
  • - subid4
  • - Affid

[edit] URL

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

[edit] Reponses types

[edit] JSON

 {"error":"Success",
   "Conversions":
   {"1030":{
     "transaction_type":"lead",
     "status":"Approved",
     "offer_name":"Travian",
     "offer_id":"325",
     "tracking_date_time":"2014-11-12 08:26:29",
     "TrackerId":"711",
     "Commission":"2.5",
     "Curency":"$",
     "subid":"125482",
     "subid2":"0",
     "subid3":"0",
     "subid4":"0",
     "affid":"125482HjUGH"
     }
   }
 }

[edit] XML

 <Conversions>
    <Conversion>
        <TransactionType>lead</TransactionType>
        <Status>Approved</Status>
        <OfferName>Travian</OfferName>
        <OfferId>325</OfferId>
        <TrackingDateTime>2014-11-12 08:26:29</TrackingDateTime>
        <TrackerId>711</TrackerId>
        <Commission>2.5</Commission>
        <Currency>$</Currency>
        <subid>125482</subid>
        <subid2>0</subid2>
        <subid3>0</subid3>
        <subid4>0</subid4>
        <AffId>125482HjUGH</AffId>
    </Conversion>
 </Conversions>
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox