Got more questions? Find advice on: SQL | XML | Regular Expressions | Windows
Welcome to AspAdvice Sign in | Join | Help

Re: Possible Feature Feedback: Easy Google Ads

  •  12-15-2007, 3:43 PM

    Re: Possible Feature Feedback: Easy Google Ads

    This (Google ads) is one of the reasons why I suggested the ability to "include" pages (not the only reason, but certainly one of them).

    The Google ad code varies based on what type of ad you have asked for. A single web page can have multiple kinds and sizes. So, this is what led me to realize that "include" pages would be a great way to tackle it.

    Honestly, if the "include" feature were granted in some future release, it would make adding Googles a snap.

    Just :

    1. Get your code from Google for the desired ad.

    2. Paste that code all by itself in a page (file), saved with an .xml extension. Name the file in a way that describes what kind of ad it is (ie. google_wide_leaderboard_ad.xml, or some such)

    3. Put an $_include_blah var in the config file, with the the path to the above named file.

    4. Drop it in the template pages as needed. Even if you have 5 or 10 or 20 template pages showing the add, you can update the ad's code with a single change to the "included" page.

    This would be ideal. And the process could be repeated for each different size and kind of ad needed or desired.


    Sincerely,
    Doug Joseph
    Filed under: ,
View Complete Thread