Hello Alrisa,
I’m James from the Google Ads scripts support team. Thank you for raising your concern to us.
Based on the given script, I observed that you’re using a regular AdGroupSelector. Take note that the getCampaign method of a regular AdGroupSelector only returns search and display campaigns. Since you’re looking for your youtube / video campaigns, I recommend that you use VideoAdGroupSelector along with the getVideoCampaign method instead.
Let me know if you have any questions.
Regards,
|
||||||