Hi all!
I need to get all URLs by company, where my videoAd had been displayed. If
I see it from AdWords web interface - for example for 25.06.2018 - there is
about 4000 youtube channels, where AD been displayed. But if I get it
from Url Performance Report by script - there only 180 urls((( WHY?????
There is 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);
}
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/f0018c72-928e-4c2c-aeed-91f9fd6cd43e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.