Title: Widget Doesn&#8217;t Work
Last modified: June 17, 2017

---

# Widget Doesn’t Work

 *  Resolved [Eric Armstrong](https://wordpress.org/support/users/aeric325/)
 * (@aeric325)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/widget-doesnt-work-11/)
 * The plugin looks great. Well thought-out, with lots of helpful advice about what
   to do next built into the interface. Well done.
 * BUT… After creating a Widget using the JS code I got from AdSense, the widget
   does not display on my site.
 * One possible reason is the mysterious requirement for an “ad position”. If I 
   don’t select a position in the post to display an ad, the validation-step fails.(
   But the whole idea of creating a widget is to have the ad appear in the sidebar!)
 * So the first question is: Is it really necessary to select an ad position for
   the widget to work? Or is it the case that if it was set up properly, it would
   still work, even though it “fails” validation.
 * The second possibility is whether the AdSense code I got from Google is right:
   
   <script async src=”//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js”>
   </script> <script> (adsbygoogle = window.adsbygoogle || []).push({ google_ad_client:“
   ca-pub-6668188143818544”, enable_page_level_ads: true }); </script>
 * (I got that code when I first signed up. But after I got approved, I’m seeing
   a while ‘nother interface for creating ads that I do not yet understand.)
 * Here’s a sample page:
    [http://treelight.com/saq/who-really-wrote-shakespeare](http://treelight.com/saq/who-really-wrote-shakespeare)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Rene Hermenau](https://wordpress.org/support/users/renehermi/)
 * (@renehermi)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/widget-doesnt-work-11/#post-9238651)
 * Hi,
 * > Is it really necessary to select an ad position for the widget to work? Or 
   is it the case that if it was set up properly, it would still work, even though
   it “fails” validation.
 * No, its not necessary for any widget ads. You are right, the validation process
   is confusing in case one only wants to add a widget ad and no content ads. I 
   will improve this.
 * You are trying to add a page level ad to the widget. A pagel level ad is something
   special. This will not work! Follow this to learn how to add pagel level ads:
   [https://wpquads.com/docs/integrate-page-level-ads-wordpress/](https://wpquads.com/docs/integrate-page-level-ads-wordpress/)
 * If you want to add a widget ad you need to create one first. Read this:
    [https://wpquads.com/docs/settings/](https://wpquads.com/docs/settings/)
 *  Thread Starter [Eric Armstrong](https://wordpress.org/support/users/aeric325/)
 * (@aeric325)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/widget-doesnt-work-11/#post-9239141)
 * Many thanks!! Need to change the title: “Widget works, My Brain Didn’t!”
    (At
   least as regards the Widget.)
 * I do want to allow page-level ads — but I don’t want to preselect an automatic
   location. I’ll want to add them selectively, on pages where they might make sense—
   like short pages that recommend a product where I don’t have any kind of affiliate
   relationship.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Widget Doesn’t Work’ is closed to new replies.

 * ![](https://ps.w.org/quick-adsense-reloaded/assets/icon-256x256.png?rev=2369641)
 * [Quads Ads Manager for Google AdSense](https://wordpress.org/plugins/quick-adsense-reloaded/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/quick-adsense-reloaded/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/quick-adsense-reloaded/)
 * [Active Topics](https://wordpress.org/support/plugin/quick-adsense-reloaded/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/quick-adsense-reloaded/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/quick-adsense-reloaded/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Eric Armstrong](https://wordpress.org/support/users/aeric325/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/widget-doesnt-work-11/#post-9239141)
 * Status: resolved