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 row would be the query selects. ie. select customer.id, customer.descriptive_name, customer.currency_code from customer would return a CSV like: customer.id,customer.descriptive_name,customer.currency_code 1239871423,Cool Customer,USD 9122351424,Cooler Customer,CAD Pete On Monday, January 20, 2020 at 11:50:21 AM UTC-5, James Nixon wrote: > > 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 < > adsapifor...@gmail.com <javascript:>> wrote: > >> Hello James, >> >> With regards to your concern, if you are using our client libraries >> <https://developers.google.com/google-ads/api/docs/client-libs>, 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 on >> your end. Please refer to this >> <https://developers.google.com/google-ads/api/docs/concepts/curl-example> >> guide >> for more details on how to interact with Google Ads API using cURL. Please >> give this a try and let me know if you have any further questions. >> >> Regards, >> Nikisha Patel, Google Ads API Team >> >> >> ref:_00D1U1174p._5001USwkbX:ref >> > > > -- > > > *This email and any files transmitted with it are confidential and > intended solely for the use of the individual or entity to whom they are > addressed. If you have received this email in error please notify the > system manager. This message contains confidential information and is > intended only for the individual named. If you are not the named addressee > you should not disseminate, distribute or copy this e-mail. Please notify > the sender immediately by e-mail if you have received this e-mail by > mistake and delete this e-mail from your system. If you are not the > intended recipient you are notified that disclosing, copying, distributing > or taking any action in reliance on the contents of this information is > strictly prohibited.* > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/fa218e48-b62e-42dc-87d2-10a558b0dc70%40googlegroups.com.