Hi,
Below is the code that i’m using to pull DAY level metrics from my twitter Ad account.
resource = '/0/stats/accounts/{account_id}/campaigns/{id}'.format(account_id=account.id,id=id2)
params = {'start_time':'2015-09-01T07:00:00Z','granularity':'HOUR','metrics':'promoted_video_total_views,promoted_tweet_profile_impressions,promoted_tweet_search_impressions,promoted_tweet_timeline_impressions,promoted_tweet_search_engagements,promoted_tweet_profile_engagements,promoted_tweet_timeline_engagements,promoted_account_follows,billed_charge_local_micro,billed_engagements,billed_follows,promoted_tweet_search_url_clicks,promoted_tweet_timeline_url_clicks,promoted_tweet_profile_url_clicks,promoted_tweet_search_clicks,promoted_tweet_timeline_clicks,promoted_tweet_profile_clicks'}
response = Request(client, 'get', resource, params=params).perform()
Client is defined before hand. The problem here is that the time( which date on which each metric is recorded. Same as the one from the Twitter Ads Campaign dashboard export) is missing from the API output.
Any help on this is much appreciated.