Made changes for adsnative api