تدفق المعلومات
تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.

الشكل 1: مخطّط تسلسلي لتدفّق البيانات على مستوى عالٍ لعملية ربط الاشتراكات
لتنفيذ ميزة "ربط الاشتراكات"، يجب أن يستخدم موقع الناشر لغة JavaScript من جهة العميل لبدء عملية الربط للقراء، وخدمة من جهة الخادم لإدارة أذونات القراء. يستخدم كلا النظامَين معلومات من الصفحة الإلكترونية المستضافة وإعدادات النشر في Publisher Center ومعلومات حساب خدمة Google Cloud.
شرح عملية ربط اشتراك
- يزور أحد القرّاء
موقعك الإلكتروني وهو يملك اشتراكًا مدفوعًا أو إذنًا بالمساهمة.
- يستخدم الرمز البرمجي من جهة العميل
swg.js
لمنح القارئ فرصة
ربط حسابه بحسابه على Google، حتى يتمكّن من الاستفادة من
مزايا الربط، وذلك باستخدام زر
أو عبارة تحثّ على اتّخاذ إجراء صمّمتها ووضعتها على موقعك الإلكتروني.
- بعد تنشيط عبارة الطلب (إما بشكل صريح من خلال النقر أو
بشكل ضمني نتيجة إجراء أو حالة أخرى)، يسجّل القارئ الدخول إلى
حسابه على Google (أو يختار من الحسابات النشطة)، ويمنح الإذن
للناشر بربط معلومات القارئ بحسابه على Google.
ينشئ الناشر معرّفًا يقدّمه الناشر (PPID) للقارئ
كجزء من الطلب، ويتم حفظه في حساب القارئ على Google ويُستخدم
في التفاعلات اللاحقة مع واجهة برمجة التطبيقات.
- بعد منح الإذن، يتم توجيه القارئ مرة أخرى إلى الموقع الإلكتروني للناشر.
يمكن للناشر الآن إبلاغ Google بالأذونات التي يمتلكها القارئ.
- (غير متزامن) سيرسل الناشرون إلى Google معلومات عن كل قارئ
ربط حسابه بنجاح، وذلك باستخدام معرّفات PPID الخاصة بهم لتعديل
سجلّ Google الخاص بحقوق استخدام معرّفات PPID. يجب أن يكون سجلّ Google الخاص بمنح الأذونات لـ PPID محدّثًا، لأنّه يتم حذف هذه السجلات بعد أن تصبح قديمة. يصبح السجلّ قديمًا بعد 30 يومًا من تاريخ انتهاء صلاحيته، ويتم بعد ذلك حذفه نهائيًا.
المزايا
عندما يزور قارئ موقعًا إلكترونيًا تابعًا لناشر أدرج ميزة "ربط الاشتراكات"، ويكون قد دفع رسومًا مقابل اشتراك أو مساهمة على هذا الموقع الإلكتروني،
يمكن للقارئ ربط حسابه على Google بحساب الناشر. ويصبح هؤلاء
القارئون مؤهّلين بعد ذلك للاطّلاع على محتوى
هذا النشر بشكل أكبر على منتجات Google، مثل "بحث Google" وميزة "اقتراحات". ويسمح ذلك
للقرّاء بزيادة استهلاكهم للمحتوى من المنشورات التي اشتروها. يمكن للقُرّاء إلغاء ربط حساب الناشر بحسابهم على Google
في أي وقت أو من خلال إجراء يقدّمه الناشر.
ملخّص مزايا القرّاء
- يبحث القرّاء عن أي محتوى، سواء كان إخباريًا أو غير إخباري، ويظهر لهم القسم "من اشتراكاتك".
- يتفاعل القرّاء مع ميزة "اقتراحات" (إما على الشاشة الرئيسية لأجهزة Android أو على
أجهزة iOS في تطبيق Google أو Chrome أو من خلال تطبيق مصغّر على الشاشة الرئيسية)، ويمكنهم الاطّلاع على محتوى "من اشتراكاتك" ضمن قسم "اقتراحات".

الشكل 2: لقطة شاشة لمكوّنة "من اشتراكاتك" في صفحة نتائج
البحث على أجهزة الكمبيوتر المكتبي والأجهزة الجوّالة
مزايا الاشتراكات المرتبطة للناشر
- إعداد أكثر فعالية وأكثر مرونة على المدى الطويل من جهة الخادم لإدارة حسابك
- لا تتطلّب هذه الطريقة إنشاء مزوّد خدمة مصادقة مستخدمين مفتوح المصدر (OAuth) ونقطة نهاية أذونات،
كما كان مطلوبًا في الإصدارات السابقة من ميزة "ربط الحساب".
- تحسين تفاعل المستخدمين والاحتفاظ بهم من خلال عرض محتوى النشر بشكلٍ أكثر وضوحًا ضمن صفحات نتائج محرّك بحث Google
إنّ محتوى هذه الصفحة مرخّص بموجب ترخيص Creative Commons Attribution 4.0 ما لم يُنصّ على خلاف ذلك، ونماذج الرموز مرخّصة بموجب ترخيص Apache 2.0. للاطّلاع على التفاصيل، يُرجى مراجعة سياسات موقع Google Developers. إنّ Java هي علامة تجارية مسجَّلة لشركة Oracle و/أو شركائها التابعين.
تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-07-25 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eSubscription Linking enables readers with existing subscriptions to link their accounts with their Google accounts for enhanced content access across Google products.\u003c/p\u003e\n"],["\u003cp\u003ePublishers need to implement both client-side and server-side integrations to facilitate the linking process and manage reader entitlements.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves reader initiation, Google account authorization, and publisher updates to Google regarding reader entitlements using a unique publisher-provided identifier (PPID).\u003c/p\u003e\n"],["\u003cp\u003eReaders benefit from increased content visibility on Google Search and Discover, while publishers gain streamlined account management and improved user engagement.\u003c/p\u003e\n"]]],["Publishers implement Subscription Linking using client-side JavaScript and a server-side service. Readers link their publisher account to their Google Account via a call-to-action, granting permission and creating a publisher-provided identifier (PPID). Publishers then update Google with the reader's entitlements, tied to the PPID. This process enables readers to see content from their subscriptions in Google Search and Discover. Publishers benefit from a streamlined account management system and improved user engagement. Records become stale 30 days after the expiration date.\n"],null,["# The flow of information\n\n**Figure 1.** Sequence diagram for the high-level data flow of Subscription Linking process.\n\nTo implement Subscription Linking, a publisher's site must use client-side JavaScript to initiate the linking for readers, and a server-side service to manage the entitlements of readers. Both of these systems use information from the hosted webpage, your publication's Publisher Center configuration and Google Cloud service account information.\n| **Note:** For more information, see the appendix for [client-side](/news/subscribe/subscription-linking/implementation/client-side) and [server-side](/news/subscribe/subscription-linking/implementation/server-side) systems relationships,\n\nWalking through linking a subscription\n--------------------------------------\n\n1. A reader with a paying subscription or contribution entitlement comes to your website.\n2. Your client-side code uses `swg.js` to offer the reader the opportunity to link their account to their Google Account, so that they can receive the [benefits](#summary_of_reader_benefits) of the association, using a button or call-to-action that you design and place on your website.\n3. After triggering the call-to-action (either explicitly through a click, or implicitly as the result of another action or state), the reader logs in to their Google Account (or selects from those active), and grants permission to the publisher to associate reader information with their Google Account. The publisher creates a publisher-provided identifier (PPID) for the reader as part of the request, which is saved with the reader's Google Account and is used for subsequent api interactions.\n4. After granting permission, the reader is sent back to the publisher's site. The publisher can now let Google know which entitlements the reader is entitled to.\n5. (Asynchronously) Publishers will send Google information for each reader that has successfully linked their account, using their PPIDs to update Google's record of the PPID's entitlements. Google's record of a PPID's entitlement(s) must be kept fresh, as these records are deleted after becoming stale. A record becomes stale 30 days after the record's expiration date, and is subsequently purged.\n\nBenefits\n--------\n\nWhen a reader visits a publisher's site that has integrated Subscription\nLinking, and they have paid for a subscription or contribution on this site,\nthe reader can link their publisher account to their Google Account. These\nreaders are then eligible to have increased visibility on the content from\nthis publication on Google products, such as Search and Discover. This allows\nreaders to maximize their consumption of content from the publications they've\npaid for. Readers can unlink their publisher account from their Google Account\nat any time, or by a publisher-provided action.\n\n### Summary of reader benefits\n\n1. Readers search for any content, news or non-news, and see the 'From your subscriptions' list.\n2. Readers interact with Discover (either on their Android home screen, or on iOS in the Google app, Chrome, or through a home screen widget) and can see 'From your subscriptions' as a section within Discover.\n\n**Figure 2.** Screenshot of the 'From your Subscriptions' module on a search\nresults page on desktop and mobile.\n\n### Publisher benefits from a Linked Subscription\n\n- More efficient, longer-term resilient server-side setup for account management\n- Does not require creating a public OAuth IDP and entitlements endpoint, as previous versions of Account Linking required\n- Improved user engagement and retention by featuring the publication's content more distinctly within Google's search engine results pages.\n\n| **Note:** You can use Search Console to track Subscription Linking performance (clicks, impressions, and click-through rate). Follow the instructions under 'Find the full list of search appearance types supported by this report' in this [article](https://support.google.com/webmasters/answer/10268906#zippy=%2Csearch-results-performance%2Cdiscover-performance%2Cgoogle-news-performance), then filter by 'Subscribed content'."]]