As Tomsky answered you don't need any special software just to display ads - you can just use javascript.
However, if you want to access the server and manipulate the OpenX objects such as campaigns, banners, advertisers, etc, you will need some kind of remote API. For that OpenX Source provides a XML-RPC API but I also developed a REST API: http://www.openxrest.com
Here's a project that gives you API integration. If you only want to serve ads, you don't need it though, you just have to paste the javascript provided by OpenX.
发布评论
评论(3)
正如 Tomsky 回答的那样,您不需要任何特殊的软件来显示广告 - 您只需使用 javascript 即可。
但是,如果您想要访问服务器并操作 OpenX 对象(例如活动、横幅、广告商等),您将需要某种远程 API。为此,OpenX Source 提供了 XML-RPC API,但我还开发了 REST API:
http://www.openxrest.com
As Tomsky answered you don't need any special software just to display ads - you can just use javascript.
However, if you want to access the server and manipulate the OpenX objects such as campaigns, banners, advertisers, etc, you will need some kind of remote API. For that OpenX Source provides a XML-RPC API but I also developed a REST API:
http://www.openxrest.com
您可以使用 javascript 实现 Openx,因此只要您在 php 服务器上运行 Openx,那应该很容易。
标题,类似这样:
然后,类似这样的您想要放置广告的地方。
OpenX 会为您生成所有这些代码。
You can implement Openx using javascript, so as long as you run Openx on a php server, that should be easy.
Header, something like this:
And then, something like this where you want to put you ad.
OpenX generates all this code for you.
这是一个为您提供 API 集成的项目。如果您只想投放广告,则不需要它,只需粘贴 OpenX 提供的 javascript 即可。
Here's a project that gives you API integration. If you only want to serve ads, you don't need it though, you just have to paste the javascript provided by OpenX.