Can't retreive number of conversions

28 views
Skip to first unread message

Peter Bednarik

unread,
Oct 8, 2015, 9:01:47 AM10/8/15
to AdWords API Forum
Hi all,
I would like to get Number of conversion from AdWords API. I'm trying to get these field in CAMPAIGN_PERFORMANCE_REPORT:
 $selector = new \Selector();
 $selector->fields = array('CampaignId', 'Cost', 'Conversions');

But it says INVALID_FIELD_NAME_FOR_REPORT, FieldPath = 'Conversions'

I tried to change
'Conversions'  to 'AllConversions', but it didn't help. I can use 'ConvertedClicks' instead of 'AllConversions' and get the metrics, but I need number of conversions for our report, not converted clicks.

I use API version
v201502.

Could you help me to solve this problem?

Umesh Dengale

unread,
Oct 8, 2015, 12:16:12 PM10/8/15
to AdWords API Forum
Hello,

The Conversions and AllConversions fields are newly added to the reports in the v201509. You are getting INVALID_FIELD_NAME_FOR_REPORT error as you are using the v201502 and these fields are only available in the v201509. When you upgrade to v201509 then you will be able to use these reporting fields. Please check out conversion reporting section of the release notes.

Thanks,
Umesh, AdWords API Team.

Michael Cloonan (AdWords API Team)

unread,
Oct 8, 2015, 2:20:29 PM10/8/15
to AdWords API Forum
Hello,

Please also note that you can check the fields available for a specific version by using the ReportDefinitionService. Just make the call using the version you'd like information for.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages