Question:
I would like to create a plugin for OpenX that uses my custom behavior targeting engine.
Answer:
We are assuming that your engine is already implemented and giving output as you explained. Let me know how we can pass unique userid (is it viewerid(OAID) of OpenX?), demographics info (this info should be passed by invocation code, right? Otherwise you should have this in DB.) and list of linked banners.
So, we will pass all above information to your engine (by curl or xml-rpc, depends upon your engine) in banner request page (ajs.php for javascript banner) and we will have best to worst banner list and we will display best banner to user. Also, we will send your engine this information (viewerid, payoff (revenue of campaign, right?)) to your engine. (Your engine may processing this information to decide best to worst banner for user depends upon user clicks, right?)
Implementation of above functionality will take approximately 4 days.
Question:
Yes, this sounds correct.
Our engine can accept requests via curl.
I’m not sure I understand how the click data gets back in to my engine. Is that an additional curl call?
Answer:
Yes, we have to send clicked data through curl to your engine in click event and your engine should receive those data and store as engine needs.