Budget Rules Recommendations

Warning

Sponsored Product v3 is not available for Sandbox endpoint

Vendor docs

https://advertising.amazon.com/API/docs/en-us/sponsored-products/3-0/openapi/prod

Specification

https://d1y2lf8k3vrkfu.cloudfront.net/openapi/en-us/dest/SponsoredProducts_prod_3p.json

Note

This API is version 3.0

class ad_api.api.sp.BudgetRulesRecommendations(account: str = 'default', marketplace: Marketplaces = Marketplaces.EU, credentials: Dict[str, str] | None = None, proxies: Dict[str, str] | None = None, verify: bool = True, timeout: int | None = None, debug: bool = False, access_token: str | None = None, verify_additional_credentials: bool = True)

Endpoint available

Method

Endpoint

Description

POST

/sp/campaigns/budgetRules/recommendations

Gets a list of special events with suggested date range and suggested budget increase for a campaign specified by identifier.

list_campaigns_budget_rules_recommendations(version: int = 3, **kwargs) → ApiResponse

Gets a list of special events with suggested date range and suggested budget increase for a campaign specified by identifier.

Request Body (required)
SPBudgetRulesRecommendationEventRequest {
campaignId* (string) The campaign identifier.
}
Returns

ApiResponse

list_rule_events(**kwargs) → ApiResponse

Gets every special event, individual and grouped, with the date range suggested for each one.

A rule enables an automatic budget increase for a date range or for a special event; this route is what tells you which events exist and when, so a rule can point at one.

The body is empty and, unusually for this resource, the content type is plain application/json rather than one of the application/vnd.sp… types.

Returns:

ApiResponse events and groupedEvents, each with its suggested date range.