php examples/BasicOperations/GetCampaigns.php --customerId XYZXYZXYZXApiException was thrown with message '{ "message": "The caller does not have permission", "code": 7, "status": "PERMISSION_DENIED", "details": [ { "@type": 0, "data": "type.googleapis.com\/google.ads.googleads.v2.errors.GoogleAdsFailure" }, { "@type": 0, "data": [ { "errorCode": { "authorizationError": "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#login-customer-id" } ] } ]}'.Hi Benni,
Thank you for reaching out. Can you please provide the client customer ID of the test manager and test client accounts via reply privately to author? Additionally, which account did you use to make the call to GetCampaigns?
Regards,
Mitchell
Google Ads API Team