このページでは、属性と子要素の説明、値、要件について説明します。これらの値は民泊施設のみに適用されます。
一般的な XML 構造は、ホテル リスティング フィードと同様の形式です。ホテルリスト XML リファレンスをご覧ください。
以下の必須項目が含まれていない場合、リスティングは自動的に無効になります。
- 必須の XML 子要素:
id、name、latitude、longitude、address。 - 必須属性:
capacityとwebsite。リスティング フィードの民泊施設の直接リンクを参照してください。これにより、ユーザーは宿泊施設のウェブサイトにアクセスできます。
必須の XML 子要素について詳しくは、XML 子要素をご覧ください。
民泊の詳細については、民泊固有の属性をご覧ください。
最後に、Google が他のソースから属性の値が民泊リスティングのフィードで指定されている値と異なると判断した場合、Google はリスティングの値を表示します。たとえば、リスティングの写真からキッチンがあると判断されたにもかかわらず、kitchen 属性がないか No に設定されている場合、Google はそのリスティングにキッチンがあるとみなします。これらの属性は「推定属性」と呼ばれ、推定の精度に高い信頼性がある場合にのみ表示されます。
<review>
ユーザー レビューまたはエディタ レビューが含まれます。<listing> 要素にリスティングのすべてのレビューを含める必要はありません。この要素は、このリスティングの特長や品質を示す特定のレビューを含めるためのものです。
<review> 要素は、ホテルリスト フィードの XML 階層の次の場所にあります。
+ <listings>
+ <language>
+ <listing>
+ <content>
+ <review>
構文
<review> 要素の構文は次のとおりです。
<?xml version="1.0" encoding="UTF-8"?>
<listings ... >
<listing>
<content>
...
<!-- Specify <review>'s child elements in the order shown below. -->
<review type="editorial">
<link>review_link</link>
<title>review_title</title> <!-- Title is for reviews of type "editorial" only -->
<author>review_author</author>
<rating>review_rating</rating>
<body>review_text</body>
<date>review_date</date>
<servicedate>review_servicedate</servicedate>
</review>
<review type="user">
<link>review_link</link>
<author>review_author</author>
<date month="MM" day="DD" year="YYYY"/> <!-- Date is for reviews of type "user" only -->
<servicedate month="MM" day="DD" year="YYYY"/> <!-- Service Date is for reviews of type "user" only -->
<rating>review_rating</rating>
<body>review_text</body>
</review>
</content>
</listing>
</listings>
属性
<review> 要素には次の属性があります。
| 属性 | 必須 | 説明 |
|---|---|---|
| type | Required | レビューのタイプ。次のいずれかの値に設定します。
|
子要素
<review> 要素には次の子要素があります。
| 子要素 | 必須かどうか | 型 | 説明 |
|---|---|---|---|
| <link> | Optional | string | レビューへのリンク。この要素には「http://」または「https://」を含めます。 |
| <title> | Optional | string | (エディタ レビューのみ)レビューのタイトル。 |
| <author> | Optional | string | レビューの投稿者(例: 「Susan von Trapp」)。レビューにクレジット表記がない場合は、レビューが表示されているウェブサイトやパブリケーションの名前にすることもできます。 |
| <rating> | Optional | string | レビューのスコアを表す 0 ~ 10 の浮動小数点数。例: 「8.9」。 |
| <body> | Optional | string | レビューのテキスト。この要素には HTML を含めないでください。 |
| <date month="MM" day="DD" year="YYYY"/> | Optional | Object | (ユーザー レビューのみ)レビューの日付。この要素の次の属性を使用して指定します。
たとえば、2023 年 6 月 7 日は次のように記述します。 <date month="6" day=">7" year="2023"/ |
| <servicedate month="MM" day="DD" year="YYYY"/> | Optional | Object | (ユーザー レビューのみ)レビュー投稿者がレビュー対象のリスティングを訪問した日付。形式は <date> と同じです。
たとえば、2023 年 6 月 7 日は次のように記述します。 <servicedate month="6" day=">7" year="2023"/ 最低限必要である <servicedate> の年と月が指定されていないレビューは、表示されないことがあります。日は必須ではありません。 |
例
次の例に、エディタとユーザーのレビューを含むリスティングが含まれるホテルリストの一部を示します。
<?xml version="1.0" encodin>g<="UTF-8"?
listings xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.gs>tat<ic.com/l>oc<alfeed/lo>cal<_feed.x>sd&qu<ot>;
la<ngu>ageen</lan>guage
list<ing
> id<123456/id
nameMy Ap>artment</name
address form>at="simple"<;
co>mponent< name="addr1&quo>t;1 Sandsto<ne Buildin>g/compo<nent
component name=&q>uot;c<ity"L>os Ange<les/component
compo>ne<nt name=&q>uot;p<ostal_co>de&qu<ot;9021>0/<componen>t
< component name<="pr>ovinc<e"CA>/component<
/addr>ess
< country>US/country
<latitu>de40.<730610/l>atitu<de
lo>n<gitude-73.935242/longitude
phone type="main"123>45678</phone
> cat<egoryhotel/category !--> You can <use >whatever property type categories you wis<h --
> conte<nt
> text type="descrip<tion&q>uot;
< >linkhttps://examplelisting.com/listings/12345/link
< >span>title3 bedr<ooms with ocean views/title
>bodySta<y in >this ne<wly renovated 3BR house> with oce<an v>iews./body
date month=<">;7" <day=&>quot;23" year="<;2023&>quot;/
< >span>/text
r<eview t>ype="<;edito>r<ial&quo>t;
< >span>linkhttps://example.com/revi<ews/4>2/link
< > titleA< little piece of h>eaven/tit<le
> authorEXAMPLE.COM/author
< <>/span>rating8/ra<ting
> bodyThis< place >is really< good.>/<body
> /revi<ew
> review type="user"
linkhttps://ex<ample>person.or<g/reviews/82/link
authorSus>an von Tr<app/author
rating6/rating
b>odyNot <a bad p>lace, b<ut I prefe>r to be c<loser t>o the beach./body
< date da>y="6<" month="7">; y<ear="20>23"/<
servicedate day=">;1<6" mont>h="<;6" ye>ar=&quo<t;2023"/
/review
attribut>es
< >span>websitehttps://hote<l.exa>mple.com/<websi>te
client_<attr n>ame=&qu<ot;rat>ing&q<uot;8.2/>cli<ent_attr>
< >client_attr name="num_reviews"14/client_attr
/attributes
image type="photo" url="https://image_url"
linkhttps://image_url/link
titleMain hotel picture/title
/image
/content
/listing
...
/listings
attribute_name プレースホルダの値
次の表に、<client_attr name="attribute_name"> 要素の attribute_name に有効な値の一覧を示します。ただし、独自の attribute_name がある場合は、それを提供することをおすすめします。
attribute_name の値 |
必須かどうか | 説明 | 有効なコンテンツの値 |
|---|---|---|---|
| capacity | Required | 宿泊施設で対応可能な宿泊客の最大数。この値は、「number_of_bedrooms」以上である必要があります。 | Non-negative integer value |
| website | Required | 物件のウェブサイトの URL。これはリスティングに固有のもので、複数のリスティングで重複してはなりません。 | Free text |
| partner_hygiene_link | Strongly recommended | リスティングの衛生状態に関する詳細情報を提供する、外部のパートナー サイトへのリンク。 | Free text (the site's URL) |
| number_of_bathrooms | Strongly recommended | 浴室の数。 | Non-negative float value, for example, 1, 1.5, 2 |
| number_of_bedrooms | Strongly recommended | 寝室の数。 | Non-negative integer value |
| number_of_beds | Strongly recommended | 全部屋のベッド数。 | Non-negative integer value |
| self_checkin_checkout | Recommended | 宿泊施設でセルフ チェックインとセルフ チェックアウトが許可されているかどうか。 | Yes/No/Unknown |
| rating | Strongly recommended | 宿泊施設の評価の集計を表す浮動小数点数。この数値は、通常は 0 ~ 5、0 ~ 10、0 ~ 100 の範囲ですが、評価システムを表す任意の範囲を使用できます。 | Non-negative float value |
| rating_num | Strongly recommended | 宿泊施設の評価の数。 | Non-negative integer value |
| rating_scale | Strongly recommended | 宿泊施設の最大評価。たとえば、rating_scale が 5 の場合、プロパティの rating は 3 または 4 にする必要があります。 注: 指定しない場合、デフォルトの rating_scale は 0 ~ 10 です。 |
Non-negative integer value |
| instant_bookable | Strongly recommended | 宿泊施設をご購入手続きですぐに予約できるかどうか。代替手段は承認待ちです。 | Yes/No/Unknown |
| description | Strongly recommended | 物件の独自の特性を説明する自由形式のテキスト | Free text |
| category | Strongly recommended | ヴィラ、バンガロー、キャビン、アパートなどの宿泊施設のタイプ | Free text |
| ac | Recommended | 宿泊施設にエアコンがあるかどうか。 | Yes/No/Unknown |
| beach_access | Recommended | 宿泊施設の近くに公共のビーチがあるかどうか。 | Yes/No/Unknown |
| check_in_time | Recommended | 宿泊施設にチェックインする正確な時刻。HHMM、HH:MM、HH:MM:SS 形式を使用できます。たとえば、午後 2 時または午後 2 時 0 分ではなく、14:00 を使用します。その他の形式は解析されず、表示されません。 | Time |
| check_out_time | Recommended | 宿泊施設からチェックアウトする正確な時刻。HHMM、HH:MM、HH:MM:SS 形式を使用できます。たとえば、11am や 11:00am ではなく 11:00 を使用します。その他の形式は解析されず、表示されません。 | Time |
| child_friendly | Recommended | 宿泊施設がお子様に適しているかどうか。 | Yes/No/Unknown |
| crib | Recommended | 宿泊施設にベビーベッドが用意されているかどうか。 | Yes/No/Unknown |
| elevator | Recommended | 宿泊施設にエレベーターがあるかどうか。 | Yes/No/Unknown |
| gym_fitness_equipment | Recommended | 宿泊施設にジムやフィットネス設備があるかどうか。 | Yes/No/Unknown |
| heating | Recommended | 宿泊施設に暖房があるかどうか。 | Yes/No/Unknown |
| hot_tub | Recommended | 宿泊施設に温水浴槽があるかどうか。 | Yes/No/Unknown |
| ironing_board | Recommended | 宿泊施設でアイロン台を利用できるかどうか。 | Yes/No/Unknown |
| kitchen | Recommended | 宿泊施設にキッチンがあるかどうか。 | Yes/No/Unknown |
| microwave | Recommended | 宿泊施設で電子レンジを利用できるかどうか。 | Yes/No/Unknown |
| min_days_advance_purchase | Recommended | 宿泊施設を事前に予約できる最小日数。 | Non-negative integer value |
| min_night_stay | Recommended | 宿泊客が宿泊施設を予約できる最小泊数。 | Positive integer (more than zero) |
| max_night_stay | Recommended | 宿泊客が宿泊施設を予約できる最大泊数。 | Positive integer (more than zero) |
| outdoor_grill | Recommended | 宿泊施設にグリルがあるかどうか。 | Yes/No/Unknown |
| oven_stove | Recommended | 宿泊施設にコンロやオーブンがあるかどうか。 | Yes/No/Unknown |
| parking_type | Recommended | 施設で利用可能な駐車場のタイプ。 | Free/Paid/None |
| patio | Recommended | 宿泊施設にテラスがあるかどうか。 | Yes/No/Unknown |
| pets_allowed | Recommended | 一部またはすべての客室で宿泊客はペット(介助動物ではない犬や猫)を同伴できる。 | Yes/No/Unknown |
| pool_type | Recommended | 宿泊施設で利用できるプールのタイプ(プールへのアクセス)。 | Indoors, Outdoors, Indoors/Outdoors, None |
| room_type | Recommended | 部屋のタイプ。サポートされる値は ENTIRE_PLACE のみです。 |
ENTIRE_PLACE
|
| smoking_free_property | Recommended | 宿泊施設が禁煙であるかどうか。 | Yes/No/Unknown |
| special_service_level | Recommended | リスティングのサービスレベルが特別なものかどうか。例: verified、luxury、premium |
Yes/No/Unknown |
| square_footage | Recommended | 宿泊施設の面積(平方フィート)。 | Non-negative float value |
| square_meters | Recommended | 宿泊施設の面積(平方メートル)。 | Non-negative float |
| tv | Recommended | 宿泊施設にテレビがあるかどうか。 | Yes/No/Unknown |
| washer_dryer | Recommended | 宿泊施設に洗濯機があるかどうか。 | Yes/No/Unknown |
| wheelchair_accessible | Recommended | 宿泊施設が車椅子対応であるかどうか。 | Yes/No/Unknown |
| internet_type | Recommended | 宿泊施設で提供される Wi-Fi インターネット アクセスの種類。 | Free/Paid/None |
| airport_shuttle | Optional | ホストが空港などのターミナルとの間で送迎サービスを提供しているかどうか。 | Yes/No/Unknown |
| balcony | Optional | 宿泊施設にバルコニーがあるかどうか。 | Yes/No/Unknown |
| fire_place | Optional | 宿泊施設に暖炉があるかどうか。 | Yes/No/Unknown |
| free_breakfast | Optional | 宿泊施設で無料の朝食が提供されるかどうか。 | Yes/No/Unknown |
| host_description | Optional | 民泊施設のホストの説明。 | Free text |
| host_language | Optional | ホストが話すことができる言語。 | 言語コードのカンマ区切りのリスト(例: de、en) |
| host_name | Optional | 民泊ホストの名前。 | Free text |
| host_response_rate | Optional | ホストの平均返信率。 | Non-negative float value, for example, 1, 0.75, 0.5 |
| host_response_time | Optional | ホストの平均レスポンス時間。 | Free text |
| license_num | Optional | 世界の特定の地域では、宿泊施設のライセンス番号(観光客またはビジネス客向け)を表示する必要があります。これには繰り返しが生じる可能性があります。複数のライセンスが存在する場合は、コンテキストの形でライセンスの当局を追加することをおすすめします(例: 「Paris: 123456ABC」)。 | Free text |
| number_of_half_bathrooms | Optional | ハーフバスルームの数。 | Non-negative integer value |
| number_of_living_rooms | Optional | リビングルームの数。 | Non-negative integer value |
| private_beach_access | Optional | 宿泊施設に専用のプライベート ビーチがあるかどうか。 | Yes/No/Unknown |
| refund_policy | Optional | プロパティの払い戻しポリシー。 | Free text |
XML 子要素
次の XML 子要素が必要です。
| 子要素 | 必須かどうか | 型 | 説明 |
|---|---|---|---|
| <country> | Strongly recommended | string | このリスティングが存在する国。値は ISO 3116 の 2 文字の国コードで指定する必要があります。たとえば、米国は US、カナダは CA です。<country>US</country> |
| <id> | Required | string | 宿泊施設の一意の識別子。各バケーション レンタルには、サイトに固有の ID が必要です。また、この ID は絶対に再利用しないでください。 |
| <latitude> | Required | float | ホテル所在地の緯度。次に例を示します。<latitude>37.423738</latitude> この値は、Google Maps API などの GeoCoding ツールを使用して生成できます。 |
| <longitude> | Required | float | ホテル所在地の経度。次に例を示します。<longitude>-122.090101</longitude> この値は、Google Maps API などの GeoCoding ツールを使用して生成できます。 |
| <name> | Required | string | プロパティの名前。最大 300 文字。 |
| <address> | Required | string or Object | 宿泊施設の正式な物理的所在地(文字列)。住所には町名と番地を含める必要があります。存在しない場合は、住所にプラスコードを含める必要があります。該当する場合は、建物名、部屋番号も含めます。 または、「複合」住所を指定することもできます。
私書箱や郵便物受け取り専用住所は、正式な物理的住所とは見なされません。 完全な住所の例を次に示します。 <address>6 Acacia Ave Apt. 2, Nottingham NG8 6FT, UK/address> <address> <component name="a>ddr1"6 <Acacia Ave>/co<mponent component na>me=&qu<ot;addr2&q>uot<;Apt. 2/component c>omponent na<me="c>ity<"Nottingham /component > compo<nent name=>&qu<ot;postal_code"NG8 >6F<T/componen>t< compo>nent name="country"UK/component /address Plus Code を使用した完全な住所の例を次に示します。 <address>XQHM+7VF Nottingham NG8 6FT, UK/address> <address> <component name="a>ddr1&quo<t;XQHM+7VF>/co<mponent component n>ame="c<ity"N>ott<ingham /component componen>t name=<"post>al_<code"NG8 6FT/compon>en<t compon>e<nt name=>"country"UK/component /address 次の点に注意してください。
|
<date> 要素を閉じていることを確認してください。民泊リスティングの例
<?xml version="1.0" encodin>g<="U>TF-<8"?> l<istings > la<nguagee>n/lan<gu>age <lis>ting < >id123456/id < nam>eApar<tment Name/name add>ress fo<rmat="simple">; compone<nt name=&q>uot;add<r1"18733 Clark Wa>y/co<mponent > com<ponent name="add>r2"#C10/<component > c<omponent name="city&quo>t;Mou<ntain View>/compon<ent component name=>"post<al_code&qu>ot;94<043/comp>onent< >co<mponent >name=<"pr>ovince&quo<t;Califor>nia/c<omponent<>/span> /address< count>ryUS/<country latit>ude37.41<82515/>latit<ude >longitude-122.<0742354/l>ongit<ude phone type="main"12>34567<8/phone> ca<tegoryvacation_villa/ca>tegory < da>te day="21&<quot;> month=&q<uot;1>2" year=&quo<t;2017>"/ < c>ontent tex<t typ>e="<;desc>ription<" linkhttp>s://list_<url/>link titleDescription <Title>/title < > bodyDescription Body/bo<dy > /text < >review <type=&q>uot;edito<rial&q>u<ot; > link<http>s://example.com/reviews/42</link> < title>A littl<e piece of heaven/>title < > authorEXAMPLE/author rating<8/rat>ing < bod>yThis place is <really >good./bod<y > < /revie>w r<evie>w type="user" linkhttps://exampleperso<n.org>/reviews/<82/link authorSusan von Tra>pp/author< rating6/rating bodyNot a b>ad plac<e, but >I prefe<r to be cl>oser to t<he beac>h./body date day="6<" m>onth=&quo<t;7" year="2017&q>u<ot;/ > serviced<ate day="16" month="6&quo>t; <year="2>017"</ /review attributes >w<ebsitehttps:>//hotel.e<xample.com/123456/website client_attr >nam<e="capa>city"<;7/client_attr client_attr name>="cleaning_disinfection&qu<ot;Yes/clien>t_attr < client_attr name="min_days_>b<etween_stays>"3/c<lient_attr client_attr name=&>q<uot;enhanced>_cleaning<_practices"Yes/client_attr > < client>_attr nam<e="partner_hygiene_link"http:/>/ww<w.example.co>m/hygiene<//client_attr cli>ent<_attr name=&>quot;numb<er_of_bathrooms"2/client>_att<r cl>ient_attr< name="number_of_bedrooms&>q<uot;3/client>_attr < client_attr name>=&q<uot;number_o>f_beds&qu<ot;4/client_attr client_at>tr <name="s>elf_check<in_checkout"Yes/clien>t_<attr > client_a<ttr name="rating"4.8/>cli<ent_attr > clie<nt_attr name="rating_num&qu>ot;53<73/client_at>tr < client_attr name="rating_s>cale&<quot;5/clien>t_attr < client_attr name="ac&q>uot<;Yes/client_>attr < client_attr name=&q>uot;air<port_shuttle>"Yes</client_attr client>_at<tr name=&quo>t;balcony<"No/client_attr >client_<attr name=&q>uot;beach<_access"Yes/client_attr > < client_attr> name=&qu<ot;check_in_time"15:00/client_attr > < client_>attr name<="check_out_time">;11<:00/client_a>ttr < client_attr name="child_fri>endly"Yes/client_attr client_attr name=&q<uot;crib&quo>t;Unknown</client_attr client_>attr name="elev<ator"Ye>s/client_<attr client_attr name=&q>uot;fire_p<lace"Un>known/cli<ent_attr client_attr name=&qu>ot;f<ree_breakfas>t"Ye<s/client_attr client_attr nam>e=&quo<t;gym_fitnes>s_equipme<nt"Yes/client_attr > < client_at>tr name=&<quot;heating"Yes/client_attr > < client_a>ttr name=<"host_description"A sh>ort <description >about the< host and their interests/client>_a<ttr >client_at<tr name="host_name&qu>ot;<The name of >the host/<client_attr client_att>r name="host_language"en, da, el/client_attr client_attr name="host_r<esponse_rate>"0.7<5/client_attr client_a>ttr name="h<ost_response>_time&quo<t;1 hour/client_attr > cl<ient_attr na>me="<hot_tub"Yes/client_attr > < client_at>tr name=&<quot;instant_bookable"Yes/client_attr > < client>_attr nam<e="internet_type"Free/c>l<ient_attr > cli<ent_attr name="ironing_board"No>/<client_attr > c<lient_attr name="kitchen&qu>ot<;Yes/client_>attr < client_attr name="li>cen<se_num">Free text<. If multiple licenses exist, w>e su<ggest adding> authorit<y of the licence as cont>ext/cli<ent_attr > clie<nt_attr name="license_num&>quo<t;Paris: 123>456ABC/cl<ient_attr client_att>r name=<"microw>ave"<Yes/client_attr client_attr nam>e="<;max_night_s>tay"<7/client_attr client>_attr name=&<quot;min_day>s_advance<_purchase"2/client_attr > client_attr name="min_ni<ght_stay&quo>t;3/clien<t_attr client_attr name="nu>mbe<r_of_living_>rooms&quo<t;1/client_attr client_attr name>=&<quot;outdoor>_grill&qu<ot;No/client_attr client_>attr< name=">oven_stov<e"Yes/client_att>r < clien>t_attr na<me="parking_type"Free>/cl<ient_attr > cli<ent_attr name="patio"Unknown/c>lie<nt_attr > cli<ent_attr na>me=&q<uot;pets>_al<lowed&qu>o<t;Yes/cli>ent_attr client_attr name="pool_type"Indoors/client_attr client_attr name="private_beach_access"Unknown/client_attr client_attr name="room_type"ENTIRE_PLACE/client_attr client_attr name="refund_policy"The refund policy for the property/client_attr client_attr name="smoking_free_property"Yes/client_attr client_attr name="special_service_level"No/client_attr client_attr name="square_footage"1200/client_attr client_attr name="tv"Yes/client_attr client_attr name="washer_dryer"Yes/client_attr client_attr name="wheelchair_accessible"Yes/client_attr /attributes /content /listing /listings