Difference between revisions of "GetConversionsDetails"
From Ad4Game Developers
(→Description) |
|||
Line 2: | Line 2: | ||
Returns the conversions details for a given period. | Returns the conversions details for a given period. | ||
− | Results can display a set of fields for conversions: | + | <br>Results can display a set of fields for conversions: |
<ul> | <ul> | ||
<li>- TransactionType : lead, sale ... | <li>- TransactionType : lead, sale ... | ||
Line 9: | Line 9: | ||
<li>- OfferId : the offer id. | <li>- OfferId : the offer id. | ||
<li>- TrackingDateTime : the tracking date. | <li>- TrackingDateTime : the tracking date. | ||
+ | <li>- TrackerId : the tracker id. | ||
<li>- TrackerId : the tracker id. | <li>- TrackerId : the tracker id. | ||
</ul> | </ul> |
Revision as of 07:37, 21 November 2014
Contents |
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.
- - TrackerId : the tracker id.
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]
Reponses types
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", } } }
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>