Difference between revisions of "GetConversionsDetails"
From Ad4Game Developers
(→Description) |
(→URL) |
||
(2 intermediate revisions by one user not shown) | |||
Line 10: | Line 10: | ||
<li>- TrackingDateTime : the tracking date. | <li>- TrackingDateTime : the tracking date. | ||
<li>- TrackerId : the tracker id. | <li>- TrackerId : the tracker id. | ||
− | <li>- | + | <li>- Commission : the payout. |
+ | <li>- Currency : dollar, euro ... | ||
+ | <li>- subid | ||
+ | <li>- subid2 | ||
+ | <li>- subid3 | ||
+ | <li>- subid4 | ||
+ | <li>- Affid | ||
</ul> | </ul> | ||
==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== | ||
Line 34: | Line 40: | ||
"subid3":"0", | "subid3":"0", | ||
"subid4":"0", | "subid4":"0", | ||
− | "affid":"125482HjUGH" | + | "affid":"125482HjUGH" |
} | } | ||
} | } | ||
} | } | ||
+ | |||
===XML=== | ===XML=== | ||
<dd> | <dd> |
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>