शुरुआती जानकारी
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Ads API का इस्तेमाल, बड़े या जटिल Google Ads खातों और कैंपेन को मैनेज करने के लिए किया जाता है. आपके पास ऐसा सॉफ़्टवेयर बनाने का विकल्प है जो ग्राहक लेवल से लेकर कीवर्ड लेवल तक के खातों को मैनेज करता है. इस्तेमाल के कुछ सामान्य उदाहरणों में ये शामिल हैं:
- खाते का अपने-आप मैनेज होना
- कस्टम रिपोर्टिंग
- इन्वेंट्री के आधार पर विज्ञापन मैनेजमेंट
- स्मार्ट बिडिंग की रणनीतियों को मैनेज करना
क्या Google Ads API मेरे लिए सही प्रॉडक्ट है?
Google Ads खातों को ऑटोमेट करने में मदद करने के लिए, Google कई प्रॉडक्ट उपलब्ध कराता है. यहां कुछ सामान्य स्थितियां और Google के उन प्रॉडक्ट की सूची दी गई है जो आपकी ज़रूरतों के हिसाब से सबसे सही हो सकते हैं.
स्थिति |
सुझाव |
मैं एक डेवलपर हूं और मुझे अपना सॉफ़्टवेयर प्रॉडक्ट बनाना है या
Google Ads API के साथ इंटिग्रेट करना है. मुझे कोड लिखने और सॉफ़्टवेयर के इन्फ़्रास्ट्रक्चर को मैनेज करने में आसानी होती है. इसमें सर्वर और डेटाबेस भी शामिल हैं. |
Google Ads API का इस्तेमाल करें. |
मैं एक डेवलपर हूं, जो कोड लिखने में सहज है. हालांकि, मुझे अपने सॉफ़्टवेयर इन्फ़्रास्ट्रक्चर को मैनेज करना पसंद नहीं है. |
Google Ads स्क्रिप्ट का इस्तेमाल करें. |
मैं डेवलपर नहीं हूं, लेकिन Google Ads को ऑटोमेट करने के लिए, प्रोग्रामिंग सीखने में कुछ समय बिताने को तैयार हूं. |
Google Ads स्क्रिप्ट का इस्तेमाल करें. |
मैं डेटा विश्लेषक (या मिलती-जुलती भूमिका) हूं. मुझे ज़्यादा विश्लेषण के लिए, Google Ads की रिपोर्ट डाउनलोड करनी हैं. |
BigQuery डेटा ट्रांसफ़र सेवा का इस्तेमाल करें.
Google Ads ट्रांसफ़र के लिए सहायता उपलब्ध है. |
मुझे Google Ads खातों को एक साथ मैनेज करना है, लेकिन मुझे कोई कोड नहीं लिखना है. |
अपने-आप लागू होने वाले नियमों,
एक साथ कई फ़ाइलें अपलोड करने या
Google
Ads Editor का इस्तेमाल करें.
|
ज़रूरी शर्तें
Google Ads API कॉल करने के लिए, आपके पास यह जानकारी होनी चाहिए. इस ट्यूटोरियल के बाकी हिस्से में, इन सभी आइटम को पाने का तरीका बताया गया है.
- Google Ads मैनेजर खाता: Google Ads API के लिए आवेदन करने के लिए, आपके पास Google Ads मैनेजर खाता होना चाहिए.
डेवलपर टोकन: इस टोकन की मदद से, आपका ऐप्लिकेशन Google Ads API से कनेक्ट हो पाता है. हर डेवलपर टोकन को एपीआई ऐक्सेस लेवल असाइन किया जाता है. इससे यह तय होता है कि हर दिन कितने एपीआई कॉल किए जा सकते हैं. साथ ही, यह भी तय होता है कि किन एपीआई को कॉल किया जा सकता है.
Google API Console प्रोजेक्ट: Google API Console प्रोजेक्ट का इस्तेमाल, आपके ऐप्लिकेशन के लिए OAuth 2.0 क्रेडेंशियल जनरेट करने के लिए किया जाता है. इसके बाद, ऐप्लिकेशन इन क्रेडेंशियल का इस्तेमाल करके उपयोगकर्ता की पुष्टि करेगा और उपयोगकर्ता से अनुमति लेकर उनके Google Ads खाते मैनेज करेगा. इस अनुमति का इस्तेमाल, आपका ऐप्लिकेशन बाद में Google Ads खाते को एपीआई कॉल करने के लिए करता है. प्रोजेक्ट की मदद से, एपीआई को कॉल स्वीकार करने की सुविधा भी चालू की जा सकती है.
Google Ads क्लाइंट खाता: यह वह खाता है जिसके लिए एपीआई कॉल किए जा रहे हैं. इस खाते को इस्तेमाल करने के लिए, आपके पास ज़रूरी अनुमतियां होनी चाहिए. जैसे, रिपोर्ट फ़ेच करना या कैंपेन में बदलाव करना.
आपको उस खाते का 10 अंकों का खाता नंबर भी चाहिए जिसके लिए एपीआई कॉल किए जा रहे हैं. यह Google Ads के वेब इंटरफ़ेस में 123-456-7890
के तौर पर दिखता है. इस खाता नंबर को Google Ads API कॉल में पैरामीटर के तौर पर, हाइफ़न के बिना पास किया जाता है: 1234567890
.
सहायता टूल और क्लाइंट लाइब्रेरी: टूल के इस सेट की मदद से, एपीआई के साथ तेज़ी से इंटिग्रेट किया जा सकता है.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-31 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eThe Google Ads API is designed for managing large or complex Google Ads accounts programmatically, enabling tasks like automated account management, custom reporting, and inventory-based ad management.\u003c/p\u003e\n"],["\u003cp\u003eGoogle offers alternative solutions like Google Ads scripts, BigQuery Data Transfer service, automated rules, bulk uploads, and Google Ads Editor depending on user technical expertise and needs.\u003c/p\u003e\n"],["\u003cp\u003eTo use the Google Ads API, you'll need a Google Ads manager account, a developer token, a Google API Console project, and access to a Google Ads client account with necessary permissions.\u003c/p\u003e\n"],["\u003cp\u003eBefore making API calls, ensure you have the required details, including the 10-digit Google Ads client account number (without hyphens) and support tools or client libraries.\u003c/p\u003e\n"]]],[],null,["# Introduction\n\nThe Google Ads API is used for managing large or complex Google Ads accounts and\ncampaigns. You can build software that manages accounts from the customer level\ndown to the keyword level. Some typical use cases include:\n\n- Automated account management\n- Custom reporting\n- Ad management based on inventory\n- Manage smart bidding strategies\n\nIs the Google Ads API the right product for me?\n-----------------------------------------------\n\nGoogle provides multiple products to help automate Google Ads accounts. Here are\nsome common scenarios and the list of Google products that might best\nfit your needs.\n\n| Scenario | Recommendation |\n|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| I am a developer who wishes to build my own software product, or integrate with Google Ads API. I am comfortable writing code, managing software infrastructure including servers and database. | Use the Google Ads API. |\n| I am a developer who is comfortable writing code, but prefer not to manage my own software infrastructure. | Use [Google Ads scripts](/google-ads/scripts). |\n| I am not a developer, but am willing to invest some time learning programming to automate Google Ads. | Use [Google Ads scripts](/google-ads/scripts). |\n| I am a data analyst (or similar role) who wants to download Google Ads reports for further analysis. | Use [BigQuery Data Transfer service](//cloud.google.com/bigquery/docs/dts-introduction). Support is available for [Google Ads transfers](//cloud.google.com/bigquery/docs/google-ads-transfer). |\n| I want to manage Google Ads in bulk, but don't want to write any code. | Use [automated rules](//support.google.com/google-ads/answer/2472779), [bulk uploads](//support.google.com/google-ads/answer/10702932), or [Google Ads Editor](//support.google.com/google-ads/editor/answer/2484521). |\n\nPrerequisites\n-------------\n\nTo make a Google Ads API call, you should have the following details. The rest of this\ntutorial teaches you how to obtain each of these items.\n\n- [**Google Ads manager account**](//support.google.com/google-ads/answer/7459399): You need a Google Ads manager account to apply for the Google Ads API.\n- [**Developer token**](/google-ads/api/docs/get-started/dev-token): This token lets your app connect to the\n Google Ads API. Each developer token is assigned an API access level which\n controls the number of API calls you can make per day with as well as the\n environment to which you can make calls.\n\n- [**Google API Console project**](/google-ads/api/docs/get-started/oauth-cloud-project): The Google API Console project is used\n for generating OAuth 2.0 credentials for your app. The app will then use\n these credentials to authenticate the user and obtain user authorization to\n manage their Google Ads accounts. This authorization is later used by your app\n to make API calls to the Google Ads account. The project also enables the API\n to accept calls.\n\n- [**Google Ads client account**](/google-ads/api/docs/get-started/select-account): This is the account you're making API\n calls against. You need necessary permissions to operate on this account,\n such as fetching reports or making changes to campaigns.\n\n You also need the 10-digit account number of the account you're making API\n calls to. This is displayed in the Google Ads web interface in the form\n `123-456-7890`. This account number is passed as a parameter to the Google Ads API\n call without the hyphens: `1234567890`.\n- [**Support tools and client libraries**](/google-ads/api/docs/get-started/download-tools-libraries): This set of tools can help\n you integrate with the API more quickly."]]