Hi there!

I have a python script that reads all campaign names within an account and 
then performs a "find, replace" function to follow a new naming convention. 
I'm getting the CampaignError.INVALID_CAMPAIGN_NAME @ 
operations[4406].operand.name] when the original campaign name contains 
character in a foreign language (for instance, it happened with Chinese 
characters and Thai characters). I'm guessing the problem is with the 
encoding and decoding of these characters. When I download the report using 
.DownloadReportWithAwql, I save it in a dataframe using encoding "utf-8". 
Later this dataframe containing all campaign names is modified using a 
dictionary with the "find, replace" rules. 

Is there a way to encode/decode campaign names in foreign language 
characters so that I don't get the invalid name error? 

Thanks for the help!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/90abea4e-9526-4a64-9ba0-abd2420dc321%40googlegroups.com.

Reply via email to