Google Affiliate Network API (Deprecated)

API Reference

This API reference is organized by resource type. Each resource type has one or more data representations and one or more methods.

Resource types

  1. Events
  2. Advertisers
  3. Publishers
  4. Links

Events

For Events Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/gan/v1beta1
list GET  /role/roleId/events?{params} Retrieves event data for a given advertiser/publisher and returns it in ascending order with respect to event date.

Advertisers

For Advertisers Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/gan/v1beta1
get GET  /role/roleId/advertiser Retrieves data for a single advertiser if the requesting advertiser/publisher has access to that data. Only publishers can lookup advertisers. Advertisers can request information about themselves by omitting the advertiserId query parameter.
list GET  /role/roleId/advertisers Retrieves data for all advertisers that the requesting advertiser/publisher has access to.

Publishers

For Publishers Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/gan/v1beta1
get GET  /role/roleId/publisher Retrieves data about a single advertiser if the requesting advertiser/publisher has access to it. Only advertisers can look up publishers. Publishers can request information about themselves by omitting the publisherId query parameter.
list GET  /role/roleId/publishers Retrieves data for all publishers that the requesting advertiser/publisher has access to.

For Links Resource details, see the resource representation page.

Method HTTP request Description
URIs relative to https://www.googleapis.com/gan/v1beta1
get GET  /role/roleId/link/linkId Gets all available information about a single link, if the requesting advertiser/publisher has access to it.
insert POST  /role/roleId/link Creates a new publisher-specific link.
list GET  /role/roleId/links Retrieves all links that match the query parameters. Publishers can look up available links that belong to advertisers they are in a relationship with.

Authentication required

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

Signing you in...

Google Developers needs your permission to do that.