Hello James,
Thank you for reaching out to us.
Upon checking your given script, I observed that you implemented our Large Manager Hierarchy Template which is built for the Legacy version of script and you’re executing it using the new script experience version. Take note that running our Large Manager Hierarchy Template solution script which is built for the legacy version in the new script experience environment is expected to encounter any errors or unusual behaviors because there are some code functionalities that are no longer compatible with the new script experience version. Instead, can you please use this latest Large Manager Hierarchy Template which is now built for the new script experience environment and let me know if you will still encounter the same issue or behavior?
Regards,
|
||||||
Hello James,
Thank you for your clarification. I tested your script and I was able to replicate the same issue on my end. Having said that, I’ll be raising this issue to our internal team for further investigation and troubleshooting. For any updates, we will keep this thread posted.
Regards,
Hello,
Upon utilizing this line of code – imageBlob.setContentType("IMAGE_JPEG"), could you confirm if you’re only experiencing the internal error upon previewing your script? If yes, can you please try to actually run your script and observe if the same issue will persist?
I asked this because based on my further investigation, I was able to execute the newImageBuilder and able to add a new image ad successfully when I run the script. The reason behind this is because there’s a key difference between the preview modes in the legacy infra and the new new script experience, whereas the legacy version did not do any validation (it would just assume the changes would succeed) whereas the new experience relies on Google Ads API validate-only mode. That’s the reason why it works as expected in the Legacy version.
On the other hand, the team is still looking if it’s possible to implement the same behavior in the preview mode of the new script experience. Still, we will keep this thread posted for any updates.
Regards,
Hello James,
I’m glad that I was able to resolve your initial issue. However, I’m still checking with the team if it's possible to implement the same behavior in the preview mode of the new script experience, so that testing can be easily executed.
On the other hand, regarding your new issue with the getDimension method, I’ll be checking this also to our internal team. Rest assured that we will update this thread for any updates.
Regards,
Hello James,
Would you be able to provide more context about the additional issue you have encountered with our Large Manager Hierarchy Template solutions script so that we can have a clear understanding and so that we can check this properly? It would be helpful also if you can share screenshots via Reply privately to the author option.
Regards,
Hello James,
Thank you for providing additional information and screenshots. I already also raised this issue to our team. For any updates, rest assured that we will get back to you as soon as we have information.
Regards,