Difference between revisions of "Offerit API Record Affiliate Click"
From Offerit
OfferitJames (talk | contribs) (→Sample Output) |
OfferitMegan (talk | contribs) |
||
(One intermediate revision by one other user not shown) | |||
Line 37: | Line 37: | ||
ERROR: error message | ERROR: error message | ||
</pre> | </pre> | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Latest revision as of 13:55, 1 February 2013
This function allows you to record a click for a specific affiliate. To use this function, you must make a SOAP call with the following parameters:
- loginid - The affiliate ID to record the click to
- payoutid - The payout ID you want to use
- offerid - The ID of the offer to record
- landing_pageid - (optional) The ID of the landing page to use, set to false to use the default landing page for the offer
- is_unique - (optional) Flag to determine if you want a unique click or not. Defaults to 1
- lang - (optional) The language to use, default is EN
NuSOAP Example
This example continues from the main article NuSOAP Example:
$values = Array( 'loginid' => 2, 'payoutid' => 2, 'offerid' => 1, 'landing_pageid' => 1, 'is_unique' => 1, 'lang' => "EN" ); $result = $client->call('record_affiliate_click', $values, 'offeritapiadmin_wsdl');
Sample Output
on success: SUCCESS on error: ERROR: error message