AWQL PRODUCT_PARTITION_REPORT ProductGroup invalid field name

53 views
Skip to first unread message

StewartR

unread,
Jan 22, 2015, 12:07:39 PM1/22/15
to adwor...@googlegroups.com

I am trying to download a PRODUCT_PARTITION_REPORT using an AWQL report using the .NET Client Library.

The Query:

"SELECT Id FROM PRODUCT_PARTITION_REPORT DURING TODAY"

works as expected returning a list of Ids of the product partitions.

However, when I add the ProductGroup field (or indeed PartitionType) to the query and instead attempt, say:

"SELECT Id,ProductGroup FROM PRODUCT_PARTITION_REPORT DURING TODAY"

The API returns the following error:

ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT, Trigger: , FieldPath: ProductGroup

These fields are valid as they are listed here for this report type. Any idea what's wrong here?

Josh Radcliff (AdWords API Team)

unread,
Jan 22, 2015, 2:38:34 PM1/22/15
to adwor...@googlegroups.com
Hi,

The report types page lists the fields available in the latest version of the API (v201409). The ProductGroup field is not available in v201406 -- are you using v201406, by any chance?

Thanks,
Josh, AdWords API Team

StewartR

unread,
Jan 23, 2015, 4:33:32 AM1/23/15
to adwor...@googlegroups.com
Hi Josh,

Thanks for taking the time to reply.

No - I don't believe I am using V201406. 

I am certainly using the most up-to-date version of the client library and certainly have no mention of the string "201406" anywhere in my code so unless the current client library defaults to an older version for some reason I should be using V201409. 

Is there a straightforward way I can double check?

Josh Radcliff (AdWords API Team)

unread,
Jan 23, 2015, 11:36:24 AM1/23/15
to adwor...@googlegroups.com
Hi,

You could try enabling request/response logging in the library. The log messages should contain the version you are hitting.

I suspect the version is the problem - I am able to run a report requesting ProductGroup using the v201409 endpoint without errors.

Thanks,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages