instagram downloader

hi all

is it legal to make an instagram photos/videos downloader app and place admob ads on it?

thanks.