OpenX:将参数从网站传递到 HTML 广告素材
我正在尝试找到一种将参数从网站传递到通过 OpenX 提供的 HTML 广告素材的方法。例如,我想将参数 foo=bar 添加到调用代码中,以便以某种方式在广告素材中可用。
OpenX 有没有办法实现这一点?我对它完全是新手,RTFM 和谷歌搜索此事没有产生任何结果。
I'm trying to find a way to pass parameters from a website to a HTML creative being served via OpenX. For example, I want to add a parameter foo=bar to the invocation code, so that this would be available in the creative somehow.
Is there a way to achieve this in OpenX? I'm a total newbie to it and RTFM and Googling the matter yielded no results.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
回答我自己的问题: http://www.openxconsultant.com/blog/2010/12/how-to-dynamically-insert-an-affiliate-id-into-a-banner/
所以,哎呀,不是毕竟是一个与编程相关的问题(我认为这需要 OpenX 黑客攻击)。抱歉:P
Answering my own question: http://www.openxconsultant.com/blog/2010/12/how-to-dynamically-insert-an-affiliate-id-into-a-banner/
So, oops, wasn't a programmin related question after all (I assumed that this would've required OpenX hacking). Sorry :P
在调用代码中添加自定义限制非常简单,您只需在 URL 中传递一个键=值对(JavaScript 代码为访问横幅而生成该键=值对),然后您就可以对变量的值设置限制。
It is so simple to ad a custom limitation in invocation code you just have to pass a key=value pair in URL, which Javascript code is generating for accessing the banner, then you can set limitation on your variable's value.