When I make a REST query to:
https://googleads.googleapis.com/v17/customers/<customer_id>/googleAds:search
with content:
{"query":"SELECT asset.id,metrics.impressions FROM
campaign_aggregate_asset_view WHERE segments.date DURING LAST_30_DAYS
PARAMETERS omit_unselected_resource_names=true"}
It responds with 400 Bad Request with Content:
{
"error": {
"code": 400,
"message": "Request contains an invalid argument.",
"status": "INVALID_ARGUMENT",
"details": [
{
"@type":
"type.googleapis.com/google.ads.googleads.v17.errors.GoogleAdsFailure",
"errors": [
{
"errorCode": {
"requestError": "UNKNOWN"
},
"message": "The error code is not in this version.",
"trigger": {
"stringValue": "A___Asset.asset_id"
}
}
],
"requestId": "hHwTN9-DTOaF1U7jf6Sgog"
}
]
}
}
I get this error for any query that uses a field from the 'asset' resource
or the 'campaign' resource, both of which should be ok.
Mike
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords 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/51f8fc3f-f3e7-4d84-9267-a08b1a718411n%40googlegroups.com.