Get useful data faster
Just used this workflow & it’s so cool - saved me so much time.
First, head to Query Builder (eg https://developers.google.com/google-ads/api/fields/v15/campaign_budget_query_builder )
And tick basically every checkbox you can find!
Next - drop the finished query into my 101 template, which is just a few lines of simple script:
Now save the resulting sheet as a csv & upload it to GPT4
together with the original SQL statement (which is probably very long)
& this prompt
please rewrite this SQL to remove anything that has no values in the demo output attached - ie any column in the sheet where every row is blank
GPT4 will give you back a new SQL statement - just paste that back into your script
& just like that you’ve got all the useful fields for the resource table.
From there you can continue to remove fields
& add conditions, eg
WHERE
campaign.status != 'REMOVED'Good luck & happy coding!