Have questions? Contact Us

For sale inquiries, please call
Toll Free 866.4AD.SPEED
International +1.408.454.6363

live chat with us

Testimonials

  • Having the demo out there was a brilliant idea, as I already feel comfortable with the user interface, so I can jump right in when I sign up!

    1001noisycameras

  • It is a daunting challenge trying to find a good banner management company and I feel strongly that after all my research I hit the jack pot with you. I am happy and proud to recommend you to other publishers.

    Courtney Caldwell
    RoadAndTravel

Help Center > Troubleshooting > Problems with Ad Serving

Why do I see "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 And in the file remote.js: You would expect the output in this order:
  1. Before loading remote.js
  2. After loading remote.js
  3. In remote function
IE gives an error message "Object Expected" because it calls the function remoteFunction() prematurely. It calls before loading the file remote.js, which contain the declaration of remoteFunction(). This is another unexpected behavior from IE. Fortunately, it can be corrected by adding the attribute defer="defer" to second script invocation. This will specifically prevent IE from executing in order to give a correct output. Other browsers are not affected by the change.
PrintWas this information helpful? Yes / No

Other Articles in Problems with Ad Serving

Instructions to troubleshoot and correct issues with ad serving
Search Help Center

Cannot find an answer for your question? Ask our Customer Care team

Related Articles