Hierarchy

  • Operation
    • SponsoredProductsBidRecommendationOperation

Constructors

Methods

  • Request bid recommendations for a list of up to 100 keywords.

    Returns

    BidRecommendationsResponse

    Parameters

    • params: { adGroupId: number; keywords: ({ keyword: string; matchType: "exact" | "broad" | "phrase"; })[] }
      • adGroupId: number

        The ID of the ad group that a bid was requested for.

      • keywords: ({ keyword: string; matchType: "exact" | "broad" | "phrase"; })[]

        Suggested Bid

    Returns Promise<{ adGroupId: number; recommendations: (({ code: "SUCCESS"; suggestedBid: { rangeStart: number; rangeEnd: number; suggested: number; }; }) & ({ keyword: string; matchType: "exact" | "broad" | "phrase"; }) | ({ code: "NOT_FOUND"; }))[] }>

  • Request bid recommendations for specified ad group.

    Returns

    AdGroupBidRecommendationsResponse

    Parameters

    • id: number

    Returns Promise<{ adGroupId: number; suggestedBid: { rangeStart: number; rangeEnd: number; suggested: number; } }>

  • Retrieve a list of bid recommendations for keyword, product, or auto targeting expressions by adGroupId.

    Returns

    BidRecommendationForTargetsResponse

    Parameters

    • params: { adGroupId: number; expressions: ({ value: string; type: "queryBroadMatches" | "queryPhraseMatches" | "queryExactMatches" | "asinCategorySameAs" | "asinBrandSameAs" | "asinPriceLessThan" | "asinPriceBetween" | "asinPriceGreaterThan" | "asinReviewRatingLessThan" | "asinReviewRatingBetween" | "asinReviewRatingGreaterThan" | "asinSameAs" | "queryBroadRelMatches" | "queryHighRelMatches" | "asinSubstituteRelated" | "asinAccessoryRelated"; })[] }
      • adGroupId: number

        The adGroupId where the targeting expression exists, to generate a bid recommendation

      • expressions: ({ value: string; type: "queryBroadMatches" | "queryPhraseMatches" | "queryExactMatches" | "asinCategorySameAs" | "asinBrandSameAs" | "asinPriceLessThan" | "asinPriceBetween" | "asinPriceGreaterThan" | "asinReviewRatingLessThan" | "asinReviewRatingBetween" | "asinReviewRatingGreaterThan" | "asinSameAs" | "queryBroadRelMatches" | "queryHighRelMatches" | "asinSubstituteRelated" | "asinAccessoryRelated"; })[]

        List of targeting expressions to generate recommendations for

    Returns Promise<{ adGroupId: number; recommendations: (({ code: "NOT_FOUND"; }) | ({ suggestedBid: { rangeStart: number; rangeEnd: number; suggested: number; }; expression: { value: string; type: "queryBroadMatches" | "queryPhraseMatches" | "queryExactMatches" | "asinCategorySameAs" | "asinBrandSameAs" | "asinPriceLessThan" | "asinPriceBetween" | "asinPriceGreaterThan" | "asinReviewRatingLessThan" | "asinReviewRatingBetween" | "asinReviewRatingGreaterThan" | "asinSameAs" | "queryBroadRelMatches" | "queryHighRelMatches" | "asinSubstituteRelated" | "asinAccessoryRelated"; }; code: "SUCCESS"; }) | ({ code: "INVALID_ARGUMENT"; }) | ({ code: "INTERNAL_ERROR"; }) | ({ code: "SERVER_IS_BUSY"; }) | ({ code: "UNAUTHORIZED"; }))[] }>

  • Request bid recommendations for specified keyword.

    Returns

    KeywordBidRecommendationsResponse

    Parameters

    • id: number

    Returns Promise<{ adGroupId: number; suggestedBid: { rangeStart: number; rangeEnd: number; suggested: number; } } & { keywordId: number }>