Environment details
- OS: Linux
- PHP version: 7.4.1
- Package name and version: google-api-php-client-services / v0.174.0
Code example:
$this->service = new \Google_Service_AdSense($this->client);
$payments = $this->service->accounts_payments->listAccountsPayments('accounts/pub-1111111111111')->getPayments();
When trying to retrieve the list of payments from a child adsense account, we get the following error:
{ "error":{ "code":500, "message":"Internal error encountered.", "status":"INTERNAL" }}