Google Affiliate Network API (Deprecated)

Links: get

Requires authorization

Gets all available information about a single link, if the requesting advertiser/publisher has access to it. Try it now.

Request

HTTP request

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

Parameters

Parameter name Value Description
Required parameters
linkId long The ID of the link to look up.
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.readonly
https://www.googleapis.com/auth/gan

Request body

Do not supply a request body with this method.

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.

Authentication required

You need to be signed in with Google+ to do that.

Signing you in...

Google Developers needs your permission to do that.