Testimonials
I have been a long time customer of yours and appreciate your fantastic service.
Sam
Thank you for following up. You have superb customer service.
Jesse Mack
Ironsolutions
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:
- Before loading remote.js
- After loading remote.js
- 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.
Other Articles in Problems with Ad Serving
Instructions to troubleshoot and correct issues with ad serving
Cannot find an answer for your question? Ask our Customer Care team
Related Articles
- Polite ad or two-phase ad

"A polite ad is loaded in two phases: The initial load that is smaller in size so there is no..."
- Group

"Documentation for API methods to manage one or multiple groups. API Version1.2.5 (build 280809). Documentation was last modified on Sun,..."
- Campaign

"Documentation for API methods to manage one or multiple campaigns. API Version1.2.5 (build 280809). Documentation was last modified on Sun,..."
- Advertiser

"Documentation for API methods to manage one or multiple advertisers. API Version1.2.5 (build 280809). Documentation was last modified on Sun,..."