rocket
ขอแนะนำ
Merchant API
ซึ่งเป็นเวอร์ชันต่อไปอย่างเป็นทางการของ Content API for Shopping
update
รับข้อมูลล่าสุด
เกี่ยวกับฟีเจอร์ใหม่ การแก้ไขข้อบกพร่อง และการอัปเดตของ Merchant API
add_alert
หมายเหตุ: Content API for Shopping จะหยุดให้บริการในวันที่ 18 สิงหาคม 2026
นําลิงก์ออก
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ผู้ขายยกเลิกการลิงก์ได้ทุกเมื่อโดยไปที่แท็บพาร์ทเนอร์
ใน Google Merchant Center พาร์ทเนอร์สามารถนำลิงก์ออกโดยอัตโนมัติได้โดยใช้remove
accounts.link
เมธอด เมื่อนำลิงก์ออกแล้ว ลิงก์จะไม่มีอยู่อีกต่อไปและต้องขออีกครั้ง
และขออนุมัติอีกครั้ง
เช่นเดียวกับที่การดำเนินการ approve
สามารถเลือกได้ว่าจะเปิดใช้งาน services
ใด
การดำเนินการ remove
ก็สามารถดำเนินการกับชุดย่อยของรายการ services
ได้เช่นกัน
ตัวอย่าง
จากตัวอย่างในส่วนก่อนหน้า บัญชีผู้ขาย 98765
สามารถยกเลิกการลิงก์กับพาร์ทเนอร์ 123456789
ได้โดยส่งคำขอที่ระบุ
"action": "remove"
POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link
{
"linkedAccountId": "123456789",
"linkType": "eCommercePlatform",
"services": ["shoppingAdsProductManagement"],
"action": "remove"
}
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-13 UTC
[null,null,["อัปเดตล่าสุด 2025-08-13 UTC"],[[["\u003cp\u003eThe Merchant API is the new version of the Content API for Shopping and represents the future of the platform.\u003c/p\u003e\n"],["\u003cp\u003eMerchants can remove account links via the Google Merchant Center or programmatically using the \u003ccode\u003eaccounts.link\u003c/code\u003e method's \u003ccode\u003eremove\u003c/code\u003e action.\u003c/p\u003e\n"],["\u003cp\u003eRemoved links cease to exist and require re-requesting and re-approval for reinstatement.\u003c/p\u003e\n"],["\u003cp\u003eSimilar to \u003ccode\u003eapprove\u003c/code\u003e actions, \u003ccode\u003eremove\u003c/code\u003e actions offer granular control, allowing for the selection of specific services to be deactivated.\u003c/p\u003e\n"]]],["The beta version of the Merchant API, the new Content API for Shopping, is introduced. Merchants can remove links with partners via the \"Partners\" tab in Google Merchant Center. Partners can programmatically remove links using the `accounts.link` method's `remove` action. The `remove` action, like `approve`, can target specific services. An example illustrates removing a link to a partner, using the POST method, including the linked account ID, link type, specific service and action.\n"],null,["# Remove links\n\nMerchants can [remove a link](//support.google.com/merchants/answer/9440376)\nat any time by visiting the **Partners** tab\nin Google Merchant Center. Partners can remove links programmatically using the\n`remove` action of the [`accounts.link`](/shopping-content/reference/rest/v2.1/accounts/link)\nmethod. Once a link is removed, it no longer exists and must be re-requested\nand re-approved again.\n\nJust as [`approve`](/shopping-content/guides/flagging/approve) actions can selectively choose which `services` to\nmake active, a `remove` action can also act on a subset of the `services` list.\n\nExample\n-------\n\nContinuing the example from the previous sections, a merchant account `98765`\ncan remove the link to partner `123456789` by sending a request specifying\n`\"action\": \"remove\"`. \n\n POST https://shoppingcontent.googleapis.com/content/v2.1/98765/accounts/98765/link\n {\n \"linkedAccountId\": \"123456789\",\n \"linkType\": \"eCommercePlatform\",\n \"services\": [\"shoppingAdsProductManagement\"],\n \"action\": \"remove\"\n }"]]