Adwords PHP code to pull terms on page

Discussion in 'Google AdWords' started by gracecore, Sep 25, 2009.

  1. #1
    Hello, I was wondering if anyone could help me out setting up a page for Adwords promotion

    I have seen a few posts about have the abilty to pull the clicked upon term into the page as a headline on the page so that the page becomes more relevant.

    For example, if one of the terms im using is " blue widgets" once the ad is clicked on and it hits my landing page, the term "blue widgets" automatically loads in the title and as an H1 tag laid out on the page.

    I know this is possible but i can not seem to locate the codes to aid this function to work correctly

    Any help would be great

    Thanks
     
    gracecore, Sep 25, 2009 IP
  2. PHPGator

    PHPGator Banned

    Messages:
    4,437
    Likes Received:
    133
    Best Answers:
    0
    Trophy Points:
    260
    #2
    I think this would be awesome. I haven't heard of this being done, but I think it would be extremely useful. Anyone that can help with this?
     
    PHPGator, Sep 25, 2009 IP
  3. mcapodici

    mcapodici Well-Known Member

    Messages:
    228
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    120
    #3
    I'm not an adwords guy, so take this with a pinch of salt but...

    I saw a video where someone was able to put the keyword into the URL in the adwords setup. E.g. You enter something like

    http://www.mypromotion.com/?kw={keyword}

    and google generates something like this on click:

    http://www.mypromotion.com/?kw=lcd tv.

    You could then easily write PHP code to get the kw query string parameter and display that in the H1. In the video the guy was passing the value straight to clickbank I think.
     
    mcapodici, Sep 26, 2009 IP
  4. muchacho79

    muchacho79 Active Member

    Messages:
    672
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    60
    #4
    I've read and heard about this being done but one thing has always stuck in my mind and that is, if we have heard of this procedure, then Google will have.

    When Google do a manual check of your site they'll know the PHP function is being called and could slap the hell out of you for doing it.
     
    muchacho79, Sep 26, 2009 IP
  5. Lucid Web Marketing

    Lucid Web Marketing Well-Known Member

    Messages:
    2,012
    Likes Received:
    41
    Best Answers:
    0
    Trophy Points:
    140
    #5
    I'm not sure they would slap you. Perhaps if you overdid it. I just had a new client which did this in four places on the page. I recommended to remove them only because where the insertion was placed, it didn't make any sense. It broke up the flow of the sentences and I just felt it hindered the sales pitch.
     
    Lucid Web Marketing, Sep 27, 2009 IP
  6. goliath

    goliath Active Member

    Messages:
    308
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    60
    #6
    This is simple PHP.

    You might be able to do it seamlessly with a referrer string but it wouldn't be as reliable as adding some sort of code to your links. IT wouldn't have to be the keyword, you could just use codes if you didn't want it to be plain text in the address. So ?kw=1 would mean acai juice and ?kw=2 would mean acai drink or whatever keywords you were advertising to.

    When you send a GET variable to a php script it's easy to use it in your page.

    EDIT: I put a sample file at: hxxp://adstash.com/keyword_replacement.zip
     
    Last edited: Sep 28, 2009
    goliath, Sep 28, 2009 IP
  7. jNorth

    jNorth Peon

    Messages:
    202
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Easy with php

    Like already said, append it onto the url, then read the request array in php. I don't echo it back to the user, but I tracked which keywords are working in a database. I use it all the time -- for each and every refferal.
     
    jNorth, Sep 28, 2009 IP