The source – developers.facebook.com
Marketing API v12.0 allows you to automatically extend detailed targeting. The targeting_optimization_types parameter specifies what is used as a signal to optimize targeting. You can read more about it in the changelog.
In order to rule out any possible malfunctions, the Facebook team recommends that all calls to the new version already be migrated. The previous versions are no longer relevant: The tenth version's API will stop working on April 10, 2021. Support for version eleven will end on February 23, 2022.