As the growth of internet technology, human life is full of various advertisements. It is possible for individuals to obtain the advertising information they require, whether in an online or offline context. A research proposal is presented with the objective of enhancing the precision of online advertising recommendations. The proposal is based on the design of internet search engine advertising text keyword recommendation models, which integrate entity naming recognition models to facilitate tasks such as text classification and feature extraction. A recommendation algorithm based on content similarity is used to achieve keyword recommendation. Under the similarity calculation method of continuous bag-of-words model, when K is 100, the model weighted precision of the feature extraction method based on graph sorting and inverse text frequency index is 0.88, the weighted recall is 0.76, and the weighted F1-score is 0.82. In offline simulation testing, 85 % of the keyword recommendation model's recommendation time is less than 1 s, 99 % of the recommendation time is less than 2 s, and the recommendation cost can be significantly reduced by 75 %. In practical applications, the recommendation efficiency of this method can reach 96.3 %, and the recommendation precision can reach 95.8 %. The recommended satisfaction rate can reach 99.5 %. The results demonstrate that this method can provide highly accurate keyword recommendations and reduce the cost of advertising placement. Furthermore, it has been recognized and praised by users.