we are trying to get the client information using the DMC API Through a service account, we create a service account in our side and the cliente grant us permission to consume their data, but when we try list the profile ID that we supose have access, always get the same error:
googleapiclient.errors.HttpError: <HttpError 400 when requesting
https://dfareporting.googleapis.com/dfareporting/v4/userprofiles?alt=json returned "No valid profile was found.". Details: "[{'message': 'No valid profile was found.', 'domain': 'global', 'reason': 'required'}]">
What is the best way to ensure that the proper permissions are given?
What is the step by step that the client should follow to be sure that they are giving us all the permissions we need?
Is it possible to consume our client's information using a service account or should we use another method?