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

Works with localhost? #40

Open
mihaisavezi opened this issue Jan 28, 2016 · 4 comments
Open

Works with localhost? #40

mihaisavezi opened this issue Jan 28, 2016 · 4 comments

Comments

@mihaisavezi
Copy link

Not sure if it's an issue on my side or issue on google's side or if anyone else had this problem. Does dfp generally work when you are on localhost?

As stupid as this question may seem, It worked for a while today, now again it's not showing ads. The request does get sent do and google responds with an empty ad.

@samvloeberghs
Copy link

DFP has been having some problems the last days, might be due to that. Follow their mailinglist if not doing that yet. They claim it should not have effect on the delivery network but I'm not falling into that trap :)

Be sure to check your deliverables. May sound stupid and stuff, but there are some settings that may just be hiding the ads and you might overlook them.

Also expect it to be inconsistent on localhost at all times. Try testing it on an actual website / hosting ( advisable on a staging environment ). I've experienced it working perfectly on the internet before, but not local, as you are experiencing now. That should not be due the application code / this library.

@mihaisavezi
Copy link
Author

Thanks!

I've checked in the developer console, in the sources tab and I'm getting empty divs most of the time, sometimes I'm getting ads.

I will test this on a hosted website as well.

@sunitJindal
Copy link

@mihaisavezi did it worked fine on hosted site?

@mrded
Copy link

mrded commented Jun 22, 2017

I'm having the same problem. DFP doesn't work on localhost. It makes empty divs all the time.

I have my custom implementation, and it works fine on localhost, so I think it's a problem with ngDfp.

I'm scared to try it on a real website :)

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

No branches or pull requests

4 participants