PhpAdsNew has zones, clients, and banners. First off, we want to add a client, so click on the administration tab and then the add new client link. Complete the details of the client when the page loads. Before you click on the save changes button, you should think carefully about whether or not you would like to allow this client to login to your PhpAdsNew system and modify his campaign. If you'd like to give your clients the flexibility of changing their banner whenever they like, then you should enter a username and password for them and select the appropriate checkboxes for them, which are shown below: When you're done, click on the save changes button. PhpAdsNew will now let you create a new campaign for this client. The great thing about PhpAdsNew is that you can either set how many impressions this clients ad will have, you can set both activation and expiry dates for the ad, or you can just let the ad run for as long as you like. The weight field is the frequency that the ad will be shown. The default is 1, but you can set it to a higher value if you'd like the ad to appear more frequently than any others if it's in a rotation. Set the options for this clients campaign then click save changes. PhpAdsNew will create the new campaign and redirect you back to the zones page. To create a banner for this client, click on the create link under their campaign: Once the add new banner page loads, there are four possible types of banners that we can create:
Now that our banner's created, it's time to tell PhpAdsNew to generate the banner code for it, which we can include in our web pages to display the banner. Click on the administration tab and then the generate banner code link, just under the tab. Once again, there are several options to choose from. The way the banner is invocated can be one of five possible options:
<a href="' http://localhost/phpAdsNew/adclick.php'" target='_blank'><img src="'http://localhost/phpAdsNew/adview.php?clientID=2&target=_blank'"; border='0'></a> Obviously at this point, it's simply a matter of copying and pasting the generate code into your web page and then saving it. At this point we haven't really explored the power of PhpAdsNew, so let's now take a look at its powerful reporting and banner rotation features.
blog comments powered by Disqus |