Using Python AdWords API Library, AWQL download has spaces in header names

39 views
Skip to first unread message

Mike M

unread,
May 16, 2016, 9:30:14 PM5/16/16
to AdWords API Forum
Using Python AdWords API Library, I can connect and download a report in CSV format.  However - inserting that data into my database is failing due to spaces in the column names in the header row.  Is there a way via the Adwords library to specifically name the columns, or force it to have no spaces? 

Specifically, when calling "Id", the column name in the file is "Keyword Id".  

Shwetha Vastrad (AdWords API Team)

unread,
May 17, 2016, 10:17:15 AM5/17/16
to AdWords API Forum
Hi Mike,

The AdWords API doesn't have any methods to change the display text of the column names for reports. I would suggest that you change the column names yourself after downloading the report using some sort of parsing function. If not having column headers is an option, then you could exclude the header row by setting the skipColumnHeader to true.

Regards,
Shwetha, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages