Google Adwords API query the number of conversions per click

121 views
Skip to first unread message

Luca Fiaschi

unread,
Feb 15, 2014, 1:50:12 PM2/15/14
to adwor...@googlegroups.com

Hi all,

I would like to query the number of conversions per click from a google adwords ADGROUP_PERFORMANCE_REPORT using the SOAP API. The following query (Python),

# Create report definition.
report = {
  'reportName': 'Last 30 days ADGROUP_PERFORMANCE_REPORT',
  'dateRangeType': 'LAST_30_DAYS',
  'reportType': 'ADGROUP_PERFORMANCE_REPORT',
  'downloadFormat': 'CSV',
  'selector': {
      'fields': ['CampaignId', 'AdGroupId', 'Id', 
                 'Impressions', 'Clicks', 'Cost',
                 'Conv1PerClick',
                 'CampaignName','AdGroupName']
  },
  # Enable to get rows with zero impressions.
  'includeZeroImpressions': 'false'
}

results in the following error:

AdWordsReportError: HTTP code: 400, type: 'ReportDefinitionError.INVALID_FIELD_NAME_FOR_REPORT', trigger: 'Conv1PerClick', field path: ''


Google documentation (https://developers.google.com/adwords/api/docs/appendix/reports) seems to indicate that such a report should have a conv1PerClick field (I tryed also removing capitalization of the first letter, similar error occurs ).

How do I query the ad group statistics about conversions per click???

Thanks!


Josh Radcliff (AdWords API Team)

unread,
Feb 18, 2014, 8:48:29 AM2/18/14
to adwor...@googlegroups.com
Hi,

When specifying report fields you want to use the field from the first column of the report fields list.  For the particular case you mentioned, you would want to use "Conversions" as the field name.

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