1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Can't get adsense on maps in wordpress

Discussion in 'BlackHat Lounge' started by kawamaster, Sep 19, 2010.

  1. kawamaster

    kawamaster Registered Member

    Joined:
    Oct 3, 2009
    Messages:
    91
    Likes Received:
    34
    Hi there,

    I want to have a map like this
    Code:
    http://code.google.com/apis/maps/documentation/javascript/v2/examples/adsmanager-adunit.html
    On one of my wordpress blogs so i can show adsense on the map itself.

    Somehow i can't get it to work.
    Anybody care to give me some pointers?
     
  2. edgematch

    edgematch Elite Member

    Joined:
    May 24, 2010
    Messages:
    2,538
    Likes Received:
    1,949
    Occupation:
    You can never guess!
    Location:
    :noitacoL
  3. kawamaster

    kawamaster Registered Member

    Joined:
    Oct 3, 2009
    Messages:
    91
    Likes Received:
    34
    Thanks for that. Seems a little to much for my technical knowledge

    I tried to alter the sourcecode of the example i added with my own api key and then posting it in wordpress but without any effect.
    Is it more complicated than that or does WP simply don't work with google maps api?
     
  4. edgematch

    edgematch Elite Member

    Joined:
    May 24, 2010
    Messages:
    2,538
    Likes Received:
    1,949
    Occupation:
    You can never guess!
    Location:
    :noitacoL
    Of course it works. You just have to play with the code a bit.
     
  5. kawamaster

    kawamaster Registered Member

    Joined:
    Oct 3, 2009
    Messages:
    91
    Likes Received:
    34
    Ended up putting everything on a seperate HTML file and iframing it.

    Works pretty nice.

    Thanks for your thougths