End Google Ads 201810 - BS.net 01 --> yes i think u r right
but i think its pseudo code more
u can implement it by any lang, as u need

thnx for your reply