AdsAPIv1 creation account issue on POST https://ads-api.twitter.com/1/accounts/


#1

Hello,
My Ads App have a write access but I get a ‘METHOD_NOT_ALLOWED’ message (details below) when i try to create an account with Ads API.
App ID = 12213799
It would be great to have any help :smile: Thanks !!!
Error details
HTTP/1.1 100 Continue
HTTP/1.1 405
Method Not Allowed content-disposition:
attachment;filename=json.json content-length:
103content-type: application/json;charset=utf-8 date:
Thu, 18 Aug 2016 08:22:59 GMTserver: tsa_f set-cookie:
guest_id=v1%3A147150857897229546;Domain=.twitter.com;Path=/;Expires=Sat,
18-Aug-2018 08:22:58 UTCstrict-transport-security:
max-age=631138519
x-access-level: read-write-directmessagesx-api-version:
1.0x-connection-hash:
46238c10075aeb5e0497ef74f36d7f5ax-content-type-options:
nosniffx-frame-options: SAMEORIGINx-response-time:
96x-runtime: 4.91E-4 x-transaction:
00d52b8d00aa05b9x-xss-protection: 1;mode=block
{“errors”:[{“code”:“METHOD_NOT_ALLOWED”,“message”:“Method
POST not allowed.”}],“request”:{“params”:{}}}


#2

Ads account creation is not supported through the API – the API allows you to access and manage existing advertiser accounts. Thus, a POST request is not supported on the https://ads-api.twitter.com/1/accounts/ endpoint.

However, you can create a advertiser account in the sandbox environment (not production)


Sandbox account not automatically created in API v1
#3