Index
AdsAccountLinkingService
(interface)BookingNotification
(interface)Feed
(interface)InvalidationService
(interface)InventoryStatus
(interface)InventoryUpdate
(interface)ActionLink
(message)ActionLink.ActionLinkType
(enum)ActionLink.EventMetadata
(message)ActionLink.EventMetadata.Surface
(enum)ActionPlatform
(enum)AdsAccountLink
(message)AdsAccountLink.State
(enum)Advisement
(message)Availability
(message)Availability.ConfirmationMode
(enum)Availability.DurationRequirement
(enum)Availability.LinkoutRequiredReason
(enum)Availability.Recurrence
(message)Availability.ScheduleException
(message)Availability.SchedulingRuleOverrides
(message)BatchDeleteGenericRecordsRequest
(message)BatchPushGenericRecordRequest
(message)BatchReplaceServiceAvailabilityRequest
(message)BatchReplaceServiceAvailabilityResponse
(message)Booking
(message)BookingFailure
(message)BookingFailure.Cause
(enum)BookingFailure.PaymentFailureInformation
(message)BookingFailure.PaymentFailureInformation.ThreeDS1Parameters
(message)BookingStatus
(enum)CallMerchant
(message)CancellationPolicy
(message)CancellationPolicy.RefundCondition
(message)ClientInformation
(message)CreateAdsAccountLinkRequest
(message)CreateMerchantRequest
(message)CreateServiceRequest
(message)CreditCardRestrictions
(message)CreditCardRestrictions.CreditCardType
(enum)DeleteAdsAccountLinkRequest
(message)DeleteMerchantRequest
(message)DeleteServiceRequest
(message)Deposit
(message)DirectMerchantPayment
(message)DurationRange
(message)EconomicOperator
(message)ExtendedServiceAvailability
(message)FeedStatistics
(message)FeedStatus
(message)FeedStatus.State
(enum)FoodOrderingMetadata
(message)FoodOrderingMetadata.AdvanceOrderDetails
(message)FoodOrderingMetadata.FeeDetails
(message)FoodOrderingMetadata.FeeDetails.FeeAmount
(message)FoodOrderingMetadata.FeeDetails.FeeType
(enum)FulfillmentOption
(message)FulfillmentOption.AvailableDay
(message)FulfillmentOption.FeeDetails
(message)FulfillmentOption.FixedFee
(message)FulfillmentOption.FulfillmentType
(enum)FulfillmentOption.MinimumFee
(message)FulfillmentOption.NoFee
(message)GenericDeleteRecord
(message)GenericRecord
(message)GeoCoordinates
(message)GetAdsAccountLinkRequest
(message)GetMerchantStatusRequest
(message)GetStatusRequest
(message)HomeServiceData
(message)IntegrationType
(enum)InvalidateResourceRequest
(message)LineItem
(message)LineItem.OrderedTickets
(message)ListMerchantStatusesRequest
(message)ListMerchantStatusesRequest.BookingInventoryStatus
(enum)ListMerchantStatusesRequest.GeoMatchingStatus
(enum)ListMerchantStatusesRequest.WaitlistInventoryStatus
(enum)ListMerchantStatusesResponse
(message)ListStatusRequest
(message)ListStatusResponse
(message)LocalizedString
(message)Location
(message)LocationType
(enum)Merchant
(message)MerchantMatchingHints
(message)MerchantStatus
(message)MerchantStatus.BookingStatus
(message)MerchantStatus.DirectUrl
(message)MerchantStatus.DirectUrl.UrlType
(enum)MerchantStatus.LocalServicesMatchInfo
(message)MerchantStatus.LocalServicesMatchInfo.MatchedProvider
(message)MerchantStatus.PlaceInfo
(message)MerchantStatus.ProcessingStatus
(enum)MerchantStatus.WaitlistStatus
(message)MoneyRange
(message)NoShowFee
(message)Order
(message)OrderOnlineMetadata
(message)PaymentInformation
(message)PaymentOption
(message)PaymentOption.ActivationType
(enum)PaymentOption.PaymentOptionType
(enum)PaymentProcessorConfig
(message)PaymentProcessorConfig.Processor
(enum)PaymentRestrictions
(message)PerOrderFee
(message)PerTicketFee
(message)PostalAddress
(message)Prepayment
(message)PrepaymentStatus
(enum)Price
(message)PriceInfo
(message)PriceInterpretation
(enum)PriceRange
(message)PriceType
(enum)QuantitativeValue
(message)QuantitativeValue.RangeValue
(message)Rating
(message)RelatedMedia
(message)RelatedMedia.Attribution
(message)RelatedMedia.MediaType
(enum)ReplaceServiceAvailabilityRequest
(message)RequireCreditCard
(enum)Resources
(message)SchedulingRules
(message)SchedulingRules.AdmissionPolicy
(enum)Service
(message)Service.PrepaymentTerms
(message)Service.PrepaymentTerms.ChargeTiming
(enum)Service.PrepaymentType
(enum)Service.ServiceType
(enum)ServiceAttribute
(message)ServiceAttribute.Value
(message)ServiceAttributeValueId
(message)ServiceAvailability
(message)ServiceIntakeForm
(message)ServiceIntakeFormField
(message)ServiceIntakeFormField.FieldType
(enum)TaxRate
(message)Terms
(message)Text
(message)TicketType
(message)TicketType.InventoryType
(enum)TicketType.PriceDisplayType
(enum)TicketingVerticalSpecificData
(message)TicketingVerticalSpecificData.AttendanceMode
(enum)TicketingVerticalSpecificData.Entity
(message)TicketingVerticalSpecificData.Entity.EntityRole
(enum)TicketingVerticalSpecificData.Entity.EntityType
(enum)TicketingVerticalSpecificData.EventCategory
(enum)TicketingVerticalSpecificData.EventCreator
(message)TicketingVerticalSpecificData.EventState
(enum)TicketingVerticalSpecificData.OrganizerType
(enum)TicketingVerticalSpecificData.PublicIdentificationData
(message)TimeRange
(message)TokenizationConfig
(message)TokenizationConfig.BillingInformationFormat
(enum)ToursAndActivitiesContent
(message)UnsupportedPartySizeOption
(message)UpdateAdsAccountLinkRequest
(message)UpdateBookingRequest
(message)UpdateMerchantRequest
(message)UpdateOrderRequest
(message)UpdateServiceRequest
(message)UriTemplate
(message)UserPurchaseRestriction
(message)VirtualSession
(message)VirtualSession.VirtualPlatformInfo
(message)VirtualSession.VirtualPlatformInfo.Platform
(enum)WaitlistRules
(message)
AdsAccountLinkingService
Service to manage account linking between Google Ads and Partner Center.
CreateAdsAccountLink |
---|
Creates Ads account link. This will initiate link between the Google Ads account and Partner Center. The link will be in the
|
DeleteAdsAccountLink |
---|
Deletes Ads account link. This will unlink the Google Ads account and the Partner Center account.
|
GetAdsAccountLink |
---|
Gets Ads account link.
|
UpdateAdsAccountLink |
---|
Updates Ads account link with inventory items. This will update the Ads account link with the provided inventory items.
|
BookingNotification
Receives notifications for appointments from external scheduling partners. The partner should call either UpdateBooking or UpdateOrder depending on whether the partner implements booking based RPCs such as CreateBooking and CheckAvailability, or order base RPCs such as CreateOrder and CheckOrderFulfillability.
UpdateBooking |
---|
Updates an existing
|
UpdateOrder |
---|
Updates an existing
|
Feed
Retrieve processing status for uploaded feeds by external aggregator partners.
GetStatus |
---|
Retrieves the
|
ListStatus |
---|
Retrieves the
|
InvalidationService
Receives resource invalidation requests from external partners.
InvalidateResource |
---|
Invalidates an existing resource. A request is ignored if the requested resource is not subscribed to Google service. Supported resource types: - Pickup
|
InventoryStatus
Retrieve inventory and matching status of uploaded merchants.
GetMerchantStatus |
---|
Get the
|
ListMerchantStatuses |
---|
List all
|
InventoryUpdate
Receives inventory updates from external aggregators.
BatchDeleteGenericRecords |
---|
Deletes records of specified feed type. Only performs basic validation (like malformed request) after which an appropriate response is returned to the partner immediately. Google performs business logic validation on the request asynchronously. This batch call does not guarantee atomicity.
|
BatchPushGenericRecord |
---|
Inserts and/or updates records of specified feed type. Only performs basic validation (like malformed request) after which an appropriate response is returned to the partner immediately. Google performs business logic validation on the request asynchronously. This batch call does not guarantee atomicity.
|
BatchReplaceServiceAvailability |
---|
Replaces the
|
CreateMerchant |
---|
Creates a new
|
CreateService |
---|
Creates a new
|
DeleteMerchant |
---|
Deletes an existing
|
DeleteService |
---|
Deletes an existing
|
ReplaceServiceAvailability |
---|
Replaces the
|
UpdateMerchant |
---|
Updates an existing
|
UpdateService |
---|
Updates an existing
|
ActionLink
An action URL with associated language, list of countries restricted to, and optional platform that indicates which platform this action should be performed on.
Fields | |
---|---|
url |
The entry point URL for this action link. |
language |
The BCP-47 language tag identifying the language in which the content from this URI is available. |
restricted_ |
ISO 3166-1 alpha-2 country code. Leave empty for unrestricted visibility. |
platform |
The platform that this action should be performed on. If this field is unset, ACTION_PLATFORM_WEB_APPLICATION will be used as fallback. |
action_ |
Predetermined type of action. |
order_ |
Metadata for the order online link. Supports action with ActionLinkType of ACTION_LINK_TYPE_SHOP_ONLINE. |
food_ |
Metadata for Food Ordering links. Supports action type: * |
event_ |
Additional information about action link which is unique to the events vertical. |
ActionLinkType
Predetermined type of action associated with an action link.
Enums | |
---|---|
ACTION_LINK_TYPE_UNSPECIFIED |
The action link type is unspecified. |
ACTION_LINK_TYPE_BOOK_APPOINTMENT |
The action link type is booking an appointment. |
ACTION_LINK_TYPE_BOOK_ONLINE_APPOINTMENT |
The action link type is booking an online appointment. |
ACTION_LINK_TYPE_ORDER_FOOD |
The action link type is ordering food for delivery or takeout or both. |
ACTION_LINK_TYPE_ORDER_FOOD_DELIVERY |
The action link type is ordering food for delivery. |
ACTION_LINK_TYPE_ORDER_FOOD_TAKEOUT |
The action link type is ordering food for takeout. |
ACTION_LINK_TYPE_MAKE_DINING_RESERVATION |
The action link type is making a dining reservation. |
ACTION_LINK_TYPE_SHOP_ONLINE |
The action link type is ordering for shopping, could be deliver or pickup or both. |
EventMetadata
Additional information about action link which is unique to the events vertical.
Fields | |
---|---|
surface |
Predetermined event surface associated with an action link. This is only used for Events vertical. |
Surface
Predetermined event surface associated with an action link. This is only used for Events vertical.
Enums | |
---|---|
SURFACE_UNSPECIFIED |
The surface is unspecified. |
SURFACE_SEARCH |
The action link is booking a event ticket in Search. |
SURFACE_YOUTUBE |
The action link is booking a event ticket in YouTube. |
SURFACE_ADS |
The action link is clicking on an ad for the event. |
ActionPlatform
The platform that the action is performed on. Web application is the general fallback. It is recommended to have at least one ActionLink with ACTION_PLATFORM_WEB_APPLICATION. Links with Android and iOS as platform are only used on the respective system.
Enums | |
---|---|
ACTION_PLATFORM_UNSPECIFIED |
The platform is unspecified. |
ACTION_PLATFORM_WEB_APPLICATION |
The action platform is web in general. |
ACTION_PLATFORM_MOBILE_WEB |
The action platform is web on mobile devices. |
ACTION_PLATFORM_ANDROID |
The action platform is Android OS. |
ACTION_PLATFORM_IOS |
The action platform is iOS. |
AdsAccountLink
AdsAccountLink is a link between an Ads account and a Partner Center account along with the inventory items.
Fields | |
---|---|
name |
Identifier. Resource name of the AdsAccountLink. Format: |
item_ |
Required. List of inventory item Ids to be linked with the Google Ads account. |
state |
Output only. State of the Ads account link. |
State
State of the Ads account link.
Enums | |
---|---|
STATE_UNSPECIFIED |
Unknown state. |
LINKED |
Account is linked between the Partner Center and the Ads Portal. |
PENDING |
Account is waiting for approval on either the Partner Center or the Ads Portal. |
DELETED |
Account link is deleted. |
REJECTED |
Account link request is rejected by either the Partner Center or the Ads Portal. |
Advisement
Advisements that are displayed to the user when booking through Reserve with Google.
Fields | |
---|---|
text |
Custom message to be displayed to the user when booking through Reserve with Google. |
Availability
An availability slot of the merchant's service, indicating time and number of spots.
Fields | |
---|---|
start_ |
Start time of the appointment slot. |
duration |
Duration of the appointment slot |
spots_ |
Number of total spots and open spots of this availability. Examples:
Note: If sending requests using the availability compression format defined below, these two fields will be inferred.
|
spots_ |
Number of open spots. |
availability_ |
An optional opaque string to identify this availability slot. If set, it will be included in the requests that book/update/cancel appointments. |
resources |
Optional resources used to disambiguate this availability slot from others when different staff members, or rooms are part of the service. E.g. the same Yoga class with two 2 instructors:
|
payment_ |
A list of ids referencing the payment options which can be used to pay for this slot. The actual payment options are defined at the Merchant level, and can also be shared among multiple Merchants. This field overrides any payment_option_ids specified in the service message. Similarly payment_option_ids specified here do NOT have to be present in the service message, though must be defined at the Merchant level. |
recurrence |
The recurrence information for the availability, representing more than one start time. A recurrence should contain appointments for one working day. |
schedule_ |
Times when this service cannot be scheduled. To limit the number of schedule_exception messages, consider joining adjacent exceptions. |
deposit |
Optional deposit for this availability. Overrides the service deposit if one was specified. |
no_ |
Optional no show fee for this availability. Overrides the service no show fee if one was specified. |
prepayment |
Optional. Optional prepayment information for this availability. |
require_ |
Indicates whether the user must provide a credit card in order to book this availability slot. If the value is not set, it is inherited from the service level if it's set there. (optional) |
ticket_ |
Indicates a list of supported ticket types for this availability slot. If unset, all ticket types in the parent service are available for this slot. Note that the values of this field must be defined in the parent service. Examples:
To represent the inventory during the weekdays:
To indicate that all three ticket types are available for this time slot, use either (optional) |
duration_ |
The requirement to show the slots duration and/or endtime. This field will be ignored if the slot is unavailable. Not used in the Things-To-Do vertical. (optional) |
scheduling_ |
Availability scheduling rules. If fields are populated, they will override any corresponding scheduling rules on the service-level SchedulingRules. |
confirmation_ |
The confirmation mode that will be used when booking this availability. Attempts to create bookings for availabilities with a confirmation mode of CONFIRMATION_MODE_SYNCHRONOUS must be immediatlely confirmed or denied. Attempts to create bookings for availabilities with confirmation mode of CONFIRMATION_MODE_ASYNCHRONOUS must be either immediately denied or created with status PENDING. |
linkout_ |
Optional. The reason a linkout is required for this slot. If set, the Merchant resource for this slot must have a valid LinkoutTemplate. (optional) |
ConfirmationMode
The confirmation modes used when booking availabilities.
Enums | |
---|---|
CONFIRMATION_MODE_UNSPECIFIED |
The confirmation mode was not specified. Synchronous confirmation will be assumed. |
CONFIRMATION_MODE_SYNCHRONOUS |
Bookings for this availability will be confirmed synchronously. |
CONFIRMATION_MODE_ASYNCHRONOUS |
Bookings for this availability will be confirmed asynchronously. |
DurationRequirement
This enum indicates what requirements exist for the user to acknowledge or view the requested slots duration/end time.
Enums | |
---|---|
DURATION_REQUIREMENT_UNSPECIFIED |
The handling of the end time is not specified. This is the default. |
DO_NOT_SHOW_DURATION |
The end time is not shown to the user. |
MUST_SHOW_DURATION |
The end time has to be shown to the user before an appointment can be made. |
LinkoutRequiredReason
The reason why a slot has a linkout experience.
Enums | |
---|---|
LINKOUT_REQUIRED_REASON_UNSPECIFIED |
Default value: Do not use, equates to unknown. |
PAYMENT_REQUIRED |
Slot requires payment in the partner platform to be booked. |
Recurrence
Recurrence messages are optional, but allow for a more compact representation of consistently repeating availability slots. They typically represent a day's working schedule. ScheduleException messages are then used to represent booked/unavailable time ranges within the work day.
Requirements:
- The expansion of availability slots or recurrences must NOT create identical slots. If the ids, start_time, duration, and resources match, slots are considered identical.
- Do NOT mix the standard availability format and recurrence within the slots of a single service. Recurrence benefits merchants/services that offer appointments. The standard format is geared towards merchants/services with regularly scheduled classes.
- Recurrences should not last for more than 24 hours.
Fields | |
---|---|
repeat_ |
The inclusive maximum UTC timestamp the availability repeats until. |
repeat_ |
Defines the time between successive availability slots. Example: An availability with a duration of 20 min, a repeat_every of 30 min, a start_time of 9:00am, and a repeat_until of 11:00am will yield slots at 9-9:20am, 9:30-9:50am, 10-10:20am, 10:30-10:50am, 11-11:20am. (required) |
ScheduleException
ScheduleException messages represent booked/unavailable time ranges within the workday, which are exceptions to the recurrence described above. As time slots are booked, the list of exceptions should be updated to reflect the newly unavailable time ranges. The recurrence itself shouldn't be modified.
Fields | |
---|---|
time_ |
The time range of the exception. Any slots described by the recurrence which overlap this closed-open time range will be considered unavailable. Example: If the recurrence specifies a duration of 20 min, a repeat_every of 30 min, a start_time of 9:00am, and a repeat_until of 11:00am, then a ScheduleException with a time_range of 9:45am-11:00am would make unavailable the slots at 9:30-9:50am, 10-10:20am, and 10:30-10:50am. Note that because the time range is closed-open, the slot beginning at 11am slot would not be impacted. |
SchedulingRuleOverrides
Availability level scheduling rules.
Fields | |
---|---|
last_ |
The last time (in seconds) that this slot is able to be booked. This timestamp must be before the start_sec of the slot to be respected (if users should be able to book after the start time, use service level SchedulingRules.min_booking_before_end_time). If present, will override anything specified in the min_booking_buffer of the corresponding Service's SchedulingRules. |
first_ |
The first time (in seconds) that this slot is able to be booked. This timestamp must be before the start_sec of the slot, or last_bookable_sec if specified. |
last_ |
If set, the last time (in seconds since the Unix epoch) that this specific appointment slot can be cancelled through Reserve with Google. This field will override any service-level cancellation rules. (optional) |
BatchDeleteGenericRecordsRequest
The batch request to delete records of specified feed type.
Fields | |
---|---|
parent |
Resource name, which has the format of - |
records[] |
Records to be deleted. Maximum of 1000 records are allowed in one api call. |
BatchPushGenericRecordRequest
The batch request to insert and/or update records of feed type specified in the request url.
Fields | |
---|---|
parent |
Resource name, which has the format of - |
records[] |
Records to be inserted and/or updated. Maximum of 1000 records are allowed in one api call. |
BatchReplaceServiceAvailabilityRequest
The batch request to replace multiple Service
's availability slots.
Fields | |
---|---|
parent |
Format of |
extended_ |
The extended service availability that is used to replace the existing availability slots. |
BatchReplaceServiceAvailabilityResponse
The batch response to replace multiple Service
's availability slots. Only successfully updated slots will be included in this message
Fields | |
---|---|
extended_ |
The successfully updated extended service availability messages that were used to replace the existing availability slots. |
Booking
A booking for an inventory slot
Fields | |
---|---|
name |
Resource name of the booking: |
merchant_ |
ID of the merchant for the slot |
service_ |
ID of the merchant service |
start_ |
Start time of the appointment slot |
duration |
Duration of the appointment slot |
client_ |
Personal information of the client making the appointment |
status |
Status of the booking |
payment_ |
Information about payment transactions that relate to the booking. |
party_ |
Party size of the booking |
BookingFailure
Status data that conveys why processing of a booking failed asynchronously. BookingFailure is intended to primarily capture business logic errors.
Fields | |
---|---|
cause |
The reason why the booking failed. (required) |
rejected_ |
(required only if cause is PAYMENT_ERROR_CARD_TYPE_REJECTED) |
description |
This optional field is used for the partner to include additional information for debugging purpose only. (optional) |
payment_ |
Information about payment failures. |
Cause
Enumeration of failure causes.
Enums | |
---|---|
CAUSE_UNSPECIFIED |
Default value: Don't use; amounts to an "unknown error" |
SLOT_UNAVAILABLE |
The referenced availability slot is not available any longer. |
SLOT_ALREADY_BOOKED_BY_USER |
The user has already booked an appointment for the referenced availability slot. |
LEASE_EXPIRED |
The lease (if provided) has expired and cannot be used any longer to complete the requested booking. |
OUTSIDE_CANCELLATION_WINDOW |
The requested cancellation cannot be performed at the current time due to time restrictions in the merchant's cancellation policy. |
PAYMENT_ERROR_CARD_TYPE_REJECTED |
An error was encountered while processing the payment because the provided credit card type was not accepted by the merchant. The credit card type must be supplied in rejected_card_type. |
PAYMENT_ERROR_CARD_DECLINED |
An error was encountered while processing the payment because the provided credit card was declined. |
PAYMENT_OPTION_NOT_VALID |
An error was encountered with the pack/membership used to pay for the booking. There could be no valid uses left, it could have expired, etc. |
PAYMENT_ERROR |
An error was encountered while processing the payment for this booking. Use this value to indicate a general payment related error, only if the error does not match to a specific payment error above. |
USER_CANNOT_USE_PAYMENT_OPTION |
User cannot use the given payment option (e.g. user trying to use a first time price for the second time). |
BOOKING_ALREADY_CANCELLED |
A booking that the user tried to cancel has already been cancelled. |
BOOKING_NOT_CANCELLABLE |
A booking that the user tried to cancel is not cancellable. |
OVERLAPPING_RESERVATION |
User has an existing reservation too close to this time. |
USER_OVER_BOOKING_LIMIT |
Booking failed due to the user being over the aggregator's per-user bookings limit. |
PAYMENT_REQUIRES_3DS1 |
Set when payment is rejected because you are requesting that the transaction be tried again, but this time after undergoing 3DS1 challenge/response. Note that the current transaction's failure state will stay failed. The retry will be completely separate. When this is the failure reason, payment_failure.3DS1_parameters MUST be set. If it is not, then the current cause will be treated as if it were PAYMENT_ERROR. |
PaymentFailureInformation
Information about payment failures.
Fields | |
---|---|
threeds1_ |
Parameters used by a RwG aggregator to initiate a 3DS1 authentication protocol with the user. Will be ignored unless BookingFailure.cause is set to PAYMENT_REQUIRES_3DS1. |
ThreeDS1Parameters
Parameters requesting that RwG perform a 3DS1 challenge.
The parameters are set by EMVCo's description of the 3DS1 protocol.
Fields | |
---|---|
acs_ |
The URL from which to load a form to present to the User for authentication. |
pa_ |
A PaymentAuthentication Request. To be posted to the ACSUrl form if supplied. |
transaction_ |
An identifier used by the ACS provider. To be posted to the ACSUrl form if supplied. |
md_ |
Merchant data. To be posted to the ACSUrl form if supplied. |
BookingStatus
Status of a booking
Enums | |
---|---|
BOOKING_STATUS_UNSPECIFIED |
Not specified. |
CONFIRMED |
Booking has been confirmed |
PENDING_MERCHANT_CONFIRMATION |
Booking is awaiting confirmation by the merchant before it can transition into CONFIRMED status (this is NOT currently supported) |
PENDING_CLIENT_CONFIRMATION |
Booking is awaiting confirmation by the client before it can transition into CONFIRMED status (this is NOT currently supported) |
CANCELED |
Booking has been canceled on behalf of the user. |
NO_SHOW |
Client did not show for the appointment |
NO_SHOW_PENALIZED |
Client did not show for the appointment in violation of the cancellation policy. |
FAILED |
Booking could not be completed due to a processing failure. |
DECLINED_BY_MERCHANT |
Booking was asynchronously declined by the merchant. |
CallMerchant
This type has no fields.
Empty message to be used in UnsupportedPartySizeOption, setting this will display an option to users to call the business for a booking.
CancellationPolicy
Cancellation policy for a service.
Fields | |
---|---|
refund_ |
Zero or more refund conditions applicable to the policy. |
RefundCondition
Defines a single refund condition. Multiple refund conditions could be used together to describe "refund steps" as various durations before the service start time.
Fields | |
---|---|
min_ |
Duration before the start time, until when the customer can receive a refund for part of the service's cost specified in |
refund_ |
The percent that can be refunded, as long as the service booking is cancelled at least |
ClientInformation
Personal information about the person making a booking
Fields | |
---|---|
given_ |
Given name of the client |
family_ |
Family name of the client |
address |
Address of the client |
telephone |
Phone number of the client |
email |
Email address of the client |
CreateAdsAccountLinkRequest
Request message for AdsAccountLinkingService.CreateAdsAccountLink.
Fields | |
---|---|
parent |
Required. The parent resource where this Ads account link will be created. This is same as the Partner Center account id. Format: partners/{partner} |
ads_ |
Required. The ID to use for the Ads Account Link. This is same as Google Ads Customer Id. For details see https://support.google.com/google-ads/answer/1704344 Format : xxx-xxx-xxxx. |
ads_ |
Required. The AdsAccountLink to create. |
CreateMerchantRequest
The request to create a Merchant
.
Fields | |
---|---|
parent |
The parent resource name for the partner who owns this merchant, in the format of |
merchant_ |
The merchant id to use for this merchant. |
merchant |
The merchant to create. |
CreateServiceRequest
The request to create a new Service
.
Fields | |
---|---|
parent |
The parent resource name for the merchant who owns this service, in the format of |
service_ |
The service id to use for this service. |
service |
The service to create. |
CreditCardRestrictions
Restrictions to the credit card types this merchant accepts.
Fields | |
---|---|
credit_ |
A list of supported credit cards. No credit cards are supported if empty. |
CreditCardType
A credit card type.
Enums | |
---|---|
CREDIT_CARD_TYPE_UNSPECIFIED |
Unused. |
VISA |
A Visa credit card. |
MASTERCARD |
A Mastercard credit card. |
AMERICAN_EXPRESS |
An American Express credit card. |
DISCOVER |
A Discover credit card. |
JCB |
A JCB credit card. |
DeleteAdsAccountLinkRequest
Request message for AdsAccountLinkingService.DeleteAdsAccountLink.
Fields | |
---|---|
name |
Required. The name of the AdsAccountLink to delete. Format: partners/{partner}/adsAccountLinks/{ads_account_link} |
DeleteMerchantRequest
The request to delete a Merchant
.
Fields | |
---|---|
name |
The resource name of the merchant to delete. In the format of partners/{partner_id}/merchants/{merchant_id} |
DeleteServiceRequest
The request to delete a Service
.
Fields | |
---|---|
name |
The resource name of the service to delete. In the format of |
Deposit
A deposit that the user may be charged or have a hold on their credit card for.
Fields | |
---|---|
deposit |
Deposit amount. |
min_ |
Minimum advance cancellation for the deposit. |
deposit_ |
Defines how the deposit is determined from the availability. |
DirectMerchantPayment
Information about how the user can pay directly to the merchant instead of pre-paying for the service via RwG.
Fields | |
---|---|
payment_ |
Users would be advised to pay only via the payment methods mentioned below. |
DurationRange
Wrapper for a range of duration that can be bounded or unbounded. At least one of min_duration and max_duration duration is required.
Fields | |
---|---|
min_ |
Minimum duration. |
max_ |
Maximum duration. |
EconomicOperator
Economic Operator information for the Aggregator.
Fields | |
---|---|
text |
Required. Name, address, telephone number and email address of the economic operator, defined as the manufacturer, authorized representative, importer, distributor, fulfillment service provider or any other natural or legal person subject to obligations related to the manufacture of products, making them available, or putting them into service. Freeform string representation of the economic_operator. This information may be formatted using " " and "\n". |
ExtendedServiceAvailability
A list of availability and who/when they should be applied to.
Fields | |
---|---|
merchant_ |
This is a mandatory field required to specify which merchant the availability messages below belong to. |
service_ |
This is a mandatory field required to specify which service the availability messages below belong to. |
start_ |
If provided, we will consider the Availability entities provided to be a complete snapshot from [start_time_restrict, end_time_restrict). That is, all existing availability will be deleted if the following condition holds true:
If a duration message is set, the condition is further restricted:
If a resources_restrict message is set, the condition is further restricted:
These fields are typically used to provide a complete update of availability in a given time range. Setting start_time_restrict while leaving end_time_restrict unset is interpreted to mean all time beginning at start_time_restrict. |
end_ |
Setting end_time_restrict while leaving start_time_restrict unset is interpreted to mean all time up to the end_time_restrict. |
duration_ |
Setting duration further restricts the scope of the update to just the availability with matching duration. |
resources_ |
Setting resources_restrict further restricts the scope of the update to just this set of resources. All id fields of the resources must match exactly. |
availability[] |
The new list of availability. |
FeedStatistics
Statistics obtained while processing an uploaded feed.
Fields | |
---|---|
new_ |
Newly added items by this feed. Items can be merchants, services or availability slots, depending on the type of the feed. |
existing_ |
Existing items, updated as needed from newer information from the feed. |
deleted_ |
Items no longer present in this feed, and that were removed as a result. |
FeedStatus
Status of a feed uploaded by the aggregator's platform.
Fields | |
---|---|
name |
The feed resource name, which has the format of
|
state |
The processing state of this feed. |
error_ |
Human readable string providing more details if we failed to process this feed. |
statistics |
Statistics specific to this feed. |
State
Enum to indicate the processing state of a feed.
Enums | |
---|---|
STATE_UNSPECIFIED |
Default value. Unused. |
IN_PROGRESS |
The feed is still being processed. |
SUCCESS |
The feed has been successfully processed. |
FAILURE |
We encountered an error while processing the feed. |
FoodOrderingMetadata
Metadata for food ordering action links.
Fields | |
---|---|
fee_ |
Details of fees charged to the user on top of the item total. Repeated for different types of fees like service fee, delivery fee etc. |
advance_ |
Details on advanced ordering support also known as order ahead where user can place an order for fulfillment at a later time than right now. |
Union field fulfillment_duration_options . Order fulfillment time duration from order confirmation. For delivery orders, time duration until the food is delivered. For pickup orders, time duration until the food is ready for pickup. fulfillment_duration_options can be only one of the following: |
|
fulfillment_ |
Fixed duration. For example: 30 mins. |
fulfillment_ |
A range of duration. Examples: * 30 mins to 45 mins * Greater than 30 mins * Less than 50 mins |
AdvanceOrderDetails
For order ahead support.
Fields | |
---|---|
is_ |
True if Advance Orders, also known as Order Ahead, is supported. (required) |
FeeDetails
Fee details.
Fields | |
---|---|
type |
Fee type. (required) |
fee_ |
Fee amount either in unit currency, a percentage of the cart value, or a combination of both. (required) |
FeeAmount
FeeAmount
examples: * Fixed fee: USD 0 (no fee), USD 1.5 * Range of fixed fee: USD 1.0 (minimum), USD 3.0 (maximum), USD 5.0-6.0 * Percentage of cart size: 15.5%, 10%-20%, 10% (minimum), 15% (maximum) * Compound of range and percentage: 25.5% & USD 2.5 (minimum), 25.5% & USD 4.5 (maximum), 10% & USD 1.5-2.5, 10.5%-20% & USD 2.5-3.5
Fields | |
---|---|
cart_ |
Fee in terms of a percentage of the cart value. Supports a range (bounded and unbounded) or a fixed percentage. Value should be between 0 and 100. Examples: * Fixed 5.5% * At least 5.5% * At most 5.5% * 4.5% to 5.5% |
Union field amount_options . Options to specify monetary amount. amount_options can be only one of the following: |
|
amount |
Fixed amount. For example USD 3.5. |
amount_ |
Range of amount. Examples: * USD 3.5 to USD 5.5 * At least USD 3.5 * At most USD 5.5 |
amount_ |
Unknown amount. |
FeeType
Fee type.
Enums | |
---|---|
FEE_TYPE_UNSPECIFIED |
Fee type unspecified. |
DELIVERY |
For delivery fees. |
SERVICE |
For service fees. |
FulfillmentOption
The fulfillment option for an order online action link.
Fields | |
---|---|
fulfillment_ |
Required. The fulfillment type. |
available_ |
Required. A list of days on which there is availability for this fulfillment method (preferably at least 2). |
fee_ |
Required. Fee details for the fulfillment method. |
minimum_ |
Required. Minimum order for the fulfillment method associated with the action link. |
AvailableDay
Day level availability.
Fields | |
---|---|
fulfillment_ |
Required. An available date for a fulfillment method. Assumed to be in merchant's timezone. |
last_ |
Required. Unix timestamp. The last time a user could order, and receive items by For example, if the fulfillment_date is 2020-08-10: - a last_ordering_time value of 2020-08-10 18:00 means that, in order to receive their order on 2020-08-10, a customer must make that order by 6pm that same day. - a last_ordering_time value of 2020-08-08 20:00 means that, in order to receive their order on 2020-08-10, a customer must make that order by 8pm two days prior. |
FeeDetails
Fee details for the fulfillment method associated with the action link.
Fields | |
---|---|
Union field fee_details . Fee model for the fulfillment method. fee_details can be only one of the following: |
|
no_ |
No fee for the fulfillment method. |
base_ |
The base fee associated with the fulfillment method. |
fixed_ |
The fixed fee associated with the fulfillment method. |
FixedFee
The fixed fee required for the fulfillment method associated with the action link.
Fields | |
---|---|
amount |
Required. The amount of the fixed fee for the fulfillment method. |
FulfillmentType
The fulfillment type associated with an action link.
Enums | |
---|---|
FULFILLMENT_TYPE_UNSPECIFIED |
The fulfillment type is unspecified. |
FULFILLMENT_TYPE_DELIVERY |
The fulfillment type is delivery. |
FULFILLMENT_TYPE_PICKUP |
The fulfillment type is pickup. |
MinimumFee
The minimum fee required for the fulfillment method associated with the action link.
Fields | |
---|---|
base_ |
Required. The base fee amount for the fulfillment method. |
NoFee
This type has no fields.
No fee required for the fulfillment method associated with the action link.
GenericDeleteRecord
Record to be deleted of the feed type mentioned in url request.
Fields | |
---|---|
delete_ |
Required. This timestamp is used to determine the order in which a delete will be applied to the inventory. |
Union field record_type . Encapsulate different types of feed (ndjson, proto-based, etc.) Partner can provide a full record similar to how a record is provided in a feed or BatchPush API. Partners also have the option to include only the essential fields of a record required to uniquely identify it. record_type can be only one of the following: |
|
data_ |
For non-proto based feeds. |
proto_ |
For proto-based feeds. |
GenericRecord
Record of the feed type mentioned in url request.
Fields | |
---|---|
generation_ |
Required. This timestamp is used to to ensure correct ordering of inventory updates. |
Union field record_type . Encapsulate different types of feed (ndjson, proto-based, etc.) record_type can be only one of the following: |
|
data_ |
For non-proto based feeds. |
proto_ |
For proto-based feeds. |
GeoCoordinates
The Geo data of a location, including latitude, longitude, and address.
Fields | |
---|---|
latitude |
Latitude in degrees. (optional) |
longitude |
Longitude in degrees. (optional) |
Union field addresses . Address for a location, could either be structured or unstructured. addresses can be only one of the following: |
|
address |
Postal address of the location, preferred. |
unstructured_ |
An unstructured address could also be provided as a fallback. E.g. "1600 amphitheatre parkway mountain view, ca 94043" |
GetAdsAccountLinkRequest
Request message for AdsAccountLinkingService.GetAdsAccountLink.
Fields | |
---|---|
name |
Required. The name of the Ads account link to retrieve. Format: |
GetMerchantStatusRequest
The request to get a MerchantStatus
Fields | |
---|---|
name |
Required. Resource name, in the format of partners/{partner_id}/merchants/{merchant_id}/status. |
GetStatusRequest
The request to retrieve the Status
for a specific feed uploaded by the aggregator's platform.
Fields | |
---|---|
name |
The feed resource name, which has the format of
|
HomeServiceData
Additional information required to be provided for home service vertical.
Fields | |
---|---|
category_ |
The high level category to which this home service belongs to. E.g. plumber, electrician etc. |
job_ |
The job type under the category to which the given home service belongs to. E.g. unclog_drain, install_faucet are the job types under plumber category. |
IntegrationType
Depth of integration supported.
Enums | |
---|---|
INTEGRATION_TYPE_UNSPECIFIED |
Defaults to END_TO_END. |
INTEGRATION_TYPE_END_TO_END |
Complete integration that allows end to end booking through Google. |
INTEGRATION_TYPE_INVENTORY_ONLY |
Booking server doesn’t need to support this service. Only merchants, services, and (optionally) availability data need to be sent. |
InvalidateResourceRequest
Request to invalidate a resource.
Fields | |
---|---|
resource_ |
The name of the resource to be invalidated. For example, for a Pickup resource, name should have the format of |
LineItem
A single item in an order--the booking of a single service in a single time slot.
Fields | |
---|---|
service_ |
ID of the merchant Service. |
start_ |
Start time of the appointment slot in seconds of UTC time since Unix epoch. |
duration_ |
Duration of the appointment slot in seconds. |
tickets[] |
Number of tickets ordered by Ticket Type. |
price |
The total price (excluding taxes) of this Line Item. |
status |
Status of the Line Item. |
OrderedTickets
Number of ordered tickets by Ticket Type.
Fields | |
---|---|
ticket_ |
ID of a Ticket Type. |
count |
Number of tickets ordered for this type. |
ListMerchantStatusesRequest
The request to get a list of MerchantStatus
Fields | |
---|---|
parent |
Required. The parent, which owns this collection of merchant status. Format: |
page_ |
Required. The maximum number of items to return. Note that the server may reduce the page size. |
page_ |
Optional. The nextPageToken value returned from a previous ListMerchantStatusResponse, if any. |
booking_ |
Optional. Optional restriction to filter results by booking inventory status. |
waitlist_ |
Optional. Optional restriction to filter results by waitlist inventory status. |
geo_ |
Optional. Optional restriction to filter results by Geo matching status. |
BookingInventoryStatus
End-to-end booking inventory status.
Enums | |
---|---|
BOOKING_INVENTORY_STATUS_UNSPECIFIED |
Not specified. |
NO_VALID_FUTURE_INVENTORY |
Merchant doesn't have booking inventory in the next 30 day. |
HAS_VALID_FUTURE_INVENTORY |
Merchant has booking inventory in the next 30 day. |
GeoMatchingStatus
Merchant geo matching status.
Enums | |
---|---|
GEO_MATCHING_STATUS_UNSPECIFIED |
Not specified. |
GEO_UNMATCHED |
Merchant is not geo matched. |
GEO_MATCHED |
Merchant is geo matched. |
WaitlistInventoryStatus
End-to-end waitlist inventory status.
Enums | |
---|---|
WAITLIST_INVENTORY_STATUS_UNSPECIFIED |
Not specified. |
NO_VALID_WAITLIST_SERVICE |
Merchant doesn't have service supporting waitlist. |
HAS_VALID_WAITLIST_SERVICE |
Merchant has service supporting waitlist. |
ListMerchantStatusesResponse
The response to list MerchantStatus
.
Fields | |
---|---|
merchant_ |
List of merchant statuses that satisfy the filter conditions. |
next_ |
Token to retrieve the next page of results. There are no more results in the list if empty. |
ListStatusRequest
The request to retrieve the Status
for multiple feeds uploaded by the aggregator's platform.
Fields | |
---|---|
name |
The feed resource name, which has the format of
|
page_ |
The maximum number of items to return. |
page_ |
The next_page_token value returned from a previous List request, if any. |
state_ |
Optional restrict to filter results by feed state. |
time_ |
Optional restrict to filter results by upper and lower bound. If start_time is unset, it will default to beginning of unix time. If end_time is unset, it will default to now. |
ListStatusResponse
The request to retrieve the Status
for multiple feeds uploaded by the aggregator's platform.
Fields | |
---|---|
status[] |
Reverse chronological list of statuses for uploaded feeds. The maximum number of items returned is based on the page_size field in the request. |
next_ |
Token to retrieve the next page of results. There are no more results in the list if empty. |
LocalizedString
Instance of a string in one locale.
Fields | |
---|---|
locale |
IETF BCP 47 language code, such as "en", "mas", "zh-Hant", "de-CH-1901". See http://www.w3.org/International/articles/language-tags/. |
value |
Message in the locale above (UTF-8). |
Location
Geographic information about a location.
Fields | |
---|---|
place_ |
The Place ID for a place in the Google Places database and on Google Maps. See https://developers.google.com/places/web-service/place-id for more about Place IDs. If this is provided, Google will match the location to this place. |
name |
The location's name, telephone, url and geo are used to support matching the location with places already present on Google Maps. This field is optional, but may be required in some contexts. For example, a Service.location without a name will not be matched to a business entity, even if they are located at the same address. (optional) |
telephone |
The public telephone number of the location including its country and area codes, e.g. +14567891234. (optional) |
url |
The url of the location's public website. (optional) |
geo |
The Geo info of the location, including latitude, longitude, and address. (optional) |
location_ |
The type of the location, must be supplied if this location is provided for a Service. |
location_ |
Unique reference of the location within the service. This id can be used to refer to this location in other service fields. E.g. in the custom intake form, a set of location ids can be used to specify pick up location options. If set, this id should be unique within the same service. (optional) |
LocationType
The type of this location.
Enums | |
---|---|
LOCATION_TYPE_UNSPECIFIED |
Location type unspecified. |
VISITED_LOCATION |
The location where this service visits. |
START_LOCATION |
The location where this service starts, also serves as MEETING_LOCATION. |
END_LOCATION |
The location where this service ends. |
Merchant
Info about a merchant that is on the aggregator's platform.
Fields | |
---|---|
name |
The merchant resource name, which has the format of |
merchant_ |
The merchant_name, telephone, url and geo are used to support matching partner inventory with merchants already present on Google Maps. This information will not be displayed. The name of the merchant. |
telephone |
The public telephone number of the merchant including its country and area codes, e.g. +14567891234. |
url |
The url of the merchant's public website. |
geo |
The Geo info of the merchant, including latitude, longitude, and address. |
category |
The category of the business in aggregator's platform. |
num_bookings_30d |
This field is deprecated. |
tax_rate_basis_points |
The merchant's tax rate in basis points (one hundredth of one percent). For example, if the tax rate is 7.5%, this field should be set to 750. If this field is left unset or set to 0, the total price charged to a user for any service provided by this merchant is the exact price specified by Service.price. The service price is assumed to be exempt from or already inclusive of applicable taxes. Taxes will not be shown to the user as a separate line item. If this field is set to any nonzero value, the total price charged to a user for any service provided by this merchant will include the service price plus the tax assessed using the tax rate provided here. Fractions of the smallest currency unit (for example, fractions of one cent) will be rounded using nearest even rounding. Taxes will be shown to the user as a separate line item. This field is deprecated, please use tax_rate instead. |
tax_ |
The merchant's tax rate. If present this field overrides the deprecated tax_rate_basis_points field. An empty message (i.e. tax_rate { }) will reset the applied tax rate to zero. |
payment_ |
Restrictions to the payment methods this merchant accepts. We assume no restrictions exist if this field is not set. |
payment_ |
Payment options available for this merchant. Services under this merchant will be able to individually limit the payment options they allow. |
payment_processor_config |
Configuration for a tokenized payment processor, if the merchant has support for it. |
tokenization_ |
Configuration for a tokenized payment processor, if the merchant has support for it. |
terms |
The specific merchant's Terms and Conditions displayed to the user when a service is being booked through Reserve with Google. In addition to these the aggregator partner's Terms and Conditions are always displayed to the user and must not be provided here. |
brand_ |
An opaque string that identifies the consumer-facing brand to use when displaying partner attribution. This field allows partners with multiple consumer-facing brands to provide merchants for all brands within the same feed. A brand consists of consumer-facing properties like the name, logo, Terms of Service, and Privacy Policy. If there is only one consumer-facing partner brand, this field does not need to be set and can be ignored. If the partner... Does not have multiple consumer-facing brands? --> Ignore this field Has Multiple Brands that are configured?
Careful Note: most partners do not need to set this field. If a partner wishes to use this field, they must contact us first to configure separate brands, including the default brand. |
matching_ |
Hints to help Google match a merchant to a place on Google Maps. Note: most partners do not need to set this field, as Google will match merchants to places on Google Maps using the information provided above. (optional) |
service_ |
Definitions for any service attributes used to describe the Services for this Merchant. (optional) |
action_ |
Optional. An action URL with associated language, list of countries restricted to, type, and optional platform that indicates which platform this action should be performed on, |
waitlist_ |
Optional. General advisements from a specific merchant for a user joining a waitlist through Reserve with Google. Individual text fields in the advisement should be limited to 100 bytes in length. |
economic_ |
Optional. Economic Operator information associated to this specific merchant needed for regulatory compliance. (optional) |
MerchantMatchingHints
Hints used to help Google match a merchant to a place on Google Maps.
Fields | |
---|---|
place_ |
The Place ID for a place in the Google Places database and on Google Maps. See https://developers.google.com/places/web-service/place-id for more about Place IDs. |
MerchantStatus
Status of a merchant in the Reserve with Google platform.
Fields | |
---|---|
name |
The merchant status resource name, which has the format of |
merchant_ |
Name of the merchant provided by partners. |
input_ |
Partners provided Geo info of the merchant. |
processing_ |
Merchant processing status. |
booking_ |
Status related to end-to-end booking integration. |
waitlist_ |
Status related to waitlist integration. |
geo_ |
Matched Geo place of this merchant. Empty if the merchant is not Geo matched. |
local_ |
Local services match of this merchant. Empty if it is not a local service merchant or is not matched to any providers. |
direct_ |
A list of URLs to demonstrate the content of the current merchant inventory. Note that it doesn't mean the inventory is actually being served and the URL may be different from the public visible ones. |
BookingStatus
Status related to end-to-end booking integration.
Fields | |
---|---|
has_ |
True if the merchant has inventory in the next 30 day. Doesn't guarantee the merchant is actually served. |
DirectUrl
URL that surfaces the merchant.
Fields | |
---|---|
type |
Type of this URL. |
url |
URL that may surface this merchant. |
UrlType
Type of the surfacing URL.
Enums | |
---|---|
URL_TYPE_UNSPECIFIED |
Not specified. |
BOOKING |
End-to-end booking URL. |
WAITLIST |
End-to-end waitlist URL. |
LOCAL_SERVICES |
Google Local Services URL. |
LocalServicesMatchInfo
Information of the Google local services match (only set for local services merchant).
Fields | |
---|---|
matched_ |
Matched service providers. A merchant can be matched to multiple service providers. |
MatchedProvider
Local services provider.
Fields | |
---|---|
customer_ |
Google local services external customer ID. |
categories[] |
Local service categories (verticals). E.g. "plumber" and "carpet_cleaning". |
PlaceInfo
Information of a matched place.
Fields | |
---|---|
name |
Name of the place. |
formatted_ |
Formatted address in local language. |
place_ |
Google Place ID of this place. Can be used to construct Google Maps URL or fetch more details of the place. See https://developers.google.com/places/web-service/place-id for example usage. |
ProcessingStatus
Merchant processing status.
Enums | |
---|---|
PROCESSING_STATUS_UNSPECIFIED |
Status unspecified. |
IN_PROGRESS |
The merchant has been received by Madden, but is still being processed. Merchants in this status will not have other status populated. |
COMPLETED |
Other statuses of the merchant have been computed. |
WaitlistStatus
Status related to waitlist integration.
Fields | |
---|---|
has_ |
True if the merchant has waitlist service. Doesn't guarantee the merchant is actually served. |
MoneyRange
Wrapper for a range of monetary amount that could be bounded or unbounded. At least one of min_amount and max_amount is required.
Fields | |
---|---|
min_ |
Minimum amount. |
max_ |
Maximum amount. |
NoShowFee
A fee that a user may be charged if they have made a booking but do not show up.
Fields | |
---|---|
fee |
The amount the user may be charged if they do not show up for their reservation. |
fee_ |
Defines how the fee is determined from the availability. |
Order
An order for service appointments with a merchant.
Fields | |
---|---|
name |
Resource name of the order: |
client_ |
Personal information of the client making the order. |
payment_ |
Information about payment transactions that relate to the order. |
merchant_ |
ID of the merchant that all services in this order belong to. |
item[] |
Line items in this order. |
OrderOnlineMetadata
Metadata for an order online action link.
Fields | |
---|---|
fulfillment_ |
Available fulfillment options for an order online action link. |
PaymentInformation
Payment details that relate to a booking
Fields | |
---|---|
prepayment_ |
Prepayment status of the booking. If the prepayment_status is PREPAYMENT_PROVIDED or PREPAYMENT_REFUNDED, then payment_transaction_id contains the associated unique transaction id. |
payment_ |
Unique identifier for a payment transaction associated with the booking. Empty if not applicable. |
PaymentOption
A payment option, which can be used to pay for services provided by a merchant. Payment options can be shared among multiple merchants (e.g. merchants belonging to the same chain).
Fields | |
---|---|
payment_ |
This ID is used to identify this payment option. This ID is global to the whole aggregator, and re-using a value across multiple merchants will allow a user to pay with the corresponding payment option across those merchants. When re-using an ID accoss multiple merchants, updating any value for a payment option under one merchant will also update any other payment option with the same ID, under a different merchant. As such, it's a best practice to have all payment options sharing the same ID, always be updated to identical values, to avoid any possibility of underministic behavior. |
name |
The name of the payment option. This can be user visible. |
description |
A description of the payment option. This can be user visible. |
price |
The price of the payment option. |
tax_ |
The tax rate for this payment option. If present this field overrides the tax_rate field present in the Merchant or Service. An empty message (i.e. tax_rate { }) will reset the applied tax rate to zero. |
payment_ |
The type of this payment option. Single-use for drop-ins, multi-use for packs, and unlimited for memberships. |
session_ |
How many sessions this payment option can be used for. Valid only for multi-session / packs, where the value should be > 1. |
purchase_ |
The payment option can be purchased within this interval. |
valid_ |
The payment option can be used within this interval (e.g. special price for January 2017). If present, this overrides valid_duration and activation_type. |
valid_ |
Duration of the payment option validity (e.g. 30 day membership). |
activation_ |
Defines how the validity start date is determined for this payment option. |
user_ |
Restricts the users eligible to purchase this payment option. Can be used to restrict a promotional payment option to a subset of users. If not set, all users are eligible. |
ActivationType
Defines how the validity start date is determined.
Enums | |
---|---|
ACTIVATION_TYPE_UNSPECIFIED |
Unused. |
ACTIVATION_ON_PURCHASE |
Validity starts at the time of purchase. |
ACTIVATION_ON_FIRST_USE |
Validity starts when the payment option is used for the first time. |
PaymentOptionType
A payment option type.
Enums | |
---|---|
PAYMENT_OPTION_TYPE_UNSPECIFIED |
Unused. |
PAYMENT_OPTION_SINGLE_USE |
Payment option can only be used once. |
PAYMENT_OPTION_MULTI_USE |
Payment option can be used if its session count > 0. |
PAYMENT_OPTION_UNLIMITED |
Payment option can be used within its valid time range - session count is inapplicable. |
PaymentProcessorConfig
A configuration for a payment processor, setup on a per Merchant basis.
Fields | |
---|---|
processor |
Defines the payment processor partner this configuration applies to. |
public_ |
The key used to identify this merchant with the payment processor. For Stripe, refer to: https://stripe.com/docs/dashboard#api-keys For Braintree, refer to: https://articles.braintreepayments.com/control-panel/important-gateway-credentials |
version |
The API version number sent to the payment processor along with payment requests. |
Processor
Defines a specific payment processor partner.
Enums | |
---|---|
PROCESSOR_UNSPECIFIED |
Unused |
PROCESSOR_STRIPE |
A configuration for payments with Stripe. |
PROCESSOR_BRAINTREE |
A configuration for payments with Braintree. |
PaymentRestrictions
Restrictions to the payment methods this merchant accepts.
Fields | |
---|---|
credit_ |
Restrictions to the credit cards this merchant accepts. We assume all credit cards are accepted if this field is not set. Note that the list of cards supported by CreditCardType will grow over time, meaning that leaving this empty subjects a configuration to future changes. |
PerOrderFee
Fees that must be paid once per order, regardless of number of tickets.
Fields | |
---|---|
delivery_ |
A fee that can vary by delivery method. |
processing_ |
A fee to process the user's payment method. |
PerTicketFee
Fees that must be paid for each ticket the user purchases.
Fields | |
---|---|
service_ |
An extra charge assessed for a service. |
facility_ |
A fee that goes to the venue/facility. |
taxes |
Per ticket taxes. |
PostalAddress
Address of a customer or a business.
Fields | |
---|---|
address_ |
The country, specified using its ISO 3166-1 alpha-2 country code, e.g. "US" (required) |
address_ |
The locality, e.g. "Mountain View". (required) |
address_ |
The region, e.g. "CA". This field is only required in countries where region is commonly a part of the address. (optional) |
postal_ |
The postal code, e.g. "94043". (required) |
street_ |
The street address, e.g. "1600 Amphitheatre Pkwy". (required) |
Prepayment
A payment the user may be charged as part of their reservation.
Fields | |
---|---|
price_ |
Container for price details. |
PrepaymentStatus
Prepayment status of a booking.
Enums | |
---|---|
PREPAYMENT_STATUS_UNSPECIFIED |
Not specified, defaults to PREPAYMENT_NOT_PROVIDED. |
PREPAYMENT_PROVIDED |
The fee for the booking has been paid in advance. |
PREPAYMENT_NOT_PROVIDED |
The fee for the booking has not been paid in advance. |
PREPAYMENT_REFUNDED |
The fee was previously PREPAYMENT_PROVIDED but has now been refunded. |
Price
The price of a service or a fee.
Fields | |
---|---|
price_ |
The price in micro-units of the currency. Fractions of smallest currency unit will be rounded using nearest even rounding. (e.g. For USD 2.5 cents rounded to 2 cents, 3.5 cents rounded to 4 cents, 0.5 cents rounded to 0 cents, 2.51 cents rounded to 3 cents). |
currency_ |
The currency of the price that is defined in ISO 4217. |
pricing_ |
An optional and opaque string that identifies the pricing option that is associated with the extended price. |
PriceInfo
Container for price details.
Fields | |
---|---|
price_ |
Defines how price or price range is applied (per person or fixed) |
Union field price_options . Price options are to either specify an exact price or a range. price_options can be only one of the following: |
|
price |
The price of a service or a fee. |
price_ |
The upper and/or lower bound of a service or a fee. |
PriceInterpretation
Describes how a Price should be interpreted and displayed to the user.
Enums | |
---|---|
PRICE_INTERPRETATION_UNSPECIFIED |
Price interpretation unspecified, defaults to EXACT_AMOUNT. |
EXACT_AMOUNT |
When the price should be interpreted as a specific value. Examples: $20 for a yoga class; $15 for a child haircut |
STARTS_AT |
When the price of a service is variable but a minimum price is known and displayed to consumers. Consumers may make choices which increase the price. Note that any service that uses this PriceInterpretation must use PrepaymentType NOT_SUPPORTED. Examples: $30 for dog grooming, but additional consumer choices may increase the price |
NOT_DISPLAYED |
When the price of a service is variable and no price information is displayed to consumers ahead of time. Note that any service that uses this PriceInterpretation must use PrepaymentType NOT_SUPPORTED and Price must be empty. Examples: A consultation for a home service |
PriceRange
Wrapper for a range of monetary amount treated as unbounded unless both values are set. At least one of min_amount and max_amount is required.
Fields | |
---|---|
min_ |
Minimum amount. |
max_ |
Maximum amount. Should always be > min_price. |
PriceType
Defines how a total price is determined from an availability.
Enums | |
---|---|
FIXED_RATE_DEFAULT |
The price is for a fixed amount. This is the default value if the field is not set. Examples: $50 deposit to reserve a table; $20 no show fee for a yoga class |
PER_PERSON |
The price specified is per person, and the total price is calculated according to the party size specified in Resources as price_micros * party_size. A PER_PERSON price must be accompanied by a party size in the availability resources. If it is not, a party size of one is used. Examples: $10 each for tickets to a museum |
QuantitativeValue
Wrapper for a numerical value that could be a range or a fixed value. QuantitativeValue
examples: * Singular value: value: 10.5
* Bounded range: value_range {min_value: 5.5, max_value 10.5}
* Lower bound: value_range {min_value: 5.5}
* Upper bound: value_range {max_value: 10.5}
Fields | |
---|---|
Union field value_options . (required) value_options can be only one of the following: |
|
value |
A singular value. For example: 5.6 |
value_ |
A range of values that could also be open ended or bounded. Examples: * At least 5.5 * At most 5.5 * 5.5 to 6.5 |
RangeValue
Range of values such that min_value
< max_value
. Requires at least one of min_value
and max_value
.
Fields | |
---|---|
min_ |
Minimum value. |
max_ |
Maximum value. |
Rating
Defines Rating for an entity.
Fields | |
---|---|
value |
Average rating value (required when number_of_ratings > 0). The value must be in the range of [1, 5] and can be omitted if and only if the number_of_ratings is zero. |
number_ |
Number of ratings used in calculating the value (required). |
RelatedMedia
Photos related to this service. Google will crawl these media to ensure that they are displayed correctly to end-users. (optional)
Fields | |
---|---|
url |
URL of this media source. Google will crawl the media hosted at this URL. |
type |
Type of this media source. |
localized_ |
Caption of the media that supports i18n, only plain text is supported. Any HTML components will be stripped. (optional) |
attribution |
Attribution information about the source of the media. Note that if the attribution is required to display with the media to give credit to photographer or agency, this field must be set. (optional) |
caption |
Deprecated, prefer to use localized_caption. |
Attribution
Attribution information for this media.
Fields | |
---|---|
localized_ |
The text to give credit to the photographer or agency supporting i18n. This text will be displayed together with the source media. Note that only plain text is supported for this field, any HTML components will be stripped (hyperlink based attribution is not supported). |
text |
Deprecated, prefer to use localized_text. |
MediaType
Enum to indicate the type of this media source. Only photos are supported. Please reach out to the Reserve with Google team if other media beyond photos need to be supported.
Enums | |
---|---|
TYPE_UNSPECIFIED |
Unused. |
PHOTO |
Indicates the media provided by the url is a photo. |
ReplaceServiceAvailabilityRequest
The request to replace a Service
's availability.
Fields | |
---|---|
service_ |
The service availability that is used to replace the existing ones. |
RequireCreditCard
Defines whether a credit card is required in order to book an appointment.
Enums | |
---|---|
REQUIRE_CREDIT_CARD_UNSPECIFIED |
The credit card requirement is not explicitly specified and the behaviour is identical to the one specified for CONDITIONAL. |
REQUIRE_CREDIT_CARD_CONDITIONAL |
Google will require a credit card for the booking if any of the following conditions are met: * the availability has a price and the prepayment_type is REQUIRED * the no_show_fee is set * the deposit field is set. |
REQUIRE_CREDIT_CARD_ALWAYS |
A credit card is always required in order to book this availability regardless of other field values. |
Resources
A resource is used to disambiguate availability slots from one another when different staff members, or rooms are part of the service. Multiple slots for the same service and time interval can co-exist when they have different resources.
Fields | |
---|---|
staff_ |
Optional ID for a staff member providing the service. This field identifies the staff member across all merchants, services, and availability records. It also needs to be stable over time to allow correlation with past bookings. This field must be present if staff_name is present. |
staff_ |
Optional name of a staff member providing the service. This field will be displayed to users making a booking, and should be human readable, as opposed to an opaque identifier. This field must be present if staff_id is present. |
room_ |
An optional ID for the room the service is located in. This field identifies the room across all merchants, services, and availability records. It also needs to be stable over time to allow correlation with past bookings. This field must be present if room_name is present. |
room_ |
An optional name for the room the service is located in. This field will be displayed to users making a booking, and should be human readable, as opposed to an opaque identifier. (optional but required if room_id is present) In dining a room name should only be used for seating areas such as the bar or patio and should not be used for fixed price menus, special activities, or any other non-room value (such as reservation or dinner). It is strongly recommended that the default seating area not have a room associated with it. |
party_ |
Applicable only for Dining: The party size which can be accommodated during this time slot. A restaurant can be associated with multiple Slots for the same time, each specifying a different party_size, if for instance 2, 3, or 4 people can be seated with a reservation. |
room_ |
Optional. Localized room description. If set, a default value must be provided. It is preferred to also provide common languages for the merchant's locale. (optional) |
SchedulingRules
The scheduling rules for a service.
Fields | |
---|---|
min_ |
The minimum advance notice in seconds required to cancel a booked appointment online. (optional) |
late_cancellation_fee |
The fee for canceling within the minimum advance notice period. |
noshow_fee |
The fee for no-show without canceling. |
admission_ |
The admission policy that applies to this service. If unset, defaults to TIME_STRICT. (optional) |
cancellation_ |
Scheduling rules cancellation policy. (required for Things-to-do) |
Union field If "min_advance_booking" is set, the last bookable time is calculated as (<slot start time> - "min_advance_booking"). If "min_booking_buffer_before_end_time" is set, the last bookable time is calculated as (<slot end time> - "min_booking_buffer_before_end_time"). Note that the value of "min_booking_buffer_before_end_time" must be positive if set. If both are unset, the slot is bookable until the slot begin time. If both fields are set, only one value will be picked while the other value ignored--we cannot reliably predict which value is chosen. Examples:
|
|
min_ |
The duration (in seconds) from when the last booking can be made to when the availability slot starts. |
min_ |
The duration (in seconds) from when the last booking can be made to when the availability slot ends. If this field is set, the "admission_policy" field must be set to TIME_FLEXIBLE to indicate that users can use the purchased tickets after slots start. |
AdmissionPolicy
The admission policy of this service.
Enums | |
---|---|
ADMISSION_POLICY_UNSPECIFIED |
Unused. |
TIME_STRICT |
Customers are required to be present at the start time of the availability slot, and the service is expected to finish at the end time of the slot. Examples of TIME_STRICT use cases: * A tour that starts at 9am that requires all attendees to arrive at the start time, and returns at around 12pm. * A haircut reservation at 3pm on Saturday that will take approximately 30 minutes. * A fitness class from 6pm to 8pm. |
TIME_FLEXIBLE |
Customers can arrive at any time between the start and end time of the availability slot to use this booking. Examples of TIME_FLEXIBLE use cases: * A museum ticket that can be used during any time on the purchase date. * An afternoon admission to an amusement park that can be used from 12pm to 9pm. |
TIMED_ENTRY_WITH_FLEXIBLE_DURATION |
Customers need to arrive at the merchant at the start time of the availability slot but can leave any time they want. For example, in the museum admission scenario, a timed entry ticket for 10am requires the user to be at the museum at 10am. The start time of availability slots for this service represents the designated entry time. The end time, however, is used solely as a key to identify the availability slot for booking. |
Service
Info about a service that is provided by the merchant, e.g. haircut.
Fields | |
---|---|
name |
The service resource name, which has the format of |
service_ |
The name of the service, e.g. "Men's haircut". Deprecated, use localized_service_name instead. |
localized_ |
The name of the service, e.g. "Men's haircut". Possibly in several locales. |
description |
The user-visible description of the service. Deprecated, use localized_description instead. |
localized_ |
The user-visible description of the service. This field supports both plain-text and HTML-like formatting. Unlike plain text sections, customized layouts can be created here using headings, paragraphs, lists and some phrase tags. Please read the following instructions and notes carefully to ensure you create the best user-experience. Supported HTML-like formatting tags: Heading tags: <h1>, <h2>, <h3>, <h4>, <h5>, <h6> Paragraph tag: <p> List tags: <ul>, <ol>, <li> Division tag: <div> Phrase tags: <br>, <strong>, <em>: Unsupported tags:
Important notes:
|
price |
The price of the service. |
price_ |
Describes how the price is interpreted and displayed to the user. Can be used by any vertical except Dining and Things To Do to configure display of the service price. |
rules |
Rules to book/cancel an appointment. |
prepayment_ |
Whether a prepayment is required, optional or not supported. |
prepayment_ |
Terms around when the prepayment is completed. |
form[] |
Deprecated. Please use intake_form and per_ticket_intake_form. |
intake_ |
A form requesting additional information from the user when they book this service. (optional) |
per_ |
A form requesting additional information from the user when they book this service. This form must be filled out once for each ticket the user is booking. (optional) |
tax_ |
The service's tax rate. If present this field overrides any tax_rate set at the merchant level. An empty message (i.e. tax_rate { }) will reset the applied tax rate to zero. |
payment_ |
A list of ids referencing the payment options which can be used to pay for this service. The actual payment options are defined at the Merchant level, and can also be shared among multiple Merchants. |
deposit |
Defines how a deposit may be charged to the user. Overrides the service deposit if one was specified. Setting this to an empty Deposit message removes any service-level deposit. (optional) |
no_ |
Defines a no show fee that may be charged to the user. Overrides the service no show fee if one was specified. Setting this to an empty NoShowFee message removes any service-level no show fee. (optional) |
require_ |
Indicates whether the user must provide a credit card in order to book this service. This field can be overridden at the availability level. (optional) |
action_ |
An action link related to this service. If action link exists, type (see below) must be set in the Service. |
type |
The predefined type of this service. (optional) |
ticket_ |
Types of tickets that can be booked/purchased for this service, if tickets are supported. (optional) |
related_ |
Photos related to this service. Google will crawl and store the media to ensure that they are displayed to end-users in the most efficient way. (optional) |
service_ |
Service attribute values that apply to this service (optional). Each Service may have zero or more values for each service attribute defined in the corresponding Merchant. (optional) |
waitlist_ |
Rules to joining the waitlist. |
ticketing_ |
Additional information unique to the event ticketing vertical. (optional) |
integration_ |
Depth of integration we support for this service. (optional) Irrelevant for partners with the starter integration. End to end will always be disabled for these partners. |
per_ |
Order level fees for purchasing this service. (optional) |
tours_ |
Content fields specific to Tours and Activities. |
location[] |
Locations related to this service. IMPORTANT NOTES: If there are multiple visited locations related to this service, or the START_LOCATION is different from the VISITED_LOCATION, the START_LOCATION must be specified. Example: - A guided biking tour visiting three venues, the start venue needs to be specified. - A bus tour meeting at a hotel lobby and then head to the visited venue. The meeting location needs to be specified. |
rating |
User rating for this service as an aggregate metric over all reviews. |
home_ |
Additional information unique to home service vertical. (optional) |
virtual_ |
Optional. Information about virtual session. It is required for enabling virtual services. |
direct_ |
Optional. Additional information which needs to be added if the service requires the user to pay directly to the merchant. IMPORTANT NOTE: RwG would not be involved in this transaction. It is required if virtual_session is defined and the service is not free or prepayment_type is NOT set to REQUIRED. |
uri_ |
Optional. An optional template specifying how Google should generate URLs to external site. |
PrepaymentTerms
Specific information around when prepayment is completed.
Fields | |
---|---|
charge_ |
When the charge will occur relative to the purchase time. |
charge_ |
Time in seconds before the service start time that the user is charged for payment. This field should only be set when ChargeTiming is CHARGE_LATER. |
ChargeTiming
Enum to specify when the charge will occur relative to the purchase time.
Enums | |
---|---|
CHARGE_TIMING_UNSPECIFIED |
Unused. |
CHARGE_NOW |
Customer will be charged immediately. |
CHARGE_LATER |
Customer will be charged later. |
PrepaymentType
Enum to indicate the prepayment type.
Enums | |
---|---|
PREPAYMENT_TYPE_UNSPECIFIED |
By default we will assume that the prepayment is NOT_SUPPORTED. |
REQUIRED |
The user has to pay this service at the booking time. |
OPTIONAL |
The user can choose to pre-pay this service at the booking time or later, but it is not required in order to book. |
NOT_SUPPORTED |
The prepayment is not supported for this service. |
ServiceType
Predefined service types.
Enums | |
---|---|
SERVICE_TYPE_UNSPECIFIED |
Unused. |
SERVICE_TYPE_DINING_RESERVATION |
Dining reservation. |
SERVICE_TYPE_FOOD_ORDERING |
Food ordering, could be either food delivery or takeout or both. |
SERVICE_TYPE_FOOD_DELIVERY |
Food delivery. |
SERVICE_TYPE_FOOD_TAKEOUT |
Food takeout. |
SERVICE_TYPE_EVENT_TICKET |
Event ticket. |
SERVICE_TYPE_TRIP_TOUR |
Trip tour. |
SERVICE_TYPE_APPOINTMENT |
Service that provides appointments or classes. Recommended for (1) health and fitness, (2) spa and beauty, and (3) financial consults and evaluations services. Please see the supported service types: https://developers.google.com/maps-booking/guides/end-to-end-integration/overview |
SERVICE_TYPE_ONLINE_APPOINTMENT |
Service that provides online appointment for a class or session which will be fully virtual. Must be set if enabling virtual service bookings. |
SERVICE_TYPE_SHOPPING |
Service that allows users to shop from the given merchant. It could either be delivery or pickup. |
ServiceAttribute
Service attributes are partner-defined categories that describe the Services for a Merchant. For example, a bank may define an "Account Type" service attribute with possible values of "Personal" and "Business", while a hair salon may define a "Service Type" service attribute with possible values of "Haircut", "Color", and "Style".
Fields | |
---|---|
attribute_ |
An identifier that uniquely identifies this service attribute among others for the same merchant, e.g. "account-type". |
attribute_ |
A user-visible name for this attribute, e.g. "Account Type". |
value[] |
All possible values for this service attribute. |
Value
Represents a possible value for a particular service attribute.
Fields | |
---|---|
value_ |
An identifier that uniquely identifies this value among others for this service attribute, e.g. "personal". |
value_ |
A user-visible name for the value, e.g. "Personal". |
ServiceAttributeValueId
Identifies a particular value of a service attribute to be applied to a Service.
Fields | |
---|---|
attribute_ |
ID of an attribute as defined in Merchant.service_attribute, e.g. "service-type". |
value_ |
ID of the value for this attribute, e.g. "haircut". Must match a value_id in the service attribute definition. |
ServiceAvailability
A list of availability and who/when they should be applied to.
Fields | |
---|---|
name |
The resource name of the service to apply this to. In the format of |
start_ |
If provided, we will consider the Availability entities provided to be a complete snapshot from [start_time_restrict, end_time_restrict). That is, all existing availability will be deleted if the following condition holds true:
If a duration message is set, the condition is further restricted:
If a resources_restrict message is set, the condition is further restricted:
These fields are typically used to provide a complete update of availability in a given time range. Setting start_time_restrict while leaving end_time_restrict unset is interpreted to mean all time beginning at start_time_restrict. |
end_ |
Setting end_time_restrict while leaving start_time_restrict unset is interpreted to mean all time up to the end_time_restrict. |
duration_ |
Setting duration further restricts the scope of the update to just the availability with matching duration. |
resources_ |
Setting resources_restrict further restricts the scope of the update to just this set of resources. All id fields of the resources must match exactly. |
availability[] |
The new list of availability. |
ServiceIntakeForm
Defines an intake form that customizes the service provided by a merchant.
Fields | |
---|---|
field[] |
Fields that will be displayed to the user. |
first_time_customers |
If true, this form will be shown to first time customers. Deprecated. This functionality is not supported for intake forms. |
returning_customers |
If true, this form will be shown to repeat customers. Deprecated. This functionality is not supported for intake forms. |
ServiceIntakeFormField
Defines a field that is included in a ServiceIntakeForm.
Fields | |
---|---|
id |
A string from an aggregator partner which uniquely identifies a form field. This id should be the same as the id in the corresponding form field answer and must be unique across both the service level and per ticket intake forms. (required) |
type |
The type of this field. |
label |
The text shown to the user for this field. Deprecated, please use |
localized_ |
The text shown to the user for this field. The field can be supplied in multiple locales. (required) |
value[] |
Set if and only if the field type is LOCATION_SEARCH. Please use the "location_id" in the "location" field to specify the location value. |
choice_ |
Set if and only if the field type is MULTIPLE_CHOICE, CHECKBOXES, or DROPDOWN. Used to enumerate possible choices. |
is_ |
Indicates whether an answer to this field is required by a user. |
allow_ |
Indicates whether a custom value is allowed in additional to predefined answers. This is only applicable when the field type is LOCATION_SEARCH. (optional) |
additional_ |
Additional options provided in addition to the provided values. Only applicable when the field type is LOCATION_SEARCH. E.g. in addition to the provided location list, another available option can be "I will contact supplier later". (optional) |
ticket_ |
If this question should only be shown when the user books certain ticket types, this field should be set as the set of applicable ticket type ids. Leave the field empty if the question is always applicable. |
hint |
The hint text for input, which shows up as a text placeholder. This is only applicable when the field type is SHORT_ANSWER or PARAGRAPH. (optional) |
FieldType
Enum to indicate the type of field.
Enums | |
---|---|
FIELD_TYPE_UNSPECIFIED |
Fields of unspecified or unknown type will be ignored. |
SHORT_ANSWER |
A one-line input field for text. |
PARAGRAPH |
A multi-line input field for text. |
MULTIPLE_CHOICE |
A set of radio buttons that requires one choice from many options. |
CHECKBOXES |
One or more enumerated items with checkboxes. |
DROPDOWN |
A selection from a dropdown. |
BOOLEAN |
A yes/no button. |
LOCATION_SEARCH |
A search box that supports finding matched location given user input from provided location list. |
TaxRate
A tax rate applied when charging the user for a service, and which can be set on either a per merchant, or per service basis.
Fields | |
---|---|
micro_ |
A tax rate in millionths of one percent, effectively giving 6 decimals of precision. For example, if the tax rate is 7.253%, this field should be set to 7253000. If this field is left unset or set to 0, the total price charged to a user for any service provided by this merchant is the exact price specified by Service.price. The service price is assumed to be exempt from or already inclusive of applicable taxes. Taxes will not be shown to the user as a separate line item. If this field is set to any nonzero value, the total price charged to a user for any service provided by this merchant will include the service price plus the tax assessed using the tax rate provided here. Fractions of the smallest currency unit (for example, fractions of one cent) will be rounded using nearest even rounding. Taxes will be shown to the user as a separate line item. |
Terms
A set of rules and guidelines that are displayed to the user in order to make a booking through Reserve with Google.
Fields | |
---|---|
url |
Optionally, the URL to the Terms and Conditions. |
text |
The text to be displayed to the user. Use localized_text below for new integrations. |
localized_ |
The localized text to be displayed to the user. |
Text
A possibly-localized text payload. Some Text fields may contain marked-up content.
Fields | |
---|---|
value |
Text value in an unknown locale. Required if and only if |
localized_ |
Per-locale text values. Optional. |
TicketType
TicketType is used to differentiate among tickets with different prices and/or availabilities due to different user types, different service attributes, or different options/add-ons.
A ticket is the minimal bookable unit to a service, e.g. a spot on a rafting trip, an admission to a museum, a full day double kayak rental.
Fields | |
---|---|
ticket_ |
The ticket id is used to differentiate among different ticket types of the same service, and is only expected to be unique within a service. |
short_ |
A short description to this TicketType. This can be user visible, e.g., “adult”, "child", “veteran”, “Row J”, etc. Required, each ticket type should have a description to be user visible. Deprecated, use localized_short_description instead. |
localized_ |
A short description to this TicketType with i18n support. This can be user visible, e.g., “adult”, "child", “veteran”, “Row J”, etc. Required, each ticket type should have a description to be user visible. Separate values could be supplied for each locale. |
price |
The price of a single ticket of this type, exclusive of any taxes. The tax rate of Service is applied to its tickets. |
per_ |
Additional fees for purchasing this ticket. (optional) |
price_ |
Optional. Predetermined price display type of a single ticket of this type. |
option_ |
Description of any additional option which this ticket type represents, if any. Deprecated, use localized_option_description instead. |
localized_ |
Description of any additional option which this ticket type represents, if any. Separate values could be supplied for each locale. Additional options are useful when the ticket type represents multiple dimensions. Example 1: an admission ticket with different types 'adult', 'child' and language as an additional option, the expected TicketType list would be: - { ticket_type_id: "ticket_type_1" localized_short_description { value: "adult" } localized_option_description { value: "english" } } - { ticket_type_id: "ticket_type_2" localized_short_description { value: "adult" } localized_option_description { value: "spanish" } } - { ticket_type_id: "ticket_type_3" localized_short_description { value: "child" } localized_option_description { value: "english" } } - { ticket_type_id: "ticket_type_4" localized_short_description { value: "child" } localized_option_description { value: "spanish" } } Example 2: an multi-hour kayak rental with optional dry bag add-on, the short_description could be "3 hours" and the option_description could be either "with dry bag" or "without dry bag": - { ticket_type_id: "ticket_type_1" localized_short_description { value: "2 hours" } localized_option_description { value: "english" } } - { ticket_type_id: "ticket_type_2" localized_short_description { value: "2 hours" } localized_option_description { value: "spanish" } } - { ticket_type_id: "ticket_type_3" localized_short_description { value: "3 hours" } localized_option_description { value: "english" } } - { ticket_type_id: "ticket_type_4" localized_short_description { value: "3 hours" } localized_option_description { value: "spanish" } } Optional, but if any ticket type within the service has this field set, we expect all other ticket types to have this field set as well (a default option_description could be used). E.g. [{ticket_type_1, adult, english}, {ticket_type_1, adult, ''}] is not a valid list. Only two HTML formatting tags are supported: and |
inventory_ |
Optional. Predetermined inventory type of a single ticket of this type. |
InventoryType
Predetermined inventory type of a single ticket of this type.
Enums | |
---|---|
INVENTORY_TYPE_UNSPECIFIED |
The inventory type is unspecified. |
INVENTORY_TYPE_PRIMARY |
Primary inventory. |
INVENTORY_TYPE_VERIFIED_RESALE |
Verified resale inventory. |
INVENTORY_TYPE_RESALE |
Resale inventory. |
INVENTORY_TYPE_AGGREGATOR |
Aggregator inventory. |
PriceDisplayType
Indicates the price format displayed on the landing page.
This field is ignored for non-link-out inventory.
This field allows Google surfaces to show the same price format as used byService the landing page. Consistent price formats improve conversion rate and reduce confusion.
Enums | |
---|---|
PRICE_DISPLAY_TYPE_UNSPECIFIED |
The price display type is unspecified. Google will determine which format to show. |
PRICE_DISPLAY_TYPE_BASE |
The price shown on the landing page is the base price. |
PRICE_DISPLAY_TYPE_ALL_IN |
The price shown on the landing page includes all fees and taxes. |
TicketingVerticalSpecificData
Additional information unique to the event ticketing vertical.
Fields | |
---|---|
event_ |
The category of the event. Set only when event falls into one of the predefined categories. (optional) |
event_ |
The URL of the event on the partner's website. (optional) |
entity[] |
A list of entities related to the event. (optional) |
event_ |
Required. The type of the event attendance. |
event_ |
Optional. URL where the event can be watched. |
event_ |
Optional. Organizer who hosts the event. |
event_ |
Optional. URL of the organizer who hosts the event. |
event_ |
Optional. The type of the organizer. |
event_ |
Required. URL of the pages where the event information or descriptions can be found. |
event_ |
Optional. State of the event. |
brand_ |
Optional. The localized brand name. |
event_ |
Optional. Information about the creator of the event. |
AttendanceMode
The type of the event attendance.
Enums | |
---|---|
ATTENDANCE_MODE_UNSPECIFIED |
Not specified. |
ONLINE |
For virtual events. |
PHYSICAL |
For physical events. |
PHYSICAL_ONLINE_MIXED |
For events that are both physical and virtual. |
Entity
Represents an entity related to the event.
Fields | |
---|---|
id |
Unique identifier of the entity in the partner's database. (optional) |
name |
Name of the entity. (required) |
url |
Url of the webpage that unambiguously describes the entity. This is the webpage on the partner's website for the entity if any; for other public URLs of the entity, use relevant_url in public_identification_data. (optional) |
entity_ |
The type of the entity. (optional) |
entity_ |
The role of the entity in the event. (optional) |
public_ |
Public references of the entity. (optional) |
EntityRole
The role of the entity in the event.
Enums | |
---|---|
ENTITY_ROLE_UNSPECIFIED |
Not specified. |
ENTITY_ROLE_HEADLINER |
The entity represents a headliner or leading performer at the event. |
ENTITY_ROLE_SUPPORTER |
The entity represents a supporting performer at the event. |
ENTITY_ROLE_HOME_TEAM |
The entity represents the home team at the (sports) event. |
ENTITY_ROLE_AWAY_TEAM |
The entity represents the away team at the (sports) event. |
EntityType
The type of the entity. Note: not intended to be a universal ontology.
Enums | |
---|---|
ENTITY_TYPE_UNSPECIFIED |
Not specified. Do not use. |
ENTITY_TYPE_PERFORMER |
The entity represents the artist or group performing at a concert or a show. Only applicable when event category is CONCERT or THEATRE. |
ENTITY_TYPE_PLAYER |
The entity represents the sports team or player at the event. Only applicable when event category is SPORTS. |
ENTITY_TYPE_CONCERT_TOUR |
The entity represents the tour that this event belongs to. Only applicable when event category is CONCERT. |
ENTITY_TYPE_SPORTS_SERIES |
The entity represents a sports tournament that this event belongs to. Only applicable when event category is SPORTS. |
ENTITY_TYPE_PLAY |
The entity represents the type of play (e.g., musical, comedy, ballet, etc.) performed at the event. Only applicable when event category is THEATRE. |
EventCategory
A subset of event categories for which we customize the product experience. Note: not intended to be a universal ontology of events.
Enums | |
---|---|
EVENT_CATEGORY_UNSPECIFIED |
Not specified. Do not use. |
EVENT_CATEGORY_CONCERT |
Concerts. |
EVENT_CATEGORY_SPORTS |
Sports events. |
EVENT_CATEGORY_THEATRE |
Theatre events. |
EVENT_CATEGORY_EXHIBITS |
Exhibits. |
EVENT_CATEGORY_WORKSHOPS_AND_CLASSES |
Workshops and Classes. |
EventCreator
Information about the creator of the event. Only relevant for platforms that include user-generated content events.
Fields | |
---|---|
name |
Optional. Name of the event creator. No character restriction. |
EventState
State of the event.
Enums | |
---|---|
EVENT_STATE_UNSPECIFIED |
Not specified. |
SCHEDULED |
The event is scheduled. |
RESCHEDULED |
The event is rescheduled. |
CANCELLED |
The event is cancelled. |
POSTPONED |
The event is postponed. |
OrganizerType
The type of the organizer.
Enums | |
---|---|
ORGANIZER_TYPE_UNSPECIFIED |
Not specified. |
PERSON |
For organizer who is a person. |
ORGANIZATION |
For organizer who is an organization. |
PublicIdentificationData
Identifiers, webpages, or any other public sources that reference an entity.
Fields | |
---|---|
relevant_ |
Public URL of any webpage that is dedicated to only the topic. This could include official websites, discogs, social media platforms, wikipedia or imdb pages, e.g. https://www.discogs.com/artist/1124645-Taylor-Swift, https://www.wikidata.org/wiki/Q19320959, https://twitter.com/acmilan. (optional) |
musicbrainz_ |
The 36-character musicbrainz identifier of the artist or other music entities, if applicable. See https://musicbrainz.org/doc/MusicBrainz_Identifier. (optional) |
TimeRange
A closed-open time range, i.e. [start_time, end_time).
Fields | |
---|---|
start_ |
The lower bound of the time range. |
end_ |
The upper bound of the time range. |
TokenizationConfig
A configuration for payment-processor tokenization, set up on a per-Merchant basis.
Fields | |
---|---|
tokenization_ |
A tokenization configuration will typically have one tokenization_parameter whose key is "gateway" and whose value is the name of the processor. The rest of the parameters are dependent on the processor. See Google Pay's documentation for further information. Braintree example: tokenization_parameter { key: "gateway" value: "braintree" } tokenization_parameter { key: "braintree:apiVersion" value: "v1" } tokenization_parameter { key: "braintree:sdkVersion" value: "2.30.0" } tokenization_parameter { key: "braintree:merchantId" value: "abcdef" } tokenization_parameter { key: "braintree:clientKey" value: "production_xxx_yyy" } Stripe example: tokenization_parameter { key: "gateway" value: "stripe" } tokenization_parameter { key: "stripe:version" value: "2018-02-28" } tokenization_parameter { key: "stripe:publishableKey" value: "pk_1234" } Adyen example: tokenization_parameter { key: "gateway" value: "adyen" } tokenization_parameter { key: "gatewayMerchantId" value: "yourId" } |
billing_ |
Include in the payment token the user's billing information as entered into Google Pay with their FOP (see above). Leaving the field empty is equivalent to specifying MIN. |
BillingInformationFormat
How much of the Billing Address to require of the user and include in the token. The enum values correspond to parameters in the Google Pay API (see https://developers.google.com/pay/api/web/reference/object#BillingAddressParameters).
Enums | |
---|---|
BILLING_INFORMATION_FORMAT_UNSPECIFIED |
Not specified. Defaults to MIN. |
MIN |
name, country code, and postal code (Google Pay default setting). |
FULL |
name, street address, locality, region, country code, and postal code. |
ToursAndActivitiesContent
Content fields specific to Tours and Activities. Each element in the repeated field should be independent to allow separate rendering (e.g. as a bullet point).
Populating ToursAndActivitiesContent is strongly recommended for tours and activities, but not strictly required. All fields support both plain-text and HTML-like text for basic formatting. Supported HTML-like formatting tags:
Phrase tags:
, , , : Only the three tags mentioned above are supported.
can be used to break lines in paragraphs, and // can be used to highlight an important text. Any other phrase tags will be ignored.
All other tags and custom styles are not allowed and will be removed. Any URLs, anchors, and links will be stripped, and will never be displayed to end-users.
Important notes: * Don't duplicate data already supplied in highlights
, exclusion
and other, more specific, fields in the service description. * Avoid using other tags except for the supported ones mentioned above, because the contents within unsupported tags will be stripped, and may lead to an undesirable user experience.
Fields | |
---|---|
highlights[] |
The user-visible list of highlights. |
inclusions[] |
The user-visible list of inclusions. |
exclusions[] |
The user-visible list of exclusions. |
must_ |
The user-visible list of important notes, use for details such as age restrictions or other conditions that make this service unsuitable. |
UnsupportedPartySizeOption
Options for parties that are out of range.
Fields | |
---|---|
Union field kind . Available options for parties that are out of range. kind can be only one of the following: |
|
call_ |
Party sizes that are out of range can call the business. A predefined message will be displayed to the user. Sample text to be displayed: "For parties larger than {waitlist_rules.max_party_size} please call the restaurant at {phone}." CallMerchant must be set, but will be empty. |
UpdateAdsAccountLinkRequest
Request message for AdsAccountLinkingService.UpdateAdsAccountLink.
Fields | |
---|---|
ads_ |
Required. The Ads account link to update. The AdsAccountLink's |
update_ |
Optional. The list of fields to update. |
UpdateBookingRequest
Request to update a google.maps.booking.v1alpha.Booking
Fields | |
---|---|
update_ |
Field mask of all booking fields to be updated |
booking |
The booking to be updated |
booking_ |
If processing of an asynchronously confirmed booking request fails and the booking's status is being updated to FAILED, this field should reflect the business logic error (e.g., user has an existing reservation too close to this time). This field should only be set when updating the booking status to FAILED and will be ignored otherwise. |
UpdateMerchantRequest
The request to update a Merchant
.
Fields | |
---|---|
merchant |
The new merchant data. |
update_ |
The specific fields to update for the merchant. |
UpdateOrderRequest
Request to update a google.maps.booking.v1alpha.Order
Fields | |
---|---|
update_ |
Field mask of all order fields to be updated |
order |
The order to be updated |
UpdateServiceRequest
The request to update a Service
.
Fields | |
---|---|
service |
The new service data. |
update_ |
The specific fields to update for the service. |
UriTemplate
A template specifying how Google should generate URLs to external site.
Fields | |
---|---|
uri_ |
Optional. The uri template must follow the RFC6570, see https://datatracker.ietf.org/doc/html/rfc6570. Supports Level 2 templates. These parameters will be resolved to their values specified in their respective entities. 5 available parameters for Dining Reservation Linkout: 1) (required) {availability_slot_start_seconds} :: populated from start_sec field in availability feed 2) (required) {availability_slot_duration_seconds} :: populated from duration_sec field in availability feed 3) (optional) {resources_party_size} :: populated from party_size field in availability feed 4) (optional) {availability_availability_tag} :: populated from availability_tag field in availability feed 5) (optional) {resources_room_id} :: populated from room_id field in availability feed Example Usage: http://example.com/book/restaurant?start={availability_slot_start_seconds} &num_guests={resources_party_size} * start_sec = 123456 * party_size = 2 https://example.com/book/restaurant?start=123456&num_guests=2 |
UserPurchaseRestriction
Restricts the users eligible to purchase a payment option.
Fields | |
---|---|
new_ |
A payment option that can only be purchased by users who have never purchased from the same merchant before. |
new_ |
A payment option that can only be purchased by users who have never purchased the same payment option before. |
VirtualSession
Information about virtual/online session. E.g. Online yoga class, virtual cooking class etc.
Fields | |
---|---|
session_ |
Instructions on how this virtual class is set up. If the partner does not include the video URL with the booking, then this text must include when the video URL will be shared with the user. Eg. “Zoom url will be mailed 30 minutes prior to the class”. (Recommended) |
session_ |
Requirements for the given virtual session. Eg. yoga mat, cooking utensils etc. (Recommended) |
virtual_ |
Information about the virtual platform used in this session. (Required to enable virtual services) |
is_ |
Required. Set this as true if the virtual session is not live and is pre-recorded. |
VirtualPlatformInfo
Information about platform which will be used for this virtual session.
Fields | |
---|---|
platform |
Platform used for virtual session. |
other_ |
The name of the platform if the platform is set to OTHER. (Required if platform is set to OTHER) |
Platform
Enum to indicate which virtual platform would be used by the merchant.
Enums | |
---|---|
PLATFORM_UNSPECIFIED |
Unused. |
FLEXIBLE |
The merchant is flexible in which video platform they use. |
GOOGLE_HANGOUTS |
Google Hangouts product. |
GOOGLE_MEET |
Google Meet product. |
ZOOM |
Zoom Video Communications. |
SKYPE |
Skype. |
YOUTUBE |
Livestreaming in YouTube. |
OTHER |
Should be set if the video platform used is different from the ones mentioned here. |
WaitlistRules
Rules related to joining the waitlist.
Fields | |
---|---|
min_ |
Required. Must be a positive integer for services providing waitlist functionality. If the service or merchant does not provide waitlist functionality, this must not be populated. |
max_ |
Required. Must be a positive integer for services providing waitlist functionality. If the service or merchant does not provide waitlist functionality, this must not be populated. |
supports_ |
If true, the user will be able to send a free-form additional text request when joining the waitlist for this service. |
above_ |
Set options for parties larger than the set max_party_size. Leave empty if larger parties should not be given alternative options for joining a waitlist. |