Class SponsoredBrandsTargetingRecommendationsOperation

Hierarchy

  • Operation
    • SponsoredBrandsTargetingRecommendationsOperation

Constructors

Methods

  • Gets a list of brand suggestions.

    Returns

    Parameters

    • params: { categoryId: undefined | number; keyword: undefined | string }
      • categoryId: undefined | number

        The category identifier for which to get recommendations.

      • keyword: undefined | string

        The keyword for which to get recommendations.

    Returns Promise<{ brandRecommendationResults: ({ id: number; name: string; })[] }>

  • Gets a list of recommended categories for targeting.

    Returns

    Parameters

    • params: { asins: string[] }
      • asins: string[]

        A list of ASINs.

    Returns Promise<{ categoryRecommendationResults: ({ id: number; name: string; isTargetable: boolean; path: string; })[] }>

  • Gets a list of recommended products for targeting.

    Returns

    Parameters

    • params: { filters: ({ filterType: "ASINS"; values: string[]; })[]; maxResults: number; nextToken: string }
      • filters: ({ filterType: "ASINS"; values: string[]; })[]

        Restricts recommendations to the criteria specified in the filters.

      • maxResults: number

        Sets a limit on the number of results returned by an operation.

      • nextToken: string

        Operations that return paginated results include a pagination token in this field. To retrieve the next page of results, call the same operation and specify this token in the request. If the NextToken field is empty, there are no further results.

    Returns Promise<{ nextToken: string; recommendedProducts: ({ recommendedTargetAsin: string; })[] }>