Failed to get remaining budget


#1

Could we get remaining budget from credit_remaining_local_micro in the response of GET accounts/:account_id/funding_instruments ?
But null is returned as below .

The real remaining budget is ¥320,526 confirmed at Ads UI.

   {
      "start_time": "2018-08-31T15:00:00Z",
      "description": "BuzzSpreader_PR_ad_2018_h2",
      "credit_limit_local_micro": null,
      "end_time": "2019-03-31T14:59:59Z",
      "id": "ssf13",
      "entity_status": "ACTIVE",
      "account_id": "18ce54i3soa",
      "reasons_not_able_to_fund": [],
      "io_header": "T1140588",
      "currency": "JPY",
      "funded_amount_local_micro": 400000000000,
      "created_at": "2018-09-03T01:33:00Z",
      "type": "INSERTION_ORDER",
      "able_to_fund": true,
      "updated_at": "2018-09-03T01:33:00Z",
      "credit_remaining_local_micro": null,
      "deleted": false
    }```

#2
twurl -H "ads-api.twitter.com" -X GET "/3/accounts/18ce54i3soa/funding_instruments" | jq .

#3

Could anyone help me to answer this?


#4

Thanks for the follow up, @wenping.wang. For INSERTION_ORDER funding instruments, we do not return the credit_remaining_local_micro field. Please see the Funding Instruments documentation (look for the “Attribute Details” section). (Thanks, @imit8me for the reference.)

We’ll log this as a feature request, but don’t have information on whether this will be prioritized.

Linking to your previous thread: How to get the "Remaining Budget" by Ads API like Ads UI?


How to get the "Remaining Budget" by Ads API like Ads UI?