module Blurb class BidRecommendation < BaseResource def ad_group_recommendations(params = {}, opts = {}) # required argument checks raise ArgumentError.new("params hash must contain an adGroupId") unless params["adGroupId"] get_request("/v2/adGroups/#{params["adGroupId"]}/bidRecommendations") end def keyword_recommendations(params = {}, opts = {}) # required argument checks raise ArgumentError.new("params hash must contain an keywordId") unless params["keywordId"] get_request("/v2/keywords/#{params["keywordId"]}/bidRecommendations") end def bulk_keyword_recommendations(params = {}, opts = {}) # required argument checks raise ArgumentError.new("params hash must contain an array of keywordIds") unless params["keywordIds"] post_request("/v2/keywords/bidRecommendations", params["keywordIds"]) end end end