दो चरणों में पुष्टि
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Ads की अनुमति की मदद से, अपने Google Ads खाते पर दो चरणों में पुष्टि करने की सुविधा चालू की जा सकती है. नीचे दी गई टेबल में, दो चरणों में पुष्टि की सुविधा चालू करने के तीन उदाहरण दिए गए हैं.
उपयोगकर्ता अपने Google खाते पर, दो चरणों में पुष्टि करने की सुविधा चालू करता है
|
उपयोगकर्ता अपने Google खाते के लिए, दो चरणों में पुष्टि करने की सुविधा को खुद चालू कर सकता है.
दो चरणों में पुष्टि करने की सुविधा चालू करने के बाद
OAuth2 की पुष्टि करने के फ़्लो के दौरान, Google उपयोगकर्ता से दो चरणों में पुष्टि करने के लिए कहता है. ऐसा, रीफ़्रेश टोकन जारी करने से पहले किया जाता है.
जारी होने के बाद, रीफ़्रेश टोकन का इस्तेमाल, एपीआई कॉल में ज़रूरी ऐक्सेस टोकन जनरेट करने के लिए किया जा सकता है.
पिछले रीफ़्रेश टोकन
उपयोगकर्ता के दो चरणों में पुष्टि करने की सुविधा चालू करने से पहले जारी किया गया रीफ़्रेश टोकन, दो चरणों में पुष्टि करने की सुविधा चालू करने के बाद भी मान्य रहता है. रीफ़्रेश टोकन का इस्तेमाल, मान्य ऐक्सेस टोकन जारी करने के लिए किया जा सकता है.
|
एडमिन को Google Ads खाते के उपयोगकर्ताओं के लिए, उनके Google खाते पर दो चरणों में पुष्टि की सुविधा चालू करनी होगी
|
खाता एडमिन, Google Ads खाते के सभी उपयोगकर्ताओं के लिए, अपने Google खाते पर दो चरणों में पुष्टि करने की सुविधा चालू करने की ज़रूरी शर्त रख सकता है.
उपयोगकर्ता, दो चरणों में पुष्टि करने की सुविधा चालू करता है
OAuth2 की पुष्टि करने के फ़्लो के दौरान, Google उपयोगकर्ता से दो चरणों में पुष्टि करने के लिए कहता है. ऐसा, रीफ़्रेश टोकन जारी करने से पहले किया जाता है.
जारी होने के बाद, रीफ़्रेश टोकन का इस्तेमाल, एपीआई कॉल में ज़रूरी ऐक्सेस टोकन जनरेट करने के लिए किया जा सकता है.
उपयोगकर्ता ने दो चरणों में पुष्टि करने की सुविधा चालू नहीं की है
पुष्टि करने के फ़्लो के दौरान, उपयोगकर्ता को दो चरणों में पुष्टि करने का प्रॉम्प्ट नहीं दिखेगा. यह सुविधा, Google Ads खाते की किसी भी सेटिंग से अलग होती है.
रीफ़्रेश टोकन जारी होने के बाद, उसका इस्तेमाल ऐक्सेस टोकन जारी करने के लिए किया जा सकता है. हालांकि, इस ऐक्सेस टोकन का इस्तेमाल करके किए गए एपीआई कॉल, तब तक
TWO_STEP_VERIFICATION_NOT_ENROLLED गड़बड़ी के साथ पूरा नहीं होंगे, जब तक उपयोगकर्ता अपने Google खाते में दो चरणों में पुष्टि करने की सुविधा चालू नहीं कर देता.
पिछले रीफ़्रेश टोकन
यह नियम, दो चरणों में पुष्टि करने की ज़रूरी शर्त से पहले जारी किए गए रीफ़्रेश टोकन पर भी लागू होता है. रीफ़्रेश टोकन का इस्तेमाल, ऐक्सेस टोकन जनरेट करने के लिए किया जा सकता है. हालांकि, इन ऐक्सेस टोकन से किए गए एपीआई कॉल तब तक काम नहीं करेंगे, जब तक उपयोगकर्ता अपने Google खाते में दो चरणों में पुष्टि करने की सुविधा चालू नहीं कर देता. साथ ही, इस दौरान उपयोगकर्ता को
TWO_STEP_VERIFICATION_NOT_ENROLLED
गड़बड़ी का मैसेज दिखेगा.
|
Google, Google Ads खाते के सभी उपयोगकर्ताओं को अपने Google खाते {:#require-2-step} पर, दो चरणों में पुष्टि करने की सुविधा के लिए ऑप्ट-इन करने की ज़रूरी शर्तें तय करता है
|
कुछ मामलों में, Google किसी Google Ads खाते के सभी उपयोगकर्ताओं से, अपने Google खाते पर दो चरणों में पुष्टि करने की सुविधा चालू करने के लिए कह सकता है.
दो चरणों में पुष्टि करने की सुविधा चालू करने के बाद
OAuth2 की पुष्टि करने के फ़्लो के दौरान, Google, रीफ़्रेश टोकन जारी करने से पहले, उपयोगकर्ता से दो चरणों में पुष्टि करने के लिए कहता है.
यह अनुभव इस बात पर निर्भर नहीं करता कि Google ने Google Ads खाते के लिए, सभी उपयोगकर्ताओं को दो तरीकों से पुष्टि करने की सुविधा चालू करने की ज़रूरत है या नहीं.
रिफ़्रेश टोकन जारी होने के बाद, इसका इस्तेमाल एपीआई कॉल में ज़रूरी ऐक्सेस टोकन जनरेट करने के लिए किया जा सकता है.
पिछले रीफ़्रेश टोकन
उपयोगकर्ता के दो चरणों में पुष्टि करने की सुविधा चालू करने से पहले जारी किया गया रीफ़्रेश टोकन, दो चरणों में पुष्टि करने की सुविधा चालू करने के बाद भी मान्य रहता है. रीफ़्रेश टोकन का इस्तेमाल, मान्य ऐक्सेस टोकन जारी करने के लिए किया जा सकता है.
इस ऐक्सेस टोकन का इस्तेमाल करके किए गए एपीआई कॉल में TWO_STEP_VERIFICATION_NOT_ENROLLED गड़बड़ी नहीं दिखेगी, क्योंकि दो चरणों में पुष्टि करने की सुविधा के लिए ऑप्ट-इन करने की प्रोसेस, Google ने शुरू की थी, न कि Google Ads खाते के एडमिन ने.
|
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-27 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-27 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eGoogle Ads authorization supports enabling 2-Step Verification for enhanced security, impacting how refresh and access tokens function.\u003c/p\u003e\n"],["\u003cp\u003eUsers voluntarily enabling 2-Step Verification or being required to by administrators or Google will encounter a 2-Step Verification prompt during authentication.\u003c/p\u003e\n"],["\u003cp\u003eIf an administrator requires 2-Step Verification, API calls will fail with an error until it's enabled, even with existing refresh tokens.\u003c/p\u003e\n"],["\u003cp\u003eRefresh tokens issued before enabling 2-Step Verification generally remain valid but may be subject to the specific scenario and enforcement level.\u003c/p\u003e\n"],["\u003cp\u003eGoogle enforcing 2-Step Verification differs from administrator enforcement, as API calls with existing refresh tokens won't encounter the \u003ccode\u003eTWO_STEP_VERIFICATION_NOT_ENROLLED\u003c/code\u003e error.\u003c/p\u003e\n"]]],[],null,["# 2-Step Verification\n\nGoogle Ads authorization supports enabling [2-Step Verification on your Google Ads\naccount](//support.google.com/google-ads/answer/12864186). The following table\npresents the three scenarios for enabling 2-Step Verification.\n\n|-----------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ### User turns on 2-Step Verification on their own Google Account | *A user might decide on their own to turn on 2-Step Verification for their Google Account.* #### After 2-Step Verification is enabled During the [OAuth2 authentication flow](/google-ads/api/docs/oauth/client-library), Google prompts the user for 2-Step Verification before issuing a refresh token. Once issued, the refresh token can be used to generate the access token needed in API calls. #### Previous refresh tokens A refresh token that was issued before the user enabled 2-Step Verification remains valid after the user enables 2-Step Verification. The refresh token can be used to issue valid access tokens as usual. |\n| ### Administrator requires users of a Google Ads account to enable 2-Step Verification on their Google Account | *An account administrator can require all users of a Google Ads account to [enable 2-Step Verification](https://support.google.com/google-ads/answer/12865295) on their Google Account.* #### User enables 2-Step Verification During the [OAuth2 authentication flow](/google-ads/api/docs/oauth/client-library), Google prompts the user for 2-Step Verification before issuing a refresh token. Once issued, the refresh token can be used to generate the access token needed in API calls. #### User doesn't enable 2-Step Verification During the authentication flow, the user won't see the 2-Step Verification prompt. This experience is independent of any settings on the Google Ads account. Once issued, the refresh token can be used to issue access tokens. However, the API calls made using this access token will fail with a [`TWO_STEP_VERIFICATION_NOT_ENROLLED`](/google-ads/api/reference/rpc/v21/AuthenticationErrorEnum.AuthenticationError#two_step_verification_not_enrolled) error until the user enables 2-Step Verification in their Google Account. ##### Previous refresh tokens This rule applies to refresh tokens issued prior to the 2-Step Verification requirement as well---the refresh token can be used to generate access tokens, but API calls made with these access tokens will fail with a [`TWO_STEP_VERIFICATION_NOT_ENROLLED`](/google-ads/api/reference/rpc/v21/AuthenticationErrorEnum.AuthenticationError#two_step_verification_not_enrolled) error until the user enables 2-Step Verification in their Google Account. |\n| ### Google requires all users of a Google Ads account to opt in to 2-step verification on their Google Account {:#require-2-step} | *In some cases, Google might require all users of a Google Ads account to enable 2-step verification on their Google Account.* #### After 2-Step Verification is enabled During the [OAuth2 authentication flow](/google-ads/api/docs/oauth/client-library), Google prompts the user for 2-Step Verification before issuing a refresh token. This experience is independent of whether Google opted in the Google Ads account to require all its users to enable 2-factor verification. Once issued, the refresh token can be used to generate the access token needed in API calls as usual. #### Previous refresh tokens A refresh token that was issued before the user enabled 2-Step Verification remains valid after the user enables 2-Step Verification. The refresh token can be used to issue a valid access token as usual. API calls made using this access token won't encounter the `TWO_STEP_VERIFICATION_NOT_ENROLLED` error because the 2-Step Verification opt-in was initiated by Google and not by the Google Ads account administrator. |"]]