message ConversionFeed {
repeated Conversion data = 1;
}
Conversion Definition
// Info about the conversion rate of a booking "action_link" provided in
// practitioner/facility feed.
message Conversion {
// ...
message CollectionPeriod {
google.type.Date start_date = 1;
google.type.Date end_date = 2;
}
// Period specifies the period that the conversion data corresponds to. Period
// is specified by start_date and end_date, which starts from 00:00 of the
// start_date and ends at 23:59 of the end_date.
// Note: UTC timezone should be used to delineate which transactions fall on
// which dates. (required)
// Example: Date { year:2020 month:10 day 8) represents October 8th, 2020.
CollectionPeriod period = 2;
// Total number of assisted transactions via the above action_link, i.e. the
// the number of completed bookings through the action_link redirected from
// Google. Only provide this value if it is more than 50.
int32 num_transactions = 3;
// Whether num_transactions exceeds 50. If not, do not provide
// num_transactions.
bool num_transactions_gt_50 = 4;
// The number of visits through the action_link redirected from Google.
// Only provide this value if it is more than 50.
int32 num_visits = 5;
// Whether num_visits exceeds 50. If not, do not provide num_visits.
bool num_visits_gt_50 = 6;
// Optional. Which appointment type this conversion data is specific to.
// If unset, it's assumed that the data in this message spans all appointment
// types (unless there is another message that has appointment_type_id set,
// in which case it refers to all types not otherwise covered).
string appointment_type_id = 7;
}
[null,null,["Last updated 2024-10-31 UTC."],[[["Conversion feeds, which track booking action link performance, are defined using protocol buffer format but should be uploaded in JSON format."],["Each conversion data point includes a specified period (start and end date), the number of transactions/visits through the action link, and optionally, the appointment type ID."],["`num_transactions` and `num_visits` should only be provided if the values exceed 50, accompanied by their respective boolean flags (`num_transactions_gt_50`, `num_visits_gt_50`) set to true."],["Sample JSON feeds are provided to illustrate the structure and expected data format for conversion feeds."],["A descriptor file accompanies the data file, providing metadata like generation timestamp and file names."]]],[]]