Jump to content

Target Ad Serving based on URL?


urbanvoice

Recommended Posts

Hello, if you visit my website (www.xiope.com) you will notice a banner ad at the very top that is referencing Arizona. I am hoping there is a script that I can pass that says if the URL is passed with az (Arizona) it will serve the Arizona ad, if not it will serve a default ad.

 

For an example.. this URL (http://www.xiope.com/c.electricians+scottsdale+az.php) has two main indicators for the ad.. electricians [category] az [location]. I would like to be able to run specific ads that are based on the perimeters passed through the URL.

 

[ If URL = electricians & az show this  ad... if not show another.. ]

 

Do you have any idea on how I can accomplish this? Thanks for your help!!!

Link to comment
https://forums.phpfreaks.com/topic/132847-target-ad-serving-based-on-url/
Share on other sites

I am trying to create an ad management system that serves ads based on a city name and category.. All I need to know if there is an easy script to accomplish this already written. I am ok with PHP but don't think I will be able to write one for this from scratch.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.