Thanks for the prompt response. However, it doesn't answer the question 
fully. Is there a way to upload a video to YouTube through the API first? 
I'm clear on how AssetService.MutateAssets works once I have 
youtube_video_title and youtube_video_id. But how do I upload to YouTube 
programatically and get those in the first place?

On Wednesday, August 2, 2023 at 3:15:19 PM UTC-4 Google Ads API Forum 
Advisor wrote:

> Hi Krishna,
>
> Thanks for posting your query on this forum thread.
>
> You may use *AssetService.MutateAssets* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/AssetService#mutateassets>
>  
> request and use the asset_data with *YoutubeVideoAsset* 
> <https://developers.google.com/google-ads/api/reference/rpc/v14/YoutubeVideoAsset>
>  
> fields. Please be noted that the this asset type does not support uploading 
> youtube video. You need youtube_video_title and youtube_video_id only. For 
> client library example, you may check this *sample code example* 
> <https://developers.google.com/google-ads/api/samples/upload-image-asset> 
> but this sample is for image assets. For the REST, you may refer to this* 
> API explorer* 
> <https://developers.google.com/google-ads/api/rest/reference/rest/v14/customers.assets/mutate>
> .
>
> I hope this helps. 
> This message is in relation to case "ref:_00D1U1174p._5004Q2mCHKq:ref"
>
> Thanks,
>   
> [image: Google Logo] Google Ads API Team 
>
>  
>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d33f155b-d3fb-4141-89df-6053823047cdn%40googlegroups.com.
  • Ho... Mohamed Samir
    • ... Krishna K
      • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
        • ... Krishna K
          • ... Krishna Kottamasu

Reply via email to