I would like to connect to the Admanager and bring my reports but I have not been successful. An example of how to do it would be helpful.
Admanager API has the client libraries available in Java, .NET, Python, PHP, and Ruby. Unfortunately, the API isn't available in JavaScript and hence there is no support provided for JavaScript. However, a third party has written a Node.js client library for DFP which you might want to check: https://github.com/thewizarodofoz/google-ad-manager-api