3、设置投放广告的客户&项目
新增一个客户
同样我们也给他一个密码,让他也能登录看我他投放广告的效果!
再给这个客户增加一个项目
这里我们可以根据合同计划设置 ,按时间投放,还是按照点击次数投放!
然后给这个项目再添加一个广告
这里的广告 高宽,要和刚才发布版块 的那个 高宽保持一致!

把广告和我们的项目做关联,当然我们可以多选,让多个地方都投放这个项目的广告。

请注意,只有大小一致的才可以关联上,不然在项目总览中是看不到的,也是无效的!

这样我们基本上就完成了,项目和广告版位的关联工作!
4、获取广告代码放到网站上
点击“直接选择” , 或者“发布者版位”-展开后-广告 -获取代码
记住选择代码类型为“远程调用javascript” ,然后粘贴到 自己的网站上!

添加上广告的网站效果如下:
第三步 统计浏览次数和广告点击次数
最激动人心的时候到来了,我们可以点击广告,查看广告的点击和浏览量了!
当然,我们的“客户”和 “发布员”也可以根据自己的账户登陆,查看投放和维护的广告流量
第四步 OPenAds优化配置&文档
官方的文档地址:http://docs.openads.org/openads-2.0-guide/index.html
里面要注意看得地方是:
Configuration
Generating the invocation code for your website
这两块最为关键,他的文档很长。但是我觉得还是很值得一看得 ,我这里摘抄一些:
1、数据库的优化
Use persistent connections Ifyou want to use persistentconnections to the database server checkthis option. The use of apersistent connection can speed up Openadsconsiderably and may evendecrease the load on the server. There is adrawback however, on siteswith a lot of visitors the load on theserver can increase and becomelarger then when using normalconnections. Whether you should useregular connections or persistentconnections depends on the number ofvisitors and the hardware your areusing. If Openads is using too manyresources, you should take a lookat this setting first. Persistentconnections are turned off by default.
上述这些是说 数据库优化的,虽然可以提高些性能但是可能会造成 DBserver crash,我想还是三思而后行。淡然如果强烈追求速度,又 访问量不大的用户可以采用优化!
2、选择嵌入代码类型
还有就是选择 代码嵌入到网站,这个一定要注意。因为这些代码的兼容特性不同,一旦潜入就不好维护了。所以这里一定要注意!
Different types of invocation codes
Openads is a very flexible ad server and there are different types of invocation codes you can use.
There are two types we recommend for most situations:
Remote invocation for JavaScript and Local mode.Thereare other types which can be useful in specific situations, butthosetypes are disabled by default. If you want to enable the othertypes ofinvocation codes, please read the chapter Invocation andDelivery of theAdministrator Guide.
Each typeof code has its own abilities and limitations. Please takea carefullook at the overview below, before you decide which type ismostsuitable for your website.
Capabilities and requirements
for the different types of invocation codes | Remote
invocation | Remote invocation
for JavaScript | Remote invocation
for Frames | Remote invocation
using XML-RPC | Local mode |
Available by default
| no
| yes
| no
| no
| yes
|
Basic Requirements
|
|
Requires cookies
| yes
| no1) | no1) | no
| no
|
Requires JavaScript
| no
| yes
| no
| no
| no
|
| Requires iframes/layers2) | no
| no
| yes
| no
| no
|
Requires PHP powered website
| no
| no
| no
| yes
| yes
|
Banner capabilities
|
|
Display regular banners
| yes
| yes3) | yes
| yes
| yes
|
Display Flash or HTML banners
| no
| yes3) | yes4)
| yes
| yes
|
Append popups/interstitials5)
| no
| yes3) | yes4)
| yes
| yes
|
Block based on previous banners
| no
| yes
| no
| yes
| yes
|
Block based on previous campaigns
| no
| yes
| no
| yes
| yes
|
|
|
|
|
|
|
这里官方推荐我们使用远程本地连接 和 远程javascript2种,我劝告大家还是直接采用远程javascript,或许我们目前看不到浏览器的一些问题,为了应用保险。(我就头一次听说有不支持iframe的浏览器ncp4,尽管你觉得javascript的代码过多,我们还是用他,他确实比其他的代码方式保险些!)
3、保留IP地址
如果你的性能好你可以记录ip很多用户都像分析广告者的来源的。
好了,就到这里把,如果有什么问题,请给我留言,我每天都光顾我的 blog 有问题我会按时回复的,愿大家广告发财!
原文:
http://hi.baidu.com/monobao/blog ... a4fbe838012fef.html
[
本帖最后由 ray 于 2007-9-4 18:15 编辑 ]