Is Search Lost IS (rank) retrievable if its value is ">90%"

681 views
Skip to first unread message

Sam

unread,
Jan 3, 2015, 3:16:02 PM1/3/15
to adwords...@googlegroups.com
Hi experts, I want to increase bids for keywords that have "Search Lost IS (rank)" more than 10%. Scripts are running fine. However, I found if Search Lost IS (rank) is ">90%", scripts would miss the keyword, and didn't change its bid at all.


I retrieve data for Search Rank Lost Impression Share from KEYWORDS_PERFORMANCE_REPORT

    var searchLostISRank = (Math.round(row['SearchRankLostImpressionShare']*100))/100;


And increase bids for keywords by the following scripts:

var BID_INCREASEMENT_COEFFICIENT_1 = 0;


if (searchLostISRank > 0.1){


var BID_INCREASEMENT_COEFFICIENT_1 = (searchLostISRank - 0.1)/8;


var Bid2 = maxCpc*(1 + BID_INCREASEMENT_COEFFICIENT_1);
var Bid = Math.max(Bid1, Bid2);


} else {

var Bid = Bid1;

}


Could you kindly help me to sort the problem out?


Thanks so much for your help.


Sam








Alexander Wang

unread,
Jan 8, 2015, 6:37:26 PM1/8/15
to adwords...@googlegroups.com
Hi Sam,

I think the issue is that the report does not give exact numbers for search rank lost impression share for keywords with values "> 90%". If it's not giving you a number and is instead giving you a string (e.g. ">90%"), the math you are doing up front ((Math.round(row['SearchRankLostImpressionShare']*100))/100;) is going to give you "NaN". "NaN" means "Not a Number". The way javascript works, it won't complain (i.e. throw an error) if you try and do mathematic operations with things that aren't numbers. Instead it just says the result is "NaN". If "searchLostISRank" is "NaN", than the if statement you have is going to evaluate to false (NaN always evaluates to false and mathematic comparisons involving NaN always evaluate to false).

FYI, I think this column spits out "< 10%" for really low values (i.e. the column doesn't give specific data for 0-10% or 90-100%), so you can remove a lot of your math by doing something like:
if (row['SearchRankLostImpressionShare'] != '< 10%') {
  // search rank lost impression share is > 10%, so do stuff
}

If you want to focus on keywords with search rank lost impression shares > 20%, you could do something like:
if (row['SearchRankLostImpressionShare'] == '> 90%' || row['SearchRankLostImpressionShare'] > 0.2) {
  // search rank lost impression share is > 10%, so do stuff
}

From the report documentation for SearchRankLostImpressionShare (this is true for all reports, not just keywords):
The estimated percentage of impressions on the Search Network that your ads didn't receive due to poor Ad Rank. A percentage returned as "xx.xx%", or the special values "< 10%" or "> 90%". Not compatible with the field ClickType.

Cheers,
Alex
Reply all
Reply to author
Forward
0 new messages