Ad Compliance Code Issue with Remote Pages
We have a number of JavaScript/HTML type widgets; however they mostly contain an iframe tag reffering to a remote page for the widget content such as:
<iframe src="http://www.remotepage.com/widget.php?l=${config.language}&p={config.settings}" height="110" width="100%">
So technically, the widget works like a Remote widget; however the reason we created them as javascript/html widgets is because we wanted to be able to pass config parameters that we define in widgetbox. Remote widgets didn't seem to provide that functionality
We host an ad on the remote widget.php page and we want to make it ad compliant. We installed the script for "Remote Widget" as descriped at "http://docs.widgetbox.com/2009/05/making-your-widget-ad-compliant/"; however this doesn't seem to work. When we implement the script, our ad is not showing up in either "Preview ads off" or "Preview ads on" mode. It may be possible that Remote Widget script is not working since our widget is a JavaScript/HTML widget, yet your JavaScript/HTML ad compliance instructions does not offer a solution for how to toggle ads that reside on a page that is offered through an iframe.
We have a good number of widgets and users affected by this, looking forward to your response.
Thank you
</iframe>
<iframe src="http://www.remotepage.com/widget.php?l=${config.language}&p={config.settings}" height="110" width="100%">
So technically, the widget works like a Remote widget; however the reason we created them as javascript/html widgets is because we wanted to be able to pass config parameters that we define in widgetbox. Remote widgets didn't seem to provide that functionality
We host an ad on the remote widget.php page and we want to make it ad compliant. We installed the script for "Remote Widget" as descriped at "http://docs.widgetbox.com/2009/05/making-your-widget-ad-compliant/"; however this doesn't seem to work. When we implement the script, our ad is not showing up in either "Preview ads off" or "Preview ads on" mode. It may be possible that Remote Widget script is not working since our widget is a JavaScript/HTML widget, yet your JavaScript/HTML ad compliance instructions does not offer a solution for how to toggle ads that reside on a page that is offered through an iframe.
We have a good number of widgets and users affected by this, looking forward to your response.
Thank you
</iframe>
1
person has this question
I have this question, too!
Tell me when someone answers.
The more people who ask this question, the more it gets noticed.
The more people who ask this question, the more it gets noticed.
-
Inappropriate?Hi Tolga,
Not a problem. Since you build your own iframe, you'll need to pass yourself the adFriendly status like this:
?widget.isAdFriendly=${widget.isAdFriendly}
Then make your PHP catch that value and act accordingly. If adFriendly is 1, go ahead and show your ad. If not, don't render it.
I did want to clarify that remote widgets are passed config params on the query string. You just have to make your page catch those query string values and act accordingly.
Hope this helps!
Dave
1 person says
this answers the question
Loading Profile...



