Forum Moderators: martinibuster

Message Too Old, No Replies

Adsense, Searched Results Pages and Targeting

How to Target Adsense best in Dynamic pages?

         

Erku

9:58 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I have lots of articles on my site and people started useing the search feature.

After cotnacting Adsense I learned that it's OK to have adsense on the pages where the searched results appear.

However, there is NO targeting.

What to do?

I used Adsense's targeting tool, but it did not help.

Obviously the page where the searched results appear is a dynamic page.

Therefore the question is, what do you think Adsense algo is first of all looking for to target the dynamic pages?

What can I do here?

Many thanks.

Erku

10:55 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Does it take time for Adsense to crawl dynamic pages as well?

Thank you.

webnoob

11:00 pm on Oct 2, 2005 (gmt 0)

10+ Year Member



well the bot wouldn't be able to crawl your search results unless it submits the form ;)

but yes, it will crawl dynamic pages fine if there aren't any sessionhash in the url..

my results are pretty relevant on the search result page..

my guess is your results aren't very specific to a topic.

Erku

11:02 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



no mine are not at all.

I don't know what to do. How did you achieve related results?

webnoob

11:05 pm on Oct 2, 2005 (gmt 0)

10+ Year Member



if someone searches for "boats" and results are returned for boats then i get boat ads.

maybe the rest of your site content is over powering the search results page, that is, there are more keywords on your header/nav/footer than what the actual search results show..

what u may want to try is remove the site layout (header, footer, etc) from the result page to see if you get better targeted ads.

Erku

11:15 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



This is actually what I have done.

In my php section I inserted

$keywords = $_POST[\'keywords\'];

In my html section I inserted

{keywords}

However in the html section I have done this.

<!-- google_ad_section_start -->
{keywords}
<!-- google_ad_section_end -->

So my hope is that it will only target the searched keyword or keyphrase. This should work should it not? If ASA is available what do you think ASA?

However, I made this targeting part only few hours ago. Will it take time? Or, doesn't matter?

Thank you.

webnoob

11:19 pm on Oct 2, 2005 (gmt 0)

10+ Year Member



sections won't work for this as these are "on demand" pages, there won't be results there unless the bot searches and the bot isn't human! so it's pointless to use sections on a search page.

is the page title correctly set?

Erku

11:22 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



No, no title at all.

So I should take the sections away?

Please tell me more, I want to learn.

for this page I am using the Global header that should generate title, but mine does not.

Therefore, how could I possibly make it in such a way that it takes the keyword or keyphrase and makes it appear in the title.

For example, if the visitor searches for "boat" the site will be like

boat - mysite.com

Or something like this.

Please give as much info as possible.

Thank you.

incrediBILL

11:33 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Think about LINKS to predefined searches, also on one site I've seen mediabot do real time targetting on a search page but not sure if that was a test situation or what.

I'm at a friends and the lawn is full of people playing banjos and fiddles, the cooler is overflowing in beer - if I survive perhaps I'll give you more hints tomorrow ;)

Erku

11:37 pm on Oct 2, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thank you very much, please help tomorrow.

predefined links perhaps will not work, since mine is a broader site.

webnoob

12:13 am on Oct 3, 2005 (gmt 0)

10+ Year Member



well, the page title is very important.. always have a page title for all pages..

something like this in the <head> section of the page:

echo '<title>my site - ' . htmlspecialchars($_POST['keywords']) . '</title>';

be careful how you echo $_POST on your pages... for security reasons. use htmlspecialchars() around $_POST variables when u echo user input.

spaceylacie

1:18 am on Oct 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



I just put Adsense back into my search results. My first try I got mainly just PSAs(many months ago) but this second attempt seems to be showing targeted ads.

The script is written in perl and easy to install(I didn't write it). Anyway, it returns pretty relevant results and you can hand manipulate the settings to get even better results through testing. If you want to try it, sticky me. The program and Adsense seem to be working well together... so far.

tebrino

1:47 am on Oct 3, 2005 (gmt 0)

10+ Year Member



You should pass data using GET method. This way Mediabot will index this page as http://www.example.com/search?keywords=boat and next time when someone search for boats, system will (hopefully) serve correct ads.

Then for title you should do something like this:

$keywords = $_GET['keywords'];

$title = "<title>Search results for" . ucfirst(urldecode($keywords)) . "</title>";

[edit] Don't forget to do some variable checking before sending query to db like webnoob suggested.

[edited by: tebrino at 1:55 am (utc) on Oct. 3, 2005]

Erku

1:54 am on Oct 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Thanks guys,

The thing is that for the title I am using the global header.

If I insert the above title code in the global header, will this not affect the other pages' titles where the global header is serving?

How would I do, so that the the title inserted in the global header will affect only the searched results page?

Thank you.

tebrino

1:58 am on Oct 3, 2005 (gmt 0)

10+ Year Member



Not sure how this app works, but can't you simply create custom header?

Erku

2:07 am on Oct 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



I can create, but don't know how.

:)) Will seek some help.

roycerus

3:57 am on Oct 3, 2005 (gmt 0)

10+ Year Member



I did this some time back:

* You need to use GET in the form so that the keywords being searched is in the URL - make sure it's just that one variable being passed through GET

* I then stored all keywords being searched in a database

* Now that I know the keywords and I know the URL construct I made a simple top queries PHP page which lists these keywords as URL's.
For ex: if the construct is [yoursite.com...]
I make a list from the database with a list of links:
<a href='http://yoursite.com/search.php?q=KEYWORD'>KEYWORD</a>

This kind of become a sitemap of search queries and adsense can get to these links anytime through the queries page - so that become static [well - in a way]

* You should also add the keyword in the title of the page and also make sure that you have a <h1> saying something like "You searched for KEYWORD"

All this will improve your ad display - it did for me.

Regards,
R

Erku

1:01 pm on Oct 3, 2005 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



You mentioned keyword in <h1>

Is <h1> necessary? Will <h3> work too?

Basically I am thinkin

Keyword in the title
Keyword in the description tag
Keyword in the <h3>

Should these bring targeted adsense ads on the searched reslts pages?

Thank you.