URL_PERFORMANCE_REPORT not all urls listed

11 views
Skip to first unread message

Mihail Ma

unread,
Jun 28, 2018, 6:08:22 AM6/28/18
to AdWords API and Google Ads API Forum

Hi!
I have VideoAd, and when i see dispayed urls in Web Interface of AdWords - there are above 4000 youtube channels, but when I get it from URL_PERFORMANCE_REPORT by script - there only 183 URLs. Why??

My script:
var period = '20180625, 20180625';
function main() {
 
var videoIdList = [];


 
var report = AdWordsApp.report(
     
'SELECT CampaignName, Url, AdGroupName ' +
   
'FROM  URL_PERFORMANCE_REPORT ' +
   
'WHERE CampaignId = 1177713739 ' +
 
//   'AND AdNetworkType1 IN [YOUTUBE_SEARCH, YOUTUBE_WATCH] ' +
   
'DURING ' + period, { includeZeroImpressions : true });


 
var rows = report.rows();


 
while (rows.hasNext()) {
   
var row = rows.next();
   
var videoId = row['Url'];
    videoIdList
.push(videoId);
 
Logger.log(row['CampaignName'] + " - " + row['AdGroupName'] + " - " + row['Url']);
   
}
Logger.log("Total Rows - " + videoIdList.length);
}

Reply all
Reply to author
Forward
0 new messages