Quote:
Originally Posted by Grebogreen
Ho no guys, what you doing to me. I managed at the end to get a banner to show but must say that end bit of which code to select was a bit of a mistery. By the time I had got to do the code I was totaly confused, it kept telling me I had no campaigns, then no zones & banners. It seemed like pure luck when I got to the end.
What your saying is, that the javascript is better and I should wrap it up in {literal}'s. Off I go to find out what they are, I've never done so much reading.
|
Grebogreen,
Sorry, I'm not tring to confuse you. Either type of code will work. To clarify: If you are going to use php for your invocation code, then you need to use {literal} your php code {/literal}
My comment about using javascript code was just a personal preference, because I had less trouble using javascript code. (I use the ad software to serve several different websites). As far as choosing which invocation code to use is actually quite simple. When you get to the point in the openads where you are to generate the code (I believe that it defaults to php code), BUT it is a pull down menu and you can simply choose which type of code you would like for it to generate.
As far a quick reference guide to openads:
There are two parts that are needed to make it work, publishers and advertisers. Quite simply advertisers are the ones that supply the ads and publishers are the ones that supply the websites that the ads are viewed in.
When you are an advertiser and want to place an ad it needs to be in an AD CAMPAIGN. A campaign in lamens terms is simply a name for what your advertising. So you could have several ads for a GREAT WIDGET CAMPAIGN, such as an animated flash 468x60 full banner ad, a static full banner ad 468x60 as well as a 125x125 widget ad, etc... If you also sold gadgets as well as widgets, you would want to have a different campaign for gadgets.
A publisher is a website (place to view the ads). A publisher has zones to publish the ads. Zones are simply areas within your website where ads could be placed. It is important, because zones need to have parameters such as the size (you wouldn't want a full banner ad 468x60 showing up in your side column that is only 150 pixels wide). Other parameters might be that on one page that is for horses, you might only want horse ads and not widget ads.
A basic classifieds ad website might have two zones. Top banner ad (468x60) and a side zone (125x125). Obviously, you could get much more complicated if you wanted to.
Hope that helps,
-Mike