Porting Mobile Game to HTML With Unity Ads?

Hi! I have a game on Android in which I have Unity Ads. I wanted to put it as a flash game, but I have the code to put in an ad. If I port it to HTML, will it just ignore the code or will I have to take out the code?

How are you integrating Unity Ads? Using Asset Store version or the engine integrated version available since Unity 5.2?

-Rasmus