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

How do you peoples get your angular website accepted by Google Adsense ? #398

Open
borisBelloc opened this issue Apr 25, 2020 · 8 comments

Comments

@borisBelloc
Copy link

Hello,

I don't know if I 'm allowed to ask here, but I don't know where to ask this question...

Every forums, thread, articles I read about "Google Adsense and Angular" says that Google's can't crawl angular website.

I tried to add ng2-adsense to my website but google told me that my website "got no content", google is not able to see what's inside my website.

I spent a lot of time trying to find a solution to make my Angular website Adsense compatible and didn't find any.

Can someone give me some tips ? 😷

@rawoke083
Copy link

I had to enable ssr or any pre-rendering framework.
From there I had to submit at least 3 times, and made sure to show them my "blog/articles" section. By then I had about 15 original pieces of content.

@scttcper
Copy link
Owner

I got mine approved without ssr, i did have to put more text and setup meta tags on all pages. make sure the pages you're adding ads on are public

@rawoke083
Copy link

Might be worthwhile to have a "Best Practises / FAQ" doc somewhere in this repo ? With regards to using Adsense+Angular+NG2-Adsense ?

  • How to get approved (as you mentioned meta tags)
  • Prerender vs SSR

@borisBelloc
Copy link
Author

borisBelloc commented Apr 30, 2020

thanks you all for your answesr, I didn't know about "pretender", "ssr' and thoses type of things.

Look like the solution could be Angular universal

I know it's not related to ng2-adsense but like rawoke083 said a FAQ would help a lot of peoples

@scttcper
Copy link
Owner

You can see the angular website i got approved with here https://honbot.com/ I have others now, but only the first one has to be approved.

@mightymatth
Copy link

@scttcper I don't believe you 😆 I've tried to setup AdSense without SSR on site https://zorrotunes.com/, but I cannot get it approved for months. I've tried to prerender everything, setup dummy content, link it through, but it always says that there is not enough content. Do you have any suggestions?

@Ideki
Copy link

Ideki commented Aug 12, 2020

@mightymatth I had trouble with SSR too.
What I ended up doing was the following:

  1. Prerendered my site
  2. Copied the content of my prerended home page inside the in my index.prod.html (don't forget your css too)
    The dynamic content will replace the prerendered content after it has been loaded.
  3. Published my side normally (no SSR, no prerender)
  4. Submitted the application to AdSense again and got accepted.

I will eventually get around to get SRR/prerender working properly.

After you have been approved, you can remove the prerendered content (and css) from your index.prod.html

@kidqn
Copy link

kidqn commented Feb 17, 2023

@mightymatth I had trouble with SSR too. What I ended up doing was the following:

  1. Prerendered my site
  2. Copied the content of my prerended home page inside the in my index.prod.html (don't forget your css too)
    The dynamic content will replace the prerendered content after it has been loaded.
  3. Published my side normally (no SSR, no prerender)
  4. Submitted the application to AdSense again and got accepted.

I will eventually get around to get SRR/prerender working properly.

After you have been approved, you can remove the prerendered content (and css) from your index.prod.html

Hi @Ideki, you mean that remove all SSR, only generate prerender homepage , then submit to AdSense.
After approving, remove prerender and re-deploy SSR, right?

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

6 participants