Correct. So the question remains:

*How do I search keywords which contain a specific text in the FinalUrl? *

With the old Google Adwords, the CONTAINS predicate acted like a LIKE 
operator, and I was able to successfully search keywords based on a 
substring within the FinalUrl:
*new Predicate{ field = "FinalUrls", @operator = 
PredicateOperator.CONTAINS, values = new string[]{"/Prd/"}}*

However, with the new Google Ads API, using CONTAINS ANY does not search 
substrings; only complete values of the FinalUrl. The following does not 
work:
*WHERE ad_group_criterion.final_urls CONTAINS ANY ('/Prd/')*
On Wednesday, December 29, 2021 at 11:11:50 AM UTC-5 Mat wrote:

> Hi goingdev,
>
> I guess that the LIKE operator is not valid/available for the field 
> "ad_group_criterion.final_urls", because that field is actually a list of 
> strings, despite of being classed as "STRING" in the reference 
> <https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion#ad_group_criterion.final_urls>
> .
>
> Regards
> Mat
> goingdev schrieb am Dienstag, 28. Dezember 2021 um 20:58:13 UTC+1:
>
>> Question: How do I search keywords which contains specific text in the 
>> FinalUrl using GAQL? 
>>
>> The query builder UI doesn't give an option for using LIKE. It only gives 
>> options for CONTAINS ALL, CONTAINS ANY and CONTAINS NONE.
>>
>>
>> https://developers.google.com/google-ads/api/fields/v9/ad_group_criterion_query_builder
>>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/95d695cf-8e64-45d8-aab8-b5755fd7de62n%40googlegroups.com.
  • GA... goingdev
    • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum
    • ... Mat
      • ... goingdev
        • ... Mat
          • ... goingdev
            • ... Zorion
              • ... 'Google Ads API Forum Advisor' via AdWords API and Google Ads API Forum

Reply via email to