OAuth2 در Google Ads API
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
ویدیو ondemand_video : بحث OAuth2 از کارگاه 2019 را بررسی کنید
همه تماسهای Google Ads API باید از طریق OAuth2 مجاز باشند. OAuth2 برنامه مشتری API Google Ads شما را قادر می سازد تا بدون نیاز به مدیریت یا ذخیره اطلاعات ورود به سیستم کاربر، به حساب Google Ads کاربر دسترسی داشته باشد.
برای تأیید درخواستها به Google Ads API باید مراحل زیر تکمیل شود.
یک پروژه Cloud را برای Google Ads API پیکربندی کنید
یک کتابخانه مشتری برای OAuth در Google Ads API پیکربندی کنید
مطالب پشتیبانی نیز برای موضوعات مرتبط موجود است.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-08-26 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-08-26 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eAll Google Ads API calls require authorization through OAuth2, safeguarding user login information.\u003c/p\u003e\n"],["\u003cp\u003eAuthorizing requests involves configuring a Cloud project and a client library for OAuth in the Google Ads API.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can utilize service accounts, delve into OAuth2 internals, and employ the OAuth Playground for advanced functionalities.\u003c/p\u003e\n"]]],[],null,["# OAuth2 in the Google Ads API\n\nondemand_video\n[Video: Check out the OAuth2 talk from the 2019 workshop](https://www.youtube.com/watch?v=2GWx6jI7Ib4&list=None&start=124)\n\nAll Google Ads API calls must be authorized through [OAuth2](http://oauth.net/2/).\nOAuth2 enables your Google Ads API client app to access a user's Google Ads account\nwithout having to handle or store the user's login info.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\nThe following steps must be completed to authorize requests to the Google Ads API.\n\n1. [Configure a Cloud project for the Google Ads API](/google-ads/api/docs/oauth/cloud-project)\n\n2. [Configure a client library for OAuth in the Google Ads API](/google-ads/api/docs/oauth/client-library)\n\nSupporting materials are also available for related topics.\n\n- [Using Service Accounts](/google-ads/api/docs/oauth/service-accounts).\n\n- Getting familiar with [OAuth2 internals for the Google Ads API](/google-ads/api/docs/oauth/internals).\n\n- Using the [OAuth Playground](/google-ads/api/docs/oauth/playground) to generate refresh\n and access tokens."]]