fixed bugs in ads manipulation
Merge pull request #26 from MaxRomanov4669/master

fixed bugs in ads manipulation