Anton Georgiev
unread,Jul 8, 2015, 11:11:10 AM7/8/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
I'm trying to retrieve the universities of the users coming to my website using the GEO_PERFORMANCE_REPORT but this doesn't seem to work as expected. The version of the API I'm using is v201502. I'm using Awql to download the report in CSV format.
When I made a request using none of the required fields, I got the following response:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>SelectorError.MISSING_FIELDS</type><trigger>Must choose at least 1 field from the group [CountryCriteriaId, CustomFeatureCriteriaId, CustomOtherCriteriaId, CustomCountryCriteriaId, CustomRegionCriteriaId, CustomTerritoryCriteriaId, CustomProvinceCriteriaId, CustomStateCriteriaId, CustomPrefectureCriteriaId, CustomGovernorateCriteriaId, CustomCantonCriteriaId, CustomUnionTerritoryCriteriaId, CustomAutonomousCommunityCriteriaId, CustomDMARegionCriteriaId, CustomMetroCriteriaId, CustomCongressionalDistrictCriteriaId, CustomCountyCriteriaId, CustomMunicipalityCriteriaId, CustomCityCriteriaId, CustomPostalCodeCriteriaId, CustomDepartmentCriteriaId, CustomAirportCriteriaId, CustomTVRegionCriteriaId, CustomOkrugCriteriaId, CustomBoroughCriteriaId, CustomCityRegionCriteriaId, CustomArrondissementCriteriaId, CustomNeighborhoodCriteriaId, CustomUniversityCriteriaId, CustomDistrictCriteriaId]</trigger><fieldPath></fieldPath></ApiError></reportDownloadError>
I found that there's a field called "CustomUniversityCriteriaId" in this list but when I try to use it, I'm getting an error that this field is invalid:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><reportDownloadError><ApiError><type>ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT</type><trigger></trigger><fieldPath>CustomUniversityCriteriaId</fieldPath></ApiError></reportDownloadError>
When I use "CountryCriteriaId", "CityCriteriaId" or "RegionCriteriaId" everything works fine.
I can't find information about the field "CustomUniversityCriteriaId" in the docs but having in mind the response from the API, it looks like this field exists.
Do you know if we can actually use this field (and the other fields except CountryCriteriaId, CityCriteriaId and RegionCriteriaId) or they are not yet implemented?
Thanks,
Anton