Hi,
I'm trying to get the googleadsrow into a json or a csv file. The below
code doesn't seem to be working.
stream = ga_service.search_stream(customer_id=customer_id, query=query)
serializable_assets = [proto.Message.to_dict(asset) for asset in stream]
df = json_normalize(serializable_assets)
Hello,
I checked internally with our team for the feature request to retrieve the data
in .csv format via API and found that this feature is not intended to be
provided in future releases. You could use language-level utilities to create a
CSV file, if necessary. Please let us know if you have
Hello Pete,
Thank you for writing to us regarding your concern. I will update the existing
feature request with your concerns to retrieve the data in .csv format via API.
Please keep an eye on our blog post for future updates and announcements
related to this and let us know if you have any
James,
Look into the getAllFields method on the GeneratedMessageV3 object for each
object returned within each GoogleAdsRow. Relatively straight forward
exercise to map back to your query string.
Google Reps: A toCSV option would be greatly appreciated and make
everyone's lives easier. Header
The documentation states that using this method is not practical for
real-world application.:
[image: image.png]
Is there a way to convert the googleadsrow object to .csv using other
logical methods?
On Fri, Jan 17, 2020 at 4:18 PM Google Ads API Forum Advisor Prod <
Hello James,
With regards to your concern, if you are using our client libraries, it is not
possible to retrieve the data in .csv format. However, as an alternative you
could use the cURL operation to get the output in JSON format which can be
further converted to csv by implementing the logic
Google Ads API, Their new version of the Google Adwords API returns data in
an object called "GoogleAdsRow". I have not found any use at all for the
native object. The information presented in this format is not usable and
it is quite confusing. I want to print my file to a basic .csv format,