• Resolved gitika18

    (@gitika18)


    I was trying to add a Google ad sense code in one of the hooks (after the right sidebar content) assuming it’d display after the last side bar widget. Google instructions asks to add the code in ‘the HTML source of the page where I want the add to appear’. Saved the settings in the hook and it doesn’t show anything on the site. I was trying to see how it works ??
    What am I missing?

    Thanks!

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Tom

    (@edge22)

    What you did should work – Adsense sometimes takes around an hour to first display the ad – if you’d like to include your URL I can take a peak and see if I can see the code in the background ??

    Thread Starter gitika18

    (@gitika18)

    Theme Author Tom

    (@edge22)

    I’m seeing the code below the sidebar ??

    Thread Starter gitika18

    (@gitika18)

    I was not able to see the ads until today. But it did not show up when I was checking yesterday even after your could see the code. I don’t know what is wrong. I also could not see the page header spacing y’day.

    Anyways, now the ad unit displays but doesn’t fit right under the widgets. It would look better if the width is same as the widgets. Is there a way to change the width of the ad unit? In the adsense this is the standard size for a long-vertical unit.
    Thanks.

    Theme Author Tom

    (@edge22)

    You’ll either need to choose an ad that is less wide, or increase the width of your sidebar ??

    Thread Starter gitika18

    (@gitika18)

    That’s their standard size for vertical ad units. And increasing width of sidebar still doesn’t do the job as the change can only be by 25%,30%… (difference of 5) and so on.. one can’t put a number of choice and test. Anyways, I’ll check if I can customize the ad unit on google later.
    Thanks.

    Theme Author Tom

    (@edge22)

    Have you taken a look at creating custom ad units? https://support.google.com/adsense/answer/3289364?hl=en

    Thread Starter gitika18

    (@gitika18)

    Thanks for the link! That’ll help ??

    Theme Author Tom

    (@edge22)

    Awesome ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Adding Adsense code in hooks’ is closed to new replies.