אחרי שבקשת הקישור נשלחה על ידי שותף, המוכר המקבל צריך
מאשרים את הקישור לפני שהוא מופעל. בדרך כלל הפעולה הזו מתבצעת על ידי אישור
הבקשה בכרטיסייה שותפים
בכרטיסייה 'Google Merchant Center'. אבל קישורים יכולים
לקבל אישור באופן פרוגרמטי באמצעות accounts.link
.
דוגמה
כדי לאשר את הקישור שנשלח מהשותף 123456789 בקישורים של בקשת הקישור, המוֹכר הלקוח 98765 יכול לשלוח
הפעולה approve עם linkedAccountId הוגדרה למזהה השותף 123456789.
לתשומת ליבך, הרשימה services מכילה רק אחד משני הקבצים המבוקשים במקור
בבקשה לדוגמה. זה באופן סלקטיבי
מאשר את השירות shoppingAdsProductManagement ומשאיר את הבקשה ל-
מקשרים את שירות shoppingActionsOrderManagement בסטטוס pending.
[null,null,["עדכון אחרון: 2024-09-12 (שעון UTC)."],[[["Google is launching a new Merchant API, which is the future of the Content API for Shopping."],["You can learn more about the Merchant API and its benefits on the Google Ads Developer Blog."],["Merchants can programmatically approve account link requests from partners using the `accounts.link` method."],["When approving link requests, merchants have the flexibility to approve only specific services within the request, leaving others pending."]]],["The Merchant API beta, a new version of the Content API for Shopping, is introduced. Merchants can approve partner link requests, either in Google Merchant Center or programmatically using the `accounts.link` method. Merchants may selectively approve specific services included in a link request. For instance, a merchant can approve `shoppingAdsProductManagement` while leaving `shoppingActionsOrderManagement` pending. An example is given of sending an `approve` action to approve one linked service. Removing existing links is covered in the next section.\n"]]