I am trying to ontain stats at the ad level. However, my call seems to ignore the secondary elements in the metrics set. Is there a specific syntax for this?
resource = '/4/stats/accounts/{account_id}/'.format(account_id=account.id)
params = { 'entity':'PROMOTED_TWEET', #this is where promoted tweet ids will go
'entity_ids': i,#this is where promoted tweet ids will go
'start_time': '2018-08-08',
'end_time':'2018-08-09',
'granularity':'DAY',
'metric_groups': {'ENGAGEMENT','BILLING','VIDEO'},
'placement': 'ALL_ON_TWITTER'}
response = Request(client, 'get', resource, params=params).perform()
print (response.body['data'])
@juanshishido @Outflink @imit8me