Cross Check Google Forms and Google Sheets - validation

So I am having a bit of a problem. I am currently making a google form sign up sheet. The only thing is I only want people to have the ability to sign up for certain things if they meet a certain criteria stated in our google sheets document. Currently, I have a spreadsheet email list, of everyone who has been approved. When filling out a google form I want it to block someone from signing up for a spot if they don't meet the approval criteria. Here is an example question.
If the volunteer is not registered in our google sheets database to be a driver then I want the google forms to block them from choosing that option. I understand script for the most part, I am just unsure how to link the two together. Please let me know if this is possible. If it is, then any help you can provide would be greatly appreciated.

Related

How to get place description using Google API or any other API?

I am using Google API to get the place information and store it into database. Using Google API I am able to get address, opening hours, rating and reviews as shown in below image.
But, I am not able to get place description which is highlighted in below image in red circle. ("Quaint Italian mainstay for deep-dish, Chicago-style pizza, calzones, pastas & hot dogs.")
I want that information in my application. I think google is taking those information from
Freebase https://developers.google.com/freebase/guide/basic_concepts
Wikipedia https://www.mediawiki.org/wiki/How_to_contribute
But I am not sure.
Can any one help me suggest me that how I can get that information or any other API that I can use to get that information based on google place_id.
Any help would be highly appreciated.
Thank you
Accordingly to the documentation and #xomena, currently you cannot obtain this data via Places API. There is a feature request in Google issue tracker to make the detailed business type available in Places API, however Google doesn't expose any ETA (estimation time of arrival:
https://issuetracker.google.com/issues/35822953
Feel free to star this feature request to express your interest and subscribe to notification from Google.
To my knowledge it is not possible to get this information from the Google Places API. The API documentation does not display the venue description. Try to have a look here: https://developers.google.com/places/web-service/details (it might be that Google does not share all information from their platform with other developers..).
I would suggest you to do one of the following (or perhaps both):
Scrape Google the old school way; i.e. by getting the information from the HTML. There is a quite decent guide for doing that here (you would of course have to adjust the example to scraping Google instead): https://medium.freecodecamp.org/how-to-scrape-websites-with-python-and-beautifulsoup-5946935d93fe.
What I would recommend and which probably is the fastest: enrich your current data with other data. You could e.g. use Foursquare and search for the places you get from Google. It should be possible to get the description for each place on Foursquare. See here: https://developer.foursquare.com/docs/api/venues/details. If you have problems with matching the places after your query has returned, because the venue names are not exactly the same - but close, then you could use an algorithm to match strings that are close; perhaps using the levenstein distance (https://en.wikipedia.org/wiki/Levenshtein_distance).

Yammer Analytics API

To give an context, we are trying to achieve reporting functionality based on the Yammer activity/usage information.
Questions
We are not able to find any Analytics API in the link https://developer.yammer.com/documentation/ except Data Export API. Please let us know if we have any other API related to usage Analytics.
Is there any way to execute our query against yammer big data for us to get the usage information?
• The data export is not providing the information such as ‘like’, ‘share’ and ‘followed by’. Is there any other way to export yammer data including these missing items?
How to remove the deleted entries from the past collection just in case if we are going to do periodic data export?
How the third party tools companies like ‘good data’ will contact yammer for analytics data. This will help us to find the approach involved in this.
Can someone help us on this.
have you tried this : http://blogs.msdn.com/b/richard_dizeregas_blog/archive/2014/04/09/yammer-analytics-with-excel-and-power-bi.aspx Yammer API and Excel 2013 for bigger data..
Having said that - I think the tool is currently broken as I seem be be able to download 114% of my stats, then get some blank CSV files which then fail on power pivot.
You need to be a verified admin to access this tool.
Cheers
Rich
About Question 2
There are good ways of doing it through the API. You can use Excel and PowerQuery or a home made .net data extractor. Like, Share and followed By are possible with the API but not with the useless Data Export feature. Be aware the API have some issues when trying to retrive all data. I'm currently trying to get these issues fixed.
About Question 4
They need the account of a trusted admin. Thanks to a Token they will be able to access all your networks messages and provide you most of the Analytics you need.
They have good webinards for their tool. Only issue is that they copy your data in their environment in the US (is not acceptable for European customers).

How to get adsense ads to use context hints and refresh on ajax site

This may really be two separate questions, except that there may be some dependency between the two solutions.
What I have is an ajax site, and I would like to show google adsense ads that are relevant to the search terms that people type in on my site.
So if someone searches for 'cheese' on my site, I want to refresh the google adsense ad AND sent it the hint 'cheese', so that it shows results relevant to cheese, and I want to do this without refreshing my page ie do it through ajax.
I'm signed up to adsense, and can get regular ads to show. I'm also signed up to google dfp and can get those ads to show. I've been googling for an hour and made no progress in figuring out what to do next. Very grateful for any help anyone can offer! Thanks!
I don't know much about adsense sorry but as far as DFP is concerned you should be able to work out everything you need to do from the docs here: http://support.google.com/dfp_premium/bin/answer.py?hl=en&answer=1650154&expand=pubservice_details#refresh
You probably need to look at the clearTargeting, setTargeting and refresh methods.

Google Places API - Submitting reviews

I am researching whether the following is possible and if so how I could go about achieving it.
We collect reviews for businesses from their customers and we’d like to post these reviews to Google places as part of the reviews they have on their.
I was wondering how I would go about getting our website to “push” this data to the Google places website, I’ve done lots of searching on the APIs but have found nothing that says it’s possible or not.
Currently the Google Places API does not have write capability. It only has read capability. Right now only ratings are available, but I suspect reviews might come someday too.
Although you can send check-in signals and fix Places through the API. Hopefully Google will add the ability to send reviews and receive them.
If you're looking to get your content added to Google, you may want to talk to their content partnerships teams http://www.google.com/support/mapcontentpartners/
Since Google's local and maps initiatives are under the same people that would be the place to go.
I too looked into this as it would be of huge value to companies if possible.
My research led me to believe that it is not possible and could possibly violate Google's TOA with negative results for the company's Places page.
Instead, I built a workaround that makes it really easy for companies to collect feedback and get their own customers to submit the reviews: http://dallasmarketingservices.com/survey-local-unveiled-how-online-reviews-affect-your-local-business/
Maybe we will see this in the future though.

What algorithms do GMail/Facebook use to serve context relevant ads?

GMail serves some really good ads on the column on the right of the email text. Same goes for Facebook. The ads which I see on Facebook are often (very) relevant to what interests me. Obviously they preprocess the information available to them. GMail scans the text of my email, extracts keywords and then serves relevant ads. The same goes for Facebook. They have a lot of user specific information available to them. So I would imagine they preprocess all of it, before generating any ad recommendations.
Does anyone know of what specific algorithms do those systems use?
Facebook, at least, doesn't seem to do any context analysis. Instead, when you buy an ad, you select who will see it based on their location, age, pages... and Facebook will try to show your ad to all those people (ads for a given person are sorted based on how much the advertiser wishes to pay to display it, and only the first few ads are shown).
Try creating an ad, it's extremely interesting (and you can get pretty far before they ask you for your credit card number).

Resources