/funding_instruments returning scheduled IOs


#1

Hello,

It seems that at the moment the endpoint /funding_instruments only returns live IO and not scheduled ones - can you confirm?
This is a problem for us at some partners scheduling campaigns want to be able to select their scheduled IO as funding instruments, is there any plan to change this?

Thanks,
Martin


#2

Hello,

Just bumping up the thread, as this is a problem for us.

Thanks!


#3

Hey @MGruau

Can you please provide the exact request and response bodies of the request using twurl, along with the actual versus expected output?

Thanks!


#4

Hello,

Here is an example request:
https://ads-api.twitter.com/2/accounts/<account id>/funding_instruments

Here is an example reply:

"data":[  
      {  
         "start_time":"2014-09-01T23:00:00Z",
         "description":"description",
         "credit_limit_local_micro":null,
         "end_time":"2014-09-30T22:59:59Z",
         "cancelled":false,
         "id":"XXXX",
         "entity_status":"ACTIVE",
         "paused":false,
         "account_id":"XXXXXXX",
         "reasons_not_able_to_fund":[  
            "EXPIRED"
         ],
         "io_header":"XXXXX",
         "currency":"GBP",
         "funded_amount_local_micro":XXXXX,
         "created_at":"2014-09-02T15:04:40Z",
         "type":"INSERTION_ORDER",
         "able_to_fund":false,
         "updated_at":"2014-09-02T15:04:40Z",
         "credit_remaining_local_micro":null,
         "deleted":false
      },
      {  
         "start_time":"2014-09-01T23:00:00Z",
         "description":"description",
         "credit_limit_local_micro":null,
         "end_time":"2014-12-01T23:59:59Z",
         "cancelled":false,
         "id":"XXXXX",
         "entity_status":"ACTIVE",
         "paused":false,
         "account_id":"XXXXX",
         "reasons_not_able_to_fund":[  
            "EXPIRED"
         ],
         "io_header":"XXXX",
         "currency":"GBP",
         "funded_amount_local_micro":XXXXX,
         "created_at":"2014-10-30T14:19:01Z",
         "type":"INSERTION_ORDER",
         "able_to_fund":false,
         "updated_at":"2014-10-30T14:19:01Z",
         "credit_remaining_local_micro":null,
         "deleted":false
      },
....

The reply seems to only mention the IOs that are either expired or active.
If a partner books a scheduled IO, can it be added to that list?

thanks.


#5

Hey @MGruau

Can you please provide the Ads account_id as well, in order to reproduce your example?

Thanks!


#6

Hi @imit8me, account ID is 18ce53wooto.

Thanks!


#7

Hey @MGruau

Just to confirm, do you have any details (for this account) around a scheduled IO that’s been setup but doesn’t appear on the list?

Any details like the FI id or io_header would be helpful!

Thanks!


#8

Hi @imit8me, thanks for your reply.

I’m waiting to hear from them on pending scheduled IOs - I’ll keep you updated as I get details.