Budget Usage
Vendor docs |
https://advertising.amazon.com/API/docs/en-us/reference/portfolios |
Specification |
https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/Portfolios_prod_3p.json |
Reports how much of each portfolio budget has been spent. One route:
POST /portfolios/budget/usage, media type vnd.portfoliobudgetusage.v1,
answer 207.
The body carries portfolioIds, a list of the portfolios to measure. The
answer splits into success and error; a successful entry holds
portfolioId, index, budget, budgetUsagePercent and
usageUpdatedTimestamp.
A portfolio set to NO_CAP answers 9999999999.0 here rather than an
absent figure, and budgetUsagePercent reads 0.0 against it. Treat that
number as no ceiling, not as money, or a sum over the account comes out in the
billions.
- PortfoliosV3.get_budget_usage_for_portfolios(version: int = 1, **kwargs) ApiResponse
Reports how much of each portfolio budget has been spent.
Request Body (required)
portfolioIds(array): the portfolios to measure.
- Returns
ApiResponse split into
successanderror. A successful entry carriesportfolioId,index,budget,budgetUsagePercentandusageUpdatedTimestamp. The contract answers207, a multi-status, not200.
A portfolio set to
NO_CAPanswers9999999999.0here rather than an absent figure, andbudgetUsagePercentreads0.0against it. The same portfolio carries noamountat all inlist_portfolios. Treat that number as no ceiling, not as money, or a sum over the account comes out in the billions.