Wednesday, August 14, 2024

Digest for adsense-api@googlegroups.com - 2 updates in 1 topic

Jason <qq286027564@gmail.com>: Aug 09 03:05AM -0700

Hi Andrew,
when I use $report = $service->accounts_reports->*generate*($account,
$optParams); I can get result correctly. but when I change it to $report =
$service->accounts_reports->*generateCsv*($account, $optParams); and then
$report->getData(), it always show NULL
 
Thank you and Best regards
Jason
 
 
 
 
On Thursday, August 8, 2024 at 5:12:57 PM UTC+8 Ad Sense API wrote:
 
Ad Sense API <adsenseapi@forumsupport.google>: Aug 13 09:38AM

Hi Jason,
 
I've looked into this in more detail, and unfortunately there is an issue with PHP support for the reportCsv method. This is primarily because the CSV report response (by design) is not in JSON format. The regular report method should work fine with the PHP client library however.
 
Regards,
Andrew (AdSense API team)
ref:!00D1U01174p.!5004Q02vEfLJ: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.

No comments:

Post a Comment