Hello,
I got problems were connecting to the DoubleClick Bid Manager API through java code. My credentials are good, i got a token from google and my accountID, scope, P12File are good (no 4001 or 403 errors).
The purpose is to have query last report infos and then download CSV file for further analysis on our platform.
Error stack trace :
com.google.api.client.googleapis.json.GoogleJsonResponseException: 500 Internal Server Error
{
"code" : 500,
"errors" : [ {
"domain" : "global",
"message" : "Backend Error",
"reason" : "backendError"
} ],
"message" : "Backend Error"
}
Java Code :
DoubleClickBidManager bidManager = new DoubleClickBidManager(HTTP_TRANSPORT, JSON_FACTORY, credential);
Getquery query = bidManager.queries().getquery({{QUERY_ID}});
query.setOauthToken(credential.getAccessToken());
query.setFields("metadata");
Query q = query.execute();
Please, can you check if it is a problem with the API? Maybe the code is wrong...please let me know.
Thks guys !
Tech leader !