Hi, I am new here. I have a problem when accessing the ads-api.
My owner_id is 17284224
I never succeeded in accessing the ads-api, and it always the same error as below.
But I did authorized it with or without using Oauth by following the tutorial on twurl.
I am wondering if I am using the wrong ID. since the IDs I see from the similar posts are very different from mine. So another question is where to find the ads account id? Is owner_id the ads account id?
I already finished the following two commands successfully
twurl authorize --consumer-key key --consumer-secret secret
twurl authorize -u username -p password --consumer-key key --consumer-secret secret
And it returns my owner name and owner id along with my api key by executing commands
twurl accounts
But it returns the errors when querying the data as below
twurl -H ads-api.twitter.com "/0/accounts"
{"errors":[{"code":"UNAUTHORIZED_ACCESS","message":"This request is not properly authenticated"}],"request":{"params":{}}}%
twurl -H ads-api.twitter.com "/1/accounts"
{"errors":[{"code":"UNAUTHORIZED_ACCESS","message":"This request is not properly authenticated"}],"request":{"params":{}}}%
Could anybody help me here? Thanks