MS:getWidgetPerformanceBreakdown

From Wiki

Jump to: navigation, search

Get a breakdown of widget performance

Parameters


Element

Type

dStartDate required

Start date of a search

Value Type: dateTime
Example: 2013-01-01T00:00:00

dEndDate required

End date of a search

Value Type: dateTime
Example: 2013-01-31T23:59:59

sDateType required

Date range type

Value Type: DateType
Example: transaction


Response


getWidgetPerformanceBreakdownReturn

Array of WidgetPerformanceBreakdown objects

Value Type: WidgetPerformanceBreakdown


Example Request (parameters)


$aParams3 = array(
	'dStartDate'		=>	'2014-01-01T00:00:00', 
	'dEndDate'		=>	'2014-01-14T23:59:59', 
	'sDateType'		=>	'transaction'
);

$oResponse = $oClient->call('getWidgetPerformanceBreakdown', $aParams3);


Example Response


stdClass Object
(
    [getWidgetPerformanceBreakdownReturn] => Array
        (
            [0] => stdClass Object
                (
                    [iId] => ...
                    [iAffiliateId] => ...
                    [sType] => Content Widget
                    [iClicks] => 3
                    [iTransactions] => 0
                    [fTransactionValue] => 0
                    [fConvRate] => 0
                    [fEpc] => 0
                )
...
        )
)

Limitations/Notes

  • The maximum date range is 30 days per API request

Privacy

Due to new European legislation regarding how websites store information about you, AWIN is updating its privacy policy. You can see the new version of our policy here. If you would like to see the information we capture on this website, please click here for further details. In order to accept cookies on this site please click the 'I ACCEPT' button