google adwords API: how to retrieve all fields(AWQL)

2.7k Views Asked by At

ive been looking on Google Adwords API documentation but have no luck, my specific question is:

I need to retrieve all available fields from a report but there no "SELECT *" statement on AWQL . And selecting every one of them manually is not an option in our implementation due to dynamic report retrieving so , if we cant use "SELECT *" then we need a way to retrieve a list of available fields which will then be used to dynamically create a SELECT AWL statement(in function of the corresponding report). Does anybody knows any way of retrieving a list of available report fields?

1

There are 1 best solutions below

1
On BEST ANSWER

You can get all the available fields for each report in the Report Definition Service

https://developers.google.com/adwords/api/docs/reference/v201609/ReportDefinitionService?csw=1#getReportFields