I'm creating a set of display ads in Google that all go to the same landing page. The only thing is that I need a specific headline to display based on whichever ad is clicked on. I'll be differentiating the ads by using URL parameters, however, I don't want to put the full headline text in the URL parameter because the headlines are fairly long.
What I think I need to do is have a coded parameter, such as "/?hl=2", and then use that to dynamically replace the text in the h1 tags with "Headline ABC" or whatever that headline associated with that parameter would be.
Would the best way to do this be through a series of javascript if statements? Or through some sort of php array?
Any suggestions would be appreciated. Unfortunately, I've only been able to find resources about keyword insertion online, not custom headlines.