It looks like entity_ids is not a required parameter when ENTITY is ACCOUNT.
If you want to make that requests and get the information for your account, this is the request you should do:
twurl -H ads-api.twitter.com -d 'placement=ALL_ON_TWITTER&metric_groups=ENGAGEMENT,BILLING,MEDIA&start_time=2017-04-20&end_time=2017-04-27&entity=ACCOUNT&granularity=DAY&segmentation_type=GENDER' /1/stats/jobs/accounts/ACCOUNT_ID
Thanks