how get "conversions values “ metrics via camapgin API?

24 views
Skip to first unread message

miinye

unread,
Aug 2, 2023, 3:29:48 AM8/2/23
to Google Ads API and AdWords API Forum
hello

Cannot get 'conversions_from_interactions_value_per_interaction','conversions_value_per_cost,''all_conversions_from_interactions_value_per_interaction','all_conversions_value_per_cost' values in 'Campaign Report'

The documentation includes the values, but I can't get the values from the actual API.

Please check.

documentation link
response
conversions campaign.PNG

Google Ads API Forum Advisor

unread,
Aug 2, 2023, 7:32:42 AM8/2/23
to miny...@gmail.com, adwor...@googlegroups.com

Hi,

Thank you for raising your concern to the Google Ads API team.

It appears that you've encountered the PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE error, this happens when a metric incompatible with the main resource or other selected segmenting resources was included in the SELECT or WHERE clause.

To confirm, the following attributes below are not compatible with the campaign resource, you can refer here: https://developers.google.com/google-ads/api/fields/v14/campaign, these attributes are not available if you specify "campaign" on your FROM clause for your query. You can check this by setting the drop-down option to "Yes, it is" under "Is campaign specified in the FROM clause of your query?"

  • conversions_from_interactions_value_per_interaction
  • conversions_value_per_cost
  • all_conversions_from_interactions_value_per_interaction
  • all_conversions_value_per_cost

If the information you are trying to retrieve is shown in the Google Ads UI, kindly provide the Full and uncropped screenshot of the Google Ads UI showing the data that you want to get via API, so we can provide accurate guidance. Make sure to send this privately via the "Reply to Author" option or through our email (googleadsa...@google.com) instead.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2na7o4:ref"

Thanks,
 
Google Logo Google Ads API Team


Reply all
Reply to author
Forward
0 new messages