Hello, Url Performance Report does not return placements URLs that had no 
clicks, only had impressions. Is there a way to get those? 

function main() {
  
var spreadsheetUrl = 'https://docs.google.com/spreadsheets/d/...';
var spreadsheet = SpreadsheetApp.openByUrl(spreadsheetUrl);
var tabName = 'Placements Report';

var QUERIES = [{'query' : 'SELECT Url, CampaignName, Impressions, Clicks ' +
                'FROM   URL_PERFORMANCE_REPORT ' +
                'DURING ' + 'YESTERDAY',
                'reportVersion' : 'v201806'
               }];

  for(var i in QUERIES) {
    var queryObject = QUERIES[i];
    var query = queryObject.query;
    var reportVersion = queryObject.reportVersion;
    var sheet = spreadsheet.getSheetByName(tabName);
    var report = AdWordsApp.report(query, {apiVersion: reportVersion});
    report.exportToSheet(sheet);
  }
}


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
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 adwords-api+unsubscr...@googlegroups.com.
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/0e88f5f0-5fbf-4bcf-bade-f2c1d2d7891a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... sergiy . zasukha
    • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum
      • ... sergiy . zasukha
        • ... 'Luis Xander Talag (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to