IMA SDK, TCF and GDPR

259 views
Skip to first unread message

Christopher Almeida-Symons

unread,
Jan 28, 2021, 10:44:12 AM1/28/21
to Interactive Media Ads SDK
Hello,

I have a set up where I use the IMA SDK to play VAST tags on various sites. Some of these sites use the IABs TCF and I have found that this is causing an issue when the VAST tag is trying to retrieve the XML from doubleclick.

When looking at the network request I can see a query parameter "gdpr_consent" being added, and it is this query parameter that I believe is causing the issue, as when I remove this the XML is returned.

After creating a basic test page I got a CORS issue from 
which states: 
Access to XMLHttpRequest at 'https://ad.doubleclick.net/{rest of url}' from origin 'https://imasdk.googleapis.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

Would someone be able to give me some advice on how to prevent these issues occurring?

Many Thanks,
Chris

IMA SDK

unread,
Jan 28, 2021, 11:09:03 AM1/28/21
to ima...@googlegroups.com
Hi there,

Not receiving ads when the SDK ads the gdpr_consent parameter may be working as intended, you may want to make sure your CMP is set up correctly.  Publisher integration with the IAB TCF v2.0 may help you.

We have a guide for CORS setup for VAST. To help in this regard, you can use our sample apps as a source of correct implementation.

Regards,

Google Logo
Aryeh Baker
IMA SDK Team
 


ref:_00D1U1174p._5004Q2Bbjqb:ref
Reply all
Reply to author
Forward
0 new messages