Try to get all YouTube channels get an error

25 views
Skip to first unread message

Claudius Burg

unread,
Mar 25, 2021, 1:19:21 PM3/25/21
to AdWords API and Google Ads API Forum

Hello Every one

I try to get all the YouTube chellens vor one Display Campagne

I tried two different ways 

  1. var youTubeChannelSelector = AdsApp.display().youTubeChannels();

here I get this error 

TypeError: Cannot find function youTubeChannels in object [Display]. (file Code.gs, line 107)


2. var camp = campSelector.next();

var youTubeChannelSelector = camp.display()

         .youTubeChannels()

         .withCondition("Impressions > 100")

         .forDateRange("LAST_MONTH")

        .orderBy("Clicks DESC");

and i get a nather error 

ReferenceError: "youTubeChannelFields_" is not defined. (file Code.gs, line 112)

coul somone help me pleas 

greetings C. Burg

Google Ads API Forum Advisor Prod

unread,
Mar 25, 2021, 5:31:37 PM3/25/21
to adwor...@googlegroups.com
Hello,

This issue appears to be Google Ads Scripts related, not Google Ads API. You can get assistance from their team on their forum.

Regards,
Anthony

Google Logo
Anthony
Google Ads API Team
 


ref:_00D1U1174p._5004Q2En7uZ:ref
Reply all
Reply to author
Forward
0 new messages