set SID for ads