FAQ
Q. What causes the error message, "Authentication failed"?
CASE 1: Invalid access token
{
"errorMessage": "result is false : Authentication failed. (Failed to authenticate the request.)",
"errorCode": "024"
}
An access token was sent in the Authorization header in the format 'Bearer {access token}', but the access token had expired or was invalid.
Obtain a new access token and try again.
NAVER Login API specification on NAVER Developers
Integrate NAVER Login into Web Application instructions on NAVER Developers
CASE 2: Access token issued before getting authenticated
{
"errorMessage": "GatewayException : Authentication failed. (Failed to authenticate the request.)",
"errorCode": "024"
}
It happens when the "service agreement" is accepted before the API gets authenticated.
Cancel the service agreement and follow the steps below to accept the service agreement again.
- Log in to www.naver.com and click the profile area or NAVER ID.
- Click Manage History and click View next to Apps/Sites connected with NAVER. Then, you can find the application you have registered on NAVER Developers.
- Click the application's name and then click Disconnect.
- Perform the steps for integrating NAVER Login and obtaining an access token again.
Q. How do you find the meaning of an API response?
You can find the description of an API request/response by clicking the API menu on the top navigation bar.
Clicking the 200 OK area in the Reponses section will show the meaning of each response field.
Q. Can I manage campaigns, ad groups, and creatives of a specific ad account under a manager account?
A. Even though you do not have any permission for an ad account, you can use an API to retrieve, update, and delete the campaigns, ad groups, and creatives of the ad account depending on the permission level of the manager account.
Let's assume that your NAVER ID has permissions to perform "operation retrieval", "operation management" and "Owner" actions for an "123" manager account. With this NAVER ID, you can retrieve the campaigns of an "456" ad account, which belongs to the "123" manager account.
The thing you need to do is to include the manager account ID in the AccessManagerAccountNo header. For details, click the link below.