How to use Looker Studio API with service account

I'm trying to use the Looker Studio API but I cant conect to the API as the client is not found.

 

I'm using the following code:

from googleapiclient.discovery import build
from google.oauth2.service_account import Credentials

# Define the OAuth 2.0 scope for Looker Studio

# Authenticate using the service account credentials file
credentials = Credentials.from_service_account_file(
    "MY_PATH_TO_JSONFILE",  # Replace with your credentials file path
    scopes=SCOPES
)

# Initialize the Looker Studio API client
service = build("datastudio.googleapis.com", "v1", credentials=credentials)

# Example: Get a report by its ID
report_id = "MY_REPORT_ID"
report = service.reports().get(reportId=report_id).execute()
print("Report Details:", report)

And im getting: 
raise UnknownApiNameOrVersion(
"name: %s version: %s" % (serviceName, version)
)
1 0 306