Share of Voice

This API returns the voice(banner) details of the given brand, merchant and date.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Sample Response

{
    "success": true,
    "message": "",
    "errorCode": "",
    "result": {
        "data": [
            {
                "brand": "anmum",
                "channel": "web",
                "page": {
                    "type": "Other",
                    "division": "beauty",
                    "category": "face",
                    "subCategory": null,
                    "articleType": null
                },
                "spot": "hero",
                "merchant": "shopee",
                "bannerDetails": [
                    {
                        "bannerUrl": "https://sl-my-brand-media.s3-ap-southeast-1.amazonaws.com/799FD3D9371FCCAA3EFFED3BC0D75100_20210502f4375395079b323b19a207539dd8532b",
                        "bannerType": "awareness",
                        "bannerBrands": [
                            "genki"
                        ]
                    },
                    {
                        "bannerUrl": "https://sl-my-brand-media.s3-ap-southeast-1.amazonaws.com/46EDB1EE55213DA95CACC696AEC6BB0F_2021050288f4ef36d3bd1d007e37ce539ab9714a",
                        "bannerType": "promotion",
                        "bannerBrands": []
                    },
                    {
                        "bannerUrl": "https://sl-my-brand-media.s3-ap-southeast-1.amazonaws.com/894EA2728581E1F6571D3C0574A6CCAF_2021050204488f9cf8689caa6aa6686758af6389",
                        "bannerType": "promotion",
                        "bannerBrands": [
                            "drypers",
                            "nestle",
                            "nestlenankid"
                        ]
                    }
                ],
                "score": "0.00",
                "hasPromoProducts": true
            },
            {
                "brand": "anmum",
                "channel": "web",
                "page": "mall_popular",
                "spot": "banner",
                "merchant": "shopee",
                "bannerDetails": [
                    {
                        "bannerUrl": "https://sl-my-brand-media.s3-ap-southeast-1.amazonaws.com/19199CA04770F4695A8B62E454DDD5EE_202105022a698c1c2b1dd9910637c43f176616da",
                        "bannerType": "promotion",
                        "bannerBrands": [
                            "drypers"
                        ]
                    },
                    {
                        "bannerUrl": "https://sl-my-brand-media.s3-ap-southeast-1.amazonaws.com/894EA2728581E1F6571D3C0574A6CCAF_2021050204488f9cf8689caa6aa6686758af6389",
                        "bannerType": "promotion",
                        "bannerBrands": [
                            "drypers",
                            "nestle",
                            "nestlenankid"
                        ]
                    }
                ],
                "score": "0.00",
                "hasPromoProducts": true
            }
        ],
        "total": 2,
        "totalBanners": 5,
        "type": "shareOfVoice",
        "date": "2021-05-02"
    }
}

Response Fields

FieldDescriptionData Type
successIndicates if API response is success or not.bool
messageResponse message. Typically populated in error scenarios.string
errorCodeError code.string
brandBrand name.string
channelWeb or App.string
pagePage type.json
spotHero or Banner.string
scoreBrand share percentage in the banner results.number
bannerUrlBanner url.string
bannerTypeType of the banner (Awareness, Promotion or New Arrival).string
bannerBrandsBanner brands.string
hasPromoProductsHas promoted products or not.bool
totalTotal number of items in the data.number
totalBannersTotal number of banners.number
dateDate.string

Exceptions and Error Conditions

The Share of Voice API will look for matching data based on the filters applied. However, there are a few scenarios where the API may not be able to return a valid response. For example

  • Data request for a future date
  • Data requested for invalid merchant/brand combination
  • Date request for invalid channel
  • Invalid API key

In all the above scenarios, the Share of voice API would return with an error response.
Example:

{
  "success": false,
  "message": "You can not request for future date",
  "errorCode": "INVALID_DATE",
  "result": ""
}
Query Params
string
required

Country code (e.g. us (USA), in (India), my (Malaysia)).

string
required
Defaults to shopee

Merchant name.

string
required
Defaults to anmum

Brand name.

string

Competitor brand name.

string

Channel type(web or app). Default value is web.

string

Page type. Valid values are home, category, offer or menu.

date
required
Defaults to 2021-05-02

Date in yyyy-mm-dd format.

Headers
string
required
Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here!