google-schemas

How to add PayPal like structured data to Google email markup?

南笙酒味 提交于 2019-12-12 06:19:30
问题 I was wondering how to achieve same email structure as PayPal has. It looks like this (in Google's Inbox): But I can't find right type for it here: https://developers.google.com/gmail/markup/reference/ Any idea how to achieve the PayPal-like markup? 回答1: Using schema.org/Invoice and schema.org/PayAction, I was able to get the email structure that you've posted from PayPal. It also generated a "View Bill" button, which only shows in Inbox and not Gmail. Check out my example script below. The

Testing microdata in Gmail doesn't work

时光怂恿深爱的人放手 提交于 2019-12-12 01:55:49
问题 I've found some interesting pieces of code on Google Schemas and I know that the only way to test it without being whitelisted is sending mails to yourself, but my problem is that even that doesn't really work for me. I've tried countless examples in both formats, but only the Flight Reservation and the Go-To Action are working at all... Even though I let everything run through Google's markup validator before testing and it turned out to be valid. So... does anyone know if this is an error

Email markup not working

丶灬走出姿态 提交于 2019-12-12 01:28:33
问题 I'm trying to send a Flight confirmation email with markups in order to get highlighted the flight information in Gmail. This is the markup: <script type="application/ld+json"> [ { "@context": "http://schema.org", "@type": "FlightReservation", "reservationNumber": "PNR TEST", "reservationStatus": "http://schema.org/Confirmed", "underName": { "@type": "Person", "name": "Prenom Nom" }, "reservationFor": { "@type": "Flight", "flightNumber": "2712", "airline": {"@type": "Airline","name": "IBERIA"

Will the Gmail Offers Publisher Name override Sender Name?

China☆狼群 提交于 2019-12-12 00:56:35
问题 In the specification for "Offer with publisher details," there is the requirement for a Publisher Name. Will that override the actual Sender Name from the email header, or, if not, how does the Publisher Name factor in? 回答1: The publisher.name property is currently not used, and the sender name is taken from the email headers. Similarly, the publisher.url property is not used at this time, while publisher.url/googlePlus is used to link the email sender to the Google+ page and extract the logo

Actions Tutorial does not work despite SPF validation

我们两清 提交于 2019-12-11 21:14:38
问题 I can't get this to work https://developers.google.com/gmail/actions/apps-script-tutorial I'm following it verbatim. When I receive the email from the script (from myself) the Action button is not visible in the inbox. When I view the original message, I see: Received-SPF: pass (google.com: domain of 3tNFeUggICGscKRPPRWbJTaO.LXVcKRPPRWbJTaO.LXV@maestro.bounces.google.com designates [my network IP address] as permitted sender) client-ip=[my network IP address]; I haven't registered yet / our

Gmail Action Schema changes

旧巷老猫 提交于 2019-12-11 16:26:05
问题 I was able to successfully register for Gmail Markups, but when I clicked on the Gmail action button, the bearer token doesnt appear in my backend at all, and gmail displays this message: Unable to send request to mywebsite.com. But when I try sending it through curl, using the bearer token gotten from google app engine. It works correctly but shows an error message! Here's the schema I got from show Original that was in the email. <script type=3D"application/= ld+json">{"@context":"http:/

Add multiple google schema ConfirmAction

孤街醉人 提交于 2019-12-11 10:58:35
问题 I am working on a project that would require some authorized users to 'Approve' or 'Reject' a request. I would like these actions to be performed right from the user's inbox. Is it possible to add more than one ConfirmAction that will be disabled once one of them is clicked. If yes, kindly provide a sample markup. 回答1: Gmail only supports a single action. If you specify more than one action in your markup, only the first will be rendered. Thanks for describing your use case, though, we plan

Google email markup not showing

五迷三道 提交于 2019-12-11 04:56:52
问题 I'm trying to make a simple view action using Email markup from Google inside my emails (https://developers.google.com/gmail/markup/reference/go-to-action#view_action) I use this ld+json inside my email template <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": http://google.com", "url": "http://google.com", "name": See ticket" } } </script> I used Google email markup tester to valid this code.

Google-Schemas: Sender Image

一曲冷凌霜 提交于 2019-12-10 23:24:10
问题 How do I get my G+ profile/logo to display as the sender image in Gmail's new grid view? I added the Google-Schema markup to my emails. When I test my email, the 'featured image' is displaying properly but I can't get the 'sender image' to display. What am I missing? <div itemscope itemtype="http://schema.org/EmailMessage"> <div itemprop="publisher" itemscope itemtype="http://schema.org/Organization"> <meta itemprop="name" content="Restaurant.com"/> <link itemprop="url" href="http://www

how can i send a json+ld schema.org email to myself in gmail

China☆狼群 提交于 2019-12-09 16:30:51
问题 gmail recently announced schema.org support for in-app and one-click actions. They note that one can immediately test out the schema by sending an email from oneself to oneself i.e. from x@gmail.com to x@gmail.com (1) My question is how do i send an email with the json+ld schema.org markup - I can only send text and/or html and if i try to send using mailgun / sendgrid etc. than the email won't be from x@gmail.com So, how do i test this?? (1) https://developers.google.com/gmail/schemas