giannis_maris Posted February 3, 2014 Report Share Posted February 3, 2014 I'm using the Openx api to complete all tasks on the ad server. After upgrading to revive server I'm having problems with Publishers. Every time I create a new publisher with the api nothing appears on the websites category in the ad server, although the api returns normally the id of the new publisher. In addition when I try to delete the publisher, api returns this error "Unknown publisherId Error in method ox.deletePublisher()". I guess it can't find the publisher to delete. What exactly has changed on this part after the upgrade? I have installed the version 3.0.1. Quote Link to comment Share on other sites More sharing options...
Eliza0406 Posted February 4, 2014 Report Share Posted February 4, 2014 Hi, In OpenX API and Publisher it supports category id, but in revive adserver category id is not supported. Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted February 6, 2014 Report Share Posted February 6, 2014 Are you sure you are creating the Website/Publisher for the currently selected Manager/Agency? I'm asking as I haven't noticed such problem with the API with Revive. Quote Link to comment Share on other sites More sharing options...
giannis_maris Posted February 6, 2014 Author Report Share Posted February 6, 2014 The problem was with the Agency Id as you advise Matteo. I want to mention that when you are deleting the publisher the record in the accounts database remains. I add some code to delete the account record on the server side but is there any particular reason to keep the account record after deleting the publisher? The same happens with agency too. Quote Link to comment Share on other sites More sharing options...
Matteo Beccati Posted February 7, 2014 Report Share Posted February 7, 2014 hmm, does it happen only with the API, or both UI and API? Tbh, I do not recall exactly what is supposed to happen. If you find any discrepancy between API/UI and other entity types, feel free to create a new issue on github, referencing this thread. Quote Link to comment Share on other sites More sharing options...
Eliza0406 Posted February 17, 2014 Report Share Posted February 17, 2014 Hi giannis_maris, Revive 3.0.1 doesn't provide category for websites,Kindly take a look at requried parameters for deleting publisher it might help you to overcome this issue. 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.