Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    Regular Coder student's Avatar
    Join Date
    Jan 2007
    Posts
    129
    Thanks
    13
    Thanked 0 Times in 0 Posts

    Arrow How to integrate these ads into .html web pages?

    Hello,
    I have developed my own ads for my site.
    http://downloadsonline.org/ads.php?keywords=business
    These are like google adsense.

    I could place them on my .php webpages using 'include' function.
    But dont understand how to place them on my .html webpages.

    Similar services are using javascript for this purpose.
    Please inform me the code using which I can place them on any webpage.

    Thank you very much for all your help.

  • #2
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Would these be used for other people's sites or just yours?
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #3
    Regular Coder student's Avatar
    Join Date
    Jan 2007
    Posts
    129
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by _Aerospace_Eng_ View Post
    Would these be used for other people's sites or just yours?
    I would like to use these ads on my own sites as well as on the sites of others if they are interested.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Well google adsense uses an iframe so you could just use an iframe with the src being your ads. You'll just have to set the width and height to match the size of your ads.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #5
    Regular Coder student's Avatar
    Join Date
    Jan 2007
    Posts
    129
    Thanks
    13
    Thanked 0 Times in 0 Posts
    google adsense seem to be not using iframes:
    It seem to be using javascript
    this is an example:

    <script type="text/javascript"><!--
    google_ad_client = "pub-3440800076797949";
    google_alternate_ad_url="http://www.w3schools.com/banners/bannerframe.asp?adpartner=aspall2";
    google_ad_width = 728;
    google_ad_height = 90;
    google_ad_format = "728x90_as";
    google_ad_channel ="6605717322";
    google_ad_type = "text";
    google_color_border = "808080";
    google_color_bg = "F1F1F1";
    google_color_link = "900B09";
    google_color_url = "008000";
    google_color_text = "000000";
    //--></script>
    <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

  • #6
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Its an iframe. The javascript they use creates an iframe on the users' page. It just uses the variables to make the script more customizable. Take a look at their code in this file http://pagead2.googlesyndication.com/pagead/show_ads.js
    If you don't know javascript, its about the 4th line down.
    ||||If you are getting paid to do a job, don't ask for help on it!||||

  • #7
    Regular Coder student's Avatar
    Join Date
    Jan 2007
    Posts
    129
    Thanks
    13
    Thanked 0 Times in 0 Posts
    Thank you very much _Aerospace_Eng_,
    I am very much thankful to you.
    I am now implementing the code with an iframe.

    Thank you again

  • #8
    Banned
    Join Date
    May 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't show your google_ad_client +.+
    Code:
    google adsense seem to be not using iframes:
    It seem to be using javascript
    this is an example:


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •