广告投放系统(openx)
来源:互联网 发布:逆光源网络剧未删减版 编辑:程序博客网 时间:2024/04/29 16:02
1.下载openx
http://download.csdn.net/download/motian06/4839120,鄙人上传的openx文件
2.安装openx
按照提示一步步安装,不多说了。
鄙人目录结构:
d:\wamp\www\test\ad\openx (广告投放系统)
http-vhosts.conf
###########ad openx#######
<VirtualHost *:80>
DocumentRoot "D:\wamp\www\test\ad\openx"
ServerName test.openx.ad.com
</VirtualHost>
hosts
###########ad(openx)######
127.0.0.1 test.openx.ad.com
d:\wamp\www\test\ad\portal(广告投放系统前台显示)
http-vhosts.conf
###########ad portal######
<VirtualHost *:80>
DocumentRoot "D:\wamp\www\test\ad\portal"
ServerName test.portal.ad.com
</VirtualHost>
hosts
###########ad(openx)######
127.0.0.1 test.portal.ad.com
3.使用openx
Advertisers -> Add new advertiser
鄙人
Name:motian06
Contact:motian06
Email:motian06@126.com
其余默认
motian06 -> Add new campaigns
Name:ad
Campaign type:Remnant
Pricing model:Tenancy
Rate/Price:1.0000
Maximize Ad Revenue:取消
Limit campaign views to:100000
Limit campaign views to :100000
Reset view counters after : 1second
根据自己情况定
Websites -> Add new website
Website URL:http://test.portal.ad.com(要显示广告的网站地址)
Name:默认
其余的自己填写(这里就不说我的了)
test.portal.ad.com -> Add new zone
Name:广告
Zone type :根据需要选择(我这里是图片,就选了第一个选项)
Size:大小(我这里有大小,选择定制,设置宽高)
motian06 -> ad -> Add new banner
Upload a local banner to the webserver 我是本地上传的(根据自己需要)
Name:我直接使用了宽高230*500
test.portal.ad.com -> 广告 ->Linked Banners
Link banners by parent campaign
motian06 -> ad(1 banners(s))生成
Invocation Code(复制代码到页面body内部)看看效果如何
注意:
1.可以不用复制Invocation Code的,放多张图片广告岂不麻烦
解决方案:
<script type='text/javascript' src="http://test.openx.ad.com/www/delivery/spcjs.php?id=1"></script>(id=1对应test.portal.ad.com)
Websites -> test.portal.ad.com(affiliateid,网站的id)(id)
<div id="zone_1"> <script type='text/javascript'> <!--// <![CDATA[ try { OA_show(1); }catch(e){ alert(e); } // ]]> --> </script></div>
其中的1是版位id的意思,你要显示那个版位就用那个版位的id
- 广告投放系统(openx)
- 开源化广告投放系统Openx AdServer安装图解
- 广告投放
- (<虚拟项目>广告管理投放系统-1)技术体系结构
- 转载:精准广告投放(资料整理)
- 精准广告投放(资料整理)
- 谈谈我对广告投放系统的一点认识
- 微信公众平台接入广告投放系统
- 美团外卖广告投放系统的设计
- openx 广告系统挨firefox的ad过滤插件过滤无http请求
- 精准广告投放
- 广告精准投放笔记
- ECShop定点投放广告
- ecshop二次开发--广告投放
- ecshop二次开发--广告投放
- iwebshop_广告定点投放
- ecshop二次开发--广告投放
- iwebshop_广告定点投放
- DBCP的配置参数
- 单片机(不基于os)下如何实现简单的内存管理(malloc,realloc和free函数的重新实现)
- HTTP 返回码
- 创建流体
- Extjs中动态生成树
- 广告投放系统(openx)
- 观察者模式【Observer Pattern】
- 指针函数和函数指针的区别
- android 3d游戏研究(二)(边学边写,多谢高手指正,鞠躬) :数据库
- pl/sql中模拟登录Oracle EBS并获得职责 .
- UML类图关系大全
- How to set the current user on the model instance in the admin:
- C++中string erase函数的使用
- 四川一母亲给女儿做30斤香肠当嫁妆感动网友