Hello, I am trying to create a video Asset using the Google Ads API Beta python library. I am getting this error: "AttributeError: Assignment not allowed to field "youtube_video_id" in protocol message object" (I posted the code bellow).
The video was successfully uploaded to Youtube previously and I got the 11 character Youtube id that is required.
Am I doing something wrong or is creating video/youtube assets via Google Ads API not allowed?
google_ads_client = GoogleAdsClient.load_from_dict({"my_credentials": "my_credentials"})
operation = google_ads_client.get_type('AssetOperation', 'v3')
video_asset = operation.create
video_asset.type = google_ads_client.get_type('AssetTypeEnum', 'v3').YOUTUBE_VIDEO
# I get the error on this line when I try to assign my Youtube ID string
video_asset.youtube_video_asset.youtube_video_id = "tDUOo93p9mk"
asset_service = google_ads_client.get_service('AssetService', 'v3')
response = asset_service.mutate_assets(self.account_id, [operation])