dbt run --no-version-check parsing error

Parsing Error
Invalid metrics config given in FilePath(searched_path=‘models’, relative_path=‘1-staging\ads\metrics.yml’, modification_time=1720463882.679679, project_root=‘root/folder’) @ metrics: {‘name’: ‘total_paid_spend’, ‘label’: ‘Total Paid Spend’, ‘model’: “ref(‘prod_ads_timeline’)”, ‘description’: ‘Total paid ad spend’, ‘expression’: ‘spend’, ‘calculation_method’: ‘sum’, ‘timestamp’: ‘report_date’, ‘time_grains’: [‘week’, ‘month’, ‘quarter’, ‘year’], ‘dimensions’: [‘platform’]} - at path : Additional properties are not allowed (‘calculation_method’, ‘dimensions’, ‘expression’, ‘model’, ‘time_grains’, ‘timestamp’ were unexpected)

Tried the above code after sorting the package issue. But unable to resolve this

Yes I got same error and I can not figure this either.