Closed PGLaurens closed 9 months ago
The other method is to use a report that is saved in the Google Ad Manager UI and then by using its ID, to pull that, but not sure if the code is actually producing the same report or data as in the saved report.
If you run a report by ID then it will be the same data. The export format CSV_DUMP does have some formatting differences you can see here: https://developers.google.com/ad-manager/api/reference/v202308/ReportService.ExportFormat
If you are seeing a data discrepancy, you can reach out on that Ad Manager API forum: https://groups.google.com/g/google-doubleclick-for-publishers-api
We have 2000+ key value pairs in use that we need to report on and pull as CUSTOM_DIMENSIONS via the API into BigQuery.
I am trying to add CUSTOM_DIMENSIONS into a report_query in Python, but struggling with how to add all the different dimensions and combinations + the ID's and attributes.
The other method is to use a report that is saved in the Google Ad Manager UI and then by using its ID, to pull that, but not sure if the code is actually producing the same report or data as in the saved report.
Here is the code I am running for the saved_report:
I would appreciate any help, especially to view the dataframe or with mistakes in the code.