Developer Token not enabled for ReachPlanningService.

259 views
Skip to first unread message

Sai Teja Makani

unread,
Jun 2, 2023, 1:29:39 PM6/2/23
to Google Ads API and AdWords API Forum
Hello Team,

We have standard access dev token and yet making calls to ReachPlanningService gave this error "This request is not authorized to call ReachPlanningService. Developer Token not enabled."

Below is the complete request and response. I am following this snippet https://github.com/googleads/google-ads-python/blob/main/examples/planning/forecast_reach.py 

Let me know if you need any other information from our end. Our business needs this functionality and please enable it for our dev token.

######################################################################################

c:/Users/SaiTejaMakani/Downloads/google-ads-python-main/google-ads-python-main/examples/planning/forecast_reach.py
[2023-06-02 13:18:07,806 - INFO] Request

Method: /google.ads.googleads.v13.services.ReachPlanService/ListPlannableLocations
Host: googleads.googleapis.com
Headers: {
"developer-token": "REDACTED",
"login-customer-id": "3868760994",
"x-goog-api-client": "gl-python/3.8.10 grpc/1.47.0 gax/2.10.1 gccl/21.1.0 pb/4.22.1"
}
Request:

Response

Headers: {
"google.ads.googleads.v13.errors.googleadsfailure-bin": "\na\n\u0002H\u0007\u0012YThis request is not authorized to call ReachPlanningService. Developer Token not enabled.\"\u0000\u0012\u0016f0gr53xzNvF66xKM_B698Q",
"grpc-status-details-bin": "\b\u0007\u0012#The caller does not have permission\u001a\u0001\nDtype.googleapis.com/google.ads.googleads.v13.errors.GoogleAdsFailure\u0012{\na\n\u0002H\u0007\u0012YThis request is not authorized to call ReachPlanningService. Developer Token not enabled.\"\u0000\u0012\u0016f0gr53xzNvF66xKM_B698Q",
"request-id": "f0gr53xzNvF66xKM_B698Q"
}
Fault: errors {
error_code {
authorization_error: ACTION_NOT_PERMITTED
}
message: "This request is not authorized to call ReachPlanningService. Developer Token not enabled."
location {
}
}
request_id: "f0gr53xzNvF66xKM_B698Q"

[2023-06-02 13:18:07,809 - WARNING] Request made: ClientCustomerId: None, Host: googleads.googleapis.com, Method: /google.ads.googleads.v13.services.ReachPlanService/ListPlannableLocations, RequestId: f0gr53xzNvF66xKM_B698Q, IsFault: True, FaultMessage: This request is not authorized to call ReachPlanningService. Developer Token not enabled.
Request with ID "f0gr53xzNvF66xKM_B698Q" failed with status "%s" and includes the following errors:
Error with message "This request is not authorized to call ReachPlanningService. Developer Token not enabled.".

######################################################################################


Regards,
Sai Teja Makani

Google Ads API Forum Advisor

unread,
Jun 6, 2023, 2:31:18 PM6/6/23
to adwor...@googlegroups.com

Hello Sai,

Welcome to Google Ads API Support team. Thank you for reaching out to us.

I can see that you have standard access for your developer account. However, there is a eligibility requirement to use ReachPlanningService. Kindly validate on your end if you have met each requirement below:

  • Have a planning tool or user interface that will integrate the API.
  • Use the API to produce media plans and estimate campaign reach and cost.
  • Complete a pre-screen assessment as outlined below.
  • Follow data usage requirements and be willing to undergo periodic data audits.
  • Sign a data-licensing agreement that legally enforces data usage requirements.
  • Accept the Google Ads API terms of service.


More of this information can be found on this documentation https://developers.google.com/google-ads/api/docs/reach-forecasting#eligibility.

Should you need further assistance on this, we would recommend to contact your Google representative for more information.
 

This message is in relation to case "ref:_00D1U1174p._5004Q2lwFMn:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages