Error creating google ads with youtube video asset

2022-06-08 Thread 'Carlos Rodriguez' via Google Ads API and AdWords API Forum
Hi, I am trying to create an ad with YouTubeVideoId using google script. First, I create a youtube video asset: >> result = AdsApp.adMedia().newVideoBuilder() .withYouTubeVideoId(youtubeVideoId).build().getResult() result.isSucessful() is True, result.getErrors() is an empty list, result.getE

Error creating google ad from python

2022-06-06 Thread 'Carlos Rodriguez' via Google Ads API and AdWords API Forum
Hi, I'm trying to create an ad from python using the google ads api (ad_group_ad_service.mutate_ad_group_ads method). The ads contains a youtube video asset. As i want to enable and pause the ad several times during the day, the ad is created paused (status client.enums.AdGroupStatusEnum.PAUSED