I've downloaded the PHP files for the AdWords API, went through all the steps provided and initially when running the GetCampaigns.php file included, it returned No Campaigns Found, which was puzzling as we have numerous in our AdWords account. Then I proceeded to move to the next step, moving to lib directory over to where I needed it. I created a PHP file called test-campaign.php and copied the code right from the examples to simply create a test campaign and I get a giant error reading:
Fatal error: Uncaught SoapFault exception: [soap:Client] Unmarshalling Error: For input string: "DAILY" in /public_html/adwords/lib/Google/Api/Ads/Common/Lib/AdsSoapClient.php:216
Stack trace:
#0 /public_html/adwords/lib/Google/Api/Ads/Common/Lib/AdsSoapClient.php(216): SoapClient->__soapCall('mutate', Array, NULL, Array, Array)
#1 /public_html/adwords/lib/Google/Api/Ads/AdWords/v201309/CampaignService.php(7140): AdsSoapClient->__soapCall('mutate', Array)
#2 /public_html/adwords/test-campaign.php(41): CampaignService->mutate(Array)
#3 {main} thrown in /public_html/adwords/lib/Google/Api/Ads/Common/Lib/AdsSoapClient.php on line 216
Does anyone have any advice on what to do?