ระบุราคาของเนื้อหาที่ต้องชำระเงิน
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
สุดท้าย คุณต้องระบุข้อมูลราคาของเนื้อหา
ราคา
สำหรับการกระทำที่ดู ให้ระบุราคาของเนื้อหาสำหรับกรณีต่อไปนี้
category
คือ rental
หรือ purchase
category
คือ subscription
หรือ externalsubscription
แต่เนื้อหาต้องมีการซื้อเพิ่มเติมสำหรับผู้สมัครใช้บริการ
สําหรับการดําเนินการฟัง คุณไม่จำเป็นต้องระบุราคาหาก category
เป็น subscription

รูปที่ 1 การดำเนินการกับสื่อที่แสดงราคาของเนื้อหาใน Google Search
สำหรับการดำเนินการบน YouTube โปรดระบุราคาของเนื้อหาในออบเจ็กต์ข้อกำหนดการเข้าถึงการดำเนินการ
"potentialAction":{
"@type":"WatchAction",
"target":{
"@type":"EntryPoint",
"urlTemplate":"http://www.example.com/my_favorite_movie?autoplay=true",
"actionPlatform":[ "http://schema.org/DesktopWebPlatform" ]
},
"actionAccessibilityRequirement": {
"@type": "ActionAccessSpecification",
"category": "purchase",
"availabilityStarts": "2019-01-01T00:00Z",
"availabilityEnds": "2019-12-31T00:00Z",
"eligibleRegion": {
"@type": "Country",
"name": "US"
},
"expectsAcceptanceOf": {
"@type": "Offer",
"price": 7.99,
"priceCurrency": "USD",
"seller": {
"@type": "Organization",
"name": "My example seller"
}
}
}
}
สำหรับการดำเนินการฟัง ให้ระบุราคาของเนื้อหาในออบเจ็กต์มาร์กอัปการดําเนินการโดยตรง ดังนี้
"potentialAction":{
"@type":"ListenAction",
"target":{
"@type":"EntryPoint",
"urlTemplate":"http://www.example.com/playlist/top_pop_songs?autoplay=true",
"actionPlatform":[ "http://schema.org/DesktopWebPlatform" ]
},
"expectsAcceptanceOf":{
"@type": "Offer",
"eligibleRegion": {
"@type":"Country",
"name":"US"
},
"category": "subscription",
"name": "Example Music",
"price": 9.99,
"priceCurrency": "USD",
"seller": {
"@type": "Organization",
"name": "My example seller",
"sameAs": "http://www.example.com"
}
}
}
ระบุราคา
ทำสิ่งต่อไปนี้:
- สำหรับการดำเนินการเพื่อรับชม
- หาก
category
เป็น rental
หรือ purchase
คุณต้องระบุราคาของการซื้อแบบครั้งเดียว
- หาก
category
เป็น subscription
หรือ externalsubscription
แต่เนื้อหาต้องมีการซื้อเพิ่มเติมสำหรับผู้สมัครใช้บริการ คุณจะต้องระบุราคาของค่าใช้จ่ายเพิ่มเติม
- มิเช่นนั้น คุณไม่จำเป็นต้องระบุราคาสำหรับ
subscription
หรือ externalsubscription
- สําหรับการดําเนินการเพื่อฟัง
- หาก
category
เป็น subscription
คุณไม่จำเป็นต้องระบุราคาการสมัครใช้บริการ
ดูตัวอย่างโดยละเอียดได้ในส่วนตัวอย่างข้อกำหนดการเข้าถึงการดำเนินการ
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
[null,null,[],[[["\u003cp\u003eFor Watch Actions, price information is required for rentals, purchases, and any additional costs for subscribers of subscription-based content.\u003c/p\u003e\n"],["\u003cp\u003eWatch Action pricing is specified within the \u003ccode\u003eActionAccessSpecification\u003c/code\u003e object using the \u003ccode\u003eexpectsAcceptanceOf\u003c/code\u003e and \u003ccode\u003eOffer\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eFor Listen Actions, providing the price is optional for subscription-based content.\u003c/p\u003e\n"],["\u003cp\u003eListen Action pricing, when provided, is specified directly within the \u003ccode\u003eListenAction\u003c/code\u003e object using the \u003ccode\u003eexpectsAcceptanceOf\u003c/code\u003e and \u003ccode\u003eOffer\u003c/code\u003e properties.\u003c/p\u003e\n"],["\u003cp\u003eBoth Watch and Listen Actions utilize the \u003ccode\u003eOffer\u003c/code\u003e schema to define price, currency, and seller information.\u003c/p\u003e\n"]]],["Price information must be provided for Watch Actions when the `category` is `rental` or `purchase`, or if it's `subscription` or `externalsubscription` but requires an extra purchase. For Watch Actions, prices are specified within the `ActionAccessSpecification` object. For Listen Actions, pricing is optional if the `category` is `subscription` and is specified within the `Action Markup` object. In any case, the `price`, `priceCurrency` are required, alongside with the `seller` information.\n"],null,["# Identify the price of the paid content\n\nLastly, you need to provide the price information of your content.\n\nPrice\n-----\n\nFor Watch Actions, specify the price of the content for the following cases:\n\n- `category` is `rental` or `purchase`.\n- `category` is `subscription` or `externalsubscription`, but the content requires an additional purchase for subscribers.\n\nFor Listen Actions, it's optional to specify the price if `category` is `subscription`.\n\n**Figure 1.** Media Actions showing the prices of content on Google Search.\n\nFor Watch Actions, specify the price of content in the [Action access specification object](../reference/#action_access_specification): \n\n \"potentialAction\":{\n \"@type\":\"WatchAction\",\n \"target\":{\n \"@type\":\"EntryPoint\",\n \"urlTemplate\":\"http://www.example.com/my_favorite_movie?autoplay=true\",\n \"actionPlatform\":[ \"http://schema.org/DesktopWebPlatform\" ]\n },\n \"actionAccessibilityRequirement\": {\n \"@type\": \"ActionAccessSpecification\",\n \"category\": \"purchase\",\n \"availabilityStarts\": \"2019-01-01T00:00Z\",\n \"availabilityEnds\": \"2019-12-31T00:00Z\",\n \"eligibleRegion\": {\n \"@type\": \"Country\",\n \"name\": \"US\"\n },\n \"expectsAcceptanceOf\": {\n \"@type\": \"Offer\",\n \"price\": 7.99,\n \"priceCurrency\": \"USD\",\n \"seller\": {\n \"@type\": \"Organization\",\n \"name\": \"My example seller\"\n }\n }\n }\n }\n\nFor Listen Actions, specify the price of content directly in the [Action markup object](../reference/#action_markup): \n\n \"potentialAction\":{\n \"@type\":\"ListenAction\",\n \"target\":{\n \"@type\":\"EntryPoint\",\n \"urlTemplate\":\"http://www.example.com/playlist/top_pop_songs?autoplay=true\",\n \"actionPlatform\":[ \"http://schema.org/DesktopWebPlatform\" ]\n },\n \"expectsAcceptanceOf\":{\n \"@type\": \"Offer\",\n \"eligibleRegion\": {\n \"@type\":\"Country\",\n \"name\":\"US\"\n },\n \"category\": \"subscription\",\n \"name\": \"Example Music\",\n \"price\": 9.99,\n \"priceCurrency\": \"USD\",\n \"seller\": {\n \"@type\": \"Organization\",\n \"name\": \"My example seller\",\n \"sameAs\": \"http://www.example.com\"\n }\n }\n }\n\nIdentify the price\n------------------\n\nDo the following:\n\n1. For Watch Actions,\n - If `category` is `rental` or `purchase`, you need to provide the price of the one-time purchase.\n - If `category` is `subscription` or `externalsubscription`, but the content requires an additional purchase for subscribers, you need to provide the price of the additional cost.\n - Otherwise, you do not need to provide the price for `subscription` or `externalsubscription`.\n2. For Listen Actions,\n - If `category` is `subscription`, it's optional to provide the price of the subscription.\n\nSee the [Action access requirement examples](../reference/#action_access_requirement_examples) section for detailed examples."]]