Unable to get marketing details from LinkedIn API

Viewed 22

When I trying to get analytics data from the API using below code, I am getting error

Same error comes in postman request as well

import requests
import os


BASE_URL = 'https://api.linkedin.com/v2/adCreativesV2'
token = "***"

headers = {'Authorization': "Bearer {}".format(token)}
auth_response = requests.get(BASE_URL, headers=headers)

print(auth_response.json())

Error

{'serviceErrorCode': 0, 'message': 'Resource adCreativesV2 does not exist', 'status': 404}
0 Answers
Related