Method: networks.customFields.get

  • Retrieves a CustomField object using an HTTP GET request.

  • Requires a name path parameter in the format networks/{networkCode}/customFields/{customFieldId} to identify the resource.

  • Uses an empty request body and returns a CustomField object in the response if successful.

  • Requires authorization using the https://www.googleapis.com/auth/admanager OAuth scope.

API to retrieve a CustomField object.

HTTP request

GET https://admanager.googleapis.com/v1/{name}

Path parameters

Parameters
name

string

Required. The resource name of the CustomField. Format: networks/{networkCode}/customFields/{customFieldId}

Request body

The request body must be empty.

Response body

If successful, the response body contains an instance of CustomField.

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/admanager

For more information, see the OAuth 2.0 Overview.