Hi there,

I'm trying to filter the Campaigns resource 
<https://developers.google.com/google-ads/api/fields/v8/campaign> by label 
<https://developers.google.com/google-ads/api/fields/v8/campaign#campaign.labels>.
 
The query I'm using looks as follows:

SELECT campaign.labels, metrics.impressions FROM campaign WHERE 
metrics.impressions > 0 AND segments.date >= '2021-08-29' AND segments.date 
<= '2021-09-27' AND campaign.labels CONTAINS ANY 
('customers/5637846722/labels/21453140713')

I confirmed this is a valid query using the query validator, but when using 
it I'm getting the following error:
StatusCodeError: 400 - {"error":{"code":400,"message":"Request contains an 
invalid 
argument.","status":"INVALID_ARGUMENT","details":[{"@type":"type.googleapis.com/google.ads.googleads.v8.errors.GoogleAdsFailure","errors":[{"errorCode":{"requestError":"UNKNOWN"},"message":"The
 
error code is not in this 
version.","trigger":{"stringValue":"A_campaign__CampaignAssociation.entity_id"}}],"requestId":"J3GG0OcQw_jcPDT2mu6FZw"}]}}

Is there anything I should be doing differently?

Thanks in advance,

Tiana



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1aba249a-dce6-498e-bd13-35ed57d30d53n%40googlegroups.com.
  • Fi... Tiana S.
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
      • ... Tiana S.
        • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
          • ... Tiana S.
          • ... Tiana S.
            • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to