Help Center Troubleshooting Problems with Ad Serving
What is "Object Expected" error in Internet Explorer?
If an ad shows up properly in Firefox, Safari, Opera but it shows an error "Object Expected" in Internet Explorer, you need to verify the ad code. This error usually happens in the following scenario. An HTML file contains an inline JavaScript to load remote.js and call a function in remote.js<script text="text/javascript"> <![CDATA[ alert('Before loading remote.js'); document.write('<sc'+'ript type="text/javascript" src="remote.js"><\/script>'); alert('After loading remote.js'); // call a remote function that should be already be declared document.write('<sc'+'ript type="text/javascript">remoteFunction();<\/script>'); ]]> </script>And in the file remote.js:
function remoteFunction() { alert('In remote function'); }You would expect the output in this order:
- Before loading remote.js
- After loading remote.js
- In remote function
Other Articles in Problems with Ad Serving
Instructions to troubleshoot and correct issues with ad serving
- How do I see ad or page errors with the browser's Console tool?
- How do I troubleshoot "Invalid Ad Type" error?
- How do I troubleshoot "No Ad Found In Rotation" error?
- How do I troubleshoot "Permission denied" error for a Flash ad?
- How do I troubleshoot "Restrictions Failed" error?
- How do I troubleshoot clickTAG issues for a Flash ad?
- How do I troubleshoot my ISP's nameservers?
- What are VAST error codes?
- What is "Click to activate and use this control" message on a Flash ad?
- Where can I see a report of ad serving errors?
- Why does ad server deliver above the maximum impression limit?
- Why doesn't the status bar change?
- Why don't ads show? What is the system status?
- Why isn't one of my ads showing?
Cannot find an answer for your question? Ask our Customer Care team
Related
- How can I defer ads until after the page has finished loading?
"Typically, content is loaded according to the components' order in the HTML source code. If you want visitors to see ..."
- Campaign
"Documentation for API methods to manage your campaigns in our ad server. API Version1.4.6 (build 20240530). This page was updated ..."
- How can I avoid document.write warning in Chrome?
"If you see a warning about document.write in Google Chrome like the one below for the ad server's request, it ..."
- How can I display an ad only when it is visible on screen?
"Typically, when you first load a web page, all ads are loaded simultaneously along with all other components and contents ..."
- How can I serve multiple zones with a single server request?
"This method is highly recommended if you have 3 or more ad placements on a page. It combines all ad ..."