1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

can i put google search in iframe?

Discussion in 'AdSense' started by aadi1295, Feb 12, 2009.

  1. #1
    hello DP members!

    i have a website made in asp.net 2.0 but when i place google custom search box code in the page it doesn't work so can i put it into iframe and set target=_top ? and i have tried this and it does work. Please tell me if it against the Google TOS.

    2 Question: how many link units allowed with the three ad units with the custom search box on one page?
     
    aadi1295, Feb 12, 2009 IP
  2. lumby

    lumby Peon

    Messages:
    5
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Your ASP.NET site isn't working because .APSX pages contain form tags as part of the page which means when you click submit the form just gets posted back to itself and doesn't perform the Google search. Change the Google button to an ASP.NET button and change the postbackurl paramter to the postbackurl of the Google form.
     
    lumby, Feb 12, 2009 IP
  3. aadi1295

    aadi1295 Active Member

    Messages:
    170
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #3

    thanks for your help. but what would be th postbackurl of google? and in normal input button you can set type=submit but in asp.net you cant set that. what should i do with that?
     
    aadi1295, Feb 12, 2009 IP
  4. becoolufull

    becoolufull Banned

    Messages:
    152
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    yes you can put it
     
    becoolufull, Feb 12, 2009 IP
  5. aadi1295

    aadi1295 Active Member

    Messages:
    170
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    73
    #5
    Please answer to the 2nd question as well.
     
    aadi1295, Feb 12, 2009 IP
  6. skbcabey

    skbcabey Member

    Messages:
    158
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    26
    #6
    you can can add up to 3 text links
     
    skbcabey, Feb 12, 2009 IP
  7. durjoy

    durjoy Peon

    Messages:
    61
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    wether it is normal google ad or Link unit . you can put maximum 3 Ad in the site.
     
    durjoy, Feb 12, 2009 IP
  8. krishmk

    krishmk Well-Known Member

    Messages:
    1,340
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    135
    Digital Goods:
    3
    #8
    krishmk, Feb 12, 2009 IP
  9. easy16

    easy16 Banned

    Messages:
    114
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yes, i think it will look bad and give less clicks as i suggest.
     
    easy16, Feb 12, 2009 IP