openx

Openx postgres error

青春壹個敷衍的年華 提交于 2020-01-06 05:44:08
问题 I installed OpenX on postgres and I get an error on Stats page: MDB2 Error: unknown error _doQuery: [Error message: Could not execute statement] [Last executed query: SELECT m.clientid AS advertiser_id,d.campaignid AS placement_id,s.ad_id AS ad_id,SUM(s.impressions) AS sum_views,SUM(s.clicks) AS sum_clicks,SUM(s.revenue) AS sum_revenue, m.campaignid || IF( LENGTH(market_advertiser_id) > 0, ('_' || market_advertiser_id || '_'), '_') || ad_width || ' x ' || ad_height AS ad_id,( m.campaignid ||

Openx 2.8.7 geotargeting does not work

三世轮回 提交于 2019-12-24 08:47:08
问题 I'm not able to make Openx geotargeting work - I have enabled geotargeting as described here: http://www.openx.com/docs/2.8/adminguide/Global%20settings%20-%20geotargeting, but no luck, my test banner it's still not delivered. Did someone succeeded to make it work? Thanks. 回答1: Yes, it works for me. A couple of more things to check, besides the maxmind configuration: If you have a cluster all the machines used for delivery should have the geotargeting properly configured. When testing your

How is a website hacked by a “maliciously encoded image that contained a PHP script hidden inside it”?

浪子不回头ぞ 提交于 2019-12-18 10:54:19
问题 My ad server has been hacked over the weekend. It seems to be a widespread problem, according to this article. There is something in there that got me thinking... Attackers used one attack to get login rights to his server, and then uploaded a maliciously encoded image that contained a PHP script hidden inside it, he said. By viewing the image, attackers forced the script to execute on the server How is this possible? Does it rely on the image being opened with GD or similar? Do they upload a

OpenX Admin not accessible

微笑、不失礼 提交于 2019-12-13 06:20:20
问题 My OpenX server got slammed with heavy traffic a couple of days ago. Since then I have been unable to get into the OpenX admin. The page just times out. The server is still delivering ads. Apache had been restarted and the RAM on the server cluser has been increased from 256MB per server (896MB total) to 512MB per server (1.6GB total). I'm seeing lots of apc-cache 'Unable to allocate memory for pool' errors in the logs. Server is running 1ubuntu4.15 with PHP 5.3.2. OpenX version is 2.8.9 PHP

ajaxloading openx with jquery and php

岁酱吖の 提交于 2019-12-10 11:47:51
问题 after a long journey I managed to ajax-load my openx-ads with a combination of jquery an php. You need is an openx-server on your own and access to /{openxPath}/www/delivery/alocal.php. a little wrapper that makes the ad-script ajaxable an ajax-loader The third and easiest part is the ajax-loader: $(document).ready( function() { $.ajax({ url: "http://{urlToYourOpenxWrapper/adwrapper.php", type: "POST", data: {m:'f'}, // 'code' of ad to load async: false, dataType: 'html' }).done(function

How can we keep OpenX from blocking page load?

荒凉一梦 提交于 2019-12-09 04:55:16
问题 We're using OpenX to serve ads on a number of sites. If the OpenX server has problems, however, it blocks page loads on these sites. I'd rather have the sites fail gracefully, i.e. load the pages without the ads and fill them in when they become available. We're using OpenX's single page call, and we're giving divs explicit size in CSS so they can be laid out without their contents, but still loading the script blocks page load. Are there other best practices for speeding up pages with OpenX?

How can we keep OpenX from blocking page load?

牧云@^-^@ 提交于 2019-12-03 03:01:43
We're using OpenX to serve ads on a number of sites. If the OpenX server has problems, however, it blocks page loads on these sites. I'd rather have the sites fail gracefully, i.e. load the pages without the ads and fill them in when they become available. We're using OpenX's single page call , and we're giving divs explicit size in CSS so they can be laid out without their contents, but still loading the script blocks page load. Are there other best practices for speeding up pages with OpenX? OpenX has some documentation on how to make their tags load asynchronously: http://docs.openx.com/ad

OpenX Async Tags

≯℡__Kan透↙ 提交于 2019-11-30 20:26:21
We all want to make our site faster, google showed a few samples here: http://code.google.com/speed/articles/html5-performance.html We use OpenX to serve ads, so, assuming browser supporting (FF3.6+), I presume we can just modify the OpenX ad tag from : <script type='text/javascript'> ... ad codes </script> into <script type='text/javascript' async> ... ad codes </script> Will that do the job? Is there a better way to load scripts asynchronously? Unfortunately OpenX uses document.write to do most of its work. This means that it will attempt to write at whatever point in the flow its currently

OpenX Async Tags

时光怂恿深爱的人放手 提交于 2019-11-30 05:43:47
问题 We all want to make our site faster, google showed a few samples here: http://code.google.com/speed/articles/html5-performance.html We use OpenX to serve ads, so, assuming browser supporting (FF3.6+), I presume we can just modify the OpenX ad tag from : <script type='text/javascript'> ... ad codes </script> into <script type='text/javascript' async> ... ad codes </script> Will that do the job? Is there a better way to load scripts asynchronously? 回答1: Unfortunately OpenX uses document.write

How is a website hacked by a “maliciously encoded image that contained a PHP script hidden inside it”?

不打扰是莪最后的温柔 提交于 2019-11-30 00:25:23
My ad server has been hacked over the weekend. It seems to be a widespread problem, according to this article . There is something in there that got me thinking... Attackers used one attack to get login rights to his server, and then uploaded a maliciously encoded image that contained a PHP script hidden inside it, he said. By viewing the image, attackers forced the script to execute on the server How is this possible? Does it rely on the image being opened with GD or similar? Do they upload a script posing as an image, and somehow include it? VolkerK It can be as simple as uploading a file