Keyword report

27 views
Skip to first unread message

Andrada Crisan

unread,
Aug 17, 2015, 7:50:52 AM8/17/15
to AdWords API Forum
Hello,

 How to display Arabic characters in keyword adwords reports? I can only see encoded characters but no Arabic text.

Thank you!

Anthony Madrigal

unread,
Aug 17, 2015, 2:40:57 PM8/17/15
to AdWords API Forum
Hello Andrada, 

Could you please reply privately to author a sample SOAP XML request and response of your report so that I could look at what may be causing your issue?

Thanks,
Anthony
AdWords API Team

Andrada Crisan

unread,
Aug 18, 2015, 8:35:21 AM8/18/15
to AdWords API Forum
I found a workaround.
After setting DB encoding to utf8_genereal_ci for the tables I am interested in to display Arabic characters,
then I updated the php code in the downloading Adwords reports and then insert it in the db page is as follows:

<html>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<body>

<?php

setlocale(LC_ALL, 'ar_AE.utf8');

///php code here
///var_dump array to check Arabic characters in values

?>
</body>
</html>


Now the var_dump array displays Arabic values from reading the csv Adwords report file and then the code inserts correct encoded values in the db.

Thank you!
Reply all
Reply to author
Forward
0 new messages