2ge Posted May 14, 2014 Report Share Posted May 14, 2014 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? Quote Link to comment Share on other sites More sharing options...
marketingmanagernz Posted June 14, 2015 Report Share Posted June 14, 2015 Did you get any luck with this, Im looking to do similar Quote Link to comment Share on other sites More sharing options...
2ge Posted June 14, 2015 Author Report Share Posted June 14, 2015 nope, and I don't think it is possible without modifying source codes. In the end I end up on local tag invocation - in my scenario it works good. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.