Google custom search results published date - google-api

The published date of the results can be displayed on Google search in a browser by using &as_qdr=y15. Example Link
I need to get this information on the google custom search API
https://www.googleapis.com/customsearch/v1?key=KEY&q=pala%20jewellers%20cannon%20park%20coventry
The API pulls the article:published_time when available on the webpage but this not available for all the pages so Google also estimates a page date based on features of the page such as dates in the title and URL.
How to get Google estimated page date from the Google Custom Search API?

The Custom Search API returns metadata of a page only if it is mentioned in its HTML source. You could have a look at my answer to Get Date From Google Custom Search API.
The date displayed in the browser might be the day Google discovered and indexed that page. Or it could be the output of a smart-scraping of the page (i.e. by looking for keywords like "last updated" or "published on" in the content of the page).

Related

Accessing Google Sheets / Documents Blame API

We have a pretty deep integration with Google Sheets API going where I work, and last year they added an option to "blame" or pull the cell history from a given cell.
It pulls up a URL like: https://docs.google.com/spreadsheets/u/0/d/$docId/blame?token=$tokenId&includes_info_params=true for each request and that returns a little json document with the blame information.
I have not been able to find how to generate a token ID myself - which I think identifies the specific cell I have clicked.
Has anyone integrated with the blame API? I cant find any docs for it in the API search pages.

show google places api reviews on my site

I have a review site where user can search using google places api autocomplete textbox to find a specific business and write reviews for it on my site.
The google api returns back bunch of stuff along with 5 reviews for the place searched.
is it ok for me to show the reviews the api returns on my site?
Edit:
If yes,
do i need to put a disclamer or give credit to google for the
reviews shown?
google place api also returns the review's author name, can i to
show it? do i need any permission?
is it ok for me to copy the google api reviews to my site?
If you are showing a Map, along with that data, the Map must be a Google Map(i.e. that data cannot be accompanied with openstreetmap etc.)
If you are only displaying the reviews, you must show "Powered by Google" with them.
If your application displays Google Places API Web Service data on a map, that map must be provided by Google.
If your application displays Google Places API Web Service data on a page or view that does not also display a Google Map, you must show a "Powered by Google" logo with that data. For example, if your application displays a list of places on one tab, and a Google Map with those places on another tab, the first tab must show the "Powered by Google" logo.
More details here: https://developers.google.com/places/webservice/policies

Get the google plus URL based on place_id of Google Places API?

How can I get the plus.google URL page of the corresponding google place based on the place_id I obtain from the json the maps.googleapis.com/maps/api/place returns?
Perhaps you can use the Place Details api using the place_id?
https://developers.google.com/places/documentation/details
This seems old post now but wanted to add some more details. 'places' details API provides google plus URL:
Quoting from https://developers.google.com/places/documentation/details:
url contains the URL of the official Google page for this place. This will be the establishment's Google+ page if the Google+ page exists,
You once you have place_id, use:
https://maps.googleapis.com/maps/api/place/details/json?key=your_key&placeid=interested_place_id
And look for 'url' key.
Its a different question if you want to extract details from that page. I do not know if google has API for this.

Get Google Page main photo?

I am using Google Places to render some hotels from a specific area in a website. I was able to get the details like:
https://maps.googleapis.com/maps/api/place/details/json?reference=CoQBfAAAAGnd67oCT886cIfOC8m57hGAHyf9saAs8hueRcbguA22mPcazjkk23BWMUOgvrigofuwM1HfRGpLcFtF1WXxv3_n8gb6WgXfaqQFbA0U4_ytSyLyksipx2tjwWU-3EW39ePYtpYhiCwRq9xlNI72Ah4Wv0WytqiJOTF49iTBwCD9EhD1ez5NJDr-pZMI9WagObi3GhQmn9Dum95KN61ZKamJ27wUoJxjvQ&sensor=true&key=[google_key]
If you see the result, it also has a url to official google page.
Is there any way to get the photo of this place from there?
Because the icon parameter does not have the image from here but a specific google image which is the same for all lodging types places.
The Google Places API does not currently support this feature. If you believe this would be a useful feature you can submit a `Places API - Feature Request' here:
http://code.google.com/p/gmaps-api-issues/issues/entry?template=Places%20API%20-%20Feature%20Request
Google Places API Photos like Google Maps Photo. It is not Business Photo.

magento and google adwords/organic search conversion

Basically I'd like to know what is the conversion rate of customers coming from both google adwords and organic search and actually buying something on magento based webshop. Is there a way to do that? I already have google analytics on the website.
If you have auto-tagging set up for your adwords & analytics account, you can get that information easily.Once you login into Google Analytics,you can go to traffic sources--> Overview ,and you will see top traffic sources.
If you click on view full report, you can see the data that you are looking forward to.

Resources