Dostępny jest już nowy interfejs Search Ads 360 Reporting API. Dołącz do grupy dyskusyjnej Google
searchads-api-announcements, aby na bieżąco otrzymywać informacje o nadchodzących ulepszeniach i wersjach.
Method: customers.customColumns.list
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Zwraca pełne informacje o wszystkich kolumnach niestandardowych powiązanych z klientem.
Żądanie HTTP
GET https://searchads360.googleapis.com/v0/customers/{customerId}/customColumns
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
customerId |
string
Wymagane. Identyfikator klienta, do którego ma zostać zastosowana lista w kolumnie niestandardowej.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Komunikat z odpowiedzią na pobranie wszystkich kolumn niestandardowych powiązanych z klientem.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"customColumns": [
{
object (CustomColumn )
}
]
} |
Pola |
customColumns[] |
object (CustomColumn )
Kolumny niestandardowe należące do podanego klienta.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/doubleclicksearch
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-25 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-25 UTC."],[[["\u003cp\u003eRetrieves detailed information about all custom columns associated with a specific customer.\u003c/p\u003e\n"],["\u003cp\u003eUses an HTTP GET request with the customer ID as a path parameter.\u003c/p\u003e\n"],["\u003cp\u003eRequires an empty request body and returns a JSON response containing an array of custom columns.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclicksearch\u003c/code\u003e scope.\u003c/p\u003e\n"]]],["This document details retrieving customer-specific custom columns via an API. A `GET` request to `https://searchads360.googleapis.com/v0/customers/{customerId}/customColumns` is made, where `customerId` is a required path parameter. The request body must be empty. A successful response returns a JSON structure with an array of `customColumns` objects containing custom column details, requiring the authorization scope `https://www.googleapis.com/auth/doubleclicksearch`.\n"],null,["# Method: customers.customColumns.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListCustomColumnsResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nReturns all the custom columns associated with the customer in full detail.\n\n### HTTP request\n\n`GET https://searchads360.googleapis.com/v0/customers/{customerId}/customColumns`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------------|----------------------------------------------------------------------------------------|\n| `customerId` | `string` Required. The ID of the customer to apply the CustomColumn list operation to. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse message for fetching all custom columns associated with a customer.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"customColumns\": [ { object (/search-ads/reporting/api/reference/rest/v0/customers.customColumns#CustomColumn) } ] } ``` |\n\n| Fields ||\n|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `customColumns[]` | `object (`[CustomColumn](/search-ads/reporting/api/reference/rest/v0/customers.customColumns#CustomColumn)`)` The CustomColumns owned by the provided customer. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/doubleclicksearch`"]]