Royce Stroman <stromanroyce64@gmail.com>: Jul 29 12:13AM -0700 We use the following API to retrieve report data by both ad unit and site dimensions, but the request fails with an error. When we query by ad unit or by site individually, the data can be retrieved successfully. Does this mean that querying with both dimensions at the same time is not supported? GET https://adsense.googleapis.com/v2/{account=accounts/ *}/reports:generate[image: DDE92590-9486-4770-B864-DE099F55E685.png] |
Ad Sense API <adsenseapi@forumsupport.google>: Jul 29 05:01PM Hi Royce, Thanks for your message. Yes, querying with both those dimensions at the same time is not supported. The error message you received is not super helpful, so we will try to improve that - thanks for making us aware of it. Regarding supported dimensions: as per https://developers.google.com/adsense/management/reporting/dimensions_metrics#incompatible, if the AdSense UI lets you use a combination of dimensions, then the API should also work with the same combination, so it can be helpful to try a report in the UI first. Regards, Andrew (AdSense API team) ref:!00D1U01174p.!500Ht01sx8X7: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. |