hmm what does this mean?

Discussion in 'AdSense' started by lazerus, Jan 10, 2010.

  1. #1
    "The webpage cannot be found" in my google adsense blocks? It's for a site I bought. All I did was replace the pub and channel id. It needs time to show? or what? It's going on around 4 hours and the site is listed in google.
     
    lazerus, Jan 10, 2010 IP
  2. n00ne

    n00ne Member

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #2
    try to wait some time...
     
    n00ne, Jan 10, 2010 IP
  3. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #3
    well its not required to wait if that code is correct. do u have any alternate url in that code ?
     
    chandan123, Jan 10, 2010 IP
  4. lazerus

    lazerus Peon

    Messages:
    149
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    page.php (page template)

    
    <?php get_header(); ?>
    
    
        <?php if (have_posts()) : ?>
        <?php while (have_posts()) : the_post(); ?>
          <h1 class="pagetitle"><?php the_title(); ?></h1>
    <script type="text/javascript"><!--
    google_ad_client = "pub-##########";
    /* 468x60, created 12/25/09 */
    google_ad_slot = "7281583840";
    google_ad_width = 468;
    google_ad_height = 60;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
          <div class="entry page clear">
            <?php the_content(); ?>
            <?php edit_post_link(__('Edit This','<p>','</p>', 'vigilance')); ?>
            <?php wp_link_pages(); ?>
          </div><!--end entry-->
        <?php endwhile; /* rewind or continue if all posts have been fetched */ ?>
       
        <?php else : ?>
        <?php endif; ?>
      </div><!--end content-->
    <?php get_sidebar(); ?>
    <?php get_footer(); ?>
    
    Code (markup):
    second ad..


    sidebar (sidebar.php)

    <?php global $vigilance; ?>
      <div id="sidebar">
        <?php if ($vigilance->sideimgState() == 'hide') : else : ?>
          <?php if (is_file(STYLESHEETPATH . '/sidebar-imagebox.php')) include(STYLESHEETPATH . '/sidebar-imagebox.php'); else include(TEMPLATEPATH . '/sidebar-imagebox.php'); ?>
        <?php endif; ?>
        <?php if ($vigilance->feedState() == 'disabled') : else : ?>
          <?php if (is_file(STYLESHEETPATH . '/sidebar-feedbox.php')) include(STYLESHEETPATH . '/sidebar-feedbox.php'); else include(TEMPLATEPATH . '/sidebar-feedbox.php'); ?>
        <?php endif; ?>
        <ul>
          <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('wide_sidebar') ) : ?>
            <li class="widget widget_recent_entries">
              
    <script type="text/javascript"><!--
    google_ad_client = "pub-#########";
    /* 160x600, created 12/25/09 */
    google_ad_slot = "7281583840";
    google_ad_width = 160;
    google_ad_height = 600;
    //-->
    </script>
    <script type="text/javascript"
    src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
    </script>
    
            </li>   
          <?php endif; ?>
        </ul>
        <?php if (is_active_sidebar('left_sidebar')) echo '<ul class="thin-sidebar spad">';?>
          <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('left_sidebar') ) : endif; ?>  
        <?php if (is_active_sidebar('left_sidebar')) echo '</ul>'; ?>
        <?php if (is_active_sidebar('right_sidebar')) echo '<ul class="thin-sidebar">'; ?>
          <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar('right_sidebar') ) : endif; ?>
        <?php if (is_active_sidebar('right_sidebar')) echo '</ul>' ;?>
      </div><!--end sidebar-->
    Code (markup):
    Hope this helps.

    I just hope that the only issue is time

    thanks
     
    lazerus, Jan 10, 2010 IP
  5. Jontish

    Jontish Well-Known Member

    Messages:
    1,565
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    128
    #5
    You can't use " in your script. Open notepad, paste your ad script, go to the replace function and change " to '.
     
    Jontish, Jan 10, 2010 IP
  6. chandan123

    chandan123 Prominent Member

    Messages:
    11,586
    Likes Received:
    578
    Best Answers:
    0
    Trophy Points:
    360
    #6
    the google_ad_slot = "7281583840"; is created by u or old owner ? u can't simply replace the pub-id if the adslot is created by old owner.

    create your own adslot or use classic adsense code which is better way
     
    chandan123, Jan 10, 2010 IP
  7. Lex350

    Lex350 Notable Member

    Messages:
    1,889
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    215
    #7
    Thats it. It takes some time for Google to load the new code and show the ads on your site. Anywhere from 1 hour to 1 day.
     
    Lex350, Jan 10, 2010 IP
  8. Gamaran

    Gamaran Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I agree with this, you should create your own ad and channel, base on my experience it takes 10 minute to load the new code.
     
    Gamaran, Jan 11, 2010 IP