Documentation‎ > ‎1. Profile API‎ > ‎

a. Profile Redirect API

x
x
Usage

   * The Redirect API is called via a Server Coded request upon a visitor's arrival to one or more pages of a given website, and returns the Bizographics of the user in 150 milliseconds or less.
   * The Profile API is used for ad servers that use pixels.
   * This is a variation on the Profile API

Instead of sending back data, this sends a redirect to a client site. The API will send back Bizographic data as a query string. See Taxonomy API for full list.  You must append your URL with the Bizographic data.  Once the URL has been appended, you can then rename the Bizographic code as convenient.  Your server can then target the user based on either the original Bizographic code, or your renamed key-values.

Redirect Profile Request Format

   * http://api.bizographics.com/v2/profile.redirect?api_key=XXXX&callback_url=http%3A%2F%2Fwww.bizo.com%2F%3Fa%3D1

Redirect Profile Response Format

   * The response will be a HTTP 302 response, with a Location of the URLDecoded callback_url parameter with any segments appended.
   * The param name will be the group (e.g. seniority) and the param value will be the"code" (e.g. executive).
   * There will be multiple values for the categories that support them (e.g.functional_area=X&functional_area=Y).
   * Please refer to the Taxonomy API section for a full list of the callback values.

As an example, if your callback_url was http%3A%2F%2Fwww.bizo.com%2F%3Fa%3D1, the resulting URL might be http://www.bizo.com/?a=1&seniority=executive&industry=finance&industry=finance_investment_banking

Custom Response Formatting

It is possible to modify the format of the resulting redirect query string using the following parameters:
  • delimiter - string used to delimit each segment category.  defaults to &
  • company_size_prefix - string used to prefix the company size segment.  defaults to company=
  • seniority_prefix - string used to prefix the seniority segment.  defaults to seniority=
  • functional_area_prefix - string used to prefix all the functional area segment.  defaults to functional_area_prefix=
  • functional_area_delimiter - string used to delimit each functional area segment.  defaults to &functional_area=
  • industry_prefix - string used to prefix all industry segments.  defaults to industry=
  • industry_delimiter - string used to delimit each industry segment.  defaults to &industry=
  • group_prefix - string used to prefix all group segments.  defaults to group=
  • group_delimiter - string used to delimit each group segment.  defaults to &group=
  • cb_param - cache busting param name.  we will append a random variable to the given name for use as a cache buster.  no cache busting will happen if this is not present.
    Note on encoded values

    All values passed into the url should be url encoded and will be url decoded when redirected to.  If you want the redirected value to be url encoded then you should url encode the value twice before passing it into the url.  

    Example

    A partner wants to load a pixel like:
    http://a.partner.com/seg?add=information_technology,software,high_net_worth,xlarge...

    Request to the API would look like:
    http://api.bizographics.com/v2/profile.redirect?
    api_key=XXXX
    &callback_url=http%3A%2F%2Fa.partner.com%2Fseg%3Fadd%3D
    &company_size_prefix=
    &functional_area_prefix=
    &company_size_prefix=
    &seniority_prefix=
    &group_prefix=
    &delimiter=,

Redirect Profile URL Limits

   * The resulting Location string will be truncated to a maximum of 2,000 characters.

Redirect Profile Errors

   * If the profile is not provided, or if any other error occurs the response will be a 204.

Domain Restrictions

   * The Profile Redirect Method restricts requests by the call back URL of the requesting domain.

Network IP Ranges

The following IP Ranges must NOT be blocked from a partner's internal network.  Blocking any of the following IPs may result in service outages on the network on which they are blocked.

216.182.224.0/20 (216.182.224.0 - 216.182.239.255) 
72.44.32.0/19 (72.44.32.0 - 72.44.63.255) 
67.202.0.0/18 (67.202.0.0 - 67.202.63.255) 
75.101.128.0/17 (75.101.128.0 - 75.101.255.255) 
174.129.0.0/16 (174.129.0.0 - 174.129.255.255) 
204.236.192.0/18 (204.236.192.0 - 204.236.255.255) 
184.73.0.0/16 (184.73.0.0 – 184.73.255.255) 
184.72.128.0/17 (184.72.128.0 - 184.72.255.255)
184.72.64.0/18 (184.72.64.0 - 184.72.127.255) 
50.16.0.0/15 (50.16.0.0 - 50.17.255.255)
204.236.128.0/18 (216.236.128.0 - 216.236.191.255)
184.72.0.0/18 (184.72.0.0 – 184.72.63.255)
50.18.0.0/18 (50.18.0.0 - 50.18.63.255) 
79.125.0.0/17 (79.125.0.0 - 79.125.127.255) 
46.51.128.0/18 (46.51.128.0 - 46.51.191.255)
46.51.192.0/20 (46.51.192.0 - 46.51.207.255)
175.41.128.0/18 (175.41.128.0 - 175.41.191.255)