Get Roas Estimate
GET/api/clicktracking/ad-reporting/roas-estimate
Estimate a typical return on ad spend for one ad account and goal.
The answer always names its basis: this ad account's own last 90 days
(own_history), other accounts on the same platform chasing the same goal
(platform_benchmark, nobody named), or figures a named publication printed
(published_range). note is one sentence to show as it is, and it begins
"Typical range, not a promise:" - the numbers are a range, never a forecast of
what a particular campaign will return.
Nothing is created, nothing is charged beyond the API call itself.
Args: ad_account_id: The connected ad account's row id goal: The campaign goal, from the same list ad creation accepts ad_reporting_service: Injected ad reporting service
Returns: The low / median / high range, its basis, its sample and the note
Raises: HTTPException: 422 on an unknown goal or when no basis can answer at all, 404 if the ad account is not this account's
Request
Responses
- 200
- 422
Successful Response
Validation Error