Uwaga: przeglądasz dokumentację interfejsu REST interfejsu API. Większość oficjalnych bibliotek klienta używa gRPC. Więcej informacji znajdziesz we wprowadzeniu do REST.
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Mutate, Search i SearchStream to najpopularniejsze metody
w interfejsie Google Ads API jest wiele innych, dostosowanych do konkretnych celów. Wszystkie usługi oraz
ich interfejsy API są opisane w
Dokumentacja REST
Na przykład plik customer_service.proto
określa metodę ListAccessibleCustomers, oprócz standardowej metody Mutate
, Adnotacja google.api.http opisuje,
jak ta metoda jest mapowana na HTTP. Używa HTTP GET z niestandardowym czasownikiem
listAccessibleCustomers:
Inny przykład ze strony customer_service.proto to
metody CreateCustomerClient. Adnotacja google.api.http opisuje
HTTP POST z niestandardowym czasownikiem createCustomerClient: