I'm having trouble connecting to the Google Ads API with Python, first I have all the proper credentials for the connection which are DEVELOPER_TOKEN, CLIENT_SECRET, REFRESH_TOKEN, CUSTOMER_ID. It should be noted that I am trying to connect with the method that I have a yaml file where I have all my credentials and well I have tried to get a code where I can connect and I have tried all the methods and it does not let me, someone who can guide me for the API connection, please.

I have tried with the script of the repository of the same that Google Ads sends you, but it is very extensive to understand and in the same way I feel that I managed to understand it a little but nevertheless it does not work for me, I also tried with others and I don't need you to help me, please

The Insights Graph API is missing data for several demographic data points, including page_impressions_by_age_gender_unique and page_impressions_by_locale_unique for many of our pages. This problem continues to grow each month to new pages, even though there are daily posts with strong audience engagement/reactions so there should be demographic data available.
For example, in the Graph API explorer, you can see we had nearly a full month of data returned back in July for this page: https://developers.facebook.com/tools/explorer/572800817920405/?method=GET&path=103060282112412%2Finsights%2Fpage_impressions_by_age_gender_unique%3Fperiod%3Dday%26until%3D1690761600%26since%3D1688169600&version=v16.0
but when you run the same query for the same page for this past month, almost no data is returned: https://developers.facebook.com/tools/explorer/572800817920405/?method=GET&path=103060282112412%2Finsights%2Fpage_impressions_by_age_gender_unique%3Fperiod%3Dday%26until%3D1705968000%26since%3D1703289600&version=v16.0
If you could provide some insights into why more and more demographic data for these pages seems to be missing with each month, when the pages have active posting and audience engagement, we'd appreciate being able to get to the root of this.
Thank you!

I tried to use v19.0 marketing api to create an Advantage+ audience after reading the doc(https://developers.facebook.com/docs/marketing-api/audiences/reference/targeting-expansion/advantage-audience), and the example in the doc failed.
The error message is:
{"error":{"message":"(#100) Unsupported targeting option: targeting_automation","type":"OAuthException","code":100,"fbtrace_id":"AbbSSofzTiR1HLr9LXvXDl7"}}
Does anyone enconter the same problem?