Ad Serving API

Default Properties

For those integrating demand from BSA's Native Network, there are some values you must use to create an ad unit that meets the minimum requirement to stay in the network. They are statlink, description, and company. The rest are optional, but it will help you create a better ad unit if you take advantages of these values.

Strings

  • Name
    description
    Type
    string
    Description

    The main text for the ad. Example: "All the tools your team needs in one place. Slack: Where work happens."

  • Name
    callToAction
    Type
    string
    Description

    Call to action, for example "Learn More"

  • Name
    company
    Type
    string
    Description

    The name of the company paying for the ad. Example: "Slack"

  • Name
    statlink
    Type
    string
    Description

    The URL the user should be directed to when they click or tap on the ad.


Images

  • Name
    image
    Type
    string
    Description

    A 80 x 80 pixel graphic - usually an icon variation of the company logo.

  • Name
    logo
    Type
    string
    Description

    A 250 × 100 pixel logo graphic. This is usually a transparent image.

  • Name
    pixel
    Type
    string
    Description

    An optional 1 x 1 pixel(s) that a marketer may use to attribute view-through conversions. Learn more here.


Colors

  • Name
    backgroundColor
    Type
    string
    Description

    The ad background color

  • Name
    backgroundHoverColor
    Type
    string
    Description

    The ad background color on hover

  • Name
    ctaBackgroundColor
    Type
    string
    Description

    callToAction background color

  • Name
    ctaBackgroundHoverColor
    Type
    string
    Description

    callToAction background color on hover

  • Name
    ctaTextColor
    Type
    string
    Description

    callToAction text color

  • Name
    ctaTextColorHover
    Type
    string
    Description

    callToAction text color on hover

  • Name
    textColor
    Type
    string
    Description

    The description font color

  • Name
    textColorHover
    Type
    string
    Description

    The description font color on hover