Get banner delivery probability
Simulates an ad request to the placement and returns each eligible banner with the probability it is served, as the console's Banners Probability card does.
https://YOUR-NETWORK-DOMAIN/rest-api/placements/{placementId}/banner-probability.do Simulates an ad request to the placement and returns each eligible banner with the probability it is served, as the console's Banners Probability card does. Country, browser, operating system and mobile carrier describe the simulated visitor; a dimension that is not sent is simulated as unknown, which still fails a rule that targets it. List a dimension in ignore to leave its targeting out of the match altogether. A banner that matches the simulated visitor but gets no share of the rotation - zero weight, or House ads priority beside other campaigns - is returned with probability -1. A linked banner that does not match the visitor, is paused, or belongs to a paused or ended campaign is not in the simulation and is not listed; read the placement's banners for those. Group by CAMPAIGN or ADVERTISER to sum the rows. Requires ENABLED level on the BANNERS_PROBABILITY_VISIBILITY permission and VIEW access to the placement's site.
Path Params
placementId integer required
Placement ID
4001 Query Params
browser string
Browser of the simulated visitor
CHROME countryCode string
ISO 3166 country code of the simulated visitor
US dir string
ASC or DESC
DESC group string
BANNER, CAMPAIGN or ADVERTISER; the latter two sum the probabilities per campaign or advertiser
BANNER ignore array<string>
Targeting to leave out of the match
BROWSER,OPERATING_SYSTEM limit integer
Rows per page, 1 to 1000
50 mobileCarrier string
Mobile carrier of the simulated visitor
Verizon operatingSystem string
Operating system of the simulated visitor
ANDROID priority string
Count only campaigns of this delivery priority; IGNORE counts all
STANDARD_HIGH query string
Keep only rows whose banner, campaign or advertiser name contains this text
summer sort string
bannerName, campaignName, advertiserName or probability
probability start integer
Offset of the first row returned
0 Responses
200
{success, total, data:[{bannerId, bannerName, campaignId, campaignName, advertiserId, advertiserName, probability}]}
400
An invalid enum, group, sort, dir, start or limit; the error names the field and the accepted values
401
Authentication error
403
No BANNERS_PROBABILITY_VISIBILITY permission, or no VIEW access to the site
404
Placement not found or deleted