CINXE.COM

Hotel List XML Reference  |  Hotel Prices  |  Google for Developers

<!doctype html> <html lang="en" dir="ltr"> <head> <meta name="google-signin-client-id" content="721724668570-nbkv1cfusk7kk4eni4pjvepaus73b13t.apps.googleusercontent.com"> <meta name="google-signin-scope" content="profile email https://www.googleapis.com/auth/developerprofiles https://www.googleapis.com/auth/developerprofiles.award"> <meta property="og:site_name" content="Google for Developers"> <meta property="og:type" content="website"><meta name="theme-color" content="#1a73e8"><meta charset="utf-8"> <meta content="IE=Edge" http-equiv="X-UA-Compatible"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="manifest" href="/_pwa/developers/manifest.json" crossorigin="use-credentials"> <link rel="preconnect" href="//www.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.gstatic.com" crossorigin> <link rel="preconnect" href="//fonts.googleapis.com" crossorigin> <link rel="preconnect" href="//apis.google.com" crossorigin> <link rel="preconnect" href="//www.google-analytics.com" crossorigin><link rel="stylesheet" href="//fonts.googleapis.com/css?family=Google+Sans:400,500|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"> <link rel="stylesheet" href="//fonts.googleapis.com/css2?family=Material+Icons&family=Material+Symbols+Outlined&display=block"><link rel="stylesheet" href="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/css/app.css"> <link rel="shortcut icon" href="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/favicon-new.png"> <link rel="apple-touch-icon" href="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/touchicon-180-new.png"><link rel="canonical" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed"><link rel="search" type="application/opensearchdescription+xml" title="Google for Developers" href="https://developers.google.com/s/opensearch.xml"> <link rel="alternate" hreflang="en" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed" /><link rel="alternate" hreflang="x-default" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed" /><link rel="alternate" hreflang="ar" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=ar" /><link rel="alternate" hreflang="bn" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=bn" /><link rel="alternate" hreflang="zh-Hans" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=zh-cn" /><link rel="alternate" hreflang="zh-Hant" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=zh-tw" /><link rel="alternate" hreflang="fa" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=fa" /><link rel="alternate" hreflang="fr" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=fr" /><link rel="alternate" hreflang="de" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=de" /><link rel="alternate" hreflang="he" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=he" /><link rel="alternate" hreflang="hi" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=hi" /><link rel="alternate" hreflang="id" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=id" /><link rel="alternate" hreflang="it" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=it" /><link rel="alternate" hreflang="ja" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=ja" /><link rel="alternate" hreflang="ko" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=ko" /><link rel="alternate" hreflang="pl" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=pl" /><link rel="alternate" hreflang="pt-BR" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=pt-br" /><link rel="alternate" hreflang="ru" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=ru" /><link rel="alternate" hreflang="es-419" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=es-419" /><link rel="alternate" hreflang="th" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=th" /><link rel="alternate" hreflang="tr" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=tr" /><link rel="alternate" hreflang="vi" href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed?hl=vi" /><title>Hotel List XML Reference &nbsp;|&nbsp; Hotel Prices &nbsp;|&nbsp; Google for Developers</title> <meta property="og:title" content="Hotel List XML Reference &nbsp;|&nbsp; Hotel Prices &nbsp;|&nbsp; Google for Developers"><meta property="og:url" content="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed"><meta property="og:image" content="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/opengraph/google-blue.png"> <meta property="og:image:width" content="1200"> <meta property="og:image:height" content="675"><meta property="og:locale" content="en"><meta name="twitter:card" content="summary_large_image"><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "Article", "headline": "Hotel List XML Reference" } </script><script type="application/ld+json"> { "@context": "https://schema.org", "@type": "BreadcrumbList", "itemListElement": [{ "@type": "ListItem", "position": 1, "name": "Hotel APIs", "item": "https://developers.google.com/hotels" },{ "@type": "ListItem", "position": 2, "name": "Hotel Prices", "item": "https://developers.google.com/hotels/hotel-prices" },{ "@type": "ListItem", "position": 3, "name": "Hotel List XML Reference", "item": "https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed" }] } </script> <link rel="stylesheet" href="/extras.css"></head> <body class="" template="page" theme="google-blue" type="article" layout="docs" concierge='closed' display-toc pending> <devsite-progress type="indeterminate" id="app-progress"></devsite-progress> <a href="#main-content" class="skip-link button"> Skip to main content </a> <section class="devsite-wrapper"> <devsite-cookie-notification-bar></devsite-cookie-notification-bar><devsite-header role="banner"> <div class="devsite-header--inner nocontent"> <div class="devsite-top-logo-row-wrapper-wrapper"> <div class="devsite-top-logo-row-wrapper"> <div class="devsite-top-logo-row"> <button type="button" id="devsite-hamburger-menu" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Navigation menu button" visually-hidden aria-label="Open menu"> </button> <div class="devsite-product-name-wrapper"> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" aria-label="Product breadcrumb"> <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> <a href="https://developers.google.com/hotels" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Hotel APIs" > <svg class="devsite-google-wordmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 148 48"> <title>Google</title> <path class="devsite-google-wordmark-svg-path" d="M19.58,37.65c-9.87,0-18.17-8.04-18.17-17.91c0-9.87,8.3-17.91,18.17-17.91c5.46,0,9.35,2.14,12.27,4.94l-3.45,3.45c-2.1-1.97-4.93-3.49-8.82-3.49c-7.21,0-12.84,5.81-12.84,13.02c0,7.21,5.64,13.02,12.84,13.02c4.67,0,7.34-1.88,9.04-3.58c1.4-1.4,2.32-3.41,2.66-6.16H19.58v-4.89h16.47c0.18,0.87,0.26,1.92,0.26,3.06c0,3.67-1.01,8.21-4.24,11.44C28.93,35.9,24.91,37.65,19.58,37.65z M61.78,26.12c0,6.64-5.1,11.53-11.36,11.53s-11.36-4.89-11.36-11.53c0-6.68,5.1-11.53,11.36-11.53S61.78,19.43,61.78,26.12z M56.8,26.12c0-4.15-2.96-6.99-6.39-6.99c-3.43,0-6.39,2.84-6.39,6.99c0,4.11,2.96,6.99,6.39,6.99C53.84,33.11,56.8,30.22,56.8,26.12z M87.25,26.12c0,6.64-5.1,11.53-11.36,11.53c-6.26,0-11.36-4.89-11.36-11.53c0-6.68,5.1-11.53,11.36-11.53C82.15,14.59,87.25,19.43,87.25,26.12zM82.28,26.12c0-4.15-2.96-6.99-6.39-6.99c-3.43,0-6.39,2.84-6.39,6.99c0,4.11,2.96,6.99,6.39,6.99C79.32,33.11,82.28,30.22,82.28,26.12z M112.09,15.29v20.7c0,8.52-5.02,12.01-10.96,12.01c-5.59,0-8.95-3.76-10.22-6.81l4.41-1.83c0.79,1.88,2.71,4.1,5.81,4.1c3.8,0,6.16-2.36,6.16-6.77v-1.66h-0.18c-1.14,1.4-3.32,2.62-6.07,2.62c-5.76,0-11.05-5.02-11.05-11.49c0-6.51,5.28-11.57,11.05-11.57c2.75,0,4.93,1.22,6.07,2.58h0.18v-1.88H112.09z M107.64,26.16c0-4.06-2.71-7.03-6.16-7.03c-3.49,0-6.42,2.97-6.42,7.03c0,4.02,2.93,6.94,6.42,6.94C104.93,33.11,107.64,30.18,107.64,26.16z M120.97,3.06v33.89h-5.07V3.06H120.97z M140.89,29.92l3.93,2.62c-1.27,1.88-4.32,5.11-9.61,5.11c-6.55,0-11.28-5.07-11.28-11.53c0-6.86,4.77-11.53,10.71-11.53c5.98,0,8.91,4.76,9.87,7.34l0.52,1.31l-15.42,6.38c1.18,2.31,3.01,3.49,5.59,3.49C137.79,33.11,139.58,31.84,140.89,29.92zM128.79,25.77l10.31-4.28c-0.57-1.44-2.27-2.45-4.28-2.45C132.24,19.04,128.66,21.31,128.79,25.77z"/> </svg>Hotel APIs </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developers.google.com/hotels/hotel-prices" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Google Hotel Prices API" > Hotel Prices </a> </li> </ul> </span> </div> <div class="devsite-top-logo-row-middle"> <div class="devsite-header-upper-tabs"> </div> <devsite-search enable-signin enable-search enable-suggestions enable-query-completion project-name="Hotel Prices" tenant-name="Google for Developers" project-scope="/hotels/hotel-prices" url-scoped="https://developers.google.com/s/results/hotels/hotel-prices" > <form class="devsite-search-form" action="https://developers.google.com/s/results" method="GET"> <div class="devsite-search-container"> <button type="button" search-open class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Open search"></button> <div class="devsite-searchbox"> <input aria-activedescendant="" aria-autocomplete="list" aria-label="Search" aria-expanded="false" aria-haspopup="listbox" autocomplete="off" class="devsite-search-field devsite-search-query" name="q" placeholder="Search" role="combobox" type="text" value="" > <div class="devsite-search-image material-icons" aria-hidden="true"> </div> <div class="devsite-search-shortcut-icon-container" aria-hidden="true"> <kbd class="devsite-search-shortcut-icon">/</kbd> </div> </div> </div> </form> <button type="button" search-close class="devsite-search-button devsite-header-icon-button button-flat material-icons" aria-label="Close search"></button> </devsite-search> </div> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es" >Español</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> <devsite-user enable-profiles fp-auth id="devsite-user"> <span class="button devsite-top-button" aria-hidden="true" visually-hidden>Sign in</span> </devsite-user> </div> </div> </div> <div class="devsite-collapsible-section "> <div class="devsite-header-background"> <div class="devsite-doc-set-nav-row"> <devsite-tabs class="lower-tabs"> <nav class="devsite-tabs-wrapper" aria-label="Lower tabs"> <tab > <a href="https://developers.google.com/hotels/hotel-prices" class="devsite-tabs-content gc-analytics-event " track-metadata-eventdetail="https://developers.google.com/hotels/hotel-prices" track-type="nav" track-metadata-position="nav - guides" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" > Guides </a> </tab> <tab > <a href="https://developers.google.com/hotels/hotel-prices/api-reference" class="devsite-tabs-content gc-analytics-event " track-metadata-eventdetail="https://developers.google.com/hotels/hotel-prices/api-reference" track-type="nav" track-metadata-position="nav - api reference" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: API Reference" track-name="api reference" > API Reference </a> </tab> <tab class="devsite-active"> <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed" class="devsite-tabs-content gc-analytics-event " track-metadata-eventdetail="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed" track-type="nav" track-metadata-position="nav - xml reference" track-metadata-module="primary nav" aria-label="XML Reference, selected" data-category="Site-Wide Custom Events" data-label="Tab: XML Reference" track-name="xml reference" > XML Reference </a> </tab> <tab > <a href="https://developers.google.com/hotels/hotel-prices/dev-guide/where-to-get-help" class="devsite-tabs-content gc-analytics-event " track-metadata-eventdetail="https://developers.google.com/hotels/hotel-prices/dev-guide/where-to-get-help" track-type="nav" track-metadata-position="nav - support" track-metadata-module="primary nav" data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" > Support </a> </tab> </nav> </devsite-tabs> </div> </div> </div> </div> </devsite-header> <devsite-book-nav scrollbars > <div class="devsite-book-nav-filter" > <span class="filter-list-icon material-icons" aria-hidden="true"></span> <input type="text" placeholder="Filter" aria-label="Type to filter" role="searchbox"> <span class="filter-clear-button hidden" data-title="Clear filter" aria-label="Clear filter" role="button" tabindex="0"></span> </div> <nav class="devsite-book-nav devsite-nav nocontent" aria-label="Side menu"> <div class="devsite-mobile-header"> <button type="button" id="devsite-close-nav" class="devsite-header-icon-button button-flat material-icons gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Close navigation" aria-label="Close navigation"> </button> <div class="devsite-product-name-wrapper"> <span class="devsite-product-name"> <ul class="devsite-breadcrumb-list" aria-label="Upper header breadcrumb"> <li class="devsite-breadcrumb-item devsite-has-google-wordmark"> <a href="https://developers.google.com/hotels" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="Google Hotel APIs" > <svg class="devsite-google-wordmark" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 148 48"> <title>Google</title> <path class="devsite-google-wordmark-svg-path" d="M19.58,37.65c-9.87,0-18.17-8.04-18.17-17.91c0-9.87,8.3-17.91,18.17-17.91c5.46,0,9.35,2.14,12.27,4.94l-3.45,3.45c-2.1-1.97-4.93-3.49-8.82-3.49c-7.21,0-12.84,5.81-12.84,13.02c0,7.21,5.64,13.02,12.84,13.02c4.67,0,7.34-1.88,9.04-3.58c1.4-1.4,2.32-3.41,2.66-6.16H19.58v-4.89h16.47c0.18,0.87,0.26,1.92,0.26,3.06c0,3.67-1.01,8.21-4.24,11.44C28.93,35.9,24.91,37.65,19.58,37.65z M61.78,26.12c0,6.64-5.1,11.53-11.36,11.53s-11.36-4.89-11.36-11.53c0-6.68,5.1-11.53,11.36-11.53S61.78,19.43,61.78,26.12z M56.8,26.12c0-4.15-2.96-6.99-6.39-6.99c-3.43,0-6.39,2.84-6.39,6.99c0,4.11,2.96,6.99,6.39,6.99C53.84,33.11,56.8,30.22,56.8,26.12z M87.25,26.12c0,6.64-5.1,11.53-11.36,11.53c-6.26,0-11.36-4.89-11.36-11.53c0-6.68,5.1-11.53,11.36-11.53C82.15,14.59,87.25,19.43,87.25,26.12zM82.28,26.12c0-4.15-2.96-6.99-6.39-6.99c-3.43,0-6.39,2.84-6.39,6.99c0,4.11,2.96,6.99,6.39,6.99C79.32,33.11,82.28,30.22,82.28,26.12z M112.09,15.29v20.7c0,8.52-5.02,12.01-10.96,12.01c-5.59,0-8.95-3.76-10.22-6.81l4.41-1.83c0.79,1.88,2.71,4.1,5.81,4.1c3.8,0,6.16-2.36,6.16-6.77v-1.66h-0.18c-1.14,1.4-3.32,2.62-6.07,2.62c-5.76,0-11.05-5.02-11.05-11.49c0-6.51,5.28-11.57,11.05-11.57c2.75,0,4.93,1.22,6.07,2.58h0.18v-1.88H112.09z M107.64,26.16c0-4.06-2.71-7.03-6.16-7.03c-3.49,0-6.42,2.97-6.42,7.03c0,4.02,2.93,6.94,6.42,6.94C104.93,33.11,107.64,30.18,107.64,26.16z M120.97,3.06v33.89h-5.07V3.06H120.97z M140.89,29.92l3.93,2.62c-1.27,1.88-4.32,5.11-9.61,5.11c-6.55,0-11.28-5.07-11.28-11.53c0-6.86,4.77-11.53,10.71-11.53c5.98,0,8.91,4.76,9.87,7.34l0.52,1.31l-15.42,6.38c1.18,2.31,3.01,3.49,5.59,3.49C137.79,33.11,139.58,31.84,140.89,29.92zM128.79,25.77l10.31-4.28c-0.57-1.44-2.27-2.45-4.28-2.45C132.24,19.04,128.66,21.31,128.79,25.77z"/> </svg>Hotel APIs </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developers.google.com/hotels/hotel-prices" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Upper Header" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="Google Hotel Prices API" > Hotel Prices </a> </li> </ul> </span> </div> </div> <div class="devsite-book-nav-wrapper"> <div class="devsite-mobile-nav-top"> <ul class="devsite-nav-list"> <li class="devsite-nav-item"> <a href="/hotels/hotel-prices" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: Guides" track-name="guides" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Guides" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Guides </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/hotels/hotel-prices/api-reference" class="devsite-nav-title gc-analytics-event devsite-nav-has-children " data-category="Site-Wide Custom Events" data-label="Tab: API Reference" track-name="api reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: API Reference" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > API Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/hotels/hotel-prices/xml-reference/hotel-list-feed" class="devsite-nav-title gc-analytics-event devsite-nav-has-children devsite-nav-active" data-category="Site-Wide Custom Events" data-label="Tab: XML Reference" track-name="xml reference" data-category="Site-Wide Custom Events" data-label="Responsive Tab: XML Reference" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > XML Reference </span> <span class="devsite-nav-icon material-icons" data-icon="forward" > </span> </a> </li> <li class="devsite-nav-item"> <a href="/hotels/hotel-prices/dev-guide/where-to-get-help" class="devsite-nav-title gc-analytics-event " data-category="Site-Wide Custom Events" data-label="Tab: Support" track-name="support" data-category="Site-Wide Custom Events" data-label="Responsive Tab: Support" track-type="navMenu" track-metadata-eventDetail="globalMenu" track-metadata-position="nav"> <span class="devsite-nav-text" tooltip > Support </span> </a> </li> </ul> </div> <div class="devsite-mobile-nav-bottom"> <ul class="devsite-nav-list" menu="_book"> <li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/hotel-list-feed" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/hotel-list-feed" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/hotel-list-feed" ><span class="devsite-nav-text" tooltip>Hotel List</span></a></li> <li class="devsite-nav-item devsite-nav-expandable"><div class="devsite-expandable-nav"> <a class="devsite-nav-toggle" aria-hidden="true"></a><div class="devsite-nav-title devsite-nav-title-no-path" tabindex="0" role="button"> <span class="devsite-nav-text" tooltip>Availability, Rates, and Inventory (ARI)</span> </div><ul class="devsite-nav-section"><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-overview" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-overview" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-overview" ><span class="devsite-nav-text" tooltip>Overview</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-property" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-property" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-property" ><span class="devsite-nav-text" tooltip>Transaction (Property Data)</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-rate" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-rate" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-rate" ><span class="devsite-nav-text" tooltip>OTA_HotelRateAmountNotifRQ</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-avail" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-avail" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-avail" ><span class="devsite-nav-text" tooltip>OTA_HotelAvailNotifRQ</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-inv" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-inv" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-inv" ><span class="devsite-nav-text" tooltip>OTA_HotelInvCountNotifRQ</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-tax" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-tax" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-tax" ><span class="devsite-nav-text" tooltip>TaxFeeInfo</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-promotions" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-promotions" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-promotions" ><span class="devsite-nav-text" tooltip>Promotions</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-rate-modifications" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-rate-modifications" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-rate-modifications" ><span class="devsite-nav-text" tooltip>RateModifications</span></a></li><li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/ari-extra-guest-charges" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/ari-extra-guest-charges" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/ari-extra-guest-charges" ><span class="devsite-nav-text" tooltip>ExtraGuestCharges</span></a></li></ul></div></li> <li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/transaction-messages" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/transaction-messages" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/transaction-messages" ><span class="devsite-nav-text" tooltip>Pricing &amp; Room Inventory (Transactions)</span></a></li> <li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/rate-rules" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/rate-rules" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/rate-rules" ><span class="devsite-nav-text" tooltip>Rate Rules</span></a></li> <li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/queries" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/queries" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/queries" ><span class="devsite-nav-text" tooltip>Query &amp; Hint Messages</span></a></li> <li class="devsite-nav-item"><a href="/hotels/hotel-prices/xml-reference/datetime" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/xml-reference/datetime" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/xml-reference/datetime" ><span class="devsite-nav-text" tooltip>Date/Time Formats</span></a></li> <li class="devsite-nav-item"><a href="/hotels/hotel-prices/dev-guide/country-codes" class="devsite-nav-title gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Book nav link, pathname: /hotels/hotel-prices/dev-guide/country-codes" track-type="bookNav" track-name="click" track-metadata-eventdetail="/hotels/hotel-prices/dev-guide/country-codes" ><span class="devsite-nav-text" tooltip>Country codes</span></a></li> </ul> </div> </div> </nav> </devsite-book-nav> <section id="gc-wrapper"> <main role="main" id="main-content" class="devsite-main-content" has-book-nav > <devsite-content> <article class="devsite-article"> <div class="devsite-article-meta nocontent" role="navigation"> <ul class="devsite-breadcrumb-list" aria-label="Breadcrumb"> <li class="devsite-breadcrumb-item "> <a href="https://developers.google.com/" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="1" track-type="globalNav" track-name="breadcrumb" track-metadata-position="1" track-metadata-eventdetail="" > Home </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developers.google.com/products" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="2" track-type="globalNav" track-name="breadcrumb" track-metadata-position="2" track-metadata-eventdetail="" > Products </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developers.google.com/hotels" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="3" track-type="globalNav" track-name="breadcrumb" track-metadata-position="3" track-metadata-eventdetail="Google Hotel APIs" > Hotel APIs </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developers.google.com/hotels/hotel-prices" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="4" track-type="globalNav" track-name="breadcrumb" track-metadata-position="4" track-metadata-eventdetail="Google Hotel Prices API" > Hotel Prices </a> </li> <li class="devsite-breadcrumb-item "> <div class="devsite-breadcrumb-guillemet material-icons" aria-hidden="true"></div> <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed" class="devsite-breadcrumb-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Breadcrumbs" data-value="5" track-type="globalNav" track-name="breadcrumb" track-metadata-position="5" track-metadata-eventdetail="" > XML Reference </a> </li> </ul> <devsite-thumb-rating position="header"> </devsite-thumb-rating> </div> <devsite-feedback position="header" project-name="Hotel Prices" product-id="82128" bucket="Hotels" context="DevSite feedback link" version="t-devsite-webserver-20250211-r00-rc00.466928320959134316" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="header" class="nocontent" project-feedback-url="https://support.google.com/hotelprices/" project-icon="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/touchicon-180-new.png" project-support-url="https://support.google.com/hotelprices/" > <button> Send feedback </button> </devsite-feedback> <h1 class="devsite-page-title" tabindex="-1"> Hotel List XML Reference </h1> <devsite-feature-tooltip ack-key="AckCollectionsBookmarkTooltipDismiss" analytics-category="Site-Wide Custom Events" analytics-action-show="Callout Profile displayed" analytics-action-close="Callout Profile dismissed" analytics-label="Create Collection Callout" class="devsite-page-bookmark-tooltip nocontent" dismiss-button="true" id="devsite-collections-dropdown" dismiss-button-text="Dismiss" close-button-text="Got it"> <devsite-bookmark></devsite-bookmark> <span slot="popout-heading"> Stay organized with collections </span> <span slot="popout-contents"> Save and categorize content based on your preferences. </span> </devsite-feature-tooltip> <devsite-key-takeaways></devsite-key-takeaways> <div class="devsite-page-title-meta"><devsite-view-release-notes></devsite-view-release-notes></div> <devsite-toc class="devsite-nav" depth="2" devsite-toc-embedded > </devsite-toc> <div class="devsite-article-body clearfix "> <p>A <em>hotel list</em> is one or more XML files that lists all hotels for which you will provide pricing information. The hotel list file itself does not contain pricing information.</p> <p>The root element of a hotel list is the <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listings"><code translate="no" dir="ltr">&lt;listings&gt;</code></a> element which contains <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listing"><code translate="no" dir="ltr">&lt;listing&gt;</code></a> elements that describe your properties.</p> <p>You create a hotel list as part of your <a href="/hotels/hotel-prices/dev-guide/data-feeds">initial implementation</a>, and then add or remove hotels from it as part of regular maintenance.</p> <p>Make sure your files conform to the <a href="#guidelines">syntax guidelines</a>. For example, use UTF-8 encoding and specify this encoding schema by including the <code translate="no" dir="ltr">encoding</code> attribute in your XML tag.</p> <p>After creating a hotel list, you can <a href="https://support.google.com/hotelprices/answer/9218458#upload_a_hotel_list_feed">manually upload it to Google using Hotel Center</a> or <a href="/hotels/hotel-prices/dev-guide/hlf#hosting-hlf">host it on your server</a>.</p> <h2 id="fixing" data-text="Find and fix data issues" tabindex="-1">Find and fix data issues</h2> <p>To find and fix data issues in your hotel list, refer to the following articles:</p> <ul> <li><a href="https://support.google.com/hotelprices/answer/9218458">How to set up your hotel inventory</a></li> <li><a href="https://support.google.com/hotelprices/answer/6329692">Resolve property matching issues</a></li> </ul> <h2 id="requirements" data-text="Listing requirements" tabindex="-1">Listing requirements</h2> <p>To be eligible for Google Hotel Ads, a property in your hotel list must have the following:</p> <ul> <li>Rooms in which paying guests can stay</li> <li>A physical presence and fixed location that is open to the public</li> <li>Fixed walls and plumbing</li> <li>A minimum stay requirement of no greater than 7 days</li> </ul> <p>Common examples of <em>ineligible</em> properties include cruises and apartments because they usually don&#39;t meet the <code translate="no" dir="ltr">Listing requirements</code> criteria.</p> <p>Camping cabins and other camping establishments with fixed walls, plumbing, and climate control (including wood stoves or propane heaters) are eligible. Outdoor lodgings that are not eligible include:</p> <ul> <li>Campsites, where guests stay in tents</li> <li>RV parks, where guests bring their own RV</li> </ul> <h2 id="listings" data-text="&lt;listings&gt;" tabindex="-1"><code translate="no" dir="ltr">&lt;listings&gt;</code></h2> <p><code translate="no" dir="ltr">&lt;listings&gt;</code> is the root element of a hotel list and it contains a <code translate="no" dir="ltr">&lt;language&gt;</code> element and at least one <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listing"><code translate="no" dir="ltr">&lt;listing&gt;</code></a>.</p> <p>The <code translate="no" dir="ltr">&lt;listings&gt;</code> element appears in the following place in the hotel list XML hierarchy:</p> <div></div><devsite-code><pre class="devsite-disable-click-to-copy devsite-click-to-copy" translate="no" dir="ltr" is-upgraded><code translate="no" dir="ltr">+ <strong><code translate="no" dir="ltr">&lt;listings&gt;</code></strong> + &lt;language&gt; + &lt;datum&gt; + &lt;listing&gt; </code></pre></devsite-code> <h3 id="listings-syntax" class="hide-from-toc" data-text="Syntax" tabindex="-1">Syntax</h3> <p>The <code translate="no" dir="ltr">&lt;listings&gt;</code> element uses the following syntax:</p> <div></div><devsite-code><pre class="devsite-click-to-copy readonly" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="<var translate="no">xsi</var>" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="<var translate="no">schema_xsd</var>"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;<span class="devsite-syntax-w"> </span><var translate="no">language_code</var>&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;datum&gt;<span class="devsite-syntax-w"> </span><var translate="no">datum_code<span class="devsite-syntax-w"> </span></var>&lt;/datum&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt;<span class="devsite-syntax-w"> </span><var translate="no">listing</var>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code> <h3 id="listings-attributes" class="hide-from-toc" data-text="Attributes" tabindex="-1">Attributes</h3> <p>The <code translate="no" dir="ltr">&lt;listings&gt;</code> element has the following attributes:</p> <table class="fixed"> <tr> <th width="32%">Attribute</th> <th width="10%">Required?</th> <th>Description</th> </tr> <tr> <td><code translate="no" dir="ltr">xmlns:xsi</code></td> <td>Required</td> <td>Set to <code translate="no" dir="ltr">http://www.w3.org/2001/XMLSchema-instance</code>.</td> </tr> <tr> <td><code translate="no" dir="ltr">xsi:noNamespaceSchemaLocation</code></td> <td>Required</td> <td>Set to <code translate="no" dir="ltr">http://www.gstatic.com/localfeed/local_feed.xsd</code>.</td> </tr> </table> <h3 id="listings-children" class="hide-from-toc" data-text="Child elements" tabindex="-1">Child elements</h3> <p>The <code translate="no" dir="ltr">&lt;listings&gt;</code> element has the following child elements:</p> <table class="fixed"> <tr> <th width="12%">Child&nbsp;element</th> <th width="10%">Required?</th> <th width="11%">Type</th> <th>Description</th> </tr> <tr> <td><span translate="no">&lt;language&gt;</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">string</span></td> <td>The language in which your feed is written. Set the value of this element to a <a href="/hotels/hotel-prices/dev-guide/language-codes"> two-letter language code</a>. For example, <code translate="no" dir="ltr">en</code> for English.</td> </tr> <tr> <td><span translate="no">&lt;datum&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">enum</span></td> <td>This element specifies the <i>geodetic datum</i> or reference model for the latitude/longitude coordinates provided in the feed. If no datum value is provided, the default value for this element is <code translate="no" dir="ltr">WGS84</code>, which is used by most modern GPS devices. The Tokyo datum is only applicable to addresses in Japan. <p>The valid values for this element are:</p> <ul> <li><code translate="no" dir="ltr">WGS84</code></li> <li><code translate="no" dir="ltr">wgs84</code></li> <li><code translate="no" dir="ltr">TOKYO</code></li> <li><code translate="no" dir="ltr">tokyo</code></li> </ul> <b>Note:</b> To use the default value of <code translate="no" dir="ltr">WGS84</code>, don't include the <code translate="no" dir="ltr">&lt;datum&gt;</code> element in the hotel list. </td> </tr> <tr> <td><span translate="no">&lt;listing&gt;</span></td> <td><span translate="no">Required</span></td> <td><span translate="no"><a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listing"><code translate="no" dir="ltr">&lt;listing&gt;</code></a></span></td> <td>One or more entries that describe each hotel in the feed. Note that each hotel in the list must have an ID that is unique to your site, and that this ID should never be re-used.</td> </tr> </table> <h3 id="listings-examples" class="hide-from-toc" data-text="Examples" tabindex="-1">Examples</h3> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="structured-address" data-text="Structured Address" tabindex="-1">Structured Address</h3><p>The following example shows a partial hotel list with a structured address:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>The<span class="devsite-syntax-w"> </span>value<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>&lt;id&gt;<span class="devsite-syntax-w"> </span>must<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>unique<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>your<span class="devsite-syntax-w"> </span>site<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>all<span class="devsite-syntax-w"> </span>time.<span class="devsite-syntax-w"> </span>Do<span class="devsite-syntax-w"> </span>NOT<span class="devsite-syntax-w"> </span>reuse<span class="devsite-syntax-w"> </span>IDs.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123abc&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;Belgrave<span class="devsite-syntax-w"> </span>House&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address<span class="devsite-syntax-w"> </span>format="simple"&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;6<span class="devsite-syntax-w"> </span>Acacia<span class="devsite-syntax-w"> </span>Ave&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr2"&gt;Floor<span class="devsite-syntax-w"> </span>5&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;London&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;Greater<span class="devsite-syntax-w"> </span>London&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;SW1W<span class="devsite-syntax-w"> </span>9TQ&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;GB&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;35.070374&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-106.213648&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;123-456-7890&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code></section> <section><h3 id="free-form-address" data-text="Free-Form Address" tabindex="-1">Free-Form Address</h3><p>The following example shows a partial hotel list with a free-form address:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>The<span class="devsite-syntax-w"> </span>value<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>&lt;id&gt;<span class="devsite-syntax-w"> </span>must<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>unique<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>your<span class="devsite-syntax-w"> </span>site<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>all<span class="devsite-syntax-w"> </span>time.<span class="devsite-syntax-w"> </span>Do<span class="devsite-syntax-w"> </span>NOT<span class="devsite-syntax-w"> </span>reuse<span class="devsite-syntax-w"> </span>IDs.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123abc&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;Belgrave<span class="devsite-syntax-w"> </span>House&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address&gt;6<span class="devsite-syntax-w"> </span>Elm<span class="devsite-syntax-w"> </span>Ave<span class="devsite-syntax-w"> </span>Unit<span class="devsite-syntax-w"> </span>3,<span class="devsite-syntax-w"> </span>Boston,<span class="devsite-syntax-w"> </span>MA,<span class="devsite-syntax-w"> </span>02472&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;US&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;35.070374&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-106.213648&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;123-456-7890&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code></section> <section><h3 id="optional-content" data-text="Optional Content" tabindex="-1">Optional Content</h3><p>The following example shows a partial hotel list with a listing that contains an optional <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#content"><code translate="no" dir="ltr">&lt;content&gt;</code></a>:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123456&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;My<span class="devsite-syntax-w"> </span>Apartment&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address<span class="devsite-syntax-w"> </span>format="simple"&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;1<span class="devsite-syntax-w"> </span>Sandstone<span class="devsite-syntax-w"> </span>Building&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;Los<span class="devsite-syntax-w"> </span>Angeles&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;90210&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;CA&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;US&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;40.730610&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-73.935242&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;12345678&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>&lt;text<span class="devsite-syntax-w"> </span>type="description"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://examplelisting.com/listings/12345&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;3<span class="devsite-syntax-w"> </span>bedrooms<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Stay<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>this<span class="devsite-syntax-w"> </span>newly<span class="devsite-syntax-w"> </span>renovated<span class="devsite-syntax-w"> </span>3BR<span class="devsite-syntax-w"> </span>house<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>day="23"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/text&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="editorial"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://example.com/reviews/42&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;A<span class="devsite-syntax-w"> </span>little<span class="devsite-syntax-w"> </span>piece<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>heaven&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;EXAMPLE.COM&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;8&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;This<span class="devsite-syntax-w"> </span>place<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>really<span class="devsite-syntax-w"> </span>good.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="user"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://exampleperson.org/reviews/82&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;Susan<span class="devsite-syntax-w"> </span>von<span class="devsite-syntax-w"> </span>Trapp&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;6&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Not<span class="devsite-syntax-w"> </span>a<span class="devsite-syntax-w"> </span>bad<span class="devsite-syntax-w"> </span>place,<span class="devsite-syntax-w"> </span>but<span class="devsite-syntax-w"> </span>I<span class="devsite-syntax-w"> </span>prefer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>closer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>beach.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>day="6"<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;servicedate<span class="devsite-syntax-w"> </span>day="16"<span class="devsite-syntax-w"> </span>month="6"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;attributes&gt; <span class="devsite-syntax-w"> </span>&lt;website&gt;https://hotel.example.com&lt;/website&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="rating"&gt;8.2&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="num_reviews"&gt;14&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;/attributes&gt; <span class="devsite-syntax-w"> </span>&lt;image<span class="devsite-syntax-w"> </span>type="photo"<span class="devsite-syntax-w"> </span>url="https://image_url"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://image_url&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;Main<span class="devsite-syntax-w"> </span>hotel<span class="devsite-syntax-w"> </span>picture&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;/image&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code></section> </div> <h2 id="listing" data-text="&lt;listing&gt;" tabindex="-1"><code translate="no" dir="ltr">&lt;listing&gt;</code></h2> <p>A hotel definition within a hotel list <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listings"><code translate="no" dir="ltr">&lt;listings&gt;</code></a> element.</p> <p>The <code translate="no" dir="ltr">&lt;listing&gt;</code> element appears in the following place in the Hotel List Feed XML hierarchy:</p> <div></div><devsite-code><pre class="devsite-disable-click-to-copy devsite-click-to-copy" translate="no" dir="ltr" is-upgraded><code translate="no" dir="ltr">+ &lt;listings&gt; + &lt;language&gt; + <strong>&lt;listing&gt;</strong> </code></pre></devsite-code> <h3 id="listing-syntax" class="hide-from-toc" data-text="Syntax" tabindex="-1">Syntax</h3> <p>The <code translate="no" dir="ltr">&lt;listing&gt;</code> element uses the following syntax:</p> <div></div><devsite-code><pre class="devsite-click-to-copy readonly" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>...<span class="devsite-syntax-w"> </span>&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>Specify<span class="devsite-syntax-w"> </span>&lt;listing&gt;'s<span class="devsite-syntax-w"> </span>child<span class="devsite-syntax-w"> </span>elements<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>order<span class="devsite-syntax-w"> </span>shown<span class="devsite-syntax-w"> </span>below.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;<var translate="no">hotel_ID</var>&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;<var translate="no">hotel_name</var>&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;<var translate="no">street_address_1</var>&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr2"&gt;<var translate="no">street_address_2</var>&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;<var translate="no">city_name</var>&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;<var translate="no">province_name</var>&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;<var translate="no">postal_code</var>&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>also<span class="devsite-syntax-w"> </span>define<span class="devsite-syntax-w"> </span>an<span class="devsite-syntax-w"> </span>address<span class="devsite-syntax-w"> </span>freeform,<span class="devsite-syntax-w"> </span>although<span class="devsite-syntax-w"> </span>this<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>not<span class="devsite-syntax-w"> </span>recommended:<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>&lt;address&gt;<var translate="no">freeform_address</var>&lt;/address&gt;<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;<var translate="no">country_code</var>&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;<var translate="no">hotel_latitude</var>&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;<var translate="no">hotel_longitude</var>&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="[fax|main|mobile|tdd|tollfree]"&gt;<var translate="no">phone_number</var>&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt;<var translate="no">content</var>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; &lt;/listings&gt; </code></pre></devsite-code> <h3 id="listing-attributes" class="hide-from-toc" data-text="Attributes" tabindex="-1">Attributes</h3> <p>The <code translate="no" dir="ltr">&lt;listing&gt;</code> element has no attributes.</p> <h3 id="listing-children" class="hide-from-toc" data-text="Child elements" tabindex="-1">Child elements</h3> <p>The <code translate="no" dir="ltr">&lt;listing&gt;</code> element has the following child elements:</p> <aside class="key-point"><strong>Key Point:</strong><span> Specify the child elements in the order shown below.</span></aside> <table class="fixed"> <tr> <th width="17%">Child&nbsp;element</th> <th width="10%">Required?</th> <th width="11%">Type</th> <th>Description</th> </tr> <tr> <td><span translate="no">&lt;id&gt;</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">string</span></td> <td>A unique identifier for the hotel. <p class="note">Note: This value must be unique to your site for all time. Do <i>not</i> re-use IDs, as that might cause problems when trying to <a href="https://support.google.com/hotelprices/answer/6329692">resolve property matching issues</a>.</p> </td> </tr> <tr> <td><span translate="no">&lt;name&gt;</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">string</span></td> <td>The name of the hotel. For example: <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;name&gt;Belgrave House&lt;/name&gt;</pre></devsite-code> </td> </tr> <tr> <td><span translate="no">&lt;address&gt;</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">Object or string</span></td> <td><p>The full physical location of the hotel.</p> <p>This element takes a single attribute, <code translate="no" dir="ltr">format</code>, which you must set to <code translate="no" dir="ltr">simple</code>.</p> <p>At a minimum, you must provide the street address, city, state or region, and postal code for the hotel. Use <code translate="no" dir="ltr">&lt;component&gt;</code> child elements to describe each of the following parts of the address:</p> <ul> <li><code translate="no" dir="ltr">addr1</code>: The primary street address of the hotel.</li> <li><code translate="no" dir="ltr">addr2</code>: The secondary street address, if necessary.</li> <li><code translate="no" dir="ltr">addr3</code>: A third portion of the street address, if necessary.</li> <li><code translate="no" dir="ltr">city</code>: The name of the hotel's city.</li> <li><code translate="no" dir="ltr">province</code>: The name of the hotel's state, region, or province.</li> <li><code translate="no" dir="ltr">postal_code</code>: The hotel's postal code.</li> </ul> <p>For example:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Carbon">&lt;<span class="devsite-syntax-nx">address</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">format</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"simple"</span>&gt; <span class="devsite-syntax-w"> </span>&lt;<span class="devsite-syntax-nx">component</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"addr1"</span>&gt;<span class="devsite-syntax-mi">6</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Acacia</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Ave</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">component</span>&gt; <span class="devsite-syntax-w"> </span>&lt;<span class="devsite-syntax-nx">component</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"addr2"</span>&gt;<span class="devsite-syntax-nx">Floor</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">5</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">component</span>&gt; <span class="devsite-syntax-w"> </span>&lt;<span class="devsite-syntax-nx">component</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"city"</span>&gt;<span class="devsite-syntax-nx">London</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">component</span>&gt; <span class="devsite-syntax-w"> </span>&lt;<span class="devsite-syntax-nx">component</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"province"</span>&gt;<span class="devsite-syntax-nx">Greater</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">London</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">component</span>&gt; <span class="devsite-syntax-w"> </span>&lt;<span class="devsite-syntax-nx">component</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">name</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"postal_code"</span>&gt;<span class="devsite-syntax-nx">SW1W</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">9</span><span class="devsite-syntax-nx">TQ</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">component</span>&gt; &lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">address</span>&gt;</pre></devsite-code> <p>Alternatively, you can provide a "free-form" address, although this is not recommended. For example:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Carbon">&lt;<span class="devsite-syntax-nx">address&gt;6</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Elm</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Ave</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Unit</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">3</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Boston</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">MA</span><span class="devsite-syntax-p">,</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">02472</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">address</span>&gt;</pre></devsite-code> <p>Note that P.O. boxes or other mailing-only addresses are not considered full physical addresses.</p> </td> </tr> <tr> <td><span translate="no">&lt;country&gt;</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">string</span></td> <td>The country that this listing is located in. The value must be an <a href="/hotels/hotel-prices/dev-guide/country-codes">two-letter country code</a>. For example, United States is "US" and Canada is "CA". For example: <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;country&gt;US&lt;/country&gt;</pre></devsite-code> </td> </tr> <tr> <td><span translate="no">&lt;latitude&gt;</span></td> <td><span translate="no">Required*</span></td> <td><span translate="no">float</span></td> <td>The latitude that corresponds to the location of the listing. For example: <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;latitude&gt;37.423738&lt;/latitude&gt;</pre></devsite-code> <p>This value can be generated with GeoCoding tools like the <a href="/maps/documentation/geocoding/intro">Google Maps API</a>.</p> </td> </tr> <tr> <td><span translate="no">&lt;longitude&gt;</span></td> <td><span translate="no">Required*</span></td> <td><span translate="no">float</span></td> <td>The longitude that corresponds to the location of the listing. For example: <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;longitude&gt;-122.090101&lt;/longitude&gt;</pre></devsite-code> <p>This value can be generated with GeoCoding tools like the <a href="/maps/documentation/geocoding/intro">Google Maps API</a>.</p> </td> </tr> <tr> <td><span translate="no">&lt;location_precision&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">integer</span></td> <td>Precision of the location of the property sent in meters when the property latitude and longitude is obfuscated. Zero (0) means there is no obfuscation and that it is the exact location. <b>Note: </b>This element applies to Vacation Rentals only. </td> </tr> <tr> <td><span translate="no">&lt;phone&gt;</span></td> <td><span translate="no">Required*</span></td> <td><span translate="no">string</span></td> <td><p>One or more contact numbers for the hotel. If the listing is business branch, please provide the phone number specific to branch location (not the phone number of central headquarters).</p> <p>The <code translate="no" dir="ltr">type</code> attribute can be one of the following:</p> <ul> <li><code translate="no" dir="ltr">fax</code>: Fax telephone number.</li> <li><code translate="no" dir="ltr">main</code>: Main voice telephone number.</li> <li><code translate="no" dir="ltr">mobile</code>: Mobile telephone number.</li> <li><code translate="no" dir="ltr">tdd</code>: Telecommunications Device for the Deaf (TDD) telephone number.</li> <li><code translate="no" dir="ltr">tollfree</code>: Toll free telephone number.</li> </ul> <p>For example:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Carbon">&lt;<span class="devsite-syntax-p">!</span><span class="devsite-syntax-o">--</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">Singapore</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">country</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">code</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">+</span><span class="devsite-syntax-mi">65</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">--</span><span class="devsite-syntax-p">></span> &lt;<span class="devsite-syntax-nx">phone</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">type</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"main"</span>&gt;<span class="devsite-syntax-o">+</span><span class="devsite-syntax-mi">65</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">6722</span><span class="devsite-syntax-o">-</span><span class="devsite-syntax-mi">2323</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">phone</span>&gt; &lt;<span class="devsite-syntax-p">!</span><span class="devsite-syntax-o">--</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">U</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-nx">S</span><span class="devsite-syntax-p">.</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-p">(</span><span class="devsite-syntax-nx">country</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-nx">code</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">+</span><span class="devsite-syntax-mi">1</span><span class="devsite-syntax-p">)</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-o">--</span><span class="devsite-syntax-p">></span> &lt;<span class="devsite-syntax-nx">phone</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-k">type</span><span class="devsite-syntax-p">=</span><span class="devsite-syntax-s">"fax"</span>&gt;<span class="devsite-syntax-o">+</span><span class="devsite-syntax-mi">1</span><span class="devsite-syntax-w"> </span><span class="devsite-syntax-mi">408</span><span class="devsite-syntax-o">-</span><span class="devsite-syntax-mi">555</span><span class="devsite-syntax-o">-</span><span class="devsite-syntax-mi">1111</span>&lt;<span class="devsite-syntax-o">/</span><span class="devsite-syntax-nx">phone</span>&gt;</pre></devsite-code> <p>At a minimum, you should provide a <code translate="no" dir="ltr">main</code> type.</p> </td> </tr> <tr> <td><span translate="no">&lt;category&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">string</span></td> <td>The type of property, such as a hotel. Partners may use whatever internal categories they have to describe their property, such as "business hotels," "resorts," "motels," and similar.</td> </tr> <tr> <td><span translate="no"><code translate="no" dir="ltr">&lt;content&gt;</code></span></td> <td><span translate="no">Optional</span></td> <td><span translate="no"><a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#content"><code translate="no" dir="ltr">&lt;content&gt;</code></a></span></td> <td>Optional details used for the listing, such as a description, ratings, and features of the property.</td> </tr> </table> <p>* Either a phone number <em>or</em> latitude/longitude is required. We recommend that you define both.</p> <h3 id="listing-examples" class="hide-from-toc" data-text="Examples" tabindex="-1">Examples</h3> <div class="ds-selector-tabs" data-ds-scope="code-sample"> <section><h3 id="structured-address_1" data-text="Structured Address" tabindex="-1">Structured Address</h3><p>The following example shows a partial hotel list with a structured address:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>The<span class="devsite-syntax-w"> </span>value<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>&lt;id&gt;<span class="devsite-syntax-w"> </span>must<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>unique<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>your<span class="devsite-syntax-w"> </span>site<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>all<span class="devsite-syntax-w"> </span>time.<span class="devsite-syntax-w"> </span>Do<span class="devsite-syntax-w"> </span>NOT<span class="devsite-syntax-w"> </span>reuse<span class="devsite-syntax-w"> </span>IDs.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123abc&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;Belgrave<span class="devsite-syntax-w"> </span>House&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address<span class="devsite-syntax-w"> </span>format="simple"&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;6<span class="devsite-syntax-w"> </span>Acacia<span class="devsite-syntax-w"> </span>Ave&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr2"&gt;Floor<span class="devsite-syntax-w"> </span>5&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;London&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;Greater<span class="devsite-syntax-w"> </span>London&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;SW1W<span class="devsite-syntax-w"> </span>9TQ&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;GB&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;35.070374&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-106.213648&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;123-456-7890&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code></section> <section><h3 id="free-form-address_1" data-text="Free-Form Address" tabindex="-1">Free-Form Address</h3><p>The following example shows a partial hotel list with a free-form address:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>The<span class="devsite-syntax-w"> </span>value<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>&lt;id&gt;<span class="devsite-syntax-w"> </span>must<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>unique<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>your<span class="devsite-syntax-w"> </span>site<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>all<span class="devsite-syntax-w"> </span>time.<span class="devsite-syntax-w"> </span>Do<span class="devsite-syntax-w"> </span>NOT<span class="devsite-syntax-w"> </span>reuse<span class="devsite-syntax-w"> </span>IDs.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123abc&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;Belgrave<span class="devsite-syntax-w"> </span>House&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address&gt;6<span class="devsite-syntax-w"> </span>Elm<span class="devsite-syntax-w"> </span>Ave<span class="devsite-syntax-w"> </span>Unit<span class="devsite-syntax-w"> </span>3,<span class="devsite-syntax-w"> </span>Boston,<span class="devsite-syntax-w"> </span>MA,<span class="devsite-syntax-w"> </span>02472&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;US&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;35.070374&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-106.213648&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;123-456-7890&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code></section> <section><h3 id="optional-content_1" data-text="Optional Content" tabindex="-1">Optional Content</h3><p>The following example shows a partial hotel list with a listing that contains an optional <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#content"><code translate="no" dir="ltr">&lt;content&gt;</code></a>:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123456&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;My<span class="devsite-syntax-w"> </span>Apartment&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address<span class="devsite-syntax-w"> </span>format="simple"&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;1<span class="devsite-syntax-w"> </span>Sandstone<span class="devsite-syntax-w"> </span>Building&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;Los<span class="devsite-syntax-w"> </span>Angeles&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;90210&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;CA&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;US&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;40.730610&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-73.935242&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;12345678&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>&lt;text<span class="devsite-syntax-w"> </span>type="description"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://examplelisting.com/listings/12345&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;3<span class="devsite-syntax-w"> </span>bedrooms<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Stay<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>this<span class="devsite-syntax-w"> </span>newly<span class="devsite-syntax-w"> </span>renovated<span class="devsite-syntax-w"> </span>3BR<span class="devsite-syntax-w"> </span>house<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>day="23"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/text&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="editorial"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://example.com/reviews/42&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;A<span class="devsite-syntax-w"> </span>little<span class="devsite-syntax-w"> </span>piece<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>heaven&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;EXAMPLE.COM&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;8&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;This<span class="devsite-syntax-w"> </span>place<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>really<span class="devsite-syntax-w"> </span>good.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="user"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://exampleperson.org/reviews/82&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;Susan<span class="devsite-syntax-w"> </span>von<span class="devsite-syntax-w"> </span>Trapp&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;6&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Not<span class="devsite-syntax-w"> </span>a<span class="devsite-syntax-w"> </span>bad<span class="devsite-syntax-w"> </span>place,<span class="devsite-syntax-w"> </span>but<span class="devsite-syntax-w"> </span>I<span class="devsite-syntax-w"> </span>prefer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>closer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>beach.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>day="6"<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;servicedate<span class="devsite-syntax-w"> </span>day="16"<span class="devsite-syntax-w"> </span>month="6"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;attributes&gt; <span class="devsite-syntax-w"> </span>&lt;website&gt;https://hotel.example.com&lt;/website&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="rating"&gt;8.2&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="num_reviews"&gt;14&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;/attributes&gt; <span class="devsite-syntax-w"> </span>&lt;image<span class="devsite-syntax-w"> </span>type="photo"<span class="devsite-syntax-w"> </span>url="https://image_url"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://image_url&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;Main<span class="devsite-syntax-w"> </span>hotel<span class="devsite-syntax-w"> </span>picture&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;/image&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code></section> </div> <h2 id="content" data-text="&lt;content&gt;" tabindex="-1"><code translate="no" dir="ltr">&lt;content&gt;</code></h2> <p>Adds information about a listing, such as ratings and reviews, amenities, and other details. The <code translate="no" dir="ltr">&lt;content&gt;</code> element is optional. Within <code translate="no" dir="ltr">&lt;content&gt;</code>, all child elements are optional.</p> <p>The <code translate="no" dir="ltr">&lt;content&gt;</code> element appears in the following place in the Hotel List Feed XML hierarchy:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded><code translate="no" dir="ltr">+ &lt;listings&gt; + &lt;language&gt; + &lt;listing&gt; + <strong>&lt;content&gt;</strong> </code></pre></devsite-code> <h3 id="content-syntax" class="hide-from-toc" data-text="Syntax" tabindex="-1">Syntax</h3> <p>The <code translate="no" dir="ltr">&lt;content&gt;</code> element uses the following syntax:</p> <div></div><devsite-code><pre class="devsite-click-to-copy readonly" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>...<span class="devsite-syntax-w"> </span>&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>Specify<span class="devsite-syntax-w"> </span>&lt;text&gt;'s<span class="devsite-syntax-w"> </span>child<span class="devsite-syntax-w"> </span>elements<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>order<span class="devsite-syntax-w"> </span>shown<span class="devsite-syntax-w"> </span>below.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;text<span class="devsite-syntax-w"> </span>type="description"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;<var translate="no">listing_link</var>&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;<var translate="no">listing_title</var>&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;<var translate="no">listing_author</var>&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;<var translate="no">listing_description</var>&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="<var translate="no">MM</var>"<span class="devsite-syntax-w"> </span>day="<var translate="no">DD</var>"<span class="devsite-syntax-w"> </span>year="<var translate="no">YYYY</var>"/&gt; <span class="devsite-syntax-w"> </span>&lt;/text&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>0<span class="devsite-syntax-w"> </span>or<span class="devsite-syntax-w"> </span>more<span class="devsite-syntax-w"> </span>reviews:<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="[editorial|user]"&gt; <span class="devsite-syntax-w"> </span>... <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>0<span class="devsite-syntax-w"> </span>or<span class="devsite-syntax-w"> </span>more<span class="devsite-syntax-w"> </span>attributes:<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;attributes&gt; <span class="devsite-syntax-w"> </span>&lt;website&gt;https://hotel.example.com&lt;/website&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="alternate_hotel_id"&gt;<var translate="no">alternate_hotel_id</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="custom_0"&gt;<var translate="no">custom_attribute_0</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="custom_1"&gt;<var translate="no">custom_attribute_1</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="custom_2"&gt;<var translate="no">custom_attribute_2</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="custom_3"&gt;<var translate="no">custom_attribute_3</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="custom_4"&gt;<var translate="no">custom_attribute_4</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="hotel_brand"&gt;<var translate="no">hotel_brand</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="num_reviews"&gt;<var translate="no">number_of_reviews</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="rating"&gt;<var translate="no">aggregate_rating</var>&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;/attributes&gt; <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>a<span class="devsite-syntax-w"> </span>picture<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>hotel<span class="devsite-syntax-w"> </span>or<span class="devsite-syntax-w"> </span>property--&gt; <span class="devsite-syntax-w"> </span>&lt;image<span class="devsite-syntax-w"> </span>type="photo"<span class="devsite-syntax-w"> </span>url="https://image_url"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://image_url&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;Main<span class="devsite-syntax-w"> </span>Hotel<span class="devsite-syntax-w"> </span>Picture&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;/image&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code> <h3 id="content-attributes" class="hide-from-toc" data-text="Attributes" tabindex="-1">Attributes</h3> <p>The <code translate="no" dir="ltr">&lt;content&gt;</code> element has no attributes.</p> <h3 id="content-children" class="hide-from-toc" data-text="Child elements" tabindex="-1">Child elements</h3> <p>The <code translate="no" dir="ltr">&lt;content&gt;</code> element has the following child elements:</p> <table> <tr> <th>Child&nbsp;element</th> <th>Required?</th> <th>Type</th> <th>Description</th> </tr> <tr> <td><span translate="no">&lt;text&nbsp;<wbr>type=<wbr>"description"&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">Object</span></td> <td><p>The webpage associated with the listing from the provider. Has the following child elements:</p> <ul> <li><code translate="no" dir="ltr">&lt;link&gt;</code>: A link to the description. Include the "http://" or <br>"https://" in this element (optional).</li> <li><code translate="no" dir="ltr">&lt;title&gt;</code>: The title for the description (optional).</li> <li><code translate="no" dir="ltr">&lt;author&gt;</code>: The author of the description (optional).</li> <li><code translate="no" dir="ltr">&lt;body&gt;</code>: The body of the description (<b>required</b>).</li> <li><code translate="no" dir="ltr">&lt;date&gt;</code>: The date of the description (optional).</li> <p><b>Note</b>: These elements must appear in the order above.</p> </ul> </td> </tr> <tr> <td><span translate="no">&lt;review&nbsp;<wbr>type=<wbr>"[editorial|<wbr>user]"&gt;</span> </td> <td><span translate="no">Optional</span></td> <td><span translate="no"><a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#review"><code translate="no" dir="ltr">&lt;review&gt;</code></a></span></td> <td><p>Contains a user review or an editorial review of the listing. Your listing can have any number of reviews in it, of either type.</p> <p>You don't need to include all reviews for a property in your <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listing"><code translate="no" dir="ltr">&lt;listing&gt;</code></a> element; this element is intended for you to include selected reviews that illustrate this listing's features or quality.</p> </td> </tr> <tr> <td><span translate="no">&lt;attributes&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">Object</span></td> <td><p>Contains 0 or more <code translate="no" dir="ltr">&lt;client_attr&gt;</code> child elements that provide details about the property. The child elements use the following syntax:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy readonly" translate="no" dir="ltr" is-upgraded syntax="scdoc">&lt;client_attr name="<var translate="no">attribute_name</var>"&gt;<var translate="no">attribute_value</var>&lt;client_attr&gt;</pre></devsite-code> <p>For a list and a description of child elements, refer to <a href="#attributes"><code translate="no" dir="ltr">&lt;attributes&gt;</code></a>.</p> <p>All <code translate="no" dir="ltr">&lt;client_attr&gt;</code> elements are optional.</p> <p>If there is a <code translate="no" dir="ltr">&lt;website&gt;</code> child element, it must be positioned before any <code translate="no" dir="ltr">&lt;client_attr&gt;</code> element.</p></td> </tr> <tr> <td><span translate="no">&lt;image&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">Object</span></td> <td>Repeated tag, contains detailed image information.</td> </tr> </table> <h3 id="content-examples" class="hide-from-toc" data-text="Example" tabindex="-1">Example</h3> <p>The following example shows a partial hotel list that includes the <code translate="no" dir="ltr">&lt;content&gt;</code> element:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123456&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;My<span class="devsite-syntax-w"> </span>Apartment&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address<span class="devsite-syntax-w"> </span>format="simple"&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;1<span class="devsite-syntax-w"> </span>Sandstone<span class="devsite-syntax-w"> </span>Building&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;Los<span class="devsite-syntax-w"> </span>Angeles&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;90210&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;CA&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;US&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;40.730610&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-73.935242&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;12345678&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>&lt;text<span class="devsite-syntax-w"> </span>type="description"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://examplelisting.com/listings/12345&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;3<span class="devsite-syntax-w"> </span>bedrooms<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Stay<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>this<span class="devsite-syntax-w"> </span>newly<span class="devsite-syntax-w"> </span>renovated<span class="devsite-syntax-w"> </span>3BR<span class="devsite-syntax-w"> </span>house<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>day="23"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/text&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="editorial"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://example.com/reviews/42&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;A<span class="devsite-syntax-w"> </span>little<span class="devsite-syntax-w"> </span>piece<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>heaven&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;EXAMPLE.COM&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;8&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;This<span class="devsite-syntax-w"> </span>place<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>really<span class="devsite-syntax-w"> </span>good.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="user"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://exampleperson.org/reviews/82&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;Susan<span class="devsite-syntax-w"> </span>von<span class="devsite-syntax-w"> </span>Trapp&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;6&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Not<span class="devsite-syntax-w"> </span>a<span class="devsite-syntax-w"> </span>bad<span class="devsite-syntax-w"> </span>place,<span class="devsite-syntax-w"> </span>but<span class="devsite-syntax-w"> </span>I<span class="devsite-syntax-w"> </span>prefer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>closer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>beach.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>day="6"<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;servicedate<span class="devsite-syntax-w"> </span>day="16"<span class="devsite-syntax-w"> </span>month="6"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;attributes&gt; <span class="devsite-syntax-w"> </span>&lt;website&gt;https://hotel.example.com&lt;/website&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="rating"&gt;8.2&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="num_reviews"&gt;14&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;/attributes&gt; <span class="devsite-syntax-w"> </span>&lt;image<span class="devsite-syntax-w"> </span>type="photo"<span class="devsite-syntax-w"> </span>url="https://image_url"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://image_url&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;Main<span class="devsite-syntax-w"> </span>hotel<span class="devsite-syntax-w"> </span>picture&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;/image&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code> <h2 id="review" data-text="&lt;review&gt;" tabindex="-1"><code translate="no" dir="ltr">&lt;review&gt;</code></h2> <p>Contains a user review or an editorial review. You don&#39;t need to include all reviews for a listing in your <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#listing"><code translate="no" dir="ltr">&lt;listing&gt;</code></a> element; this element is intended for you to include selected reviews that are indicative of this listing&#39;s features or quality.</p> <p>The <code translate="no" dir="ltr">&lt;review&gt;</code> element appears in the following place in the Hotel List Feed XML hierarchy:</p> <div></div><devsite-code><pre class="devsite-disable-click-to-copy devsite-click-to-copy" translate="no" dir="ltr" is-upgraded><code translate="no" dir="ltr">+ &lt;listings&gt; + &lt;language&gt; + &lt;listing&gt; + &lt;content&gt; + <strong>&lt;review&gt;</strong> </code></pre></devsite-code><aside class="key-point"><strong>Key Point:</strong><span> Before third-party reviews can be integrated on Google, you need to set up a Content License Agreement (CLA). Review <a href="//support.google.com/hotelprices/answer/10489985">How to send 3rd party reviews to Google</a> and contact your sales account manager for more information.</span></aside> <h3 id="review-syntax" class="hide-from-toc" data-text="Syntax" tabindex="-1">Syntax</h3> <p>The <code translate="no" dir="ltr">&lt;review&gt;</code> element uses the following syntax:</p> <div></div><devsite-code><pre class="devsite-click-to-copy readonly" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>...<span class="devsite-syntax-w"> </span>&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>... <span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>Specify<span class="devsite-syntax-w"> </span>&lt;review&gt;'s<span class="devsite-syntax-w"> </span>child<span class="devsite-syntax-w"> </span>elements<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>order<span class="devsite-syntax-w"> </span>shown<span class="devsite-syntax-w"> </span>below.<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="editorial"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;<var translate="no">review_link</var>&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;<var translate="no">review_title</var>&lt;/title&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>Title<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>reviews<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>"editorial"<span class="devsite-syntax-w"> </span>only<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;<var translate="no">review_author</var>&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;<var translate="no">review_rating</var>&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;<var translate="no">review_text</var>&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date&gt;<var translate="no">review_date</var>&lt;/date&gt; <span class="devsite-syntax-w"> </span>&lt;servicedate&gt;<var translate="no">review_servicedate</var>&lt;/servicedate&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="user"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;<var translate="no">review_link</var>&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;<var translate="no">review_author</var>&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="<var translate="no">MM</var>"<span class="devsite-syntax-w"> </span>day="<var translate="no">DD</var>"<span class="devsite-syntax-w"> </span>year="<var translate="no">YYYY</var>"/&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>Date<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>reviews<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>"user"<span class="devsite-syntax-w"> </span>only<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;servicedate<span class="devsite-syntax-w"> </span>month="<var translate="no">MM</var>"<span class="devsite-syntax-w"> </span>day="<var translate="no">DD</var>"<span class="devsite-syntax-w"> </span>year="<var translate="no">YYYY</var>"/&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>Service<span class="devsite-syntax-w"> </span>Date<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>for<span class="devsite-syntax-w"> </span>reviews<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>"user"<span class="devsite-syntax-w"> </span>only<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;<var translate="no">review_rating</var>&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;<var translate="no">review_text</var>&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; &lt;/listings&gt; </code></pre></devsite-code> <h3 id="review-attributes" class="hide-from-toc" data-text="Attributes" tabindex="-1">Attributes</h3> <p>The <code translate="no" dir="ltr">&lt;review&gt;</code> element has the following attributes:</p> <table> <tr> <th>Attribute</th> <th>Required?</th> <th>Description</th> </tr> <tr> <td><span translate="no">type</span></td> <td><span translate="no">Required</span></td> <td>The type of review. Set to one of the following values: <ul> <li><code translate="no" dir="ltr">editorial</code>: A review by a website or other reviewing authority.</li> <li><code translate="no" dir="ltr">user</code>: A review by an end user.</li> </ul> </td> </tr> </table> <h3 id="review-children" class="hide-from-toc" data-text="Child elements" tabindex="-1">Child elements</h3> <p>The <code translate="no" dir="ltr">&lt;review&gt;</code> element has the following child elements:</p> <aside class="key-point"><strong>Key Point:</strong><span> Specify the child elements in the order shown below.</span></aside> <table> <tr> <th>Child&nbsp;element</th> <th>Required?</th> <th>Type</th> <th>Description</th> </tr> <tr> <td><span translate="no">&lt;link></span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">string</span></td> <td>A link to the review. Include the "http://" or "https://" in this element.</td> </tr> <tr> <td><span translate="no">&lt;title&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">string</span></td> <td>(Editorial reviews only) The title of the review.</td> </tr> <tr> <td><span translate="no">&lt;author&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">string</span></td> <td>The review's author; for example, "Susan von Trapp". This can also be the name of a website or publication in which the review appears if it is uncredited.</td> </tr> <tr> <td><span translate="no">&lt;rating&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">string</span></td> <td>A floating point number from 0 to 10 (inclusive) representing the score of the review. For example, "8.9".</td> </tr> <tr> <td><span translate="no">&lt;body&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">string</span></td> <td>The text of the review. This element shouldn't contain HTML.</td> </tr> <tr> <td><span translate="no">&lt;date&nbsp;month="<var translate="no">MM</var>"&nbsp;day="<var translate="no">DD</var>" year="<var translate="no">YYYY</var>"/&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">Object</span></td> <td>(User reviews only) The date of the review, which you specify with the following attributes of this element: <ul> <li><code translate="no" dir="ltr">day</code>: The day of the month; for example, "7".</li> <li><code translate="no" dir="ltr">month</code>: The month, where 1 = January ... 12 = December.</li> <li><code translate="no" dir="ltr">year</code>: The four-digit year; for example,"2023".</li> </ul> <p>For example, June 7th, 2023 is written as:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy readonly" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;date month="6" day="7" year="2023"/&gt;</pre></devsite-code> </td> </tr> <tr> <td><span translate="no">&lt;servicedate&nbsp;month="<var translate="no">MM</var>"&nbsp;day="<var translate="no">DD</var>" year="<var translate="no">YYYY</var>"/&gt;</span></td> <td><span translate="no">Optional</span></td> <td><span translate="no">Object</span></td> <td>(User reviews only) The date the reviewer visited the listing being reviewed. The format is the same as &lt;date&gt; above. <p>For example, June 7th, 2023 is written as:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;servicedate month="6" day="7" year="2023"/&gt;</pre></devsite-code> <p class ="note">Reviews without at least the month and year of &lt;servicedate&gt; filled may not be shown. Day is not required.</p> </td> </tr> </table> <p>Note that <code translate="no" dir="ltr">&lt;title&gt;</code> is a valid child element of <code translate="no" dir="ltr">&lt;review&gt;</code> only if the review&#39;s <code translate="no" dir="ltr">type</code> is <code translate="no" dir="ltr">editorial</code>, and <code translate="no" dir="ltr">&lt;date&gt;</code> is only valid if <code translate="no" dir="ltr">type</code> is <code translate="no" dir="ltr">user</code>.</p> <h3 id="review-examples" class="hide-from-toc" data-text="Example" tabindex="-1">Example</h3> <p>The following example shows a partial hotel list with a listing that contains an editorial and a user review:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;id&gt;123456&lt;/id&gt; <span class="devsite-syntax-w"> </span>&lt;name&gt;My<span class="devsite-syntax-w"> </span>Apartment&lt;/name&gt; <span class="devsite-syntax-w"> </span>&lt;address<span class="devsite-syntax-w"> </span>format="simple"&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="addr1"&gt;1<span class="devsite-syntax-w"> </span>Sandstone<span class="devsite-syntax-w"> </span>Building&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="city"&gt;Los<span class="devsite-syntax-w"> </span>Angeles&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="postal_code"&gt;90210&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;component<span class="devsite-syntax-w"> </span>name="province"&gt;CA&lt;/component&gt; <span class="devsite-syntax-w"> </span>&lt;/address&gt; <span class="devsite-syntax-w"> </span>&lt;country&gt;US&lt;/country&gt; <span class="devsite-syntax-w"> </span>&lt;latitude&gt;40.730610&lt;/latitude&gt; <span class="devsite-syntax-w"> </span>&lt;longitude&gt;-73.935242&lt;/longitude&gt; <span class="devsite-syntax-w"> </span>&lt;phone<span class="devsite-syntax-w"> </span>type="main"&gt;12345678&lt;/phone&gt; <span class="devsite-syntax-w"> </span>&lt;category&gt;hotel&lt;/category&gt;<span class="devsite-syntax-w"> </span>&lt;!--<span class="devsite-syntax-w"> </span>You<span class="devsite-syntax-w"> </span>can<span class="devsite-syntax-w"> </span>use<span class="devsite-syntax-w"> </span>whatever<span class="devsite-syntax-w"> </span>property<span class="devsite-syntax-w"> </span>type<span class="devsite-syntax-w"> </span>categories<span class="devsite-syntax-w"> </span>you<span class="devsite-syntax-w"> </span>wish<span class="devsite-syntax-w"> </span>--&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>&lt;text<span class="devsite-syntax-w"> </span>type="description"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://examplelisting.com/listings/12345&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;3<span class="devsite-syntax-w"> </span>bedrooms<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Stay<span class="devsite-syntax-w"> </span>in<span class="devsite-syntax-w"> </span>this<span class="devsite-syntax-w"> </span>newly<span class="devsite-syntax-w"> </span>renovated<span class="devsite-syntax-w"> </span>3BR<span class="devsite-syntax-w"> </span>house<span class="devsite-syntax-w"> </span>with<span class="devsite-syntax-w"> </span>ocean<span class="devsite-syntax-w"> </span>views.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>day="23"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/text&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="editorial"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://example.com/reviews/42&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;A<span class="devsite-syntax-w"> </span>little<span class="devsite-syntax-w"> </span>piece<span class="devsite-syntax-w"> </span>of<span class="devsite-syntax-w"> </span>heaven&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;EXAMPLE.COM&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;8&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;This<span class="devsite-syntax-w"> </span>place<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>really<span class="devsite-syntax-w"> </span>good.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;review<span class="devsite-syntax-w"> </span>type="user"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://exampleperson.org/reviews/82&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;Susan<span class="devsite-syntax-w"> </span>von<span class="devsite-syntax-w"> </span>Trapp&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;rating&gt;6&lt;/rating&gt; <span class="devsite-syntax-w"> </span>&lt;body&gt;Not<span class="devsite-syntax-w"> </span>a<span class="devsite-syntax-w"> </span>bad<span class="devsite-syntax-w"> </span>place,<span class="devsite-syntax-w"> </span>but<span class="devsite-syntax-w"> </span>I<span class="devsite-syntax-w"> </span>prefer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>be<span class="devsite-syntax-w"> </span>closer<span class="devsite-syntax-w"> </span>to<span class="devsite-syntax-w"> </span>the<span class="devsite-syntax-w"> </span>beach.&lt;/body&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>day="6"<span class="devsite-syntax-w"> </span>month="7"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;servicedate<span class="devsite-syntax-w"> </span>day="16"<span class="devsite-syntax-w"> </span>month="6"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;attributes&gt; <span class="devsite-syntax-w"> </span>&lt;website&gt;https://hotel.example.com&lt;/website&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="rating"&gt;8.2&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;client_attr<span class="devsite-syntax-w"> </span>name="num_reviews"&gt;14&lt;/client_attr&gt; <span class="devsite-syntax-w"> </span>&lt;/attributes&gt; <span class="devsite-syntax-w"> </span>&lt;image<span class="devsite-syntax-w"> </span>type="photo"<span class="devsite-syntax-w"> </span>url="https://image_url"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://image_url&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;Main<span class="devsite-syntax-w"> </span>hotel<span class="devsite-syntax-w"> </span>picture&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;/image&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code> <h2 id="attributes" data-text="&lt;attributes&gt;" tabindex="-1"><code translate="no" dir="ltr">&lt;attributes&gt;</code></h2> <p>The <code translate="no" dir="ltr">&lt;attributes&gt;</code> tag can be used to describe property amenities and to classify ratings and reviews of the property.</p> <div></div><devsite-code><pre class="devsite-disable-click-to-copy devsite-click-to-copy" translate="no" dir="ltr" is-upgraded><code translate="no" dir="ltr">+ &lt;listings&gt; + &lt;language&gt; + &lt;listing&gt; + &lt;content&gt; + <strong>&lt;review&gt;</strong> + <strong>&lt;attributes&gt;</strong> </code></pre></devsite-code><aside class="key-point"><strong>Key Point:</strong><span> All attributes are optional.</span></aside> <h3 id="attributes-children" class="hide-from-toc" data-text="Child elements" tabindex="-1">Child elements</h3> <table> <tr> <th>Child&nbsp;element</th> <th>Required?</th> <th colspan=2>Description</th> </tr> <tr> <td><span translate="no">&lt;website&gt;</span></td> <td><span translate="no">Optional</span></td> <td colspan=2>The primary website for the hotel. If present, it must be positioned before the first <code translate="no" dir="ltr">&lt;client_attr&gt;</code> element. <b>Example:</b> <div></div><devsite-code><pre class=" devsite-click-to-copy devsite-disable-click-to-copy readonly " translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;website&gt;https://hotel.example.com&lt;/website&gt;</pre></devsite-code> </td> </tr> <tr> <td><span translate="no">&lt;client_attr name="<var translate="no">attribute_name</var>"&gt;</span></td> <td><span translate="no">Optional</span></td> <td colspan=2>An additional characteristic or "attribute" of the property that can be specified using the supported <a href="#attribute-names"> <code translate="no" dir="ltr">attribute_name</code></a> or <a href="#attribute-names-vr"> <code translate="no" dir="ltr">attribute_name</code> for Vacation Rentals</a>. </td> </tr> </table> <h3 id="attribute-names" class="hide-from-toc" data-text="Values for the attribute_name placeholder" tabindex="-1">Values for the attribute_name placeholder</h3> <p>The following table lists valid values for <var translate="no">attribute_name</var> in the &lt;client_attr name=&quot;<var translate="no">attribute_name</var>&quot;&gt; element.</p> <table class="fixed"> <tr> <th width="9%">Values for <code translate="no" dir="ltr">attribute_name</code></th> <th width="23%">Description</th> <th width="22%">Valid&nbsp;content&nbsp;values</th> </tr> <tr> <td><span translate="no">alternate_hotel_id</span></td> <td>An alternate identifier for your property. Having separate IDs is useful if you might need one property identifier for your feed information and another property identifier for your booking engine.</td> <td>Any string value</td> </tr> <tr> <td><span translate="no">custom_[0-4]</span></td> <td>Any string type custom attribute. These are not displayed to users.</td> <td>Any string value</td> </tr> <tr> <td><span translate="no">hotel_brand</span></td> <td>The brand to which this hotel belongs. For example, "Marriott" or "Hilton". This is not displayed to users but can be used for grouping hotels.</td> <td>Any string value</td> </tr> <tr> <td><span translate="no">lodging</span></td> <td>Encoded representation of all fields available in the <a href="/hotels/hotel-content/proto-reference/lodging-proto"><code translate="no" dir="ltr">Lodging</code> proto</a>.</td> <td>Base64-encoded string of the <a href="/protocol-buffers/docs/encoding">encoded</a> <code translate="no" dir="ltr">Lodging</code> proto</td> </tr> <tr> <td><span translate="no">num_reviews</span></td> <td>Number of reviews of the listing.</td> <td>Any non-negative integer.</td> </tr> <tr> <td><span translate="no">rating</span></td> <td>A floating point number representing the aggregate property rating.</td> <td>This number is typically from 0-5, 0-10, or 0-100, but you can use any range that represents your rating system. For example, the property rating should be 3 or 4 for a rating_scale of 5. <p class="note">Note: The default rating_scale is 0-10 if unspecified.</p> </td> </tr> </table> <h3 id="attribute-names-vr" class="hide-from-toc" data-text="Values for the attribute_name placeholder for Vacation Rentals" tabindex="-1">Values for the attribute_name placeholder for Vacation Rentals</h3> <p>Refer to <a href="/hotels/vacation-rentals/dev-guide/vr-attributes">Vacation Rentals-specific attributes and XML example</a>.</p> <h2 id="image" data-text="&lt;image&gt;" tabindex="-1"><code translate="no" dir="ltr">&lt;image&gt;</code></h2> <div></div><devsite-code><pre class="devsite-disable-click-to-copy devsite-click-to-copy" translate="no" dir="ltr" is-upgraded><code translate="no" dir="ltr">+ &lt;listings&gt; + &lt;language&gt; + &lt;listing&gt; + &lt;content&gt; + <strong>&lt;review&gt;</strong> + <strong>&lt;attributes&gt;</strong> + <strong>&lt;image&gt;</strong> </code></pre></devsite-code> <p>Images are used to show the property in the listing ID. All images used must follow these guidelines:</p> <ul> <li>The recommended aspect ratio for images is 4:3.</li> <li>The image URL must be accessible by the Googlebot Image crawler.</li> <li><p>If your site includes a robots.txt at the root level, verify that it contains one of the two options shown below:</p> <ol> <li><p>Allows the Googlebot crawler to crawl your site&#39;s content, images included.</p> <ul> <li>User-agent: Googlebot</li> <li>Allow: /</li> </ul></li> <li><p>Allows the Googlebot Image crawler to crawl the images on your site.</p> <ul> <li>User-agent: Googlebot-Image</li> <li>Allow: /</li> </ul></li> </ol></li> <li><p>Screenshots of images or websites aren&#39;t permitted. Images must be original and actual images or photographs.</p></li> </ul> <aside class="key-point"><strong>Key Point:</strong><span> Only partners configured for showing their images to end users can have their images listed on Google surfaces. Please contact your Technical Account Manager (TAM) to update your image settings.</span></aside> <h3 id="image-attributes" class="hide-from-toc" data-text="Attributes" tabindex="-1">Attributes</h3> <table class="fixed"> <tr> <th width="18%">Attribute&nbsp;name</th> <th width="11%">Required?</th> <th width="11%">Format</th> <th>Description</th> </tr> <tr> <td><span translate="no">type</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">Text</span></td> <td><p>An image must be one of the following:</p></td> <ul> <li><code translate="no" dir="ltr">"ad"</code> if the image is an advertisement</li> <li><code translate="no" dir="ltr">"menu"</code> if the image is a restaurant menu</li> <li><code translate="no" dir="ltr">"photo"</code> if the image is a photo of the business</li> </ul> </tr> <tr> <td><span translate="no">url</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">Text</span></td> <td>The URL of the full-sized image. Use the url attribute to specify the image to use on that page.</td> </tr> <tr> <td><span translate="no">width</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">A non-negative integer</span></td> <td>Width of the image, in pixels (greater than 720 pixels is recommended)</td> </tr> <tr> <td><span translate="no">height</span></td> <td><span translate="no">Required</span></td> <td><span translate="no">A non-negative integer</span></td> <td>Height of the image, in pixels (greater than 720 pixels is recommended)</td> </tr> </table> <h3 id="image-children" class="hide-from-toc" data-text="Child elements" tabindex="-1">Child elements</h3> <aside class="key-point"><strong>Key Point:</strong><span> Specify the child elements in the order shown below.</span></aside> <table class="fixed"> <tr> <th width="13%">Child&nbsp;element</th> <th width="14%">Required?</th> <th>Description</th> </tr> <tr> <td><span translate="no">&lt;link&gt;</span></td> <td>Requested, but <b>required</b> for local photo listings.</td> <td>This tag contains the valid and up-to-date URL of the page on your site that the relevant image is on. It doesn't contain the URL for the image itself. <b>Example:</b><div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="scdoc">&lt;link&gt;&lt;http://www.example.com/magic_pizza/&gt;&lt;/link&gt;</pre></devsite-code></td> </tr> <tr> <td><span translate="no">&lt;title&gt;</span></td> <td>Requested</td> <td>This tag contains the title of the image. <b>Example:</b> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;title&gt;"Luxury Apartment"&lt;/title&gt;</pre></devsite-code></td> </tr> <tr> <td><span translate="no">&lt;author&gt;</span></td> <td>Not required</td> <td>The name of the author of the content. The value can either be a user name or a full name in the format "Firstname Lastname."</td> </tr> <tr> <td><span translate="no">&lt;date&gt;</span></td> <td>Required</td> <td><p>This tag identifies the date that the content item was created. You must enter a year, month, and day, as in the following example:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="Text only">&lt;date month="6" day="7" year="2023"/&gt;</pre></devsite-code> </td> </tr> </table> <h3 id="image-examples" class="hide-from-toc" data-text="Example" tabindex="-1">Example</h3> <p>The following example shows a partial hotel list with image tags:</p> <div></div><devsite-code><pre class="devsite-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;?xml<span class="devsite-syntax-w"> </span>version="1.0"<span class="devsite-syntax-w"> </span>encoding="UTF-8"?&gt; &lt;listings<span class="devsite-syntax-w"> </span>xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <span class="devsite-syntax-w"> </span>xsi:noNamespaceSchemaLocation="http://www.gstatic.com/localfeed/local_feed.xsd"&gt; <span class="devsite-syntax-w"> </span>&lt;language&gt;en&lt;/language&gt; <span class="devsite-syntax-w"> </span>&lt;listing&gt; <span class="devsite-syntax-w"> </span>&lt;content&gt; <span class="devsite-syntax-w"> </span>&lt;review&gt; <span class="devsite-syntax-w"> </span>&lt;/review&gt; <span class="devsite-syntax-w"> </span>&lt;attributes&gt; <span class="devsite-syntax-w"> </span>&lt;/attributes&gt; <span class="devsite-syntax-w"> </span>&lt;image<span class="devsite-syntax-w"> </span>type="photo"<span class="devsite-syntax-w"> </span>url="https://image_url"<span class="devsite-syntax-w"> </span>width="400"<span class="devsite-syntax-w"> </span>height="300"&gt; <span class="devsite-syntax-w"> </span>&lt;link&gt;https://image_url&lt;/link&gt; <span class="devsite-syntax-w"> </span>&lt;title&gt;Apartment<span class="devsite-syntax-w"> </span>at<span class="devsite-syntax-w"> </span>Sandstone&lt;/title&gt; <span class="devsite-syntax-w"> </span>&lt;author&gt;Jessica<span class="devsite-syntax-w"> </span>Landlord&lt;/author&gt; <span class="devsite-syntax-w"> </span>&lt;date<span class="devsite-syntax-w"> </span>month="6"<span class="devsite-syntax-w"> </span>day="7"<span class="devsite-syntax-w"> </span>year="2023"/&gt; <span class="devsite-syntax-w"> </span>&lt;/image&gt; <span class="devsite-syntax-w"> </span>&lt;/content&gt; <span class="devsite-syntax-w"> </span>&lt;/listing&gt; <span class="devsite-syntax-w"> </span>... &lt;/listings&gt; </code></pre></devsite-code> <h2 id="guidelines" data-text="Syntax guidelines" tabindex="-1">Syntax guidelines</h2> <p>When creating an XML-based hotel list, use the following guidelines:</p> <ul> <li><p>Validate your Hotel List XML files with <a href="/hotels/hotel-prices/dev-guide/schemas">Google&#39;s XSD Schema</a>.</p></li> <li><p>Use UTF-8 encoding. Specify this encoding schema by including the <code translate="no" dir="ltr">encoding</code> attribute in your XML tag, as shown in the examples below.</p></li> <li><p>You can specify data values in your feed with <code translate="no" dir="ltr">CDATA</code> sections. If you use <code translate="no" dir="ltr">CDATA</code> sections, don&#39;t escape special characters.</p></li> <li><p>Use escape codes for data values that are not in <code translate="no" dir="ltr">CDATA</code> sections, including URLs. You can use either the entity code or the character code to represent these special characters. The following table lists common entity and character codes you can use:</p> <table class="alternating-odd-rows"> <tr> <th width="25%">Character</th> <th width="25%">Entity</th> <th width="25%">Character Code</th> </tr> <tr> <td>Ampersand (&amp;)</td> <td>&amp;amp;</td> <td>&amp;#38;</td> </tr> <tr> <td>Single Quote (')</td> <td>&amp;apos;</td> <td>&amp;#39;</td> </tr> <tr> <td>Double Quote (")</td> <td>&amp;quot;</td> <td>&amp;#34;</td> </tr> <tr> <td>Greater Than (&gt;)</td> <td>&amp;gt;</td> <td>&amp;#62;</td> </tr> <tr> <td>Less Than (&lt;)</td> <td>&amp;lt;</td> <td>&amp;#60;</td> </tr> </table></li> <li><p>Omit XML elements that doesn&#39;t contain data. For example, if you don&#39;t have the latitude and longitude for a hotel, you shouldn&#39;t include empty <code translate="no" dir="ltr">&lt;latitude/&gt;</code> and <code translate="no" dir="ltr">&lt;longitude/&gt;</code> elements.</p></li> <li><p>Don&#39;t use HTML in your XML elements under any circumstances (even if it is escaped).</p></li> <li><p>To validate your feed prior to uploading, you can use the local feed XSD http://www.gstatic.com/localfeed/local_feed.xsd.</p></li> <li><p>To use comments in your feed, wrap the comment in <code translate="no" dir="ltr">&lt;!--</code> and <code translate="no" dir="ltr">--&gt;</code> tags, as the following example shows:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;!--<span class="devsite-syntax-w"> </span>This<span class="devsite-syntax-w"> </span>is<span class="devsite-syntax-w"> </span>a<span class="devsite-syntax-w"> </span>comment<span class="devsite-syntax-w"> </span>--&gt; </code></pre></devsite-code></li> <li><p>Be sure that you close the <code translate="no" dir="ltr">&lt;date&gt;</code> element in a user <a href="https://developers.google.com/hotels/hotel-prices/xml-reference/hotel-list-feed#review"><code translate="no" dir="ltr">&lt;review&gt;</code></a>. For example:</p> <div></div><devsite-code><pre class="devsite-click-to-copy devsite-disable-click-to-copy" translate="no" dir="ltr" is-upgraded syntax="XML"><code translate="no" dir="ltr">&lt;date<span class="devsite-syntax-w"> </span>day="2"<span class="devsite-syntax-w"> </span>month="12"<span class="devsite-syntax-w"> </span>year="2017"/&gt; </code></pre></devsite-code></li> </ul> </div> <devsite-recommendations display="in-page" hidden yield> </devsite-recommendations> <devsite-thumb-rating position="footer"> </devsite-thumb-rating> <devsite-feedback position="footer" project-name="Hotel Prices" product-id="82128" bucket="Hotels" context="DevSite feedback link" version="t-devsite-webserver-20250211-r00-rc00.466928320959134316" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="footer" class="nocontent" project-feedback-url="https://support.google.com/hotelprices/" project-icon="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/touchicon-180-new.png" project-support-url="https://support.google.com/hotelprices/" > <button> Send feedback </button> </devsite-feedback> <devsite-recommendations id="recommendations-link" yield></devsite-recommendations> <div class="devsite-floating-action-buttons"> </div> </article> <devsite-content-footer class="nocontent"> <p>All rights reserved. Java is a registered trademark of Oracle and/or its affiliates.</p> <p>Last updated 2024-10-03 UTC.</p> </devsite-content-footer> <devsite-notification > </devsite-notification> <div class="devsite-content-data"> <template class="devsite-thumb-rating-feedback"> <devsite-feedback position="thumb-rating" project-name="Hotel Prices" product-id="82128" bucket="Hotels" context="DevSite feedback link" version="t-devsite-webserver-20250211-r00-rc00.466928320959134316" data-label="Send Feedback Button" track-type="feedback" track-name="sendFeedbackLink" track-metadata-position="thumb-rating" class="nocontent" project-feedback-url="https://support.google.com/hotelprices/" project-icon="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/touchicon-180-new.png" project-support-url="https://support.google.com/hotelprices/" > <button> Need to tell us more? </button> </devsite-feedback> </template> <template class="devsite-content-data-template"> [[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-03 UTC."],[[["The Hotel List Feed is an XML file used to provide hotel information to Google for display in Hotel Ads."],["The `\u003clisting\u003e` element contains details about each hotel, including ID, name, address, and optional content."],["The `\u003ccontent\u003e` element allows for rich details like descriptions, reviews, attributes, and images."],["Image tags within the feed require specific attributes and child elements for proper display."],["Strict XML syntax guidelines must be followed, including validation and proper escaping of special characters."]]],[]] </template> </div> </devsite-content> </main> <devsite-footer-promos class="devsite-footer"> </devsite-footer-promos> <devsite-footer-linkboxes class="devsite-footer"> <nav class="devsite-footer-linkboxes nocontent" aria-label="Footer links"> <ul class="devsite-footer-linkboxes-list"> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Connect</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="//googledevelopers.blogspot.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Blog </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.instagram.com/googlefordevs/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Instagram </a> </li> <li class="devsite-footer-linkbox-item"> <a href="https://www.linkedin.com/showcase/googledevelopers/" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > LinkedIn </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//twitter.com/googledevs" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > X (Twitter) </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.youtube.com/user/GoogleDevelopers" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > YouTube </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Programs</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="/community" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Google Developer Groups </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/community/experts" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Google Developer Experts </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/community/accelerators" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Accelerators </a> </li> <li class="devsite-footer-linkbox-item"> <a href="/womentechmakers" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Women Techmakers </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//www.techequitycollective.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Tech Equity Collective </a> </li> </ul> </li> <li class="devsite-footer-linkbox "> <h3 class="devsite-footer-linkbox-heading no-link">Developer consoles</h3> <ul class="devsite-footer-linkbox-list"> <li class="devsite-footer-linkbox-item"> <a href="//console.developers.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 1)" > Google API Console </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//console.cloud.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 2)" > Google Cloud Platform Console </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//play.google.com/apps/publish" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 3)" > Google Play Console </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//console.firebase.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 4)" > Firebase Console </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//console.actions.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 5)" > Actions on Google Console </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//cast.google.com/publish" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 6)" > Cast SDK Developer Console </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//chrome.google.com/webstore/developer/dashboard" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 7)" > Chrome Web Store Dashboard </a> </li> <li class="devsite-footer-linkbox-item"> <a href="//console.home.google.com" class="devsite-footer-linkbox-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Link (index 8)" > Google Home Developer Console </a> </li> </ul> </li> </ul> </nav> </devsite-footer-linkboxes> <devsite-footer-utility class="devsite-footer"> <div class="devsite-footer-utility nocontent"> <nav class="devsite-footer-sites" aria-label="Other Google Developers websites"> <a href="https://developers.google.com/" class="devsite-footer-sites-logo-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Developers Link"> <picture> <img class="devsite-footer-sites-logo" src="https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/lockup-google-for-developers.svg" loading="lazy" alt="Google Developers"> </picture> </a> <ul class="devsite-footer-sites-list"> <li class="devsite-footer-sites-item"> <a href="//developer.android.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Android Link" > Android </a> </li> <li class="devsite-footer-sites-item"> <a href="//developer.chrome.com/home" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Chrome Link" > Chrome </a> </li> <li class="devsite-footer-sites-item"> <a href="//firebase.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Firebase Link" > Firebase </a> </li> <li class="devsite-footer-sites-item"> <a href="//cloud.google.com" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google Cloud Platform Link" > Google Cloud Platform </a> </li> <li class="devsite-footer-sites-item"> <a href="//ai.google.dev/" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer Google AI Link" > Google AI </a> </li> <li class="devsite-footer-sites-item"> <a href="/products" class="devsite-footer-sites-link gc-analytics-event" data-category="Site-Wide Custom Events" data-label="Footer All products Link" > All products </a> </li> </ul> </nav> <nav class="devsite-footer-utility-links" aria-label="Utility links"> <ul class="devsite-footer-utility-list"> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="/terms/site-terms" data-category="Site-Wide Custom Events" data-label="Footer Terms link" > Terms </a> </li> <li class="devsite-footer-utility-item "> <a class="devsite-footer-utility-link gc-analytics-event" href="//policies.google.com/privacy" data-category="Site-Wide Custom Events" data-label="Footer Privacy link" > Privacy </a> </li> <li class="devsite-footer-utility-item glue-cookie-notification-bar-control"> <a class="devsite-footer-utility-link gc-analytics-event" href="#" data-category="Site-Wide Custom Events" data-label="Footer Manage cookies link" aria-hidden="true" > Manage cookies </a> </li> <li class="devsite-footer-utility-item devsite-footer-utility-button"> <span class="devsite-footer-utility-description">Sign up for the Google for Developers newsletter</span> <a class="devsite-footer-utility-link gc-analytics-event" href="/newsletter/subscribe" data-category="Site-Wide Custom Events" data-label="Footer Subscribe link" > Subscribe </a> </li> </ul> <devsite-language-selector> <ul role="presentation"> <li role="presentation"> <a role="menuitem" lang="en" >English</a> </li> <li role="presentation"> <a role="menuitem" lang="de" >Deutsch</a> </li> <li role="presentation"> <a role="menuitem" lang="es" >Español</a> </li> <li role="presentation"> <a role="menuitem" lang="es_419" >Español – América Latina</a> </li> <li role="presentation"> <a role="menuitem" lang="fr" >Français</a> </li> <li role="presentation"> <a role="menuitem" lang="id" >Indonesia</a> </li> <li role="presentation"> <a role="menuitem" lang="it" >Italiano</a> </li> <li role="presentation"> <a role="menuitem" lang="pl" >Polski</a> </li> <li role="presentation"> <a role="menuitem" lang="pt_br" >Português – Brasil</a> </li> <li role="presentation"> <a role="menuitem" lang="vi" >Tiếng Việt</a> </li> <li role="presentation"> <a role="menuitem" lang="tr" >Türkçe</a> </li> <li role="presentation"> <a role="menuitem" lang="ru" >Русский</a> </li> <li role="presentation"> <a role="menuitem" lang="he" >עברית</a> </li> <li role="presentation"> <a role="menuitem" lang="ar" >العربيّة</a> </li> <li role="presentation"> <a role="menuitem" lang="fa" >فارسی</a> </li> <li role="presentation"> <a role="menuitem" lang="hi" >हिंदी</a> </li> <li role="presentation"> <a role="menuitem" lang="bn" >বাংলা</a> </li> <li role="presentation"> <a role="menuitem" lang="th" >ภาษาไทย</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_cn" >中文 – 简体</a> </li> <li role="presentation"> <a role="menuitem" lang="zh_tw" >中文 – 繁體</a> </li> <li role="presentation"> <a role="menuitem" lang="ja" >日本語</a> </li> <li role="presentation"> <a role="menuitem" lang="ko" >한국어</a> </li> </ul> </devsite-language-selector> </nav> </div> </devsite-footer-utility> <devsite-panel></devsite-panel> <devsite-concierge data-info-panel data-ai-panel data-api-explorer-panel > </devsite-concierge> </section></section> <devsite-sitemask></devsite-sitemask> <devsite-snackbar></devsite-snackbar> <devsite-tooltip ></devsite-tooltip> <devsite-heading-link></devsite-heading-link> <devsite-analytics> <script type="application/json" analytics>[{&#34;dimensions&#34;: {&#34;dimension4&#34;: &#34;Hotel Prices&#34;, &#34;dimension1&#34;: &#34;Signed out&#34;, &#34;dimension5&#34;: &#34;en&#34;, &#34;dimension3&#34;: false, &#34;dimension6&#34;: &#34;en&#34;, &#34;dimension11&#34;: false}, &#34;gaid&#34;: &#34;UA-24532603-1&#34;, &#34;metrics&#34;: {&#34;ratings_count&#34;: &#34;metric2&#34;, &#34;ratings_value&#34;: &#34;metric1&#34;}, &#34;purpose&#34;: 1}]</script> <script type="application/json" tag-management>{&#34;at&#34;: &#34;True&#34;, &#34;ga4&#34;: [{&#34;id&#34;: &#34;G-272J68FCRF&#34;, &#34;purpose&#34;: 1}], &#34;ga4p&#34;: [{&#34;id&#34;: &#34;G-272J68FCRF&#34;, &#34;purpose&#34;: 1}], &#34;gtm&#34;: [], &#34;parameters&#34;: {&#34;internalUser&#34;: &#34;False&#34;, &#34;language&#34;: {&#34;machineTranslated&#34;: &#34;False&#34;, &#34;requested&#34;: &#34;en&#34;, &#34;served&#34;: &#34;en&#34;}, &#34;pageType&#34;: &#34;article&#34;, &#34;projectName&#34;: &#34;Hotel Prices&#34;, &#34;signedIn&#34;: &#34;False&#34;, &#34;tenant&#34;: &#34;developers&#34;, &#34;recommendations&#34;: {&#34;sourcePage&#34;: &#34;&#34;, &#34;sourceType&#34;: 0, &#34;sourceRank&#34;: 0, &#34;sourceIdenticalDescriptions&#34;: 0, &#34;sourceTitleWords&#34;: 0, &#34;sourceDescriptionWords&#34;: 0, &#34;experiment&#34;: &#34;&#34;}, &#34;experiment&#34;: {&#34;ids&#34;: &#34;&#34;}}}</script> </devsite-analytics> <devsite-badger></devsite-badger> <script nonce="Ln5XsaGYsa0XAkYva3wWYeOhr9Hbmz"> (function(d,e,v,s,i,t,E){d['GoogleDevelopersObject']=i; t=e.createElement(v);t.async=1;t.src=s;E=e.getElementsByTagName(v)[0]; E.parentNode.insertBefore(t,E);})(window, document, 'script', 'https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/js/app_loader.js', '[1,"en",null,"/js/devsite_app_module.js","https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f","https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers","https://developers-dot-devsite-v2-prod.appspot.com",null,null,["/_pwa/developers/manifest.json","https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/images/video-placeholder.svg","https://www.gstatic.com/devrel-devsite/prod/v38a693baeb774512feb42f10aac8f755d8791ed41119b5be7a531f8e16f8279f/developers/images/favicon-new.png","https://fonts.googleapis.com/css?family=Google+Sans:400,500|Roboto:400,400italic,500,500italic,700,700italic|Roboto+Mono:400,500,700&display=swap"],1,null,[1,6,8,12,14,17,21,25,50,52,63,70,75,76,80,87,91,92,93,97,98,100,101,102,103,104,105,107,108,109,110,112,113,116,117,118,120,122,124,125,126,127,129,130,131,132,133,134,135,136,138,140,141,147,148,149,151,152,156,157,158,159,161,163,164,168,169,170,179,180,182,183,186,191,193,196],"AIzaSyAP-jjEJBzmIyKR4F-3XITp8yM9T1gEEI8","AIzaSyB6xiKGDR5O3Ak2okS4rLkauxGUG7XP0hg","developers.google.com","AIzaSyAQk0fBONSGUqCNznf6Krs82Ap1-NV6J4o","AIzaSyCCxcqdrZ_7QMeLCRY20bh_SXdAYqy70KY",null,null,null,["MiscFeatureFlags__emergency_css","Concierge__enable_pushui","Profiles__enable_awarding_url","Cloud__enable_cloudx_experiment_ids","Analytics__enable_clearcut_logging","Profiles__enable_profile_collections","CloudShell__cloud_code_overflow_menu","Cloud__enable_cloud_shell_fte_user_flow","Profiles__enable_release_notes_notifications","Search__enable_page_map","Search__enable_ai_eligibility_checks","Search__enable_suggestions_from_borg","Profiles__enable_join_program_group_endpoint","Profiles__enable_completecodelab_endpoint","MiscFeatureFlags__developers_footer_image","Concierge__enable_concierge_restricted","Experiments__reqs_query_experiments","CloudShell__cloud_shell_button","Profiles__enable_complete_playlist_endpoint","MiscFeatureFlags__enable_firebase_utm","MiscFeatureFlags__enable_view_transitions","Profiles__enable_recognition_badges","Profiles__enable_developer_profiles_callout","TpcFeatures__enable_unmirrored_page_left_nav","Cloud__enable_cloud_shell","Cloud__enable_cloud_facet_chat","MiscFeatureFlags__enable_explain_this_code","Concierge__enable_key_takeaways","Search__enable_dynamic_content_confidential_banner","Profiles__enable_stripe_subscription_management","MiscFeatureFlags__enable_project_variables","Cloud__enable_llm_concierge_chat","Profiles__enable_completequiz_endpoint","Search__enable_ai_search_summaries","Profiles__require_profile_eligibility_for_signin","Concierge__enable_concierge","BookNav__enable_tenant_cache_key","Profiles__enable_public_developer_profiles","Search__enable_ai_search_summaries_restricted","DevPro__enable_cloud_innovators_plus","DevPro__enable_developer_subscriptions","TpcFeatures__enable_mirror_tenant_redirects","Profiles__enable_dashboard_curated_recommendations","MiscFeatureFlags__enable_variable_operator","Cloud__enable_cloud_dlp_service","Cloud__enable_cloudx_ping","Cloud__enable_free_trial_server_call","MiscFeatureFlags__developers_footer_dark_image","Significatio__enable_by_tenant","Cloud__enable_legacy_calculator_redirect","Profiles__enable_page_saving","EngEduTelemetry__enable_engedu_telemetry"],null,null,"AIzaSyBLEMok-5suZ67qRPzx0qUtbnLmyT_kCVE","https://developerscontentserving-pa.clients6.google.com","AIzaSyCM4QpTRSqP5qI4Dvjt4OAScIN8sOUlO-k","https://developerscontentsearch-pa.clients6.google.com",1,4,null,"https://developerprofiles-pa.clients6.google.com",[1,"developers","Google for Developers","developers.google.com",null,"developers-dot-devsite-v2-prod.appspot.com",null,null,[1,1,[1],null,null,null,null,null,null,null,null,[1],null,null,null,null,null,null,[1],[1,null,null,[1,20],"/recommendations/information"],null,null,null,[1,1,1],[1,1,null,1,1]],null,[null,null,null,null,null,null,"/images/lockup-new.svg","/images/touchicon-180-new.png",null,null,null,null,1,null,null,null,null,null,null,null,null,1,null,null,null,"/images/lockup-dark-theme-new.svg",[]],[],null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,[6,1,14,15,20,22,23,29,32,36],null,[[null,null,null,[3,7,10,2,39,17,4,32,24,11,12,13,34,15,25],null,null,[1,[["docType","Choose a content type",[["Tutorial",null,null,null,null,null,null,null,null,"Tutorial"],["Guide",null,null,null,null,null,null,null,null,"Guide"],["Sample",null,null,null,null,null,null,null,null,"Sample"]]],["product","Choose a product",[["Android",null,null,null,null,null,null,null,null,"Android"],["ARCore",null,null,null,null,null,null,null,null,"ARCore"],["ChromeOS",null,null,null,null,null,null,null,null,"ChromeOS"],["Firebase",null,null,null,null,null,null,null,null,"Firebase"],["Flutter",null,null,null,null,null,null,null,null,"Flutter"],["Assistant",null,null,null,null,null,null,null,null,"Google Assistant"],["GoogleCloud",null,null,null,null,null,null,null,null,"Google Cloud"],["GoogleMapsPlatform",null,null,null,null,null,null,null,null,"Google Maps Platform"],["GooglePay",null,null,null,null,null,null,null,null,"Google Pay & Google Wallet"],["GooglePlay",null,null,null,null,null,null,null,null,"Google Play"],["Tensorflow",null,null,null,null,null,null,null,null,"TensorFlow"]]],["category","Choose a topic",[["AiAndMachineLearning",null,null,null,null,null,null,null,null,"AI and Machine Learning"],["Data",null,null,null,null,null,null,null,null,"Data"],["Enterprise",null,null,null,null,null,null,null,null,"Enterprise"],["Gaming",null,null,null,null,null,null,null,null,"Gaming"],["Mobile",null,null,null,null,null,null,null,null,"Mobile"],["Web",null,null,null,null,null,null,null,null,"Web"]]]]]],[1,1],null,1],[[["UA-24532603-1"],["UA-22084204-5"],null,null,["UA-24532603-5"],null,null,[["G-272J68FCRF"],null,null,[["G-272J68FCRF",2]]],[["UA-24532603-1",2]],null,[["UA-24532603-5",2]],null,1],[[6,5],[14,11],[1,1],[12,9],[5,4],[3,2],[16,13],[15,12],[13,10],[4,3],[11,8]],[[1,1],[2,2]]],null,4,null,null,null,null,null,null,null,null,null,null,null,null,null,"developers.devsite.google"],null,"pk_live_5170syrHvgGVmSx9sBrnWtA5luvk9BwnVcvIi7HizpwauFG96WedXsuXh790rtij9AmGllqPtMLfhe2RSwD6Pn38V00uBCydV4m",1]') </script> <devsite-a11y-announce></devsite-a11y-announce> </body> </html>

Pages: 1 2 3 4 5 6 7 8 9 10