Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CORS error #174

Open
meodemsao opened this issue Nov 14, 2019 · 5 comments
Open

CORS error #174

meodemsao opened this issue Nov 14, 2019 · 5 comments
Labels

Comments

@meodemsao
Copy link

i have issue with cors

and i see in the example site have same error

image_2019_11_14T08_12_59_828Z

@mustafa-colakoglu
Copy link

google wants a https

@meodemsao
Copy link
Author

@mustafa220 i used ngrok, in find issue if we don't have networkid

@jaanauati
Copy link
Owner

@meodemsao are u still having issues?, if yes, i'd suggest you to try the tweak @mustafa220 suggested, in any case, in any case, this seems to be an issue w gpt/dfp itself rather than react-dfp.

@meodemsao
Copy link
Author

when i comment disable using networkid is running ok.
but i think it's only hot fix. the lib need check networkid == null or undefine

@hatched-esther
Copy link

hatched-esther commented Feb 22, 2021

Im having same problem and set my networkid to our google ad manager id "218........"

UPDATE: sorry I did not understand the above solution. What worked for me was to do this on the Provider:
<DFPSlotsProvider dfpNetworkId="" >

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants