Hello,

I noticed after migrating from v6 to v8 that we cannot run a simple GAQL 
query where we ask *campaign *for *Cost *and filter on *labels*.

This query used to work before migrating to *v8*:

SELECT campaign.resource_name, *metrics.cost_micros *FROM campaign WHERE 
*campaign.labels 
CONTAINS ALL ('customers/5238202189/labels/21157228181')*


After the migration it fails with this error:

{ "errorCode": { "requestError": "UNKNOWN" }, "message": "The error code is 
not in this version.", "trigger": { "stringValue": 
"A_campaign__CampaignAssociation.entity_id" } }

   - Interesting is that it says that the error code is not in this version 
   but it runs on v8 and latest .NET lib.


If I remove *metrics.cost_micros* *OR* the where predicate for labels, then 
the query works. But it doesn't work with both:

No *metrics.cost_micros* - *works*

SELECT campaign.resource_name, *metrics.cost_micros *FROM campaign 
WHERE campaign.labels CONTAINS ALL 
('customers/5238202189/labels/21157228181')

No labels predicate - *works*

SELECT campaign.resource_name, *metrics.cost_micros *FROM campaign


We use the C# library for Google Ads API.


Any idea what the issue is? Thank you in advance.


Best,
 Ales

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/b6ea73fc-fdd2-4ff9-b7aa-49b2ed14d6a2n%40googlegroups.com.

Reply via email to