প্রোডাক্ট ফিড হলো গুগলকে 'করতে হবে এমন কাজ'-এর একটি তালিকা দেওয়ার প্রধান উপায়, যা গুগলের বিভিন্ন প্ল্যাটফর্মে প্রদর্শিত হবে।
একটি ProductFeed অবজেক্ট একটিমাত্র FeedMetadata অবজেক্ট এবং শূন্য বা তার বেশি সংখ্যক Product অবজেক্ট নিয়ে গঠিত। যদি সমস্ত শার্ডে কোনো Product প্রদান করা না হয়, তাহলে সমস্ত প্রোডাক্ট মুছে ফেলা হয়।
প্রোডাক্টফিড
প্রোটো
message ProductFeed {
// Metadata for this feed.
// Required.
FeedMetadata feed_metadata = 1;
// List of the products.
// Optional. When unset in all shards, all products will be deleted.
repeated Product products = 2;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| ফিডমেটাডেটা | ফিড_মেটাডেটা | আবশ্যক। এই ফিডের মেটাডেটা। |
| পুনরাবৃত্তি পণ্য | পণ্য | ঐচ্ছিক। সমস্ত শার্ডে আনসেট করা থাকলে, সমস্ত প্রোডাক্ট মুছে ফেলা হয়। বিপুল সংখ্যক প্রোডাক্ট অপসারণ করা হলে feed_metadata/max_removal_share সেট করার প্রয়োজন হতে পারে। |
উদাহরণ
// Example 1: Basic structure
{
"feed_metadata": {
...
},
"products": [
...
]
}
// Example 2: Wipe all products
{
"feed_metadata": {
"shard_id": 0,
"total_shards_count": 1,
"processing_instruction": "PROCESS_AS_SNAPSHOT",
"nonce": 202113041501,
"max_removal_share": 1.0
},
"products": []
}
ফিডমেটাডেটা
প্রোটো
message FeedMetadata {
// The current shard ID, zero-based. Shards do not need to be transferred in
// order. Processing will start only after a full set of shards was uploaded.
// Required when total_shards_count > 1.
uint32 shard_id = 1;
// Total number of shards in this transfer.
// Required. Must be >= 1.
uint32 total_shards_count = 2;
// An arbitrary number used to link multiple shards to the same transfer.
// Required when total_shards_count > 1.
// Must be the same for all shards within the transfer.
uint64 nonce = 3;
enum ProcessingInstruction {
// For compatibility, don't use.
PROCESS_AS_UNSPECIFIED = 0;
// This Feed upload should be processed as a complete snapshot replacing any
// previously uploaded data of this type.
// Supported feed types: product.
PROCESS_AS_SNAPSHOT = 1;
// This Feed upload should be processed as an upsert, updating or adding
// data to the previous uploads. Supported feed types: reviews,
// availability.
PROCESS_AS_UPSERT = 2;
}
// Processing instruction for this upload.
// Required.
ProcessingInstruction processing_instruction = 4;
// Maximal share of currently active products that are allowed to be removed
// by an upload. If more products will be removed by this transfer, the whole
// transfer will be rejected.
// This is a safeguard against unintentional take down of a significant part
// of the inventory. Can be set to 1.0 to allow complete inventory take down.
// Optional.
double max_removal_share = 5;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| uint32 | শার্ড_আইডি | total_shards_count ১-এর বেশি হলে আবশ্যক।শূন্য-ভিত্তিক। শার্ডগুলো ক্রমানুসারে স্থানান্তর করার প্রয়োজন নেই। শার্ডের একটি সম্পূর্ণ সেট আপলোড হওয়ার পরেই প্রসেসিং শুরু হয়। |
| uint32 | মোট_শার্ডের_সংখ্যা | আবশ্যক, মান অবশ্যই ১ বা তার বেশি হতে হবে। |
| uint64 | ননস | total_shards_count ১-এর বেশি হলে আবশ্যক।স্থানান্তরের অন্তর্ভুক্ত সমস্ত শার্ডের জন্য এটি অবশ্যই একই হতে হবে। |
| এনাম | প্রক্রিয়াকরণ_নির্দেশনা | আবশ্যক।PROCESS_AS_SNAPSHOT হলো একমাত্র সমর্থিত মান। |
| দ্বিগুণ | সর্বোচ্চ অপসারণ শেয়ার | ঐচ্ছিক। একটি আপলোডের মাধ্যমে সক্রিয় পণ্যগুলোর সর্বোচ্চ যে অংশ অপসারণ করার অনুমতি দেওয়া হয়। এই স্থানান্তরের মাধ্যমে এর চেয়ে বেশি পণ্য অপসারণ করা হলে, সম্পূর্ণ স্থানান্তরটি বাতিল হয়ে যায়। এটি ইনভেন্টরির একটি উল্লেখযোগ্য অংশ অনিচ্ছাকৃতভাবে সরিয়ে ফেলা থেকে রক্ষা করার একটি সুরক্ষা ব্যবস্থা। সম্পূর্ণ ইনভেন্টরি সরিয়ে ফেলার অনুমতি দিতে এটিকে ১.০-তে সেট করা যেতে পারে। |
উদাহরণ
// Example 1: metadata single JSON file
{
"shard_id": 0,
"total_shards_count": 1,
"processing_instruction": "PROCESS_AS_SNAPSHOT",
"nonce": 202113041501
}
// Example 2a: two JSON files (1st file)
{
"shard_id": 0,
"total_shards_count": 2,
"processing_instruction": "PROCESS_AS_SNAPSHOT",
"nonce": 202213041502
}
// Example 2b: two JSON files (2nd file)
{
"shard_id": 1,
"total_shards_count": 2,
"processing_instruction": "PROCESS_AS_SNAPSHOT",
"nonce": 202213041502
}
পণ্য
প্রোটো
message Product {
// An opaque string from the partner which uniquely identifies the product.
// Allowed characters are alphanumeric, _, and -. Max length: 255.
// Required.
string id = 1;
// The title of the product in plain text, e.g. "Horseback riding on the
// moon". See definition of "LocalizedTextSet" message for the details on the
// localization.
// Recommended to not exceed length of 50 in any language. Max length: 150.
// Required.
LocalizedTextSet title = 2;
// The description of the product. Limited formatting options are allowed in
// the HTML format. Supported tags:
// * h1-h5
// * ul, ol, li
// * strong, italic, em
// * p, br
// Other tags are not supported and will be removed. CSS, tables, style
// property, `a` links are not supported. Images are not allowed, use the
// related_media field instead.
// Important notes:
// * Try not to use 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.
// * Try avoid deep nested structures like more than 3 different heading
// levels or nested lists. Keeping the structure flat, simple, and
// straightforward, helps to create a better user experience.
// * Do not duplicate info from the product_features field below in the
// description as both would normally be shown side by side.
// Recommended to not exceed length of 10000 in any language. Max length:
// 16000.
// Recommended.
LocalizedTextSet description = 3;
// Structured details about the product features.
// Max number of features: 100.
// Recommended.
repeated TextFeature product_features = 4;
// Aggregated product rating.
// Recommended.
Rating rating = 5;
// Related media such as photos or videos.
// Max number of media: 30.
// Recommended.
repeated Media related_media = 6;
// Whether Google should make use of the order in which related media are
// listed in the feed or not. The media order would be used to influence
// the final image order for the product in the UI.
// Optional, default is false.
bool use_media_order = 13;
// Options available for this product.
// Max number of options: 20.
// At least one is required.
repeated Option options = 7;
// Operator details.
// Optional.
Operator operator = 8;
// Inventory type of this product.
enum InventoryType {
// Default inventory type.
INVENTORY_TYPE_DEFAULT = 0;
// Product is an official ticket to a point of interest. To learn what
// qualifies as official inventory, refer to the policy doc.
INVENTORY_TYPE_OFFICIAL = 1;
// Product is coming directly from the operator or their official
// Connectivity Provider / ResTech.
INVENTORY_TYPE_OPERATOR_DIRECT = 2;
}
// Optional.
InventoryType inventory_type = 9;
// Should contain only distinct values of InventoryType.
// Max number of inventory types: 2.
// Optional.
repeated InventoryType inventory_types = 12;
// Confirmation type of this product.
enum ConfirmationType {
// Type of confirmation is unknown.
CONFIRMATION_TYPE_UNKNOWN = 0;
// Booking is confirmed to the end user immediately.
CONFIRMATION_TYPE_INSTANT = 1;
// Booking is confirmed to the end user within 24 hours.
CONFIRMATION_TYPE_24HRS = 2 [features.enforce_naming_style = STYLE_LEGACY];
// Booking is confirmed to the end user within 48 hours.
CONFIRMATION_TYPE_48HRS = 3 [features.enforce_naming_style = STYLE_LEGACY];
}
// Optional.
ConfirmationType confirmation_type = 10;
// Possible fulfillment types -- ways to obtain a document to confirm the
// booking. Combinations are possible, e.g. mobile + printed, or
// printed at home + in-person pickup is available.
// At least one field must be true.
message FulfillmentType {
// Confirmation on a mobile phone, e.g. with a QR code.
bool mobile = 1;
// Printable confirmation.
bool print_at_home = 2;
// Admission documents to be picked up in person.
bool pickup = 3;
}
// Recommended.
FulfillmentType fulfillment_type = 11;
// Provider brand name.
// Recommended to not exceed length of 50 in any language.
// Max length: 100.
// Optional.
LocalizedTextSet brand_name = 14;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | আইডি | আবশ্যক, সর্বোচ্চ দৈর্ঘ্য ২৫৫। একটি অনন্য স্ট্রিং যা পণ্যটিকে শনাক্ত করে। অনুমোদিত অক্ষরগুলো হলো অ্যালফানিউমেরিক, _, এবং -। |
| স্থানীয় পাঠ্য সেট | শিরোনাম | আবশ্যক, প্রস্তাবিত দৈর্ঘ্য ৫০ বা তার কম, সর্বোচ্চ দৈর্ঘ্য ১৫০ অক্ষর। আরও বিস্তারিত তথ্যের জন্য শিরোনাম ও বিবরণের নির্দেশিকা দেখুন। |
| স্থানীয় পাঠ্য সেট | বর্ণনা | সুপারিশকৃত, সুপারিশকৃত দৈর্ঘ্য ১০০০০ বা তার কম, সর্বোচ্চ দৈর্ঘ্য ১৬০০০ অক্ষর। আরও বিস্তারিত তথ্যের জন্য শিরোনাম ও বিবরণের নির্দেশিকা দেখুন। |
| পুনরাবৃত্তি টেক্সটফিচার | পণ্যের বৈশিষ্ট্য | সুপারিশকৃত, সর্বোচ্চ বৈশিষ্ট্যের সংখ্যা: ১০০। |
| রেটিং | রেটিং | সুপারিশকৃত। রেটিং প্রদান করা বিশেষভাবে সুপারিশ করা হয়, কারণ যেসব পণ্যে রেটিং প্রদর্শিত হয় সেগুলোর ক্লিক-থ্রু রেট বেশি থাকে। |
| পুনরাবৃত্তি মিডিয়া | সম্পর্কিত_মিডিয়া | সুপারিশকৃত, মিডিয়ার সর্বোচ্চ সংখ্যা: ৩০ একাধিক ছবি প্রদান করা বিশেষভাবে সুপারিশ করা হচ্ছে। ছবি সংক্রান্ত বিস্তারিত নির্দেশনার জন্য ছবির নির্দেশিকা দেখুন। |
| বুলিয়ান | use_media_order | ঐচ্ছিক গুগলকে এই ইঙ্গিত দেওয়া হচ্ছে যে, কোন ছবিটি দেখানো হবে তা বাছাই করার সময় ফিডে সম্পর্কিত মিডিয়াগুলো যে ক্রমে তালিকাভুক্ত আছে, তা যেন বিবেচনায় রাখা হয়। |
| পুনরাবৃত্তি বিকল্প | বিকল্পগুলি | আবশ্যক, সর্বোচ্চ বিকল্প সংখ্যা: ২০ প্রতিটি পণ্যের অন্তত একটি পণ্যের বিকল্প থাকতে হবে। |
| অপারেটর | অপারেটর | ঐচ্ছিক। |
| এনাম | অপ্রচলিত ইনভেন্টরি_টাইপ | ঐচ্ছিক।INVENTORY_TYPE_OFFICIAL শুধুমাত্র সেইসব প্রোডাক্টে সেট করা যাবে যেগুলো কোনো দর্শনীয় স্থানের অফিসিয়াল টিকেট সাইটের সাথে লিঙ্ক করা থাকে। এই ভ্যালুটি সেট করার সুবিধা শুধুমাত্র যোগ্যতা পর্যালোচনার পরেই সক্রিয় হয়।এই ফিল্ডটি বাতিল করা হয়েছে এবং এর পরিবর্তে নতুন রিপিটেড ফিল্ড inventory_types চালু করা হয়েছে। |
| পুনরাবৃত্তি | ইনভেন্টরি_টাইপ | ঐচ্ছিক। এই পণ্যটি যে সকল অনন্য ইনভেন্টরি প্রকারের অন্তর্ভুক্ত, তার পুনরাবৃত্ত তালিকা। INVENTORY_TYPE_OFFICIAL শুধুমাত্র সেইসব প্রোডাক্টে সেট করা যাবে যেগুলো কোনো দর্শনীয় স্থানের অফিসিয়াল টিকেট সাইটের সাথে লিঙ্ক করা থাকে। এই ভ্যালুটি সেট করার সুবিধা শুধুমাত্র যোগ্যতা পর্যালোচনার পরেই সক্রিয় হয়।INVENTORY_TYPE_OPERATOR_DIRECT শুধুমাত্র সেইসব প্রোডাক্টে সেট করা যাবে যেগুলো ট্যুর অপারেটর সাইটের সাথে লিঙ্ক করা থাকে। এই ভ্যালুটি সেট করার সুবিধা শুধুমাত্র যোগ্যতা পর্যালোচনার পরেই সক্রিয় হয়। |
| এনাম | নিশ্চিতকরণের ধরণ | ঐচ্ছিক। |
| পূরণের ধরণ | পূরণের ধরণ | সুপারিশকৃত। সেট করা হলে, fulfillment_rype এর অন্তত একটি ফিল্ড অবশ্যই true হতে হবে।বুকিং নিশ্চিত করার জন্য ডকুমেন্ট পাওয়ার বিভিন্ন উপায় নির্ধারণ করা হয়েছে। একাধিক বিকল্পের সমন্বয় সম্ভব, যেমন—মোবাইলে প্রিন্ট করা ডকুমেন্ট, অথবা বাড়িতে প্রিন্ট করে সরাসরি এসে সংগ্রহ করার সুবিধাও রয়েছে। |
| স্থানীয় পাঠ্য সেট | ব্র্যান্ডের নাম | সর্বোচ্চ দৈর্ঘ্য ১০০। পণ্যের ব্র্যান্ডের নাম যা দেখানো হবে, এটি এখন অপ্রচলিত `operator/name`-কে প্রতিস্থাপন করে। দুটি মানের মধ্যে কেবল একটিই সেট করা যাবে। |
উদাহরণ
{
"id": "product-1",
"title": {
"localized_texts": [
{
"language_code": "en",
"text": "Dans bike tour"
},
{
"language_code": "es",
"text": "Tour en bicicleta por Dans"
},
{
"language_code": "zh-HK",
"text": "丹斯自行車之旅"
}
]
},
"description": {
"localized_texts": [
{
"language_code": "en",
"text": "<p>A very fun bike tour<p>"
},
{
"language_code": "es",
"text": "<p>Un recorrido en bicicleta muy divertido.</p>"
},
{
"language_code": "zh-HK",
"text": "<p>一個非常有趣的自行車之旅.</p>"
}
]
},
"brand_name": {
"localized_texts": [
{
"language_code": "en",
"text": "Dans Bikes"
}
]
},
"rating": {
"average_value": 4.6,
"rating_count": 192
},
"product_features": [{
"feature_type": "TEXT_FEATURE_INCLUSION",
"value": {
"localized_texts": [
{
"language_code": "en",
"text": "<p>A very fun bike tour<p>"
},
{
"language_code": "es",
"text": "<p>Un recorrido en bicicleta muy divertido.</p>"
},
{
"language_code": "zh-HK",
"text": "<p>一個非常有趣的自行車之旅.</p>"
}
]
}
},{
"feature_type": "TEXT_FEATURE_HIGHLIGHT",
"value": {
"localized_texts": [
{
"language_code": "en",
"text": "<p>A very fun bike tour<p>"
},
{
"language_code": "es",
"text": "<p>Un recorrido en bicicleta muy divertido.</p>"
},
{
"language_code": "zh-HK",
"text": "<p>一個非常有趣的自行車之旅.</p>"
}
]
}
},{
"feature_type": "TEXT_FEATURE_MUST_KNOW",
"value": {
"localized_texts": [
{
"language_code": "en",
"text": "<p>A very fun bike tour<p>"
},
{
"language_code": "es",
"text": "<p>Un recorrido en bicicleta muy divertido.</p>"
},
{
"language_code": "zh-HK",
"text": "<p>一個非常有趣的自行車之旅.</p>"
}
]
}
}],
"options": [{
"id": "option-1",
"title": {
"localized_texts": [
{
"language_code": "en",
"text": "Sunset tour"
},
{
"language_code": "es",
"text": "Tour al atardecer"
},
{
"language_code": "zh-HK",
"text": "日落之旅"
}
]
},
"landing_page": {
"url": "https://www.danstour.com/sunset?language={lang}¤cy={currency}"
},
"cancellation_policy": {
"refund_conditions": [
{
"min_duration_before_start_time_sec": 86400,
"refund_percent": 100
}
]
},
"option_categories": [
{
"label": "sports"
},
{
"label": "bike-tours"
}
],
"related_locations": [
{
"location": {
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
}
},
"relation_type": "RELATION_TYPE_RELATED_NO_ADMISSION"
},
{
"location": {
"location": {
"lat_lng": {
"latitude": 53.339688,
"longitude": 6.236688
}
}
},
"relation_type": "RELATION_TYPE_RELATED_NO_ADMISSION"
}
],
"price_options": [
{
"id": "option-1-adult",
"title": "Adult (14+)",
"price": {
"currency_code": "EUR",
"units": 20
},
"fees_and_taxes": {
"per_ticket_fee": {
"currency_code": "EUR",
"units": 1
},
"per_ticket_tax": {
"currency_code": "EUR",
"units": 1
}
}
}
]},{
"id": "option-2",
"title": {
"localized_texts": [
{
"language_code": "en",
"text": "Sunrise tour"
},
{
"language_code": "es",
"text": "Tour al amanecer"
},
{
"language_code": "zh-HK",
"text": "日出之旅"
}
]
},
"landing_page": {
"url": "https://www.danstour.com/sunrise?language={lang}¤cy={currency}"
},
"cancellation_policy": {
"refund_conditions": [
{
"min_duration_before_start_time_sec": 86400,
"refund_percent": 100
}
]
},
"option_categories": [
{
"label": "sports"
},
{
"label": "bike-tours"
}
],
"related_locations": [
{
"location": {
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
}
},
"relation_type": "RELATION_TYPE_RELATED_NO_ADMISSION"
}
],
"price_options": [
{
"id": "option-2-adult",
"title": "Adult (14+)",
"price": {
"currency_code": "EUR",
"units": 20,
"nanos": 0
}
}
],
"meeting_point": {
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
},
"description": {
"localized_texts": [
{
"language_code": "en",
"text": "Sunrise tour"
},
{
"language_code": "es",
"text": "Tour al amanecer"
},
{
"language_code": "zh-HK",
"text": "日出之旅"
}
]
}
}
}
],
"related_media": [
{
"url": "http://www.danstour.com/photo1.jpg",
"type": "MEDIA_TYPE_PHOTO"
},
{
"url": "http://www.danstour.com/photo2.jpg",
"type": "MEDIA_TYPE_PHOTO",
"attribution": {
"localized_texts": [
{
"language_code": "en",
"text": "Dans Photos"
}
]
}
}
],
"operator": {
"name": {
"localized_texts": [
{
"language_code": "en",
"text": "Dans Bikes"
}
]
},
"phone_number": "01234567",
"locations": [{
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
}
}]
},
"inventory_types": ["INVENTORY_TYPE_OPERATOR_DIRECT"]
}
বিকল্প
প্রোটো
message Option {
// Option ID. Must be unique within a product.
// Required.
string id = 1;
// The title of the option in plain text, e.g. "Sunset tour".
//
// If there is only a single option, the option title may be the same as the
// product title. If multiple product options are presented, the title must be
// unique to the option.
// Recommended to not exceed length of 50 in any language.
// Max length: 150.
// Required.
LocalizedTextSet title = 2;
// The description of the option. Limited formatting options are allowed in
// the HTML format, see product description field for more details.
// Recommended to not exceed length of 10000 in any language.
// Max length: 16000.
// Recommended.
LocalizedTextSet description = 3;
// Landing page URL for this option. The page should include a button to start
// the booking/checkout flow.
// Required.
DeepLink landing_page = 5;
// Link to a list view at a higher level of available tickets and tours,
// prominently showing this option possibly among other options.
// Recommended.
DeepLink landing_page_list_view = 6;
// Additional structured details about the option features. Should not
// duplicate the details from the product level.
// Max number of features: 100.
// Optional.
repeated TextFeature option_features = 7;
// Cancellation policy for this option.
// Recommended.
CancellationPolicy cancellation_policy = 8;
// Relevant categories for this Option. Refer to the documentation for valid
// and mutually exclusive values.
// Max number of categories: 100.
// Optional.
repeated Category option_categories = 9;
// List of locations related to this option.
// Max number of locations: 100.
// Recommended.
repeated RelatedLocation related_locations = 10;
// If true, the option is a *typical ticket* that a user would expect to buy
// to participate in the experience, whether it's an attraction admission or
// a slot in a tour.
// Optional, default is false.
bool base_ticket = 11;
// All possible prices for this option.
// Note: With Feed Spec v1 only single Adult price is supported. If multiple
// price options were provided, the lowest price, possibly with notion
// "from ..." would be displayed.
// At least one is required.
repeated PriceOption price_options = 12;
// Duration of the option in seconds, where applicable, e.g. for guided tours,
// boat trips etc. This should reflect the duration of experience (not
// validity time).
// Optional.
uint32 duration_sec = 16;
// Languages of the option. Only where relevant -- when it's important for
// the end user to understand and/or read in the language to enjoy the
// experience. E.g. relevant for a guided tour, but not for a mini-golf pass.
// Max number of languages: 100.
// Recommended.
repeated Language languages = 14;
// Meeting point -- the start location. Only add where relevant and
// beneficial, e.g. the place where participant will meet the tour guide to
// start a walking tour, the place where participant will be picked up for a
// city tour, the dock where a cruise trip will start.
// Optional.
Location meeting_point = 15;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | আইডি | আবশ্যক। অপশন আইডি। একটি পণ্যের মধ্যে এটি অবশ্যই অনন্য হতে হবে। |
| স্থানীয় পাঠ্য সেট | শিরোনাম | আবশ্যক, প্রস্তাবিত দৈর্ঘ্য: ৫০, সর্বোচ্চ দৈর্ঘ্য: ১৫০ অক্ষর। যদি কেবল একটিই বিকল্প থাকে, তবে বিকল্পের শিরোনামটি পণ্যের শিরোনামের মতোই হতে পারে। যদি একাধিক পণ্যের বিকল্প উপস্থাপন করা হয়, তবে শিরোনামটি অবশ্যই প্রতিটি বিকল্পের জন্য স্বতন্ত্র হতে হবে। আরও বিস্তারিত জানতে শিরোনাম এবং বিবরণের নির্দেশিকা দেখুন। |
| স্থানীয় পাঠ্য সেট | বর্ণনা | সুপারিশকৃত, প্রস্তাবিত দৈর্ঘ্য: ১০০০০, সর্বোচ্চ দৈর্ঘ্য: ১৬০০০। আরও বিস্তারিত তথ্যের জন্য শিরোনাম ও বিবরণের নির্দেশিকা দেখুন। |
| ডিপলিঙ্ক | ল্যান্ডিং_পেজ | আবশ্যক। পণ্যটি বুক করার জন্য অবশ্যই একটি বাটন বা লিঙ্ক থাকতে হবে। আরও বিস্তারিত জানতে ল্যান্ডিং পেজের নির্দেশিকা দেখুন। |
| ডিপলিঙ্ক | ল্যান্ডিং_পেজ_তালিকা_ভিউ | সুপারিশকৃত। উপলব্ধ টিকিট এবং ট্যুরের একটি উচ্চতর স্তরের তালিকা দৃশ্যের লিঙ্ক, যা সম্ভবত অন্যান্য বিকল্পগুলির মধ্যে এই বিকল্পটিকে স্পষ্টভাবে প্রদর্শন করবে। আরও বিস্তারিত জানার জন্য ল্যান্ডিং পেজ নির্দেশিকা দেখুন। |
| পুনরাবৃত্তি টেক্সটফিচার | বিকল্প_বৈশিষ্ট্য | ঐচ্ছিক, বৈশিষ্ট্যের সর্বোচ্চ সংখ্যা: ১০০। পণ্য স্তর থেকে বিবরণের পুনরাবৃত্তি করা উচিত নয়। |
| বাতিলকরণ নীতি | বাতিলকরণ নীতি | সুপারিশকৃত। |
| পুনরাবৃত্তি বিভাগ | বিকল্প_বিভাগ | ঐচ্ছিক, বিভাগের সর্বোচ্চ সংখ্যা: ১০০। এই অপশনের জন্য প্রাসঙ্গিক ক্যাটাগরিসমূহ। অতিরিক্ত প্রস্তাবিত মানের জন্য প্রোডাক্ট ক্যাটাগরি ডকুমেন্টেশন দেখুন। |
| পুনরাবৃত্তি সম্পর্কিত অবস্থান | সম্পর্কিত_অবস্থান | সুপারিশকৃত, সর্বোচ্চ অবস্থানের সংখ্যা: ১০০। পণ্যটিকে সবচেয়ে প্রাসঙ্গিক স্থানে দেখানোর জন্য সম্পর্কিত স্থানগুলির একটি সঠিক তালিকা প্রদান করা অত্যন্ত গুরুত্বপূর্ণ , তবে অতিরিক্ত ট্যাগিং বা সঠিক তথ্য প্রদান না করলে পণ্যটি সরিয়ে ফেলা হতে পারে। আরও বিস্তারিত জানতে অবস্থান এবং গুরুত্বপূর্ণ স্থান নির্দেশিকা দেখুন। |
| বুল | বেস_টিকেট | ঐচ্ছিক। পণ্য বিকল্পটি প্রাথমিক প্রবেশপত্র কিনা তা নির্দেশ করতে ব্যবহৃত হয়। |
| পুনরাবৃত্তি প্রাইসঅপশন | মূল্য_বিকল্প | আবশ্যক, কমপক্ষে ১টি। এই বিকল্পের জন্য সমস্ত সম্ভাব্য মূল্য। দ্রষ্টব্য: শুধুমাত্র প্রাপ্তবয়স্কদের মূল্য সমর্থিত। যদি একাধিক মূল্যের বিকল্প প্রদান করা হয়, তবে ভৌগোলিক সীমাবদ্ধতা যাচাইয়ে উত্তীর্ণ প্রথম মূল্যটি ব্যবহার করা হবে। গ্রুপ টিকিটের ক্ষেত্রে, এর পরিবর্তে পুরো গ্রুপের সম্পূর্ণ মূল্য ব্যবহার করতে হবে। |
| uint32 | সময়কাল_সেকেন্ড | ঐচ্ছিক। যেখানে প্রযোজ্য, যেমন গাইডেড ট্যুর বা বোট ট্রিপের ক্ষেত্রে, অপশনটির সময়কাল সেকেন্ডে উল্লেখ করতে হবে। এটি অভিজ্ঞতার সময়কাল নির্দেশ করবে (বৈধতার সময় নয়)। |
| পুনরাবৃত্তি ভাষা | ভাষা | সুপারিশকৃত, সর্বোচ্চ ভাষার সংখ্যা: ১০০। যে ভাষাগুলিতে বিকল্পটি উপলব্ধ। যখন অভিজ্ঞতাটি উপভোগ করার জন্য অন্তিম ব্যবহারকারীর পক্ষে সেই ভাষা বোঝা এবং/অথবা পড়া গুরুত্বপূর্ণ হয়। যেমন একটি গাইডেড ট্যুরের ক্ষেত্রে। |
| অবস্থান | মিটিং_পয়েন্ট | ঐচ্ছিক। শুধুমাত্র প্রাসঙ্গিক ও সুবিধাজনক স্থানগুলিতেই যোগ করুন, যেমন—যেখানে অংশগ্রহণকারী পায়ে হেঁটে ভ্রমণ শুরু করার জন্য ট্যুর গাইডের সাথে দেখা করবেন, বা শহর ভ্রমণের জন্য অংশগ্রহণকারীকে যেখান থেকে নিয়ে আসা হবে, কিংবা যে ঘাট থেকে নৌবিহার শুরু হবে। |
উদাহরণ
{
"id": "option-1",
"title": {
"localized_texts": [
{
"language_code": "en",
"text": "Sunset tour"
},
{
"language_code": "es",
"text": "Tour al atardecer"
},
{
"language_code": "zh-HK",
"text": "日落之旅"
}
]
},
"landing_page": {
"url": "https://www.danstour.com/sunset?language={lang}¤cy={currency}"
},
"cancellation_policy": {
"refund_conditions": [
{
"min_duration_before_start_time_sec": 86400,
"refund_percent": 100
}
]
},
"option_categories": [
{
"label": "sports"
},
{
"label": "bike-tours"
}
],
"related_locations": [
{
"location": {
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
}
},
"relation_type": "RELATION_TYPE_RELATED_NO_ADMISSION"
},
{
"location": {
"location": {
"lat_lng": {
"latitude": 53.339688,
"longitude": 6.236688
}
}
},
"relation_type": "RELATION_TYPE_RELATED_NO_ADMISSION"
}
],
"price_options": [
{
"id": "option-1-adult",
"title": "Adult (14+)",
"price": {
"currency_code": "EUR",
"units": 20
},
"fees_and_taxes": {
"per_ticket_fee": {
"currency_code": "EUR",
"units": 1
},
"per_ticket_tax": {
"currency_code": "EUR",
"units": 1
}
}
}
]
}
টেক্সটফিচার
প্রোটো
message TextFeature {
enum TextFeatureType {
// Don't use, for backwards compatibility only.
TEXT_FEATURE_UNKNOWN = 0;
// Feature is an inclusion.
TEXT_FEATURE_INCLUSION = 1;
// Feature is an exclusion.
TEXT_FEATURE_EXCLUSION = 2;
// Feature is a highlight.
TEXT_FEATURE_HIGHLIGHT = 3;
// Feature is a "must know".
TEXT_FEATURE_MUST_KNOW = 4;
// Feature represents information about safety measures.
TEXT_FEATURE_SAFETY_INFORMATION = 5;
}
// Feature type.
// Required.
TextFeatureType feature_type = 1;
// LocalizedTextSet content of the feature. Values support both plain-text
// and HTML-like text for basic formatting. Supported HTML formatting tags:
//
// Phrase tags: <br>, <strong>, <em>, <i>:
// Only the four tags mentioned above are supported. <br> can be used to
// break lines in paragraphs, and <strong>/<em>/<i> can be used to highlight
// 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.
// Recommended to not exceed length of 1000 in any language. Max length: 2000.
// Required.
LocalizedTextSet value = 2;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| এনাম | বৈশিষ্ট্য_প্রকার | আবশ্যক। বৈশিষ্ট্যের ধরণ, সম্ভাব্য মানসমূহ: TEXT_FEATURE_INCLUSION : ফিচারটি একটি অন্তর্ভুক্তি।TEXT_FEATURE_EXCLUSION : ফিচারটি বর্জন করা হয়েছে।TEXT_FEATURE_HIGHLIGHT : ফিচারটি একটি হাইলাইট।TEXT_FEATURE_MUST_KNOW : ফিচারটি অবশ্যই জানতে হবে।TEXT_FEATURE_SAFETY_INFORMATION : ফিচারটি নিরাপত্তা ব্যবস্থা সম্পর্কিত তথ্য উপস্থাপন করে। |
| স্থানীয় পাঠ্য সেট | মূল্য | আবশ্যক, প্রস্তাবিত দৈর্ঘ্য ১০০০ অক্ষর বা তার কম, সর্বোচ্চ দৈর্ঘ্য: ২০০০। সমর্থিত HTML ফরম্যাটিং ট্যাগ: br, strong, em, i শুধুমাত্র উল্লিখিত চারটি ট্যাগই সমর্থিত। অনুচ্ছেদে লাইন ভাঙতে br ব্যবহার করা যায়, এবং গুরুত্বপূর্ণ লেখা হাইলাইট করতে strong / em / i ব্যবহার করা যায়। অন্য যেকোনো ফ্রেজ ট্যাগ উপেক্ষা করা হবে।অন্যান্য সকল ট্যাগ এবং কাস্টম স্টাইল অনুমোদিত নয় এবং মুছে ফেলা হবে। যেকোনো ইউআরএল, অ্যাঙ্কর এবং লিঙ্ক বাদ দেওয়া হবে এবং সেগুলো ব্যবহারকারীদের কাছে কখনোই প্রদর্শিত হবে না। |
উদাহরণ
{
"feature_type": "TEXT_FEATURE_HIGHLIGHT",
"value": {
"localized_texts": [
{
"language_code": "en",
"text": "<p>A very fun bike tour<p>"
},
{
"language_code": "es",
"text": "<p>Un recorrido en bicicleta muy divertido.</p>"
},
{
"language_code": "zh-HK",
"text": "<p>一個非常有趣的自行車之旅.</p>"
}
]
}
}
রেটিং
প্রোটো
message Rating {
// Average rating value.
// The value must be in the range of [1, 5] and can be omitted if and only if
// the rating_count is zero.
double average_value = 1;
// Number of ratings used in calculating the value.
// Required.
uint64 rating_count = 2;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| দ্বিগুণ | গড়_মান | ঐচ্ছিক। গড় রেটিং মান। মানটি অবশ্যই [1, 5] পরিসরের মধ্যে হতে হবে এবং শুধুমাত্র rating_count শূন্য হলেই এটি বাদ দেওয়া যেতে পারে। |
| uint64 | রেটিং_সংখ্যা | আবশ্যক। মান গণনা করতে ব্যবহৃত রেটিং সংখ্যা। |
উদাহরণ
// Example 1
{
"average_value": 4.6,
"rating_count": 192
}
// Example 2: No ratings data
{
"rating_count": 0
}
মিডিয়া
প্রোটো
message Media {
// URL of this media source. Google will crawl the media hosted at this URL.
// Max length: 2000.
// Required.
string url = 1;
enum MediaType {
// Don't use, for backwards compatibility only.
MEDIA_TYPE_UNSPECIFIED = 0;
// Indicates the media provided by the url is a photo.
MEDIA_TYPE_PHOTO = 1;
}
// Type of this media source.
// Required.
MediaType type = 2;
// 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.
// Recommended to not exceed length of 1000 in any language.
// Max length: 2000.
// Optional.
LocalizedTextSet attribution = 3;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | ইউআরএল | আবশ্যক, সর্বোচ্চ দৈর্ঘ্য: ২০০০। এই মিডিয়া উৎসের ইউআরএল। গুগল এই ইউআরএল-এ হোস্ট করা মিডিয়া ক্রল করবে। |
| এনাম | প্রকার | আবশ্যক। এই মিডিয়া উৎসের ধরণ। সম্ভাব্য মানসমূহ: MEDIA_TYPE_PHOTO : নির্দেশ করে যে URL দ্বারা প্রদত্ত মিডিয়াটি একটি ছবি। |
| স্থানীয় পাঠ্য সেট | অ্যাট্রিবিউশন | ঐচ্ছিক, প্রস্তাবিত দৈর্ঘ্য: ১০০০, সর্বোচ্চ দৈর্ঘ্য: ২০০০। মিডিয়ার উৎস সম্পর্কিত অ্যাট্রিবিউশন তথ্য। উল্লেখ্য যে, যদি ফটোগ্রাফার বা এজেন্সিকে কৃতিত্ব দেওয়ার জন্য মিডিয়ার সাথে অ্যাট্রিবিউশন প্রদর্শন করা আবশ্যক হয়, তবে এই ফিল্ডটি অবশ্যই সেট করতে হবে। |
উদাহরণ
{
"url": "http://www.danstour.com/photo2.jpg",
"type": "MEDIA_TYPE_PHOTO",
"attribution": {
"localized_texts": [
{
"language_code": "en",
"text": "Dans Photos"
}
]
}
}
বিভাগ
প্রোটো
message Category {
// Refer to the documentation for the valid values list.
// Required.
string label = 1;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | লেবেল | আবশ্যক। বৈধ মানগুলির তালিকার জন্য পণ্য বিভাগের ডকুমেন্টেশন দেখুন। |
উদাহরণ
{
"label": "sports"
}
সম্পর্কিত অবস্থান
প্রোটো
// Defines relation between an option and a location.
message RelatedLocation {
// Location related to an option. Can be a POI (e.g. Eiffel tower),
// neighbourhood (e.g. Old Town) or an address / arbitrary map point.
// Required.
Location location = 1;
enum RelationType {
RELATION_TYPE_UNSPECIFIED = 0;
// Relation grants admission to this related location.
RELATION_TYPE_ADMISSION_TICKET = 1;
// Relation declares an additional service which doesn't get the user into
// the related location, e.g. a parking ticket, a temporary exhibition, etc.
RELATION_TYPE_SUPPLEMENTARY_ADDON = 2;
// Location is related but relation does not allow admission or admission is
// irrelevant, e.g. location is a square highlighted in a city tour.
RELATION_TYPE_RELATED_NO_ADMISSION = 3;
}
// Relation type of an option for the given location.
// Required.
RelationType relation_type = 2;
}
বাস্তবায়ন নোট
একটি বিকল্প এবং একটি অবস্থানের মধ্যে সম্পর্ক সংজ্ঞায়িত করে।
| প্রকার | মাঠ | নোট |
|---|---|---|
| অবস্থান | অবস্থান | আবশ্যক। কোনো বিকল্পের সাথে সম্পর্কিত অবস্থান। এটি একটি দর্শনীয় স্থান (যেমন আইফেল টাওয়ার), এলাকা (যেমন ওল্ড টাউন) অথবা একটি ঠিকানা বা মানচিত্রের যেকোনো বিন্দু হতে পারে। |
| এনাম | সম্পর্কের ধরণ | আবশ্যক। প্রদত্ত অবস্থানের জন্য একটি অপশনের সম্পর্কের ধরণ। সম্ভাব্য মানসমূহ: RELATION_TYPE_RELATED_NO_ADMISSION : অবস্থানটি সম্পর্কিত কিন্তু সম্পর্কটি প্রবেশের অনুমতি দেয় না অথবা প্রবেশ অপ্রাসঙ্গিক, যেমন অবস্থানটি একটি সিটি ট্যুরে হাইলাইট করা একটি বর্গক্ষেত্র।RELATION_TYPE_ADMISSION_TICKET : এই সম্পর্কটি সংশ্লিষ্ট এই স্থানে প্রবেশের অনুমতি প্রদান করে।RELATION_TYPE_SUPPLEMENTARY_ADDON : এই রিলেশনটি এমন একটি অতিরিক্ত পরিষেবা ঘোষণা করে যা ব্যবহারকারীকে সংশ্লিষ্ট স্থানে নিয়ে যায় না, যেমন পার্কিং টিকিট বা একটি অস্থায়ী প্রদর্শনী। |
উদাহরণ
// Example of place ID POI with no admissions
{
"location": {
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
}
},
"relation_type": "RELATION_TYPE_RELATED_NO_ADMISSION"
}
// Example of Address POI with admissions
{
"location": {
"location": {
"place_info": {
"name": "Eiffel Tower",
"unstructured_address": "5 Av. Anatole France, 75007 Paris, France"
}
}
},
"relation_type": "RELATION_TYPE_ADMISSION_TICKET"
}
ডিপলিঙ্ক
প্রোটো
// Deep link definition. Can include value parameters that will be expanded on
// serve time.
message DeepLink {
// Landing page URL template for desktop. If both `url` and `localized_url`
// are provided, the former is used as a fallback in case
// no URL matches the user’s locale.
// Max length: 2000.
// Either `url` or `localized_url` is required.
string url = 1;
// Localized landing page URL template for desktop. If both `url` and
// `localized_url` are provided, the former is used as a fallback in case
// no URL matches the user’s locale.
// Max length: 2000.
// Max number of locales: 50.
// Either `url` or `localized_url` is required.
LocalizedTextSet localized_url = 3;
reserved 2, 4;
}
বাস্তবায়ন নোট
ডিপ লিঙ্কের সংজ্ঞা। এতে ভ্যালু প্যারামিটার অন্তর্ভুক্ত থাকতে পারে যা পরিবেশনের সময় প্রসারিত হবে।
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | ইউআরএল | ঐচ্ছিক, সর্বোচ্চ দৈর্ঘ্য: ২০০০। ডেস্কটপের জন্য ল্যান্ডিং পেজ ইউআরএল টেমপ্লেট। `url` অথবা `localized_url` যেকোনো একটি আবশ্যক। |
| স্থানীয় পাঠ্য সেট | স্থানীয়_ইউআরএল | ঐচ্ছিক, সর্বোচ্চ দৈর্ঘ্য: ২০০০, সর্বোচ্চ স্থানীয় বাসিন্দার সংখ্যা ৫০। ডেস্কটপের জন্য স্থানীয় ভাষায় অনুবাদ করা ল্যান্ডিং পেজ ইউআরএল টেমপ্লেট। যদি url এবং localized_url উভয়ই প্রদান করা হয়, তবে ব্যবহারকারীর লোকেলের সাথে কোনো ইউআরএল না মিললে ফলব্যাক হিসেবে url-টি ব্যবহৃত হয়। যদি url উপলব্ধ না থাকে এবং ভাষাও প্রদান করা না হয়, তবে ইংরেজি ইউআরএলটি ব্যবহৃত হয়। |
উদাহরণ
// Example 1: single landing page URL.
{
"url": "https://www.danstour.com/bike-tours/?language={lang}¤cy={currency}"
}
// Example 2: localized landing page url with fallback
{
"url": "https://www.danstour.com/bike-tours/?currency={currency}",
"localized_url": {
"localized_texts": [{
"language_code": "de",
"text": "https://www.danstour.com.de/bike-tours/?currency={currency}"
}, {
"language_code": "es-MX",
"text": "https://mx.danstour.com/bike-tours/?currency={currency}"
}, {
"language_code": "zh-HK",
"text": "https://hk.danstour.com.es/bike-tours/?currency={currency}"
}]
}
}
অপারেটর
প্রোটো
message Operator {
// Operator name.
// Recommended to not exceed length of 50 in any language. Max length: 100.
// Required.
LocalizedTextSet name = 1;
// Operator business name as it is registered in Google Business Profile and
// appearing on Google Maps.
// Recommended to not exceed length of 50 in any language.
// Max length: 100.
// Required.
LocalizedTextSet google_business_profile_name = 4;
// Operator phone number. Prefer full international phone number format.
// Max length: 64.
// Optional.
string phone_number = 2;
// List of operator locations.
// Max number of locations: 1.
// Optional.
repeated Location locations = 3;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্থানীয় পাঠ্য সেট | নাম [অপ্রচলিত] | ঐচ্ছিক, প্রস্তাবিত দৈর্ঘ্য: ৫০, সর্বোচ্চ দৈর্ঘ্য: ১০০। এই পণ্যের বিক্রেতার ব্র্যান্ডের নাম। OTA-দের এটিকে OTA ব্র্যান্ড হিসেবে সেট করতে হবে। এই ফিল্ডটি এখন অপ্রচলিত এবং products-এর অধীনে brand_name দ্বারা প্রতিস্থাপিত হয়েছে। |
| স্থানীয় পাঠ্য সেট | গুগল_ব্যবসা_প্রোফাইল_নাম | আবশ্যক, সর্বোচ্চ দৈর্ঘ্য: ১০০। অপারেটরের ব্যবসার নাম, যা গুগল বিজনেস প্রোফাইলে নিবন্ধিত এবং গুগল ম্যাপসে প্রদর্শিত। অপারেটর বুকিং মডিউলে অংশগ্রহণের জন্য এই ক্ষেত্রটি আবশ্যক। |
| স্ট্রিং | ফোন নম্বর | ঐচ্ছিক, সর্বোচ্চ দৈর্ঘ্য: ৬৪। অপারেটরের ফোন নম্বর। পূর্ণ আন্তর্জাতিক ফোন নম্বর ফরম্যাট পছন্দনীয়। |
| পুনরাবৃত্তি অবস্থান | অবস্থান | ঐচ্ছিক, সর্বোচ্চ সংখ্যা: ১। অপারেটরের ব্যবসায়িক ঠিকানা। যদি ঠিকানা স্ট্রিং ব্যবহার করা হয়, তাহলে ঠিকানা স্ট্রিং-এর অংশ হিসেবে ব্যবসার নাম অন্তর্ভুক্ত করুন। উদাহরণস্বরূপ, "ব্যবসার নাম, রাস্তার ঠিকানা"। অপারেটর বুকিং মডিউলটি চালু হওয়ার জন্য অপারেটরের ব্যবসা অবশ্যই গুগল ম্যাপসে খুঁজে পাওয়ার যোগ্য হতে হবে। যদি অপারেটরের ব্যবসা গুগল ম্যাপসে খুঁজে পাওয়া না যায়, তাহলে তার একটি গুগল বিজনেস প্রোফাইল নিবন্ধন করা উচিত। |
উদাহরণ
// Example 1: Sending operator information for operator booking module:
operator: {
"google_business_profile_name": {
"localized_texts": [{
"language_code": "en",
"text": "Dans Bikes"}]
},
"locations": [{
"location": { //Operator business address
"place_info": {
"name": "Dans Bike Tour",
"unstructured_address": "123 Baker st..."
}
}}]
}
ভাষা
প্রোটো
message Language {
// A BCP 47 compliant language code such as "en" or "de-CH".
string code = 1;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | কোড | BCP-47 অনুবর্তী একটি ভাষা কোড, যেমন "en" বা "de-CH"। |
উদাহরণ
{
"code": "de-CH"
}
প্রাইসঅপশন
প্রোটো
message PriceOption {
// Unique ID within the price set.
// Max length: 255.
// Required.
string id = 1;
// Short description of the price option, e.g. "Adult weekday".
// Max length: 150.
// Required.
string title = 2;
// Price value, must match the final price on the checkout page, including all
// taxes and charges, see price policy. Currency will be converted to the user
// currency on rendering.
// Required when is_free is false.
google.type.Money price = 3;
// Admission or ticket is free. Must be set to true for zero-price options.
// Optional, default is false.
bool is_free = 4;
// List of geographical regions this price is applicable to. If empty,
// applicable to all locations.
// Optional.
repeated GeoCriterion geo_criteria = 5;
// Break down of fees and taxes included in the price above.
// Optional.
PriceFeesAndTaxes fees_and_taxes = 6;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | আইডি | আবশ্যক, সর্বোচ্চ দৈর্ঘ্য: ২৫৫। নির্ধারিত মূল্যের মধ্যে অনন্য আইডি। |
| স্ট্রিং | শিরোনাম | আবশ্যক, সর্বোচ্চ দৈর্ঘ্য: ১৫০। মূল্য বিকল্পের সংক্ষিপ্ত বিবরণ, যেমন 'প্রাপ্তবয়স্ক সপ্তাহের কর্মদিবস'। |
| google.type.Money | দাম | যখন is_free মিথ্যা হয় তখন আবশ্যক।মূল্য অবশ্যই চেকআউট পৃষ্ঠার চূড়ান্ত মূল্যের সাথে মিলতে হবে, যার মধ্যে সমস্ত কর এবং চার্জ অন্তর্ভুক্ত থাকবে; মূল্য নীতি দেখুন। রেন্ডারিংয়ের সময় মুদ্রা ব্যবহারকারীর মুদ্রায় রূপান্তরিত হবে। |
| বুল | বিনামূল্যে | ঐচ্ছিক, ডিফল্ট মান হলো false। প্রবেশ বা টিকিট বিনামূল্যে। শূন্য-মূল্যের বিকল্পগুলির জন্য এটি অবশ্যই 'true' সেট করতে হবে। |
| পুনরাবৃত্তি ভূ-মানদণ্ড | ভূ-মানদণ্ড | ঐচ্ছিক। যেসব ভৌগোলিক অঞ্চলে এই মূল্য প্রযোজ্য, তার তালিকা। খালি থাকলে, সকল স্থানের জন্য প্রযোজ্য। |
| পুনরাবৃত্তি মূল্য ফি এবং কর | ফি এবং কর | ঐচ্ছিক। মূল্যের অন্তর্ভুক্ত ফি ও করের বিস্তারিত বিবরণ। |
উদাহরণ
{
"id": "option-1-adult",
"title": "Adult (14+)",
"price": {
"currency_code": "EUR",
"units": 20
},
"fees_and_taxes": {
"per_ticket_fee": {
"currency_code": "EUR",
"units": 1
},
"per_ticket_tax": {
"currency_code": "EUR",
"units": 1
}
}
}
ভূ-মানদণ্ড
প্রোটো
message GeoCriterion {
// 2-letter country code as defined in ISO 3166-1.
// Required.
string country_code = 1;
// If true, criterion is negative (the country code is excluded).
bool is_negative = 2;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | দেশের_কোড | আবশ্যক। ISO 3166-1-এ সংজ্ঞায়িত ২-অক্ষরের দেশের কোড। |
| বুল | নেতিবাচক | ঐচ্ছিক। যদি সত্য হয়, তাহলে মানদণ্ডটি নেতিবাচক হবে (দেশের কোডটি বাদ দেওয়া হবে)। |
উদাহরণ
{
"country_code": "US",
"is_negative": "true"
}
মূল্য ফি এবং কর
প্রোটো
message PriceFeesAndTaxes {
// Booking fees included in the final product price for a single ticket.
// Optional.
google.type.Money per_ticket_fee = 1;
// State taxes included in the final product price for a single ticket.
// Optional.
google.type.Money per_ticket_tax = 2;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| google.type.Money | প্রতি টিকিটের ফি | ঐচ্ছিক। একক টিকিটের ক্ষেত্রে বুকিং ফি চূড়ান্ত মূল্যের অন্তর্ভুক্ত। |
| google.type.Money | প্রতি_টিকেট_ট্যাক্স | ঐচ্ছিক। একটি টিকিটের চূড়ান্ত মূল্যের মধ্যে রাজ্য কর অন্তর্ভুক্ত রয়েছে। |
উদাহরণ
{
"per_ticket_fee": {
"currency_code": "EUR",
"units": 1
},
"per_ticket_tax": {
"currency_code": "EUR",
"units": 1
}
}
অবস্থান
প্রোটো
message Location {
// At least one of (location, description) must be set, and we highly
// recommend populating location wherever possible.
//
// To emphasize, both fields can be populated together, e.g. you can set
// Central Park New York for the location and "In front of the 72 Street
// Station" for the description.
GeoLocation location = 1;
// Additional description in human-readable form, e.g.
// "On the left side of the fountain on the Palace square".
// At least one of (location, description) must be set.
// Recommended to not exceed length of 1000 in any language. Max length: 2000.
LocalizedTextSet description = 2;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| ভূ-অবস্থান | অবস্থান | ঐচ্ছিক, অবস্থান অথবা বিবরণের মধ্যে অন্তত একটি অবশ্যই থাকতে হবে। ভৌগোলিক অবস্থান। |
| স্থানীয় পাঠ্য সেট | বর্ণনা | ঐচ্ছিক, প্রস্তাবিত দৈর্ঘ্য: ১০০০, সর্বোচ্চ দৈর্ঘ্য: ২০০০, অবস্থান অথবা বিবরণের মধ্যে অন্তত একটি অবশ্যই থাকতে হবে। মানুষের পাঠযোগ্য আকারে অতিরিক্ত বিবরণ, যেমন "প্যালেস স্কোয়ারের ফোয়ারাটির বাম পাশে"। |
উদাহরণ
{
"location": {
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
}
}
{
"location": {
"place_info": {
"name": "Eiffel Tower",
"unstructured_address": "5 Av. Anatole France, 75007 Paris, France"
}
}
}
ভূ-অবস্থান
প্রতিটি ইঙ্গিত প্রকার সম্পর্কে আরও বিস্তারিত তথ্যের জন্য ব্যবহারের নির্দেশিকা দেখুন।
প্রোটো
message GeoLocation {
// Required (exactly one variant from oneof).
// See
// https://developers.google.com/travel/things-to-do/guides/partner-integration/location
// for detailed guidelines.
oneof value {
// Place ID as defined by the Places API:
// https://developers.google.com/places/web-service/place-id
//
// Uniquely identifies a POI on Google.
// It can be sourced using the Places API endpoints, for instance Place
// Search or Place Autocomplete, or manually using the Find Location Matches
// tool in Things to Do Center.
string place_id = 1;
// Legacy single-line address.
// Components are expected to be comma-separated, with the first component
// being the place name as it is displayed on Google.
// For higher matching accuracy, use the street address shown on Google for
// the place.
//
// Examples:
// - "Colosseum, Piazza del Colosseo, 1, 00184 Roma RM, Italy"
// - "The British Museum, Great Russell St, London WC1B 3DG, United Kingdom"
//
// Max length: 200.
//
// Deprecated: use `place_info` for higher matching accuracy, which provides
// a separate field for the place name and supports both structured and
// unstructured address formats.
string address = 3 [deprecated = true];
// Structured place information.
PlaceInfo place_info = 4;
// Business Profile ID, as found in the Google Business Profile settings
// page. Use this field when sourcing locations directly from the place
// owner, who has access to the Google Business Profile for the place and
// can provide such ID.
uint64 business_profile_id = 5;
// Geographic coordinates.
// This field can only be used to determine a city or geographical region,
// as it is too ambiguous to identify a specific place or businesses.
// Use `place_info` instead to match to a specific place by name and
// coordinates.
google.type.LatLng lat_lng = 2;
}
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | স্থান_আইডি | OPTIONAL, exactly one of place_id , address , place_info , business_profile_id , or lat_lng must be present.PlaceId, যা The Places API দ্বারা সংজ্ঞায়িত। এটি Google-এ একটি POI-কে অনন্যভাবে শনাক্ত করে। এটি Places API এন্ডপয়েন্ট, যেমন Place Search বা Place Autocomplete ব্যবহার করে, অথবা Things to Do Center-এর Find Location Matches টুল ব্যবহার করে ম্যানুয়ালি সংগ্রহ করা যেতে পারে। |
| স্ট্রিং | ঠিকানা | OPTIONAL, exactly one of place_id , address , place_info , business_profile_id , or lat_lng must be present.অপ্রচলিত। পুরোনো এক-লাইনের ঠিকানা। সর্বোচ্চ দৈর্ঘ্য: ২০০। উপাদানগুলো কমা দ্বারা পৃথক করা থাকবে এবং প্রথম উপাদানটি হবে স্থানের নাম, যা গুগলে প্রদর্শিত হয়। আরও নির্ভুলভাবে মেলানোর জন্য, স্থানটির জন্য গুগলে দেখানো রাস্তার ঠিকানা ব্যবহার করুন। |
| স্থানতথ্য | স্থান_তথ্য | ঐচ্ছিক, place_id , address , place_info , business_profile_id , অথবা lat_lng মধ্যে ঠিক যেকোনো একটি অবশ্যই উপস্থিত থাকতে হবে।কাঠামোগত স্থান-সম্পর্কিত তথ্য। |
| uint64 | ব্যবসায়িক প্রোফাইল আইডি | ঐচ্ছিক, place_id , address , place_info , business_profile_id , অথবা lat_lng মধ্যে ঠিক যেকোনো একটি অবশ্যই উপস্থিত থাকতে হবে।বিজনেস প্রোফাইল আইডি, যা গুগল বিজনেস প্রোফাইল সেটিংস পৃষ্ঠায় পাওয়া যায়। সরাসরি স্থানের মালিকের কাছ থেকে লোকেশন সংগ্রহ করার সময় এই ফিল্ডটি ব্যবহার করুন, কারণ তাঁর সেই স্থানের গুগল বিজনেস প্রোফাইলে অ্যাক্সেস আছে এবং তিনি এই ধরনের আইডি সরবরাহ করতে পারেন। |
| google.type.LatLng | lat_lng | ঐচ্ছিক, place_id , address , place_info , business_profile_id , অথবা lat_lng মধ্যে ঠিক যেকোনো একটি অবশ্যই উপস্থিত থাকতে হবে।ভৌগোলিক স্থানাঙ্ক। এই ক্ষেত্রটি শুধুমাত্র একটি শহর বা ভৌগোলিক অঞ্চল নির্ধারণ করতে ব্যবহার করা যেতে পারে, কারণ এটি একটি নির্দিষ্ট স্থান বা ব্যবসা শনাক্ত করার জন্য খুবই অস্পষ্ট। নাম এবং স্থানাঙ্ক দ্বারা একটি নির্দিষ্ট স্থানের সাথে মেলানোর জন্য এর পরিবর্তে place_info ব্যবহার করুন। |
উদাহরণ
"place_id": "ChIJ3S-JXmauEmsRUcIaWtf4MzE"
"place_info": {
"name": "Eiffel Tower",
"unstructured_address": "5 Av. Anatole France, 75007 Paris, France"
}
"business_profile_id": 11458995034835395294
"lat_lng": {
"latitude": -25.3511774,
"longitude": 131.0326859
}
স্থানতথ্য
প্রোটো
message PlaceInfo {
// Place or business name.
// For higher matching accuracy, this should be the same as the name shown on
// Google for the place. For places with a claimed Google Business Profile,
// this should be the same as the business name configured in the business
// profile.
// Max length: 100.
// Required.
string name = 1;
// Phone number, including the international prefix.
// For higher matching accuracy, this should be the same as the phone number
// shown on Google for the place.
// It can include commonly used separator characters.
// Examples: "+1 212-363-3200", "+91 562 222 7261".
// Max length: 30.
// Optional.
string phone_number = 2;
// Website URL shown on Google for the place, preferably the URL linked from
// the business listing in Google Maps or Search for the place.
// Max length: 1000.
// Optional.
string website_url = 3;
// Geographic coordinates of the place.
// If left empty, Google will infer the coordinates from the address.
// Optional, but either `coordinates` or one of `address_type` must be
// provided.
google.type.LatLng coordinates = 4;
// Optional, but either `coordinates` or one of `address_type` must be
// provided.
oneof address_type {
// Structured address.
// Prefer this format whenever possible for higher matching accuracy.
StructuredAddress structured_address = 5;
// Unstructured address.
// It should not include the place or business name, which must instead be
// provided separately using the `name` field.
//
// Examples:
// - `name`: "Colosseum", `unstructured_address`: "Piazza del Colosseo, 1,
// 00184 Roma RM, Italy".
// - `name`: "The British Museum", `unstructured_address`: "Great Russell
// St, London WC1B 3DG, United Kingdom".
//
// Max length: 400.
string unstructured_address = 6;
}
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | নাম | আবশ্যক। সর্বোচ্চ দৈর্ঘ্য: ৩০০। স্থান বা ব্যবসার নাম। আরও নির্ভুলভাবে মেলানোর জন্য, এই নামটি গুগলে স্থানটির জন্য প্রদর্শিত নামের সাথে একই হতে হবে। যেসব স্থানের গুগল বিজনেস প্রোফাইল রয়েছে, তাদের ক্ষেত্রে এই নামটি বিজনেস প্রোফাইলে কনফিগার করা ব্যবসার নামের মতোই হতে হবে। |
| স্ট্রিং | ফোন নম্বর | ঐচ্ছিক। সর্বোচ্চ দৈর্ঘ্য: ৩০। আন্তর্জাতিক প্রিফিক্স সহ ফোন নম্বর। আরও নির্ভুলভাবে মেলানোর জন্য, এই নম্বরটি গুগলে দেখানো স্থানের ফোন নম্বরের মতোই হওয়া উচিত। এতে সাধারণত ব্যবহৃত বিভাজক অক্ষর অন্তর্ভুক্ত থাকতে পারে। উদাহরণ: "+1 212-363-3200", "+91 562 222 7261"। |
| স্ট্রিং | ওয়েবসাইট_ইউআরএল | ঐচ্ছিক। সর্বোচ্চ দৈর্ঘ্য: ১০০০। স্থানটির জন্য গুগলে প্রদর্শিত ওয়েবসাইট ইউআরএল, বিশেষত গুগল ম্যাপস বা স্থানটির সার্চে ব্যবসার তালিকা থেকে লিঙ্ক করা ইউআরএলটি। |
| google.type.LatLng | স্থানাঙ্ক | ঐচ্ছিক। স্থানটির ভৌগোলিক স্থানাঙ্ক। এটি খালি রাখলে, গুগল ঠিকানা থেকে স্থানাঙ্ক অনুমান করে নেবে। ঐচ্ছিক, কিন্তু coordinates অথবা structured_address এবং unstructured_address এর যেকোনো একটি অবশ্যই প্রদান করতে হবে। |
| স্ট্রাকচার্ড অ্যাড্রেস | কাঠামোগত_ঠিকানা | ঐচ্ছিক, structured_address অথবা unstructured_address এর মধ্যে ঠিক একটি থাকতে পারে, কখনোই উভয়টি নয়। |
| স্ট্রিং | অসংগঠিত_ঠিকানা | ঐচ্ছিক, structured_address অথবা unstructured_address এর মধ্যে ঠিক একটি থাকতে পারে, কখনোই উভয়টি নয়। |
উদাহরণ
"place_info": {
"name": "Colosseum",
"phone_number": "+39 063 99 67 700",
"website_url": "https://colosseo.it/",
"coordinates": {
"latitude": 41.8902102,
"longitude": 12.4922309
},
"structured_address" {
"street_address": "Piazza del Colosseo, 1",
"locality": "Roma",
"administrative_area": "RM",
"postal_code": "00184",
"country_code": "IT"
}
}
"place_info": {
"name": "Eiffel Tower",
"unstructured_address": "5 Av. Anatole France, 75007 Paris, France"
}
"place_info": {
"name": "Mutitjulu Waterhole",
"coordinates": {
"latitude": -25.3511774,
"longitude": 131.0326859
}
}
স্ট্রাকচার্ড অ্যাড্রেস
প্রোটো
message StructuredAddress {
// Street address, including house number and any other component that cannot
// be provided using the more specific fields defined below. It should not
// include the place or business name, which must instead be provided
// separately using the `name` field under `PlaceInfo`. It should also not
// include postal code, locality or country as those should be provided using
// the corresponding fields below.
//
// Examples:
// - "Piazza del Colosseo, 1" for the Colosseum.
// - "Great Russell St" for The British Museum.
// - "Champ de Mars, 5 Av. Anatole France" for the Eiffel Tower.
//
// Max length: 200.
// Required.
string street_address = 1;
// Locality, generally referring to the city/town portion of an address.
// Examples: "New York", "Rome", "London", "Tokyo".
// In regions of the world where localities are not well defined or do not fit
// into this structure well, leave empty.
// Max length: 80.
// Optional.
string locality = 2;
// Highest administrative subdivision used for postal addresses of the
// specific country or region. This can be a state, a region, a province, an
// oblast, a prefecture, etc.
// It can be an abbreviation or a full name, depending on how the region is
// usually represented in the postal addresses of the specific country. For
// example, "CA" or "California" for US addresses, "RM" for Rome province in
// Italy.
// Many countries don't use an administrative area in postal addresses. For
// instance, this field should not be used for addresses in Switzerland.
// Max length: 80.
// Optional.
string administrative_area = 3;
// The postal code or zip code.
// Examples: "75007", "WC1B 3DG", etc.
// Required if the country supports postal codes, otherwise it should be left
// empty.
// Max length: 30.
// Optional.
string postal_code = 4;
// Country code, as defined by Unicode's "CLDR", itself based on the ISO 3166
// alpha-2 standard. See
// https://unicode.org/cldr/charts/latest/supplemental/territory_containment_un_m_49.html.
//
// Examples: "US" for the United States, "FR" for France, "GB" for the United
// Kingdom, etc.
// Max length: 2.
// Required.
string country_code = 5;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| স্ট্রিং | রাস্তার ঠিকানা | আবশ্যক। সর্বোচ্চ দৈর্ঘ্য: ২০০। রাস্তার ঠিকানা, যার মধ্যে বাড়ির নম্বর এবং এমন যেকোনো উপাদান অন্তর্ভুক্ত থাকবে যা আরও সুনির্দিষ্ট ফিল্ড ব্যবহার করে প্রদান করা যায় না। এতে স্থান বা ব্যবসার নাম অন্তর্ভুক্ত করা যাবে না, যা পরিবর্তে PlaceInfo অধীনে থাকা name ফিল্ড ব্যবহার করে আলাদাভাবে প্রদান করতে হবে। এতে পোস্টাল কোড, এলাকা বা দেশও অন্তর্ভুক্ত করা যাবে না, কারণ সেগুলো সংশ্লিষ্ট ফিল্ড ব্যবহার করে প্রদান করতে হবে। |
| স্ট্রিং | এলাকা | ঐচ্ছিক। সর্বোচ্চ দৈর্ঘ্য: ৮০। এলাকা, যা সাধারণত কোনো ঠিকানার শহর বা নগর অংশকে বোঝায়। বিশ্বের যেসব অঞ্চলে এলাকাগুলো সুনির্দিষ্টভাবে সংজ্ঞায়িত নয় বা এই কাঠামোর সাথে ভালোভাবে খাপ খায় না, সেখানে এটি খালি রাখুন। |
| স্ট্রিং | প্রশাসনিক_এলাকা | ঐচ্ছিক। সর্বোচ্চ দৈর্ঘ্য: ৮০। কোনো নির্দিষ্ট দেশ বা অঞ্চলের ডাক ঠিকানায় ব্যবহৃত সর্বোচ্চ প্রশাসনিক উপবিভাগ। এটি একটি রাজ্য, একটি অঞ্চল, একটি প্রদেশ, একটি ওব্লাস্ট বা একটি প্রিফেকচার হতে পারে। নির্দিষ্ট দেশটির ডাক ঠিকানায় অঞ্চলটি সাধারণত যেভাবে উপস্থাপিত হয়, তার উপর নির্ভর করে এটি একটি সংক্ষিপ্ত রূপ বা পূর্ণ নাম হতে পারে। |
| স্ট্রিং | পোস্টাল কোড | ঐচ্ছিক। সর্বোচ্চ দৈর্ঘ্য: ৩০। পোস্টাল কোড বা জিপ কোড। যদি দেশটি পোস্টাল কোড সমর্থন করে তবে এটি আবশ্যক, অন্যথায় এটি খালি রাখতে হবে। |
| স্ট্রিং | দেশের_কোড | ঐচ্ছিক। সর্বোচ্চ দৈর্ঘ্য: ২। দেশের কোড, যা ইউনিকোড "CLDR" দ্বারা সংজ্ঞায়িত এবং এটি ISO 3166 alpha-2 স্ট্যান্ডার্ডের উপর ভিত্তি করে তৈরি। ইউনিকোড ডকুমেন্টেশন দেখুন। |
উদাহরণ
{
"structured_address" {
"street_address": "Piazza del Colosseo, 1",
"locality": "Roma",
"administrative_area": "RM",
"postal_code": "00184",
"country_code": "IT"
}
}
স্থানীয় পাঠ্য সেট
প্রোটো
// Values of the localized fields.
message LocalizedTextSet {
// Per-locale LocalizedText values.
// Maximum repeatedness: 50
repeated google.type.LocalizedText localized_texts = 1;
}
বাস্তবায়ন নোট
| প্রকার | মাঠ | নোট |
|---|---|---|
| পুনরাবৃত্তি google.type.LocalizedText | স্থানীয় পাঠ্য | প্রতিটি অঞ্চলের জন্য স্থানীয়কৃত পাঠ্য মান। অঞ্চলের সর্বোচ্চ সংখ্যা: ৫০। |
উদাহরণ
{
"language_code": "en",
"text": "Sunrise tour"
}
বাতিলকরণ নীতি
প্রোটো
// Cancellation policy for a product.
message CancellationPolicy {
// Defines a single refund condition. Multiple refund conditions could be
// used together to describe "refund steps" as various durations before the
// service start time.
message RefundCondition {
// Duration in seconds before the start time, until when the customer can
// receive a refund for part of the service's cost specified in
// `refund_percent`.
// When unset or set to 0 the service can be cancelled at any time.
// Optional.
uint32 min_duration_before_start_time_sec = 1;
// The percent that can be refunded, as long as the service booking is
// cancelled at least `min_duration_before_start_time` before the service
// start time, in the range of [0, 100].
// When unset or set to 0, the service is not refundable. When set to 100
// this service is fully refundable.
// Optional.
uint32 refund_percent = 2;
// A flat fee deducted on refund. Could be used separately, or in
// combination with the refund_percent above. In the latter case, refund
// percent applies first, then the fee is deducted.
// Optional.
google.type.Money refund_fee = 3;
}
// Zero or more refund conditions applicable to the policy.
// Max number of refund conditions: 10.
repeated RefundCondition refund_conditions = 1;
}
বাস্তবায়ন নোট
একটিমাত্র রিফান্ড শর্ত নির্ধারণ করে। পরিষেবা শুরুর সময়ের আগে বিভিন্ন সময়কালকে "রিফান্ড ধাপ" হিসেবে বর্ণনা করার জন্য একাধিক রিফান্ড শর্ত একসাথে ব্যবহার করা যেতে পারে।
| প্রকার | মাঠ | নোট |
|---|---|---|
| ফেরতের শর্ত | ফেরতের শর্তাবলী | ঐচ্ছিক, ফেরতের শর্তের সর্বোচ্চ সংখ্যা: ১০টি। |
ফেরতের শর্ত
| প্রকার | মাঠ | নোট |
|---|---|---|
| uint32 | শুরুর সময়ের আগে min_duration_before_start_time_sec | ঐচ্ছিক। শুরুর সময়ের আগে সেকেন্ডে সময়কাল, যার মধ্যে গ্রাহক refund_percent এ উল্লেখিত পরিষেবার খরচের একটি অংশের জন্য রিফান্ড পেতে পারেন। যখন এটি সেট করা থাকে না বা 0-তে সেট করা থাকে, তখন পরিষেবাটি যেকোনো সময় বাতিল করা যেতে পারে। |
| uint32 | ফেরতের শতাংশ | ঐচ্ছিক। পরিষেবা শুরুর সময়ের কমপক্ষে min_duration_before_start_time আগে বুকিং বাতিল করা হলে, যে শতাংশ অর্থ ফেরত দেওয়া যেতে পারে, তার মান [0, 100] পরিসরের মধ্যে। যখন এটি সেট করা থাকে না বা 0 সেট করা থাকে, তখন পরিষেবাটি ফেরতযোগ্য নয়। যখন 100 সেট করা থাকে, তখন এই পরিষেবাটি সম্পূর্ণ ফেরতযোগ্য। |
| google.type.Money | ফেরত_ফি | ঐচ্ছিক। ফেরতের উপর একটি নির্দিষ্ট ফি কেটে নেওয়া হয়। এটি আলাদাভাবে অথবা refund_percent সাথে একত্রে ব্যবহার করা যেতে পারে। পরের ক্ষেত্রে, প্রথমে রিফান্ড পার্সেন্ট প্রযোজ্য হয়, তারপর ফি কেটে নেওয়া হয়। |
উদাহরণ
"refund_conditions": [
{
"min_duration_before_start_time_sec": 86400,
"refund_percent": 100
}]
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2026-05-13 UTC-তে শেষবার আপডেট করা হয়েছে।