yep targeted ads for the next book by the same author, or similar genre are fine - that's what we're used to ....
consider
a novel subject .....
detective ..... ads for PI, Police Dept in your city, gun suppliers
erotica ..... ads for condoms, STI clinics, :coughs:
fantasy .... ads for psychiatry