Google Ads API Script Creation -- 2

Job ID: 38045649

Budget: $30 – $250 USD

I need a simple PHP script, using as few files as possible (preferably a single PHP file).
The goal is to extract the following data from the google AD ad system:
Campaign names and today's daily spend per campaign.
In addition, which campaigns are running and which are paused.
Finally, a simple buttons - for each campaigns: run a campaign, or pause a campaign.
A test google api key is required because I can't give out my own.
For the project I need a description how I can run the file and how I can replace the test api key with my real (own) key.