Permission denied: the DoubleClick Search user does not have read access to the report scope.

852 views
Skip to first unread message

tyriek.mcd...@gmail.com

unread,
Dec 17, 2013, 12:37:11 PM12/17/13
to google-doubleclick-...@googlegroups.com
I'm using the doubleclick Search API Explorer with  "doubleclicksearch.reports.generate" to generate an "advertiser" report but each time I try to run the report I keep getting this error:

412 Precondition Failed
- Show headers -
{
"error": {
"errors": [
{
"domain": "global",
"reason": "conditionNotMet",
"message": "Permission denied: the DoubleClick Search user does not have read access to the report scope.",
"locationType": "header",
"location": "If-Match"
}
],
"code": 412,
"message": "Permission denied: the DoubleClick Search user does not have read access to the report scope."
}
}


Here is my input by the way:

POST https://www.googleapis.com/doubleclicksearch/v2/reports/generate?fields=id&key={YOUR_API_KEY}

Content-Type:  application/json
Authorization:  Bearer *hidden*
X-JavaScript-User-Agent:  Google APIs Explorer
{
"reportType": "advertiser",
"rowCount": 10000,
"startRow": 0,
"statisticsCurrency": "usd",
"timeRange": {
"startDate": "2013-01-01",
"endDate": "2013-12-01"
},
"reportScope": {
"agencyId": "8918",
"advertiserId": "7850396"
},
"columns": [
{
"columnName": "ctr"
}
]
}


Any guidance would be appreciated!

Jonathon Imperiosi (DFA API Team)

unread,
Dec 17, 2013, 4:27:46 PM12/17/13
to google-doubleclick-...@googlegroups.com
Hi,

This forum only provides support for the DoubleClick for Advertisers APIs, which unfortunately do not include the DoubleClick Search API. I suggest reaching out to the DoubleClick Search support team for help with this issue. You can find information for contacting DoubleClick Search support here.

Regards,
- Jonathon Imperiosi, DFA API Team
Reply all
Reply to author
Forward
0 new messages