Adsense help

So hello, I am new to using status.net on my website and so far am impressed. I am wondering though how I can implement my adsense code into my site? Any help is greatly apreciated I am using C panel file manager, so if you get give it ot me step by step, I would be greatful. thanks so much!

Comments

  • Anyhelp is apreicated!
  • Check in the plugin folder and add the Adsence one, that should get you going! :-)
  • where plugin folder ?
  • @Chatterpit @wahed106 it's in /yourstatusnet/plugins/Adsense
    If you look at AdsensePlugin.php the instructions on how to use it are in the comments at the top of the file.
  • So I read the instructions, dont really understand, can you elaborate?
  • Add this to your config.php
    addPlugin('Adsense', array('client' => 'Your client ID',
    'rectangle' => 'slot'));

    Replace 'Your client ID' with the value you get as google_ad_client when signing up at https://www.google.com/adsense/ and replace slot with the value of google_ad_slot
    You can choose to change rectangle to one of the other add formats
    'mediumRectangle', 'rectangle', 'leaderboard', 'wideSkyscraper'
  • Is there a code that doesnt go against the adsense TOS? because adsense prohibits the making of your own code. I was wondering if you could just modify the code to be able to put any javascript files on the lines and be done with it. Thus supporting not just adsense but everything
  • @pablo12335 There's a BlankAd plugin if you prefer.
  • I just tried it, but im not sure what to change the tag to... (the img tag thats on there) like I put script and a link to a php file with the ad but it ignores it, while its still 'there' if i check the code of the site
  • @pablo12335 It appears I was mistaken, I don't think that plugin won't work with adsense.
  • what else do you think i can use, I tried changing img to script and putting a link to the php file. This should work theoretically but when i try it out It wont show anything, just a box
  • @pablo12335 I think if you want to use adsense you need to use the adsense plugin. As far as I can tell the plugin uses the official adsense script, you just tell it what values to use.
  • Its against the TOS to do your own code, even iif you just wanna change your width or height then u have to go and build a new ad box, changing it from the code will get you banned.
  • It is not against googles TOS to use the Adsense codes with the Adsense plugin. The method this plugin gives you is perfectly acceptable.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID