This is the script I have written in adword script writer but this script 
not give any row in the query, But when i was running report for campaign 
performance then it will give data.

this script not giving me any row in query

function main(){
  var report = AdWordsApp.report("Select 
CampaignName,Clicks,Impressions,Cost From CAMPAIGN_PERFORMANCE_REPORT 
DURING LAST_7_DAYS");
var rows = report.rows();
   while (rows.hasNext()) {
    var row = rows.next();
    var campaignName = row['CampaignName'];
    var clicks = row['Clicks'];
    var impressions = row['Impressions'];
    var cost = row['Cost'];
    Logger.log(campaignName + ',' + clicks + ',' + impressions + ',' + 
cost);
  }
}

So please give me hint or script how I can get same data for campaign 
performance report in my script. 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords 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 Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/0d3b7a96-eeb1-4c89-92be-bef872a450d3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to