|
|
|
|
Ntinos Mavrakis <konmavrakis@gmail.com>: Jul 15 12:48AM -0700 Hello, I've just sent an email with our main account and a child account. Thanks a lot. On Wednesday, July 14, 2021 at 11:20:09 PM UTC+3 adsenseapi wrote: |
Ad Sense API <adsenseapi@forumsupport.google>: Jul 19 04:02PM Hi, Thanks for sending your publisher code. Our engineers were able to look into this issue and write a fix for it. Can you try again to verify that the fix is working for you? (There is a separate issue making Payments requests fail intermittently on both v1.4 and v2, so you may have to retry your request.) Donovan McMurray AdSense API Team ref:_00D1U1174p._5004Q2KbsgL:ref |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Ntinos Mavrakis <konmavrakis@gmail.com>: Jul 14 07:51AM -0700 Hello, We are using our main account to authenticate through a service account json file. Before version 2, we could retrieve information regarding our child accounts without any issues. With version 2 of the AdSense API, we can't and we receive the error mentioned above: { "error":{ "code":500, "message":"Internal error encountered.", "status":"INTERNAL" }} You can replicate it even from the "Try this API" right panel here: https://developers.google.com/adsense/management/reference/rest/v2/accounts.payments/list If we use the child account through here: https://developers.google.com/adsense/management/reference/rest/v1.4/accounts.payments/list we get a response. On Tuesday, July 13, 2021 at 7:03:09 PM UTC+3 adsenseapi wrote: |
Ad Sense API <adsenseapi@forumsupport.google>: Jul 14 08:20PM Hi, Thanks for providing that additional information. I checked our API server logs, and I found this error happened 5 different times (for different publisher codes). Can you provide the publisher code so I can see which one is yours? You used the placeholder "pub-1111111111111" earlier. Also, if you're not comfortable sharing this value publicly, you can email us at adsenseapi-tech@google.com. In the meantime, I've already alerted an AdSense engineer about this issue, so they'll look into it to see if something is wrong on our side. Donovan McMurray AdSense API Team ref:_00D1U1174p._5004Q2KbsgL:ref |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Ntinos Mavrakis <konmavrakis@gmail.com>: Jul 05 04:10AM -0700 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" }} |
Ad Sense API <adsenseapi@forumsupport.google>: Jul 13 04:02PM Hi, What user are you using to authenticate your API requests? Does this user have access to the child account? If it's not an issue with the user's permissions, then can you send me the full API request/response? With PHP, you can follow these instructions for how to debug your HTTP requests. Donovan McMurray AdSense API Team ref:_00D1U1174p._5004Q2KbsgL:ref |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |
Ad Sense API <adsenseapi@forumsupport.google>: Jun 30 05:05PM Hi, Were you able to get this working? Be aware that v1.4 and v2 have different defaults if you leave off the timezone field in your API request. For v1.4, useTimezoneReporting defaults to PST/PDT. For v2, reportingTimeZone defaults to your account's timezone. Donovan McMurray AdSense API Team ref:_00D1U1174p._5004Q2HyH8d:ref |
Ad Sense API <adsenseapi@forumsupport.google>: Jun 30 04:49PM Hi, Lorenzo. Yes, the AdSense Management API is a read-only API. While I can help with API problems, becoming an AdSense Host is an account concern. You would need to talk to someone on the AdSense Help Community to find out about applying to become an AdSense Host. Donovan McMurray AdSense API Team ref:_00D1U1174p._5004Q2HyIId:ref |
You received this digest because you're subscribed to updates for this group. You can change your settings on the group membership page. To unsubscribe from this group and stop receiving emails from it send an email to adsense-api+unsubscribe@googlegroups.com. |