I am attemtping to programmatically get report suite data using PHP. In order to do so, I need to authenticate using OAuth. According to this documentation page: https://marketing.adobe.com/developer/en_US/documentation/authentication/auth-client-credentials, step 4 says I need to request a token for authentication. I am just trying to use command line curl to test this. I am using
curl -i -v "https://api.omniture.com/token" -u '(username):(password)' -d "grant_type=client_credentials"
The response is always: "{"error":"invalid_client","error_description":"The client credentials are invalid"}"
I believe I am using the incorrect username and password, but unfortunately, I have no idea what these values should be. I tried the username and password of this Adobe ID account, the username and password of my Analytics login (which are totally different but linked), the username and password found in the Analytics Admin -> Company Settings -> Web Services page. None of these work.
My best guess is that I need to create an application in Dev Center and maybe that will give me a new username and password (because of course, who wouldn't want another one?) to get the token. But when I click Dev Center -> Applications -> Add, I see "Your Adobe Account does not have any organizations associated with it. You require at least one organization to create an application.". I have no idea what this means, nor what the value should be. Also, it doesn't give me the opportunity to enter an organization. If I try to click Create, I get the error "client_name is a required parameter". Again, I don't know where I could change this, nor what the value should be.
Does anyone have a clue as to what I need to do in order to obtain a token from "https://api.omniture.com/token"? Thanks for your help.