Jump to content

onad

Approved members
  • Posts

    5
  • Joined

  • Last visited

Everything posted by onad

  1. Super! Got the "getZoneListByPublisherId" working (or at least displayed) again with API v1 by adding else to the to file .... lib/OA/Dll/Zone.php function _setZoneDataFromArray(&$oZone, $zoneData) { $zoneData['publisherId'] = $zoneData['affiliateid']; $zoneData['zoneId'] = $zoneData['zoneid']; $zoneData['type'] = $zoneData['delivery']; $zoneData['zoneName'] = $zoneData['zonename']; $zoneData['sessionCapping'] = $zoneData['session_capping']; $zoneData['block'] = $zoneData['block']; if (preg_match('/^zone:(\d+)$/D', $zoneData['chain'], $m)) { $zoneData['chainedZoneId'] = (int)$m[1]; } else{ $zoneData['chainedZoneId'] = 0; } $oZone->readDataFromArray($zoneData); return true; }
  2. Using the v1 API on openx 3.0.5 works when doing forexample "addZone" and "linkCampaing", but fails when I try to "getZoneListByPublisherId".
  3. Was able to find the below regarding this matter ... https://www.openhub.net/p/openx-source/commits/350631737 www/api/v2/xmlrpc/ZoneXmlRpcService.php lib/xmlrpc/php/ZoneInfo.php https://www.openhub.net/p/openx-source/commits/350631736 lib/OA/Dll/tests/unit/Zone.dll.test.php lib/OA/Dll/ZoneInfo.php lib/OA/Dll/Zone.php So does it mean that the v1 version was not updated with the chainedZoneId like the v2 - and now v1 doesn't work when doing the "getZoneListByPublisherId"?
  4. http://forum.revive-adserver.com/topic/342-revive-adserver-v303-released/ It says that "API now supports setting chainedZoneId." - now is this referring to both v1 and v2?
  5. Using the 3.0.5 and the api v1 - and have problem getting the getZoneListByPublisherId to work now that I updgraded from 2.8.5. Is the api v1 suppose to work now that the chainedZoneId was added to the software? Someone posted this - not sure if it's related https://github.com/revive-adserver/revive-adserver/issues/274
×
×
  • Create New...