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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ba0430e5-48de-40b6-bf0a-559d29f50aecn%40googlegroups.com.
  • De... 'Sai Teja Makani' via Google Ads API and AdWords API Forum
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to