MicrosoftDocs / feedback

📢 docs.microsoft.com site feedback
https://learn.microsoft.com
Creative Commons Attribution 4.0 International
239 stars 160 forks source link

The endpoint to access AdAccount is not working. I think it is wrong as all similar endpoints have V2 at its end while https://api.linkedin.com/v2/adAccounts do not have. #1090

Open lubainaz opened 5 years ago

lubainaz commented 5 years ago

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.

Link to article: Tell us where exactly a problem occurs.

Problem: What's wrong with the article?

lubainaz commented 5 years ago

The endpoint to access AdAccount is not working. I think it is wrong as all similar endpoints have V2 at its end while https://api.linkedin.com/v2/adAccounts do not have.

When I changed it to https://api.linkedin.com/v2/adAccountsV2 it started working. Please check and change.

supernova-eng commented 5 years ago

@lubainaz can you please comment with the link to the document where incorrect API documentation is presented?

wpercy commented 5 years ago

This page in the linkedin docs shows the URL

https://api.linkedin.com/v2/adAccounts/{account ID}

which returns a message like:

{u'status': 403, u'message': u'Not enough permissions to access: GET /adAccounts/ACCOUNT_ID', u'serviceErrorCode': 100}

I have the following scopes

r_liteprofile r_emailaddress r_ads r_ads_reporting