Method: accounts.programs.enable

Enable participation in the specified program for the account. Executing this method requires admin access.

HTTP request

POST https://merchantapi.googleapis.com/accounts/v1beta/{name=accounts/*/programs/*}:enable

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
name

string

Required. The name of the program for which to enable participation for the given account. Format: accounts/{account}/programs/{program}

Request body

The request body must be empty.

Response body

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

Authorization scopes

Requires the following OAuth scope:

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

For more information, see the OAuth 2.0 Overview.