Re: v4 Accounts.report generate invalid optional parameters

39 views
Skip to first unread message

Jose Alcérreca (AdSense API Team)

unread,
Nov 29, 2012, 1:15:40 PM11/29/12
to adsen...@googlegroups.com
Hi there!

In the AdSense Host API, these dimensions are not available when reporting on the publisher so they shouldn't be on accounts.reports.generate.  They are only available in reports.generate. Also, we will change the response message.

Thanks for the catch!

Cheers,
Jose

---
Jose Alcérreca
Developer Relations

Google UK Limited
Registered Office: Belgrave House, 76 Buckingham Palace Road, London SW1W 9TQ
Registered in England Number: 3977902


Google Inc.| Developer Relations | AdSense API Team | developers.google.com/adsense


On Thursday, 29 November 2012 03:08:12 UTC, Group Participant wrote:
Using the generate method of Accounts.report, for the following dimensions / sort values

HOSTED_AD_CLIENT_ID
CUSTOM_CHANNEL_ID
CUSTOM_CHANNEL_CODE
CUSTOM_CHANNEL_NAME
URL_CHANNEL_ID
URL_CHANNEL_NAME

the following error is raised

(400) Request contained conflicting filters, conflicting dimensions, or a conflicting combination of both.

The message refers to a conflict; however, the error is also raised in the case of a single dimension and/or with no filters, i.e. in the case where there is no other dimension or filter with which to conflict.

Are the above dimensions not supported?  All are listed in the docs at https://developers.google.com/adsense/host/v4.1/accounts/reports/generate .
Reply all
Reply to author
Forward
0 new messages