@andrs
Does following “Creating a Campaign - Step-by-Step” found here2 lead to the same problem for you?
I tried again in sandbox now. But the same result.
step1:
twurl -H ads-api-sandbox.twitter.com /0/accounts/
{“request”:{“params”:{}},“data”:[{“name”:“Sandbox account for @opt_tw_ope”,“timezone”:“America/Los_Angeles”,“timezone_switch_at”:null,“id”:“gq10k6”,“created_at”:“2016-01-29T16:07:17Z”,“salt”:“eee8563f4a7a47ca5436bbd8a4a0476a”,“updated_at”:“2016-01-29T16:07:17Z”,“approval_status”:“ACCEPTED”,“deleted”:false}],“data_type”:“account”,“total_count”:1,“next_cursor”:null}
twurl -H ads-api-sandbox.twitter.com /0/accounts/gq10k6/funding_instruments
{“request”:{“params”:{“account_id”:“gq10k6”}},“data”:[{“start_time”:“2016-01-29T16:07:17Z”,“description”:"(no payment method has been set up yet)",“credit_limit_local_micro”:0,“end_time”:null,“cancelled”:false,“id”:“hxhg9”,“paused”:false,“account_id”:“gq10k6”,“reasons_not_able_to_fund”:[],“currency”:“USD”,“funded_amount_local_micro”:0,“created_at”:“2016-01-29T16:07:17Z”,“type”:“CREDIT_CARD”,“able_to_fund”:true,“updated_at”:“2016-01-29T16:07:17Z”,“credit_remaining_local_micro”:null,“deleted”:false}],“data_type”:“funding_instrument”,“total_count”:1,“next_cursor”:null}
twurl -H ads-api-sandbox.twitter.com -d “start_time=2016-02-09T00:00:00Z&funding_instrument_id=hxhg9&name=My First Campaign&total_budget_amount_local_micro=500000000&daily_budget_amount_local_micro=50000000” /0/accounts/gq10k6/campaigns
{“errors”:[{“code”:“UNAUTHORIZED_CLIENT_APPLICATION”,“message”:“The client application making this request does not have access to this API”}],“request”:{“params”:{}}}
I am wondering if you are dealing with the same issue as this user here1?
My problem is I think different.
Read access was successfull.
But write access was failed.
Your link case is read access failed. He had not yet acquired the authority of the Ads API.
I have developer access already. I could to read the account information.
Why fail only writing?
My Application ID is ‘9097150’.
My application is already get the ‘Read and Write’ permissions.