Hi Everyone, Recently I am starting using the Backdrop CMS. One of my website is bangladeshpedia.com. But Unfortunately, I am facing difficulties to using Adsense on my website. Are there any Plugin/Module for Adsense? or How can I Put ads code on my website? How to using the Adsense on Backdrop cms, let me know. Its urgent pleaase.
Accepted answer
Comments
Hi
I've checked and there is no current module for Adsense
https://github.com/backdrop-contrib?q=adsense&type=all&language=&sort=
There are also no requests open for porting the module:
https://github.com/backdrop-ops/contrib/issues?q=is%3Aissue+adsense+
I would suggest putting a request in there (^^) for the Drupal 7 Google AdSense integration module to be ported. It looks to be quite a big module so could be a big task.
As an alternative AdSense will provide you with snippets for embedding the ads. You could add a small amount of code to your theme template that would then call the script.
backdrop_add_js('https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-1234567890123456' , 'external');
would probably go into an overridden `page.tpl.php` in your theme.
see https://support.google.com/adsense/answer/9189015?visit_id=6378631086600... and https://support.google.com/adsense/answer/7584263?hl=en#zippy=%2Cview-an...
Thanks a lot for your valuable response. But I am new in backdrop CMS. I already use Drupal 7. But I dont know how to request a Module.
Go here:
https://github.com/backdrop-ops/contrib/issues/new/choose
Click on the get started button next to 'Port Request'
Fill out the form, providing the link to the Drupal 7 module.
Hi. There doesn't seem to be a request there.
Please note that adding a request provides no guarantee that someone would will port the module or when it would be ported. Backdrop is open source and relies on voluntary contributions, either people porting a module out of interest, because they need it, or because a client needs it.
If this is really important to you, and you don't have the skills/capacity to port yourself, you may need to hire someone to port it for you. Or, as mentioned above, AdSense has ways you can embed the code in a simpler way that may meet your needs until it is ported.
Go here:
https://github.com/backdrop-ops/contrib/issues/new/choose
Click on the get started button next to 'Port Request'
Fill out the form, providing the link to the Drupal 7 module.