Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

how can i configure google adsence?

0 votes
118 views
asked Jan 29 in Q2A Core by MONKEY
When you go to the head, it says to put the code. this is in the admin/design ,head?
--------------

Example (
<script async src="//pagead2.googlesyndication.com/
pagead/js/adsbygoogle.js"></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
google_ad_client: "ca-pub-110*******66",
enable_page_level_ads: true
});
</script>
----------------

Which is the AdSense Ad Unit ID?

1 Answer

+1 vote
answered Jan 29 by ProThoughts
selected Jan 30 by MONKEY
 
Best answer
It is data-ad-slot id from adsense code. are you using basic adsense plugin? You may not be able to use link ad units with this....You can try below plugin.

https://github.com/ProThoughts/q2a-simple-ads-manager
commented Jan 29 by MONKEY
I am using the https://github.com/q2a/question2answer/tree/dev/qa-plugin/basic-adsense

Yes It is thr basic.

My questions is how can i comfigurated thishttp://agorapreguntas.net/files/124.png
commented Jan 29 by ProThoughts
from above adsense code it looks like you are using link ad unit, you should use text/image ads which will have data-ad-slot parameter, that is AdSense Ad Unit ID.
commented Jan 31 by MONKEY
do you know what it was? first to be approved and from there it took me about three days for them to approve
...