Pause YouTube video placement video

364 views
Skip to first unread message

KGuiste1

unread,
Jan 21, 2021, 4:10:19 PM1/21/21
to Google Ads Scripts Forum

I've been requested to write a script that pauses YouTube video placements under certain circumstances.


I've figured out how to pause the campaigns, ad groups and ads but I can't seem to figure out how to pause YouTube Video Placements via ad scripts. I can pause them in the Placements Tab in google ads, I can check their enables or paused status in Ad Scripts Log, but I cannot seem to pause them from there. There doesn't seem to be a method function to do so.

Do we have any alternative solutions to achieve the same desired outcome?

Google Ads Scripts Forum Advisor

unread,
Jan 21, 2021, 10:54:45 PM1/21/21
to adwords...@googlegroups.com
Hi there,

Thank you for reaching out to us.

With regard to your use case, please do note that there is a separate AdsApp for video entity. You may want to check it here. Also, we do have samples that you may use as a reference for your implementation.

Regards,
Google Logo
Teejay Wennie Pimentel
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2B2LsS:ref

KGuiste1

unread,
Jan 22, 2021, 4:00:56 AM1/22/21
to Google Ads Scripts Forum
Hi,

Thanks for the resources you provided.

I have read all these references and samples and they don't provide a solution.

I'm not looking to pause video ads, ad groups or campaigns, I'm looking to pause a video target placement for a campaign that is under performing whilst keeping the ads on.
The idea is to keep the ads running but only towards YouTube video target placements that are performing well.
The current method seems to be to manually pausing the YouTube video targets. Can you help me figure out a way to pause them via ad scripts?

Regards
Kurvin

Google Ads Scripts Forum Advisor

unread,
Jan 25, 2021, 2:03:34 AM1/25/21
to adwords...@googlegroups.com
Hi Kurvin,

Thank you for getting back to us.

With regard to your use case inquiry, I believe this is feasible and can be done on Google Ads Scripts. Below are the references that you need to consider in implementing your script.

KGuiste1

unread,
Jan 25, 2021, 4:01:36 AM1/25/21
to Google Ads Scripts Forum
I'm not trying to pause ads or ad  groups or campaigns,
I'm looking to pause YouTube Video Placement Targets for individual Video Ads.


the VideoYouTubeVideo object is where I'd expect to see the pause() method, but it is not present there.
The only related methods are checking to see if they are enabled (.isEnabled()) or paused (.isPaused()).
Passing both methods a boolean argument doesn't change the status of the YouTube Video Target Placements.

The only other method that seems useeful which my client is happy with is .remove().

Regards
Kurvin

Google Ads Scripts Forum Advisor

unread,
Jan 25, 2021, 10:58:24 PM1/25/21
to adwords...@googlegroups.com

Hi Kurvin,

 

I am Harry, teammate of Teejay on the Google Ads Scripts Team. Thanks for clarifying your requirement, but pausing YouTube Videos is currently supported in the Google Ads Scripts.

 

On the other hand, I can reach out to the rest of the team and communicate a feature request on your behalf in this regard. Kindly confirm if you would like me to proceed and please be informed that there is no guarantee that this will be supported in the Google Ads Scripts anytime soon.

 

Thanks,

Google Logo
Harry Cliford Rivera
Google Ads Scripts Team
 


ref:_00D1U1174p._5004Q2B2LsS:ref

KGuiste1

unread,
Jan 26, 2021, 12:42:07 AM1/26/21
to Google Ads Scripts Forum
Hi,

I'm confused,

Is it currently supported or it isn't?

Because I followed the link you just sent me and I couldn't see the pause() method in the list of YouTube Videos methods.
It's 5:30am here and I feel like I'm going crazy because I'm not sure if you guys are telling me if it's possible or not and that it's me who can't make it happen.

Attached is my most recent attempt to pause YouTube Videos. The error comes back saying:  'TypeError: Cannot find function pause in object [VideoYouTubeVideo]'

Please, if you're saying it's supported please show me the line of code that makes it possible

Regards
Kurvin
YouTubeVideo.pause() isn't available.png

Google Ads Scripts Forum Advisor

unread,
Jan 26, 2021, 2:46:39 AM1/26/21
to adwords...@googlegroups.com

Hi Kurvin,

 

To clarify my previous statement, pausing YouTube Videos is currently not supported in the Google Ads Scripts. I can file a feature request on your behalf in this case if you would like me to proceed.

KGuiste1

unread,
Jan 26, 2021, 2:51:54 AM1/26/21
to Google Ads Scripts Forum
Ah okay,

Please file a feature request, that would be great!

Thanks.

Google Ads Scripts Forum Advisor

unread,
Jan 26, 2021, 4:32:45 AM1/26/21
to adwords...@googlegroups.com

Hi Kurvin,

 

Thanks for understanding. I have already raised your concern to the rest of the team for consideration. Just to reiterate, please be informed that there is no guarantee that this will be supported in the Google Ads Scripts anytime soon. Kindly follow our blog for updates and new releases in the meantime.

Reply all
Reply to author
Forward
0 new messages