The API uses a key from the Developer Dashboard. To find it:
1. From the Operate tab of the Developer Dashboard, ensure that you are viewing your Organization dashboard (in other words, no specific Project is selected).
2. Select Ad Data Export on the left navigation bar to expand its options, then select API Access
3. Click on Create API Key link at Monetization API Access field and copy API Key.
4. To locate Organization ID, open the Operate Dashboard, select Settings, and copy the Organization core ID field from the Organization info section.