Method: networks.customFields.create

  • The document provides a reference for creating a CustomField object using the Ad Manager API.

  • It outlines the HTTP request method and URL for creating a custom field.

  • Required path parameters and the structure of the request and response bodies are detailed.

  • The necessary authorization scope for accessing this API is specified.

API to create a CustomField object.

HTTP request

POST https://admanager.googleapis.com/v1/{parent}/customFields

Path parameters

Parameters
parent

string

Required. The parent resource where this CustomField will be created. Format: networks/{networkCode}

Request body

The request body contains an instance of CustomField.

Response body

If successful, the response body contains a newly created 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.