|
Posted by rwap on 07/24/06 23:53
jojo wrote:
> Els wrote:
>
> >> where should that code be? I can't find it on my page...
> >> http://shop.sgier.com/
> >> The left Advertisement Box is 125*125 but
> >> should be 120*90 as a linkBox.
> >
> > That's weird - if I just do a view source, and do a search for 125,
> > there is piece of Google JavaScript that states 125 height and width.
> > It's inside the first bit of google script, line nr. 138-140.
> > But there is no iframe.
> >
> > However, if I just look at the page and go to the block that says
> > "Advertisement", and select that entire block (with the Google ad in
> > it), and then right click and do a view selection source (in Firefox),
> > I get a DOM-source of selection, which clearly shows an iframe.
> > I'd say something in your JavaScript somewhere generates that iframe,
> > and it's 125x125 px, just like the Google ad.
> >
> I guess some google script does that. But it might be necessary to show
> the add: how else would you show content from a different domain on your
> page?
OK so going back into Google AdSense and asking for a 5 line link box
120x90 you get completely different code to what has been used on the
page. The HTML giving the
problem is:
<script type="text/javascript"><!--
google_ad_client = "pub-8189704777307305";
google_ad_width = 125;
google_ad_height = 125;
google_ad_format = "125x125_as_rimg";
google_cpa_choice = "CAAQ-YOy0QEaCBJ_cFqMCYHjKK2293M";
//--></script>
Simply replace the google_ad_width, google_ad_height and
google_ad_format settings to:
google_ad_width = 120;
google_ad_height = 90;
google_ad_format = "120x90_0ads_al_s";
Rich Mellor
www.internetbusinessangels.com
[Back to original message]
|