Links: insert

Requires authorization

Creates a new publisher-specific link. Try it now.

Request

HTTP request

POST https://www.googleapis.com/gan/v1beta1/role/roleId/link

Parameters

Parameter name Value Description
Required parameters
role string The role of the requester. Valid values: 'advertisers' or 'publishers'.

Acceptable values are:
  • "advertisers": The requester is requesting as an advertiser.
  • "publishers": The requester is requesting as a publisher.
roleId string The ID of the requesting advertiser or publisher.

Authorization

This request requires authorization with at least one of the following scopes (read more about authentication and authorization).

Scope
https://www.googleapis.com/auth/gan

Request body

In the request body, supply a Links resource.

Response

If successful, this method returns a Links resource in the response body.

Try it!

Use the APIs Explorer below to call this method on live data and see the response. Alternatively, try the standalone Explorer.