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

Only one page shows the ads #412

Open
fethi-lamraoui opened this issue Jul 29, 2020 · 1 comment
Open

Only one page shows the ads #412

fethi-lamraoui opened this issue Jul 29, 2020 · 1 comment

Comments

@fethi-lamraoui
Copy link

I’m trying to add many ads on different pages, by only the one page is showing the ads, is there any workaround?

@Ideki
Copy link

Ideki commented Aug 12, 2020

Do you have a lot of text content on the other pages?

I had the same issue.
It looks like only horizontal ads are shown with default sizes.
If you want vertical ads, you need to specify a width and height like this:

<ng-adsense [adSlot]="yournumber" [adFormat]="'auto'" [fullWidthResponsive]="true" [width]="120" [height]="600"></ng-adsense>

just with that I was able to get ads on each page.

As for ads size, you should refer to the following links:

https://ppcprotect.com/google-ad-sizes/
https://www.ezoic.com/how-ad-sizes-affect-adsense-earnings/

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