Google Custom Search Element: Styling Ads - adsense

I added a Google Custom Search Element to my website. I already modified the look and feel of the CSE to my website, but I can't modify the look of the ads element since it is inside an Iframe.
Does anybody know how to set-up the style of the ads Iframe? I want do put in a background color and change the font.
Thanks!

This feature seems to be available only for Google Site Search customers. If you are one, you'll be able to recieve your search results as an XML feed, and apply a presentation layer on the raw data. All the details on how to do this are available at the official Google Custom Search site.

You can try this api for AdSence search - https://developers.google.com/custom-search-ads/docs/implementation-guide?hl=en , but you can't make ads view like search results.

Related

Rich Snippets Questions

I am introducing rich snippets on my site and have some questions I can't find solution:
Do I need to put main company snippet only on mainpage or all pages (contacts, social networks, etc) - I mean copy the code on all links?
How do I do the beauty two columns snippets with the main site links, and how do I define what these main links are? - Example when we search Facebook we see: Facebook Login, Facebook Register, Facebook Profile, etc... all with a brief description below. Are there the separate pages that contain snippet and google identifies the most relevant? What code to put on each page?
If you are trying to add knowledge graph items you just need to markup your homepage only. For individual rich snippet items like star ratings, breadcrumbs etc you'll have to mark each page for them to show up for all of your search results.
Contact and Social profiles as you mentioned are knowledge graph items.
In the second part I am assuming you are referring to the links below the branded search result. The are not rich snippets but are rather called sitelinks and are generated if you have good on-site structure and internal linking. Sitelinks are picked by Google itself and you have little control over them.

Google Custom Search - filter data from within a page

I am using Google Custom Search to enable users to search within my website. I have one page that displays a list of references (to scientific publications) as well as other content (dynamic). I would like to display the results so that references including the search term are filtered into their own tab - but I can only see how to label a whole page, not just a section of a page. This means I can filter for 'references', but get other content in my results, not just the references. Is there a way of doing this?
Yes, its possible I suppose. And I had done it sometime back and it had worked as expected. Have a look at these links -
Tech Republic Set up Google Custom Search and
Google Custom Search

Dynamically search for Facebook pages on my site

I would like to have a search box on my site that works like the Facebook search box, but searching only for Pages.
I know that using the Graph API I can do searches like these:
search?q=London&type=page
and it will return a list of pages related to the keyword "London".
The difference is that I would like it to be dynamic. So that when the user starts typing "Lon" it starts suggesting pages. How can I do it?
Well the most straightforward is that you just call the API as the user types
search?q=L&type=page
search?q=Lo&type=page
search?q=Lon&type=page
search?q=Lond&type=page
search?q=Londo&type=page
search?q=London&type=page
And update your app view after each API call.

How to define what will be inserted in share message?

I have an app with blog records per each user. I have add share button to my app, to give ability to post interesting blog records to users time line or to send to other user. But in default it takes image and text for share as it wants and not always correctly. So I find out that it can be dirven by meta tags (using for example "image" property to set image for share dialog). That's work ok on main page (where I'd like to make ability share with whole application), but on pages of blog records I cann`t customize it. meta tag should be in , but all info (short text and image of blog post) I get later in body, so I can insert it. How can I manage with this? Or may be there is another way to share content with?
What blog engine are you using? If it is a wordpress - try this plugin http://wordpress.org/extend/plugins/facebook-share-new/ from offician facebook docs http://developers.facebook.com/docs/. Otherwise I'd suggest to find a facebook plugin for your blog engine using google and install it.

Can we decide what should be our sitelinks in google?

I have a maths related site and google created the sitelinks for my site ,
:) :) google is giving my site some priority
and i'm using the google web master tools
And there is an option to block any unwanted links from that list...
But the sitelinks are not exactly the subcategories of my site.
Can we decide what should be our sitelinks in google?
Note: I tried to create a new tag as 'google-sitelinks' but without reputation i could not create such one.
From webmaster tools:
Google generates these links
automatically, but you can remove
sitelinks you don't want.
You cannot add your own, but you can remove them.
View this page on webmaster tools for more info.