Problem with android SDK, may be wrong crossdomain policy?

51 views
Skip to first unread message

Александр Гранин

unread,
Jun 7, 2015, 7:51:10 PM6/7/15
to ima...@googlegroups.com
Hello. I download sdk for android.
But vast loaded at some time.
Response headers:
  1. Access-Control-Allow-Headers:
    X_REQUESTED_WITH,X-Requested-With
  2. Access-Control-Allow-Origin:
    *
  3. Access-Control-Request-Method:
    GET
<cross-domain-policy>
<allow-access-from domain="*"/>
<allow-http-request-headers-from domain="*" headers="*"/>
</cross-domain-policy>

And vast have redirect to site: http://ad.adriver.ru/
<VASTAdTagURI>
</VASTAdTagURI>

Response headers from this site: 
  1. Access-Control-Allow-Credentials:
    true
  2. Access-Control-Allow-Origin:
    *

On site redirect crossdomain policy: http://ad.adriver.ru/crossdomain.xml
<?xml version="1.0"?>
  <cross-domain-policy>
    <site-control permitted-cross-domain-policies="by-content-type"/>
    <allow-access-from domain="*" to-ports="80" secure="false"/>
    <allow-http-request-headers-from domain="*" headers="*"/>
  </cross-domain-policy>

But something wrong. 

I am try test vast in Video Suit Inspector, make Error.
When I am input vast xml from (http://ads.newmedia.az/www/delivery/fc.php?script=apVideo:vast2&zoneid=255) Ad Error: Ad request reached a timeout.
But if I paste url: Ad Error: Unable to request ads from server due to network error.
When I try test vast xml from: http://ad.adriver.ru/cgi-bin/erle.cgi?sid=1&bt=61&ad=524255&pid=2001985&bn=2001985&rnd=
it's OK, video ad is playing, but if I paste url: Ad Error: Unable to request ads from server due to network error.
Where wrong settings?




Reply all
Reply to author
Forward
0 new messages