Hello Sigurd,
I’m James, also a member of the Google Ads scripts support team. Allow me to assist you further.
Can you please confirm if you only encountered the said issue within campaign.addSitelink() upon executing your script in preview mode or actual running? I asked this because upon trying the given sample code in our test account, I only encountered the issue upon executing the said script in preview mode. However, upon actual running the script, it works successfully.
Regards,
 |
James Howell |
Google Ads Scripts Team |
|
|
|

ref:_00D1U1174p._5004Q2YrOYS:ref