Hi, You could take a look at this guide to understand how to create UAC campaigns via the API. Using the MediaService, you can only upload Image files and
MediaBundles at the moment. Currently, video media upload is not supported via API. If you have already created a template ad through the user interface that points to your YouTube video, you can fetch the
mediaId via
MediaService. Please keep an eye on our
blog for any updates about this feature.
Thanks,
Sreelakshmi, AdWords API Team