Hi Krishnadas,
Thanks for reaching out. Harry here, from the Google Ads Scripts Team. Allow me to assist you on this.
Unfortunately, withCallToAction(call_to_action) and withActionHeadline(headline) methods are only available in the InStreamAdBuilder. You would also don't have to enable an entity as it should be enabled by default when built. For your reference, the isEnabled() is a boolean method which returns true if the video ad is enabled. Use methods like enable(), pause() and remove() instead to manage entity status through the Google Ads Scripts.
Let me know if you have other questions.
Thanks,
|
||||||
Hi Krishnadas,
You may opt to continue using the Google Ad Manager instead if this options are available there. The withCallToAction(call_to_action) and withActionHeadline(headline) methods for BumperAdBuilder and NonSkippableAdBuilder are currently unsupported in the Google Ads Script. If you would like, I can reach out to the rest of the team for a feature request, but would not be guaranteed to be supported anytime soon. Kindly let me know if you would like me to proceed and provide a sample use case or importance of this feature for your requirement/business.