AdWords
6.7K members online now
6.7K members online now
Boost and manage your AdWords for Video (YouTube ads) performance
Guide Me
star_border
Reply

AdWords Scripts - Pulls for YouTube

Follower ✭ ☆ ☆
# 1
Follower ✭ ☆ ☆

We use AdWords Scripts to manage our day to day pacing of accounts. When YouTube advertising was integrated with AdWords we excited because we hoped this would allow us to automate some of our daily pulls. But what we have found is while we can now add labels to our Video campaigns (as we use these to parse our data) it is not pulling in the YouTube campaign TotalCost data.

 

Here is a portion of the script we are using:

 

var labelSelector = AdWordsApp.labels()
.withCondition("LabelName CONTAINS '" + breakOutSegments[s][0] + "'").get().next();

var campaignsIterator = labelSelector.campaigns()
.forDateRange(dateRange.toString(),dateRange.toString())
.get();

while (campaignsIterator.hasNext()) {
var campaign = campaignsIterator.next();
var stats = campaign.getStatsFor(dateRange.toString(),dateRange.toString());
TotalCost = TotalCost + stats.getCost();
}

 

I believe the error is coming from the middle section "labelSelector.campaigns()" but can not find a different object ID for video campaigns.

 

I would appreciate your assistance.

 

 

1 Expert replyverified_user

Re: AdWords Scripts - Pulls for YouTube

Community Manager
# 2
Community Manager
Hi Michele,

Thanks for brining this to our attention. Since the migration to AdWords for Video is so new, I don't know if scripts are working yet for video campaigns. I'll check with the Video team and see what I can find out!

Cassie

Re: AdWords Scripts - Pulls for YouTube

Follower ✭ ☆ ☆
# 3
Follower ✭ ☆ ☆
Thank You, I look forward to a resolution.

Re: AdWords Scripts - Pulls for YouTube

Community Manager
# 4
Community Manager
Hi Michele,

I am still following up with the team to get an answer for you. Thanks very much for your patience!

Cassie

Re: AdWords Scripts - Pulls for YouTube

Visitor ✭ ✭ ✭
# 5
Visitor ✭ ✭ ✭
Hi Cassie,

I was wondering if there was any update here?

All the best,
Dawson.
Marked as Best Answer.
Solution
Accepted by Mini-CM (Community Manager)
December 2015

Re: AdWords Scripts - Pulls for YouTube

Community Manager
# 6
Community Manager
Hi Dawson,

Unfortunately there is still no estimated launch date for this feature. I will post back here when information is shared on the timeline for this.

Thanks for following up,
Cassie

Re: AdWords Scripts - Pulls for YouTube

Visitor ✭ ✭ ✭
# 7
Visitor ✭ ✭ ✭
Hello Cassie,
It's been about 3 months since the last answer here, I know scripts don't work with Video Campaigns yet, but maybe you have any update on this?