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 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/04a8bb3a-bad3-4f7b-b005-231028adf089n%40googlegroups.com.