Ads api missing line items



I am trying to get all the line items and metrics associated with a campaign. However the metrics don’t match to the one in the Campaign metrics Dashboard UI. e.g the campaign metrics shows 2 tweets in summary tab but from the api i get 1 line item and the metrics for the line item only has the data for one of the tweets. If the line item is associated with multiple tweets wont the line item metrics give me combined data.
All metrics match if the campaign has only one tweet.
Am i missing anything in my call.
twurl -X GET -H “/0/accounts/XXXXXX/line_items?campaign_ids=YYYYY&with_deleted=true”