sogou api change

make this a util method. It is used in ads data pipeline already.