Title: Applying the &#8220;Code&#8221; for AdSense
Last modified: June 12, 2017

---

# Applying the “Code” for AdSense

 *  [shansen94](https://wordpress.org/support/users/shansen94/)
 * (@shansen94)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/applying-the-code-for-adsense/)
 * _[ Moderator note: [moved to Fixing WordPress](https://wordpress.org/support/topic/before-posting-in-everything-wordpress/?view=all).]_
 * Help! I wanted to put Google AdSense on my website so I signed up for it and 
   they gave me a code to paste into my html. Apparently I don’t have access to 
   my html because WordPress doesn’t allow that? I have been told to paste the code
   into a widget, which I did, but AdSense sent me an email saying they could not
   view my site. I have no idea where to put the code! Someone help me please!

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/applying-the-code-for-adsense/#post-9218498)
 * If you prefer using a plugin to do it for you, then try reviewing some plugins:
   
   [https://wordpress.org/plugins/search/+Google+AdSense/](https://wordpress.org/plugins/search/+Google+AdSense/)
 * If like add the code without plugin:
    Where to add the code would depend on your
   theme (please post wht theme youare using).
 * Possibly, the location to edit would probably be in header.php of your theme,
   somewhere below the code of the menu.
 * There is always the risk to break something; therefore:
 * – make a full backup before editing;
    [https://codex.wordpress.org/WordPress_Backups](https://codex.wordpress.org/WordPress_Backups)
 * – possibly work with a child theme;
    [https://codex.wordpress.org/Child_Themes](https://codex.wordpress.org/Child_Themes)
 * – possibly use FTP to edit the files;
    [http://codex.wordpress.org.vnomera.com/FTP_Clients](http://codex.wordpress.org.vnomera.com/FTP_Clients)
   [https://codex.wordpress.org/Editing_Files](https://codex.wordpress.org/Editing_Files)
    -  This reply was modified 8 years, 11 months ago by [t-p](https://wordpress.org/support/users/t-p/).

Viewing 1 replies (of 1 total)

The topic ‘Applying the “Code” for AdSense’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/applying-the-code-for-adsense/#post-9218498)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
