Title: Problem adding ads to site&#8230;
Last modified: August 18, 2016

---

# Problem adding ads to site…

 *  Resolved [ztainment](https://wordpress.org/support/users/ztainment/)
 * (@ztainment)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/problem-adding-ads-to-site/)
 * I know this is a real simple question, forgive my programming ignorance, but 
   I cant seem to figure out the proper place to put in ad code for Google AdSense.
   It’s simple JavaScript stuff.
 * Can anyone please tell me where I need to input the following code:
    <script 
   type=”text/javascript”><!– google_ad_client = “pub-******************”; google_ad_width
   = 120; google_ad_height = 600; google_ad_format = “120x600_as”; google_ad_type
   = “text_image”; google_ad_channel =””; //–></script> <script type=”text/javascript”
   src=”[http://pagead2.googlesyndication.com/pagead/show_ads.js”&gt](http://pagead2.googlesyndication.com/pagead/show_ads.js”&gt);
   </script>
 * Much thanks ~

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

 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/problem-adding-ads-to-site/#post-458683)
 * Wherever you want the ads to display. And don’t use the stupid useless wysiwyg/
   RTE when you input the code or it will be totally borked, and then you’ll be 
   back here asking what happened with that.
 *  Thread Starter [ztainment](https://wordpress.org/support/users/ztainment/)
 * (@ztainment)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/problem-adding-ads-to-site/#post-458694)
 * Thanks, I was just adding things to the index.php file in the wrong folder…
 *  [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * (@vkaryl)
 * [19 years, 7 months ago](https://wordpress.org/support/topic/problem-adding-ads-to-site/#post-458700)
 * Oy…. yup. That will cause some serious heartburn. Keep in mind for the future
   that most anything you want to do with wp will need to be tweaked in the theme
   folder.

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

The topic ‘Problem adding ads to site…’ is closed to new replies.

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 3 replies
 * 2 participants
 * Last reply from: [vkaryl](https://wordpress.org/support/users/vkaryl/)
 * Last activity: [19 years, 7 months ago](https://wordpress.org/support/topic/problem-adding-ads-to-site/#post-458700)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
