prebid-mobile-android
prebid-mobile-android copied to clipboard
Test Creative not rendering with Cors Policy error No 'Access-Control-Allow-Origin' header is present on the requested resource.
Describe the bug Original API integration Prebid version 2.0.0 GAM version 22.0.0
Prebid server used (test prebid server): host -> "https://prebid-server-test-j.prebid.org/openrtb2/auction" accountId -> "0689a263-318d-448b-a3d4-b02e8a709d9d" timeout -> 30000
Format variables: configId -> "prebid-demo-banner-320-50" gam ad unit -> "/21808260008/prebid_demo_app_original_api_banner" The test creative is not rendering
Screenshots
Smartphone (please complete the following information):
- Device: Pixel 7a
- OS: Android
Additional context
14:05:05.022 Ads E JS: Access to XMLHttpRequest at 'https://prebid-server-test-j.prebid.org/cache?uuid=c5938188-8d39-4f36-9876-ba5dc8395320' from origin 'https://pagead2.googlesyndication.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. (https://pagead2.googlesyndication.com/:0) 14:05:05.022 chromium I [INFO:CONSOLE(0)] "Access to XMLHttpRequest at 'https://prebid-server-test-j.prebid.org/cache?uuid=c5938188-8d39-4f36-9876-ba5dc8395320' from origin 'https://pagead2.googlesyndication.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.", source: https://pagead2.googlesyndication.com/ (0)
@AbrahamArmasCordero is this still occurring? If it is, I recommend checking out the InternalTestApplication and make sure you didn't miss any implementation steps as it works correctly in the InternalTestApp.
It was a problem with the CMP not having consent flags set correctly, if this happens to someone please check your consent workflow