Location-based services (LBS) are necessary for obtaining the important details since the user needs vary based on the location. Location-based advertising (LBA) are utilized for abandoning the user location and to offer assistance by using the obtained information. Therefore, an efficient machine learning and metaheuristic-based model referred as GANM is designed for LBS. Initially, the potential location information is evaluated utilizing the geographic information system (GIS). Thereafter, significant features are computed using the location data. Obtained features are then segmented to improve the process of LBS. Adaptive network-based fuzzy inference system (ANFIS) is then utilized to efficiently classify the user data. Finally, the optimization of classified documents is achieved using the nondominated sorting genetic algorithm-III (NSGA-III). Extensive experiments are performed to validate GANM for LBS. Comparative analyses reveal that GANM outperforms the competitive LBS models in terms of F-score, accuracy, sensitivity, specificity, and area under curve by 2.2734%, 2.3981%, 2.3947%, 2.4271%, and 2.1638%, respectively.