Hi
I've been using a Google Ads script to run Adgroup and Ad performance reports and inserting the raw data into Big Query in tables. The script that I've been using can be found here :
The script uses the BigQuery advanced API to export the report data into BigQuery. The scripts have been working for a long time and then 2 days ago it just stopped working.
I received the following error in the logs :
API call to bigquery.datasets.insert failed with error: Already Exists: Dataset name
This is not supposed to happen as I specified the following variables at the begining of the script:
// Truncate existing data, otherwise will append.
TRUNCATE_EXISTING_DATASET: false,
TRUNCATE_EXISTING_TABLES: true,
If then tried to change the BigQuery project id to rather use another project and then the script ran fine.... this is super weird.
Why would the script not be working in the current BigQuery Project that it always worked on ? And why would it not see the truncate variable that is specified as 'false' ?
I did not change anything in the scripts the past few days, so I don't understand why it just stopped working.
Please advise :)
Kind Regards
Ilzemie