Unable to access auction_insights endpoint; unauthorized client application?

api

#1

Looking at the documentation for the auction insights endpoint, it does not appear to require special permissions. However, when trying to call the API I get the following:

twurl -H ads-api.twitter.com "/1/accounts/:account_id/auction_insights?line_item_ids=:line_item_id&start_time=2017-06-01&end_time=2017-06-03&granularity=TOTAL&placement=TWITTER_TIMELINE"

{
    "errors"
:
    [{
        "code": "UNAUTHORIZED_CLIENT_APPLICATION",
        "message": "The client application making this request does not have access to this API"
    }], "request"
:
    {
        "params"
 :
        {
        }
    }
}

Other APIs (e.g. /campaigns) are working normally so it doesn’t seem to be an issue with the account itself, just this specific endpoint.

Thanks!


#2

@rdads

Auction Insights are whitelisted on an account by account basis. For the account in question, you will have to go through your business contact within Twitter to grant that access.