चेतावनी: आप एपीआई के REST इंटरफ़ेस के बारे में दस्तावेज़ देख रहे हैं. हमारी ज़्यादातर आधिकारिक क्लाइंट लाइब्रेरी, gRPC का इस्तेमाल करती हैं. ज़्यादा जानकारी के लिए, REST के बारे में जानकारी देखें.
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
Google Ads API में Mutate, Search, और SearchStream सबसे सामान्य तरीके हैं. हालांकि, खास कामों के लिए कई अन्य तरीके भी हैं. सभी सेवाओं और उनके एपीआई के बारे में जानकारी, REST रेफ़रंस दस्तावेज़ में दी गई है.
उदाहरण के लिए, 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-07-13 (UTC) को अपडेट किया गया."],[[["While `Mutate`, `Search`, and `SearchStream` are commonly used, the Google Ads API offers a wide range of methods for specific tasks, all documented in the REST reference documentation."],["All Google Ads API service endpoints, including REST and gRPC, are defined in .proto files using the proto3 Interface Definition Language."],["The `google.api.http` annotation within these .proto files details how each method maps to HTTP for RESTful interactions, including examples like `ListAccessibleCustomers` and `CreateCustomerClient`."]]],["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"]]