Help! How do i put Adsence in the sidebar??

Discussion in 'AdSense' started by Bjam, Nov 8, 2007.

  1. #1
    Help! This might sound stupid but how do i put google adsence in the sidebar of my blog??? - www.official20.com
     
    Bjam, Nov 8, 2007 IP
  2. AutumnBreeze

    AutumnBreeze Peon

    Messages:
    1,033
    Likes Received:
    101
    Best Answers:
    0
    Trophy Points:
    0
    #2
    AutumnBreeze, Nov 8, 2007 IP
  3. kewlchat

    kewlchat Well-Known Member

    Messages:
    1,779
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    110
    #3
    Or this would prob work on wordpress too if you wanted to hard code it with out a plug in..

    </div>
    <-----paste the code there
    <?php get_sidebar(); ?>

    but if anyone reads this and wanted to do it on blogger read this..
    http://help.blogger.com/bin/answer.py?hl=en&answer=42291

    btw AutumnBreeze nice post im downloading that wp plugin myself :D
     
    kewlchat, Nov 8, 2007 IP
  4. bloggerdollar

    bloggerdollar Peon

    Messages:
    230
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    First of all I think that you are using wordpress. Go to theme presentation in your dashboard. Select Sidebar and paste the code somewhere in the code. (Not between php codes.) You can find the place after a few tries anyway.
     
    bloggerdollar, Nov 8, 2007 IP
  5. Black_Hand

    Black_Hand Peon

    Messages:
    726
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #5
    edit the sidebar.php file and put in your code in the right place
     
    Black_Hand, Nov 8, 2007 IP
  6. Bjam

    Bjam Well-Known Member

    Messages:
    500
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    108
    #6
    thanks guys i added the adsence plugin. It makes a space for the ads but they dont show up?
     
    Bjam, Nov 8, 2007 IP
  7. Black_Hand

    Black_Hand Peon

    Messages:
    726
    Likes Received:
    46
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Did you read the Readme file of the plugin? You will need to copy a tag into the appropriate location I suppose. Actually you can add adsense code directly without any plugin..

    http://www.tamba2.org.uk/wordpress/adsense/
     
    Black_Hand, Nov 9, 2007 IP
  8. kndsti

    kndsti Member

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #8
    presentation --> theme editor --> sidebar :

    <?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
    <?php wp_list_bookmarks(); ?>
    <script type="text/javascript"><!--
    google_ad_client = "XXXXXXXXXXXXXXXXXX";
    google_ad_width = 120;
    google_ad_height = 600;
    google_ad_format = "120x600_as";
    google_ad_type = "text_image";
    //2007-05-29: sidebar
    google_ad_channel = "XXXXXXXXXXXXX";
    google_color_border = "FFFFFF";
    google_color_bg = "FBFBFB";
    google_color_link = "0066CC";
    google_color_text = "000000";
    google_color_url = "000000";
     
    kndsti, Nov 9, 2007 IP
  9. izeaus

    izeaus Banned

    Messages:
    803
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #9
    May be ur adsense is Banned .. Thats Why .. Try some one's other codes then try.. Then if they show up replace with your code.
     
    izeaus, Nov 9, 2007 IP
  10. Abhik

    Abhik ..:: The ONE ::..

    Messages:
    11,337
    Likes Received:
    606
    Best Answers:
    0
    Trophy Points:
    410
    Digital Goods:
    2
    #10
    I just went through your page source.
    I found the there is no pub id assigned to your code. Probably this is why your ads are not showing up.
     
    Abhik, Nov 9, 2007 IP
  11. AutumnBreeze

    AutumnBreeze Peon

    Messages:
    1,033
    Likes Received:
    101
    Best Answers:
    0
    Trophy Points:
    0
    #11
    No anything assigned :)

    google_ad_client = "";
    google_alternate_color = "FFFFFF";
    google_ad_width = ;
    google_ad_height = ;
    google_ad_format = "_as";
    google_ad_type = "text_image";
    google_ad_channel ="";
    google_color_border = "";
    google_color_link = "";
    google_color_bg = "";
    google_color_text = "";
    google_color_url = "";
     
    AutumnBreeze, Nov 9, 2007 IP
  12. kewlchat

    kewlchat Well-Known Member

    Messages:
    1,779
    Likes Received:
    45
    Best Answers:
    0
    Trophy Points:
    110
    #12
    You get this part from your adsense account.. setup tab.. the ads they give you is what you put here.. inplace of the examples..
     
    kewlchat, Nov 9, 2007 IP
  13. bananajoe

    bananajoe Peon

    Messages:
    80
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #13
    you don't need any plugins. just use the widget function of wordpress.
    presentation -> widgets

    and change your url output, it's good for search engines
    options -> permalinks
     
    bananajoe, Nov 9, 2007 IP