Hi George,
Thanks for posting your concern.
I can see that the
preview() method has been implemented in your code. This method is use to upload changes in preview mode or the changes will not automatically apply so that you can review it after the script executed. You will not see the simulated result in the
SCRIPT HISTORY tab, instead, you can see/review it here
TOOLS & SETTINGS > BULK ACTIONS > Uploads. Then, you can choose on this view either you apply or discard the changes.
However, if you want the script to apply the changes right after it finished the execution, then you can remove the comment of the line
upload.apply() and comment the
upload.preview().
Let me know if you have questions/clarification with the provided suggestion.
Regards,
Ejay
Google Ads Scripts Team

ref:_00D1U1174p._5004Q218AHq:ref