Google Affiliate Network API (Deprecated)

Publishers: get

Requires authorization

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. Try it now.

Request

HTTP request

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

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.
Optional parameters
publisherId string The ID of the publisher to look up. Optional.

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 response body with the following structure:

{
  "kind": "gan#publisher",
  "item": {
    "kind": "gan#publisher",
    "id": long,
    "status": string,
    "name": string,
    "joinDate": datetime,
    "classification": string,
    "epcSevenDayAverage": {
      "amount": double,
      "currencyCode": string
    },
    "epcNinetyDayAverage": {
      "amount": double,
      "currencyCode": string
    },
    "payoutRank": string,
    "sites": [
      string
    ]
  }
}
Property name Value Description Notes
kind string The kind for a publisher.
item nested object The requested publisher.
item.kind string The kind for a publisher.
item.id long The ID of this publisher.
item.status string The status of the requesting advertiser's relationship with this publisher.
item.name string The name of this publisher.
item.joinDate datetime Date that this publisher was approved as a Google Affiliate Network publisher.
item.classification string Classification that this publisher belongs to. See this link for all publisher classifications: http://www.google.com/support/affiliatenetwork/advertiser/bin/answer.py?hl=en&answer=107625&ctx=cb&src=cb&cbid=-k5fihzthfaik&cbrank=4
item.epcSevenDayAverage nested object The sum of fees paid to this publisher divided by the total number of clicks over the past seven days. Values are multiplied by 100 for display purposes.
item.epcSevenDayAverage.amount double The amount of money.
item.epcSevenDayAverage.currencyCode string The 3-letter code of the currency in question.
item.epcNinetyDayAverage nested object The sum of fees paid to this publisher divided by the total number of clicks over the past three months. Values are multiplied by 100 for display purposes.
item.epcNinetyDayAverage.amount double The amount of money.
item.epcNinetyDayAverage.currencyCode string The 3-letter code of the currency in question.
item.payoutRank string A rank based on commissions paid to this publisher over the past 90 days. A number between 1 and 4 where 4 means the top quartile (most money paid) and 1 means the bottom quartile (least money paid).
item.sites[] list Websites that this publisher uses to advertise.

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.