تنظيم صفحاتك في مجموعات
يمكنك حفظ المحتوى وتصنيفه حسب إعداداتك المفضّلة.
وفي هذه الحلقة، سنعمل على إزالة الغموض عن OAuth باستخدام Google Ads API، ونوضّح لك كيفية إكمال عملية OAuth بالكامل، وكذلك تقديم طلب للحصول على واجهة برمجة تطبيقات باستخدام خطوات "تطبيق سطح المكتب" مع REST API في أقل من 20 ثانية. سنشارك أيضًا بعض النصوص البرمجية المفيدة لإنشاء رموز دخول وتنفيذ طلبات بحث StreamStream بسرعة.
تاريخ التعديل الأخير: 2025-08-26 (حسب التوقيت العالمي المتفَّق عليه)
[null,null,["تاريخ التعديل الأخير: 2025-08-26 (حسب التوقيت العالمي المتفَّق عليه)"],[[["\u003cp\u003eThe manual copy/paste method for authorization codes is deprecated and will stop working for existing clients on October 3, 2022.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers should transition to using a loopback IP address for a more secure and user-friendly authorization process.\u003c/p\u003e\n"],["\u003cp\u003eThis guide provides a quick demonstration of the OAuth process using the Desktop App flow with the Google Ads API, enabling users to make API requests in under 20 seconds.\u003c/p\u003e\n"],["\u003cp\u003eThe guide includes helpful scripts for generating access tokens and executing searchStream requests.\u003c/p\u003e\n"]]],[],null,["# Desktop Flow with the REST API\n\n| **Warning:** The option to manually copy/paste authorization codes described in this guide has been deprecated. New OAuth clients can no longer use this flow.\n|\n|\n| Existing OAuth clients that already use the manual copy/paste flow described below will continue\n| to work until Oct 3, 2022. See the [Google\n| Developers blog post](//developers.googleblog.com/2022/02/making-oauth-flows-safer.html#disallowed-oob) for more details.\n|\n| Use a [loopback\n| IP address](/identity/protocols/oauth2/native-app#redirect-uri_loopback) for a more reliable, secure, and user-friendly way to obtain\n| user authorization.\n\n\u003cbr /\u003e\n\nIn this episode, we'll demystify OAuth with the Google Ads API and demonstrate how you can complete the entire OAuth process and make an API request using the Desktop App flow with the REST API in under 20 seconds. We'll also share some useful scripts to quickly generate access tokens and perform searchStream requests.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e"]]