Hi Kevin, Thanks so much for your response and updating the post! L I indeed tried with just sending the IDs but then I get an error stating it needs to be formatted as 'customers/xxxxxxxxxx/labels/xxxxxxxxxx'.
I will get back to you privately with the requested info asap! Best, Tiana On Wednesday, 6 October 2021 at 07:39:11 UTC+2 adsapi wrote: > Hi Tiana, > > > > Can you try to filter by label ID (not by name), and see if you'd still > encounter any issues? You may check this link > <https://developers.google.com/google-ads/api/docs/reporting/labels#retrieve_objects_using_their_labels> > for > reference. Let me know how it goes. Please provide the complete request > <https://developers.google.com/google-ads/api/docs/concepts/field-service#request> > and response > <https://developers.google.com/google-ads/api/docs/concepts/field-service#response> > logs > with request ID > <https://developers.google.com/google-ads/api/docs/concepts/call-structure#request-id> > if > you still encountered an error. You may send these to me via *Reply > privately to author* option. > > > > On the other hand, I've deleted your post as it contains generated logs on > your end. However, pasting below the body of your concern: > > *"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/xxxxxxxxxx/labels/xxxxxxxxxx')* > > > > *I confirmed this is a valid query using the query validator, but when > using it I'm getting the following error:* > > *..redacted generated logs here..* > > > > *Thanks in advance,* > > > > *Tiana"* > > > > Regards, > [image: Google Logo] > Kevin Gil Soriano > Google Ads API Team > > > ref:_00D1U1174p._5004Q2PGwrm:ref > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/f2039622-a9e6-4394-8ea3-318439ad0df5n%40googlegroups.com.