Hello, 

In the reports that supports Labels 
<https://developers.google.com/adwords/api/docs/guides/labels#use_the_labels_field_in_reports>,
 
you may only be able to filter using the LabelIds 
<https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report#labelids>.
 
If you are having trouble mapping the label names to the label ids, you 
could use the Label Report 
<https://developers.google.com/adwords/api/docs/appendix/reports/label-report#labelname>.
 
This is a structure report and you will be able to filter using the 
LabelName 
<https://developers.google.com/adwords/api/docs/appendix/reports/label-report#labelname>
 in 
this report. I will raise a feature request to see if filtering based on 
Labels can be enabled in the supported reports. You could keep an eye on 
our blog <https://ads-developers.googleblog.com/search/label/adwords_api> for 
updates and announcement about future releases. 

Thanks,
Sreelakshmi, AdWords API Team

On Thursday, July 26, 2018 at 5:20:05 PM UTC-4, Kristijan Novakovic wrote:
>
> Hi,
>
> No, that's not what I want. I want to filter by Label (as in Label Name - 
> String) not by Label IDs. Is that possible?
>
> On Thursday, July 26, 2018 at 10:29:01 PM UTC+2, Sreelakshmi Sasidharan 
> (AdWords API Team) wrote:
>>
>> Hello, 
>>
>> As with other fields of type List, you can filter reporting results by 
>> LabelIds using CONTAINS_ANY, CONTAINS_ALL, or CONTAINS_NONE. You could 
>> check the guide on labels <http://section/> for more clarity. Please see 
>> a sample AWQL below :
>>
>> SELECT CampaignId, LabelIds, Labels FROM CAMPAIGN_PERFORMANCE_REPORT 
>> WHERE Labels CONTAINS_ANY [926238056]
>>
>> Let me know if you have any additional questions. 
>>
>> Thanks,
>> Sreelakshmi, AdWords API Team
>>
>>
>> On Thursday, July 26, 2018 at 9:34:09 AM UTC-4, Kristijan Novakovic wrote:
>>>
>>> Hello,
>>>
>>> Is it possible to filter data by Labels (string values)? Whenever I try 
>>> to do that I get "Temporary problem with the server. Please retry the 
>>> request after a few moments".
>>> If I insert integers as values to filter by (ids)  then it works ok.
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9f4ba66a-f8a3-4cb6-a43a-f8b5842fe3f1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... 'Kristijan Novakovic' via AdWords API and Google Ads API Forum
    • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... 'Kristijan Novakovic' via AdWords API and Google Ads API Forum
        • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum
          • ... 'Kristijan Novakovic' via AdWords API and Google Ads API Forum

Reply via email to