Inne metody
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Chociaż Mutate, Search i SearchStream to najczęściej używane metody
w interfejsie Google Ads API, istnieje wiele innych metod do określonych celów. Wszystkie usługi i
ich interfejsy API są opisane w
dokumentacji referencyjnej.
Na przykład plik customer_service.proto
definiuje metodę ListAccessibleCustomers oprócz standardowej metody Mutate
. Jej google.api.http adnotacja opisuje
jak metoda jest mapowana na HTTP. Używa ona HTTP GET z niestandardowym czasownikiem listAccessibleCustomers:
Innym przykładem z customer_service.proto jest
metoda CreateCustomerClient. Jej adnotacja google.api.http opisuje HTTP POST z niestandardowym czasownikiem createCustomerClient:
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 2026-08-03 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"]]