I need a simple script written in PHP that get my Facebook Ads data into MySQL table on a daily basis. Dimension is Day and Ad Group. It should handle big data amount from complete ad account and should be called once a day to get the missing day data from past. Ad Account should be possible to change by variable. Should work on terminal, not website/apache.