Welcome to Android Central! Google's Phone app on your phone doesn't identify Scam Calls? Open your Phone app, tap Menu>Settings, and see if there's a Caller ID & Spam option. Make sure the toggles for Caller ID & Spam and Filter Spam Calls are turned on.
I moved this from the Android Apps forum to the Nexus 6P forum, since the former is intended for developers to promote their apps.