Today i’m going to teach you how to get facebook ads insight data, total amount spent day by day actually working on facebook ads project client wanted to get same matrix as showed in facebook ads manager then hardly after spending a lot of time on google i found just simple solution. Look at the following code:

Only just needed to add this parameter: