Recommendations

class ad_api.api.sd.Recommendations(account='default', marketplace: Marketplaces = Marketplaces.EU, credentials=None, proxies=None, verify=True, timeout=None, debug=False, access_token=None)

Endpoints available

Method

Endpoint

Description

POST

/sd/recommendations/creative/headline

Retrieve creative headline recommendations.

list_headline_recommendations(self, **kwargs) ApiResponse:

You can use this Sponsored Display API to retrieve creative headline recommendations from an array of ASINs.

Request Body
SDHeadlineRecommendationRequest {
Request structure of SD headline recommendation API.
asins (array) minItems: 0 maxItems: 100 [
(string) An array of ASINs associated with the creative.
]
maxNumRecommendations (array) Maximum number of recommendations that API should return. Response will [0, maxNumRecommendations] recommendations (recommendations are not guaranteed as there can be instances where the ML model can not generate policy compliant headlines for the given set of asins). maximum: 10. minimum: 1 .
adFormat (string): Enum: [ SPONSORED_DISPLAY ]
}
Returns

ApiResponse