You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I noticed that if I pass a campaign that is new then it would break, as this is the response from apple: {'data': {'reportingDataResponse': {'row': []}}, 'pagination': {'totalResults': 0, 'startIndex': 0, 'itemsPerPage': 0}, 'error': None}
and obviously there's no grandTotals which is mentioned in the apy.py, line 1429 res["data"]["reportingDataResponse"]["grandTotals"])
a quick solution is to add try and except
The text was updated successfully, but these errors were encountered:
I noticed that if I pass a campaign that is new then it would break, as this is the response from apple:
{'data': {'reportingDataResponse': {'row': []}}, 'pagination': {'totalResults': 0, 'startIndex': 0, 'itemsPerPage': 0}, 'error': None}
and obviously there's no grandTotals which is mentioned in the apy.py, line 1429
res["data"]["reportingDataResponse"]["grandTotals"])
a quick solution is to add try and except
The text was updated successfully, but these errors were encountered: