Unsure if Code is Causing Ad Inserter Not to Work
-
I am using WordPress with Avada Theme 6.1.1 and Ad Inserter 2.5.9
I’m not sure if I’ve set up Ad Inserter to “talk” to AdSense correctly. I’m not a coder, so any help is greatly appreciated. Here are the steps I have taken so far:
On Web Server
1) Confirmed Ads.txt file was on root level domain of site?In Google AdSense
1) Selected “Let Google place ads for you”
2)Created Page Exclusions (ie home, about, contact pages). I only want ads on my blog posts.In Ad Inserter
1) Confirmed that Ad Inserter is active (version 2.5.9)
2) In HTML Page Header Code, inserted AdSense code (pulled from Google AdSense “Copy and paste the AdSense code in between the <head></head> tags of your site”)
3) Block 1 – there is code that I’m not sure is supposed to be there (fyi I cleared my AdSense acct id). Here is the code:<!– Google Ads –>
<script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”></script>
<script>
(adsbygoogle = window.adsbygoogle || []).push({
?google_ad_client: “ca-pub-0000000000000000”,
?enable_page_level_ads: true
});
</script>The page I need help with: [log in to see the link]
- The topic ‘Unsure if Code is Causing Ad Inserter Not to Work’ is closed to new replies.