I switched the advertising on at Store Presence->Pricing & Distribution page:
Then I tired to update Store Presence->App Content->Target audience and content, but it required to update Store Presence-> Store Listing->Privacy Policy first:
When I published my privacy policy on my website and submitted its URL, I selected the target age groups:
and got the following warning: