Hi all,

I have found out that the LIKE operator doesn't always work as expected.

POST 
https://googleads.googleapis.com/v15/customers/<customer_id>/googleAds:search

Body:
{
"pageSize": 10000,
"query": "SELECT campaign.id, campaign.name FROM campaign WHERE 
 campaign.name = '<campaign_name>"
}

-> returns the campaign

Body:
{
"pageSize": 10000,
"query": "SELECT campaign.id, campaign.name FROM campaign WHERE 
 campaign.name LIKE '%<campaign_name>%"
}

-> doesn't return the campaign

<campaign_name> contains some special characters "()[]" and I suspect they 
are the problem as this works just fine for campaigns without special 
characters. Can you please advise how to make the LIKE operator work? I'll 
send additional info in the private message if needed.

Thanks for your help,
Katerina Henzlova

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"Google Ads API and AdWords 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/98e71b2f-d197-40a2-a7bd-93f30c1e43e6n%40googlegroups.com.
  • Search filt... 'Kateřina Henzlová' via Google Ads API and AdWords API Forum
    • Re: se... 'Kateřina Henzlová' via Google Ads API and AdWords API Forum
      • Re... 'Kateřina Henzlová' via Google Ads API and AdWords API Forum

Reply via email to