I would like to pull reports from DoubleClick Campaign Manager using Python via my command-line interface.
I am attempting to use these two scripts to provide this functionality:
When running get_dcm_reports.py via command-line (on Mac OS Sierra), I receive the following error:
The client secrets were invalid:
Missing property "client_secret" in a client type of "installed".
WARNING: Please configure OAuth 2.0
To make this sample run you will need to populate the client_secrets.json file
The client_secrets.json is in the same directory as dfareporting_utils.py & get_dcm_reports.py. However client_secrets.json does not contain a client_secret property. Accordingly, I'm unsure why get_dcm_reports.py is throwing the above error. Has anyone had success in getting reports from DCM using python via a command-line interface?
Any help, advice or suggestions is greatly appreciated.