uploading html for script to be used as adsense backup ad
-
[ Moderator note: moved to Fixing WordPress. Please do not use Developing With WordPress for these topics. ]
I am trying to set up backup ads for adsense, and they only allow a url to be used as a backup. So instead of just giving them the backup ad script, I must upload the script to my wordpress site as an html page. I haven’t been able to get it to work. This is the code I am using:
<html>
<head>
<style>
body, html, .alternateAd {
margin: 0; padding: 0;
}
</style>
</head>
<body>
<div class=”alternateAd”>
<script type=”text/javascript” language=”javascript” src=”//c.amazon-adsystem.com/aax2/getads.js”></script>
<script type=”text/javascript” language=”javascript”>
//<![CDATA[
aax_getad_mpb({
“slot_uuid”:”8b36bd44-bbf6-4536-91ce-9fe7716071fa”
});
//]]>
</script></div>
</body>
</html>I uploaded this to my wordpress site via ftpand also tried via the media upload. The script is not loading on either. May be hotlink protection blocking? Can you help? Thanks so much.
- The topic ‘uploading html for script to be used as adsense backup ad’ is closed to new replies.