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

Potential Adsense Policy Violation - The plugin is causing one additional call to load ads #354

Open
naveedahmed1 opened this issue Jul 24, 2019 · 2 comments

Comments

@naveedahmed1
Copy link

When a page containing this plugin is loaded, it produces strange behavior, which could lead to policy violation.

When a page has n ad units, it makes n+1 calls to load ads. To reproduce this issue open
https://ng2-adsense.xmplaylist.com/#/ in browser.

Open developer tools (F12)
Switch to Network tab
In filters type ads?
Reload the page

Although the page has two ad units, loading the page makes three calls, two for the ad units and one additional call. The expected calls have adslot parameter, whereas the unexpected call doesnt have adslot query parameter.

This issue causes more ads impressions than expected, if there are n units on a page the maximum ad impressions for one page load can not exceed 3 x n.

This could also lead to adsense policy violation.

@scttcper
Copy link
Owner

scttcper commented Sep 1, 2019

I think I added the adition call because sometimes it didn't trigger when refreshing a page. Can look into fixing this

@naveedahmed1
Copy link
Author

Is there any update on this?

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

2 participants