We've moved.
Visit our new home for news and updates from AdSense
Inside AdSense
Google's official blog for news, tips and information on AdSense.
Troubleshooting your AdSense for search box
otrdiena, marts 23, 2010
We hope you found some useful tips in our troubleshooting series for AdSense for content. Today, we’ll take a look at some tips for implementing your
AdSense for search
box, to avoid some common issues.
Are your search results hosted on your own webpage?
When implementing your AdSense for search box, you have the option to display the search results either on a site hosted by Google or on your
own webpage
. If you choose the second option, make sure you select an existing site to host the results, such as www.example.com/searchresults. Once you've selected a site to display the search results, hit 'Submit and Get Code' and you'll generate two sets of code:
The first is for the search box, to be implemented on the site where you would like to place the search box
The second piece of code has to be pasted on the results page
Please be sure not to place the two sets of code on the same page, as this will prevent the search box from working correctly. Also, note that the option to host the result on your own page is not available for Blogger sites.
Is your AdSense for search code nested within FORM tags?
A form tag is used to create an HTML form for user input, such as text fields, buttons, and checkboxes. The code you receive for your search box uses an HTML FORM to submit the search queries. In order for the AdSense for search code to work properly, it can't be nested within another set of FORM tags on a page. To implement the AdSense for search feature on your page, please paste the code into your pages
outside of any existing FORM
.
Posted by Ulrike Jung -
Inside AdSense
Team
Iezīmes
#GlobalSpotlight
2
#SuccessStack
9
Active View
9
Ad formats
22
Ad layout
6
Ad Placement
2
AdSense
5
AdSense Anniversary
15
AdSense features
231
adsense guide
14
AdSense In Your City
22
AdSense Interface
61
AdSense Team
31
AdSense101
13
AMP
3
AskAdSense
4
Audience Engagement
4
Beginner's
1
Best Practice
22
Beta
1
Case studies
99
Certified Partners
4
Content strategy
23
DoubleClick
17
download
3
Earnings/Reports
70
eBook
3
Education
4
engagement
1
Facts and Fiction
11
FAQs
1
Feedback
10
Google Analytics
7
Google's Certified Publishing Partner
3
googlenew
13
Guest Blogger
4
Help
2
How to avoid policy violations
1
India
1
infographic
3
International
118
YouTube
3
Learn with Google for Publishers
17
Matched content
6
micro-moments
5
Mobile
67
Mobile optimization
3
Multi-Screen
32
Native
1
native ads
4
Newbie
32
Optimal ad placement
1
Optimization
165
Other
245
Other Google products
106
Page-Level
1
PageSpeed
10
Payments
62
Pakistan
1
Passion into profit
8
Policy
2
Pop-Unders
1
Pop-Ups
1
Product update
11
Program Policies
79
Programmatic
1
Social
19
Support
10
Tips
37
Urdu
1
User Generated Content
1
Video
41
Viewability
13
Webinars
15
Archive
2019
okt.
sept.
aug.
jūl.
maijs
febr.
janv.
2018
dec.
nov.
okt.
aug.
jūn.
maijs
apr.
marts
febr.
janv.
2017
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2016
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2015
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2014
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2013
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2012
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2011
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2010
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2009
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2008
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2007
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2006
dec.
nov.
okt.
sept.
aug.
jūl.
jūn.
maijs
apr.
marts
febr.
janv.
2005
dec.
nov.
okt.
sept.
aug.
Feed
Subscribe to receive posts via email:
Visit this group
Follow @adsense
Useful links
Get started with AdSense
Sign in to your account
AdSense Help Center
AdSense Help Forum
Related Google products
AdMob: Monetize your app
DoubleClick for Publishers Small Business
Google AdWords
Google Analytics
Give us feedback in our
Product Forums
.