GET client-brand-conflict

A lookup call to retrieve conflicts for advertisers or brands. It will return all similar approved advertisers and/or brands.

INPUT to fetch conflicts for advertisers

As this method is accessed via a GET request there is no HTTP body so options can be specified via the URL.

parameter type description
client_name string an advertiser name for which we want to find conflicts

INPUT to fetch conflicts for brands

As this method is accessed via a GET request there is no HTTP body so options can be specified via the URL.

parameter type description
client_id int an advertiser id for which we will search brands
brand_name string a brand name for which we want to find conflicts

OUTPUT - JSON sample

For both advertisers and brands JSON structure will be the same.
If accessing GET /api/client-brand-conflict/client_name/name or GET /api/client-brand-conflict/client_id/2327/brand_name/name the following JSON would be returned:

{
    "data": [{
            "id": null,
            "name": "Name 1"
        },
        {
            "id": 5,
            "name": "Name 2"
        }
    ]
}
        

If advertiser/brand is not approved yet then its id will be set to NULL