Or more likely: Confirmation bias. I also occasionally get Nigerian memes on IG despite never having searched it. But unlike you I don't have the Nigerian film google search history that would lead me to conclude it was targeted.
Put another way, if you googled a Swedish film then saw Swedish memes you would think that was targeted. Then upon viewing the Nigerian memes you would have attributed it to a random video rather than anything targeted.
I watched a Nigerian film on the seat back display on the plane the other day. I looked it up on my laptop when I got home because I didn't finish it.
The next day in my Instagram explore page I had a Nigerian meme...
Yes, I get it -- could be frequency illusion or some IP address/cookie shenanigans. Still feels weird.