Help Center Troubleshooting Problems with Ad Serving

How do I troubleshoot "Permission denied" error for a Flash ad?

The file crossdomain.xml is a special file that controls the cross-domain policy and permissions for Flash. Potential issues include permission errors and issues with cookie data. Example: In a setup with a missing crossdomain.xml, a frequency cap's cookie cannot be set by the a video VAST player. This allows the pre-roll video ad to be shown to the same viewer multiple times.

Permission Issue

If you are serving a Flash/SWF ad and get this error in the browser:
Permission denied for <http://g.adspeed.net> to get property
Location.toString from <http://www.domain-hosting-the-swf-file.com>
This is a known issue in certain versions of Adobe Flash Player plugin. A solution is to upgrade to a newer Flash plugin or change to the JavaScript-only version for the serving code to avoid the cross-domain issue. Also, please make sure that the crossdomain.xml file on the SWF/Flash host does not block our ad serving domain:
<cross-domain-policy>
	<site-control permitted-cross-domain-policies="all"/>
	<allow-access-from domain="*" />
	<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>
If you prefer a more restrictive version that still allows AdSpeed ad servers specifically and not any wildcard domain:
<cross-domain-policy>
	<site-control permitted-cross-domain-policies="all"/>
	<allow-access-from domain="g.adspeed.net" />
	<allow-http-request-headers-from domain="g.adspeed.net" headers="*"/>
</cross-domain-policy>

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