Title: Adding Google Adsence
Last modified: August 19, 2016

---

# Adding Google Adsence

 *  [frontdesk500](https://wordpress.org/support/users/frontdesk500/)
 * (@frontdesk500)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/adding-google-adsence/)
 * Hi,
 * Can anyone explain how to add the Adsence banner codes
    into the theme. I saw
   that the same question was asked 9 months ago, but couldn’t find an answer posted
 * Any help would be appreciated

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

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/adding-google-adsence/#post-1734571)
 * just downloaded the theme to have a look:
 * it has three files:
    ad1.php ad2.php ad3.php which you need to edit (dashboard–
   appearance – editor).
 * replace this line `<img src="<?php bloginfo('template_url')?>/images/ad.png" 
   alt="" />` in each of these files with your respective adsense code, which you
   get from your gogle account.
 * ad1 and ad3 is for a ‘468 x 60’ banner; ad2 is for a ‘336 x 280’ banner.
 *  [Michael Wiginton](https://wordpress.org/support/users/roseapplemedia/)
 * (@roseapplemedia)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/adding-google-adsence/#post-1734584)
 * The files that contain URLs for the three ads are:
 * Top ad Page Template (ad1.php)
 * Sidebar ad Page Template (ad2.php)
 * Post ad Page Template (ad3.php)
 * Michael

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

The topic ‘Adding Google Adsence’ is closed to new replies.

 * 2 replies
 * 3 participants
 * Last reply from: [Michael Wiginton](https://wordpress.org/support/users/roseapplemedia/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/adding-google-adsence/#post-1734584)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
