Sorry wrong link. i mean here <https://groups.google.com/g/adwords-api/c/WcP0z7Agt8s>
Pavel Hegler schrieb am Mittwoch, 17. März 2021 um 10:12:03 UTC+1: > I had same issue and fixed it here > <https://groups.google.com/g/adwords-api/c/u32zzZrHraI>. Pls take a look:) > > app.h...@nbcuni.com schrieb am Mittwoch, 17. März 2021 um 09:06:26 UTC+1: > >> Hello Team, >> >> We are getting the below response from 1st March 2021 & before that it >> ran fine. We suspect this to be something related to token expiration >> (Please refer below logs). >> >> Request: customer_id: "2900486729" >> >> FYI : For sharing more details for access token etc., we don't have >> "reply to author privately" option to enabled. >> >> Logs: >> ########################## >> Method: /google.ads.googleads.v5.services.GoogleAdsService/Search >> Host: googleads.googleapis.com:443 >> Headers: { >> "developer-token": "REDACTED", >> "login-customer-id": "2900486729", >> "x-goog-api-client": "gl-python/3.9.0 grpc/1.33.2 gax/1.23.0 gapic/8.0.0", >> "x-goog-request-params": "customer_id=2900486729" >> } >> Request: customer_id: "2900486729" >> query: "SELECT\n\t campaign.name,\n\t campaign.id,\n\t >> campaign.status,\n\t ad_group.name,\n\t ad_group.id,\n\t >> ad_group.status,\n\t ad_group_ad.ad.id,\n\t ad_group_ad.ad.name,\n\t >> ad_group_ad.ad.image_ad.name,\n\t ad_group_ad.status,\n >> metrics.impressions,\n\t metrics.clicks,\n\t metrics.cost_micros,\n\t >> metrics.ctr,\n\t metrics.average_cpc,\n\t metrics.average_cost,\n\t >> metrics.average_cpm,\n\t segments.date,\n\t segments.device,\n\t >> segments.ad_network_type,\n \t >> segments.click_type\nFROM\n\tad_group_ad\nWHERE\n\tsegments.date BETWEEN >> \'2021-03-16\' AND \'2021-03-16\'" >> page_size: 50 >> >> Response >> ------- >> Headers: { >> "google.ads.googleads.v5.errors.googleadsfailure-bin": >> "\n\u0001\n\u0002H\u0002\u0012\u0001User doesn't have permission to access >> customer. Note: If you're accessing a client customer, the manager's >> customer id must be set in the 'login-customer-id' header. See >> https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid >> ", >> "grpc-status-details-bin": "\b\u0007\u0012#The caller does not have >> permission\u001a\u0002\ >> nCtype.googleapis.com/google.ads.googleads.v5.errors.GoogleAdsFailure\u0012\u0002\n\u0001\n\u0002H\u0002\u0012\u0001User >> >> <http://nCtype.googleapis.com/google.ads.googleads.v5.errors.GoogleAdsFailure%5Cu0012%5Cu0002%5Cn%5Cu0001%5Cn%5Cu0002H%5Cu0002%5Cu0012%5Cu0001User> >> >> doesn't have permission to access customer. Note: If you're accessing a >> client customer, the manager's customer id must be set in the >> 'login-customer-id' header. See >> https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid >> ", >> "request-id": "MQiYxhCMioS-s02kGyfz5g" >> } >> Fault: errors { >> error_code { >> authorization_error: USER_PERMISSION_DENIED >> } >> message: "User doesn\'t have permission to access customer. Note: If >> you\'re accessing a client customer, the manager\'s customer id must be set >> in the \'login-customer-id\' header. See >> https://developers.google.com/google-ads/api/docs/concepts/call-structure#cid >> " >> } >> >> ############ >> >> >> Best Regards, >> Hubble App >> > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 "AdWords API and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ae2e9d69-2d06-4920-8cab-56ce5763aa90n%40googlegroups.com.