I am getting an error while fetching the metrics from campaign.
[
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type":
"type.googleapis.com/google.ads.googleads.v5.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"queryError": "PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE"
},
"message": "Cannot select or filter on the following metrics:
'conversions_value_per_cost'(could not support requested resources:
'CAMPAIGN'), since metric is incompatible with the resource in the FROM
clause or other selected segmenting resources."
}
]
}
]
}
}
]
--
*
*
*CONFIDENTIALITY NOTICE*
This email (including any attachments) may
contain confidential, proprietary and/or privileged information, if you are
not the intended recipient, or the person responsible for delivering the
message to the intended recipient then please notify us by return email
immediately. Should you have received this email in error then you should
not copy this for any purpose nor disclose its contents to any other
person.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/2a25ce36-7e8a-4446-9254-5cf8c199dc30n%40googlegroups.com.