Hi guys,
wondering, if it is possible to get in one XML-RPC call multiple banner results for multiple zones. Currently I am doing this:
if (!isset($OA_context)) $OA_context = array();
$oaXmlRpc = new OA_XmlRpc('ads.myserver', '/www/delivery/axmlrpc.php?variable=value', 80, false, 3);
$adArray = $oaXmlRpc->view('zone:1', 0, '', '', 0, $OA_context, '');
but it would be nice to do something like this (still it should be just 1 HTTP request):
if (!isset($OA_context)) $OA_context = array();
$oaXmlRpc = new OA_XmlRpc('ads.myserver', '/www/delivery/axmlrpc.php?variable=value', 80, false, 3);
$zones = array(
'zone:1', 0, '', '', 0, $OA_context, '',
'zone:2', 0, '', '', 0, $OA_context, ''
);
$adArray = $oaXmlRpc->view($zones);
I want to save HTTP calls, so it would be faster.
Anybody?