चेतावनी: आप एपीआई के REST इंटरफ़ेस के बारे में दस्तावेज़ देख रहे हैं. हमारी ज़्यादातर आधिकारिक क्लाइंट लाइब्रेरी, gRPC का इस्तेमाल करती हैं. ज़्यादा जानकारी के लिए, REST के बारे में जानकारी देखें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Ads API में, Mutate, Search, और SearchStream सबसे ज़्यादा इस्तेमाल किए जाने वाले तरीके हैं. हालांकि, खास मकसद के लिए कई अन्य तरीके भी उपलब्ध हैं. सभी सेवाओं और उनके एपीआई के बारे में रेफ़रंस दस्तावेज़ में बताया गया है.
उदाहरण के लिए, customer_service.proto फ़ाइल, स्टैंडर्ड Mutate के अलावा ListAccessibleCustomers तरीके को भी तय करती है. इसके google.api.http एनोटेशन में बताया गया है कि यह तरीका एचटीटीपी से कैसे मैप होता है. यह कस्टम वर्ब listAccessibleCustomers के साथ एचटीटीपी GET का इस्तेमाल करता है:
customer_service.proto का एक और उदाहरण CreateCustomerClient तरीका है. इसके google.api.http एनोटेशन में, कस्टम वर्ब createCustomerClient का इस्तेमाल करके POST एचटीटीपी के बारे में बताया गया है:
[[["समझने में आसान है","easyToUnderstand","thumb-up"],["मेरी समस्या हल हो गई","solvedMyProblem","thumb-up"],["अन्य","otherUp","thumb-up"]],[["वह जानकारी मौजूद नहीं है जो मुझे चाहिए","missingTheInformationINeed","thumb-down"],["बहुत मुश्किल है / बहुत सारे चरण हैं","tooComplicatedTooManySteps","thumb-down"],["पुराना","outOfDate","thumb-down"],["अनुवाद से जुड़ी समस्या","translationIssue","thumb-down"],["सैंपल / कोड से जुड़ी समस्या","samplesCodeIssue","thumb-down"],["अन्य","otherDown","thumb-down"]],["आखिरी बार 2025-09-05 (UTC) को अपडेट किया गया."],[],["The Google Ads API includes various methods beyond `Mutate`, `Search`, and `SearchStream`, all detailed in REST documentation. Service endpoints are defined in `.proto` files using proto3. `ListAccessibleCustomers` is a GET method, mapped using the `google.api.http` annotation in the `customer_service.proto` file, and uses custom verb `listAccessibleCustomers`. Similarly, `CreateCustomerClient`, a POST method, uses custom verb `createCustomerClient`, also defined in the same file.\n"],null,[]]