Google now card not triggering - google-schemas

The schema which I followed on Google developers site, does not help me trigger a Google now card, I am passing JSON inside the HTML tag and sending an Event-Registration email but nothing happens. Please provide help.

If you just copy and paste the JSON example that's on the documentation, you'll see that the startDate is in 2017:
"startDate": "2017-03-06T19:30:00-08:00"
Try inputting an earlier startDate, like today for example:
"startDate": "2015-06-04T10:30:00-08:00"
Otherwise, you won't see your card until March 6th 2017. If this is not the case, could you post your markup.

Related

Not Infex by Google or Bing.com

My site is https://www.wilfredamaz.com/ In the Google console live test it says "URL is available to Google If it gets indexed and selected as canonical, it could appear in Google Search results with all relevant enhancements. It says further under coverage - Indexed, not submitted in the sitemap. Then it goes on to say - the URL will be indexed only if certain conditions are met from there onwards you must familiar with the Google conditions. It is saying something about "duplicate URL". What does it mean? Is there a solution to solve this problem? Indexing is very much overdue. It was first submitted to Google on the 5th of May and last submitted on the 12th of July. Tried to solve it by adding a code to the htaccess file. Nothing happened. Please help.

Autosuggest and get timezone in detail

Is there any possibility to get timezone (IANA) in place detail after confirm autosuggest place?
I have a text field with autosuggest api. After user confirms one of the results, there is second request to Here API and I need timezone name in place details.
In my first version I used this endpoints:
autocomplete.geocoder.ls.hereapi.com/6.2/suggest.json
and for second detail request this:
geocoder.ls.hereapi.com/6.2/geocode.json
with locationattributes=adminInfo,timeZone and everything was OK, timezone was in response.
Now I am trying to switch to v7 of Here autosuggest API and I have a problem, I am not able to get timezone in my second (place detail) request (I am using lookup api).
And if I tried to mix versions - take place ID from first request (autosuggest api) and use it for geocode 6.2 - it is not valid.
The timezone option is not supported in Geocode and Search API V7 currently.
We will confirm that we can support the option timezone in the futuer.
For second question please see the part "Follow-up query" in documentation below.
There is lookup rest api v7.
https://developer.here.com/documentation/geocoding-search-api/dev_guide/topics/endpoint-autosuggest-brief.html

Email Schema Markup

I am currently experimenting with some Rental Car Reservation Email Schema and also Go-To Action Email Markup. About a year ago, I played around with the code and used Apps Script Quickstart Guide to test the markup. The tests worked as expected and I was getting all sort of great results in email. Specifically, I was seeing action buttons and, when in Google Inbox, all sorts of cool treatments of the reservations. I also saw my tests come through on "my car rental" queries in Google.
Today, I went ahead and redid my test, and some of the results were not the same. First off, I am unable to replicate the action buttons. My theory is that perhaps these were discontinued with the new version of Gmail. As for Google Inbox, those are still coming through. However, with Google Inbox slated to be discontinued in March 2019, this matters very little to us now. Lastly, my "my car rental" queries are not pulling in any results.
Is anyone able to confirm that email markup is still relevant? Google's documentation hasn't been updated since 2017, so it would be great to know before going through the effort of implementing the markup.
Thanks!

Youtube v3 api PublishedAfter search

I'm trying to retrieve videos posted last 10 minuttes , but query is retrieving videos from 2015
https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=25&publishedAfter=2018-02-13T23%3A10%3A00Z&q=surfing&key={MyAPIKey}
After looking around in forums, only advice I found was try to add the PublishedBefore option, but that did not help either.
I used your example and get the 2015 results, but it looks like your datetime is in the future. How did you calculate the datetime?
I just now used format 'Y-m-d\TH:i:s\Z' for '10 min ago' and the time is quite different. This link returned the expected results.
https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=25&publishedAfter=2018-02-13T14%3A14%3A58Z&q=surfing&key={MyAPIKey}
So even though I responded 13+ hours after your post, my datetime is still about 9 hours before your example.
I managed to get this working. Here's the things you can double check. Make sure you are providing the correct date format as can be seen in the publishedAfter in the search.list:
2018-02-12T00:00:00Z
Also make sure the API Key you're using has the Youtube Data API "ENABLED" in your google dev console.
So, using your exact URI request, it looks like this:
https://www.googleapis.com/youtube/v3/search?part=snippet&maxResults=25&publishedAfter= 2018-02-12T00:00:00Z
&q=surfing&key=API_KEY
Our URL is below:
https://www.googleapis.com/youtube/v3/search?part=id%2Csnippet&maxResults=40&channelId=xxx&type=video&order=date&publishedAfter=2019-03-14T00:00:00Z&fields=items%2Fid%2Citems%2Fsnippet(title%2CpublishedAt)&access_token=yyy
Note I have replaced our Channel ID and Access Token with substitute values for this post.
The publishedAfter parameter is not working and has never worked for us. This wasn't a problem until the March 15-16 timeframe when something changed w/ the YouTube API and the order parameter is no longer being considered by their service. Since that time, all videos are being returned by their API in order of upload date (for us, this means starting w/ 2015).

API for Google Docs Viewer

Please refer the below thread from Google Documents List API Group and someone please suggest me a solution.
Hi again Jags,
Sorry, I missed one thing, you might be able to use the embed link, i.e. that link with rel http://schemas.google.com/docs/2007#embed. That will give you a link to embed the resource.
Regards
On Tue, Mar 27, 2012 at 10:59 AM, Ali Afshar wrote:
Hi Jags,
Sorry, there is no real API there as such to do what you want to achieve. You should probably export it as a format that you can embed in your page.
Regards
On Sat, Mar 17, 2012 at 3:18 AM, Jags wrote:
Hi,
Can someone help me in figuring out if there is an API available to use Google Docs Viewer where I want to upload a document and it should give me a Google Docs View Url for the document so that I can embed it in our website. Currently in Docs Viewer, the only option I find is viewing a publicly available document by passing the url for it as a param as in http://docs.google.com/viewer?url=xxxxxxxxxx. Is this the only way that I can view in Google Docs. Please someone assist if I missing something.
If this isn't possible by Docs Viewer is it supported in Google Docs where I'll upload it to user's google account and thereafter even the author of the document should have just a VIEW only option for the document.
TIA,
Jagadeesh
Now can someone please provide me a Java sample code to set the 'xmlns' as 'http://schemas.google.com/docs/2007#embed' to the document entry. I am getting an InvalidEntryException.
com.google.gdata.util.InvalidEntryException: Invalid request URI
GDatainvalidRequestUriInvalid request URI
So please suggest me a possible solution to resolve this.
+1 to this one
Blockquote
Now can someone please provide me a Java sample code to set the 'xmlns' as 'http://schemas.google.com/docs/2007#embed' to the document entry. I am getting an InvalidEntryException. com.google.gdata.util.InvalidEntryException: Invalid request URI GDatainvalidRequestUriInvalid request URI So please suggest me a possible solution to resolve this.
After reading this thread, even I'm looking for a java example ob how to set the 'xmlns' as 'http://schemas.google.com/docs/2007#embed' to the document entry.

Resources