Use AdImpression in code snippet