Hello,

This forum is for help with the AdWords API. We have a separate forum for 
help with AdWords Scripts 
<https://groups.google.com/forum/#!forum/adwords-scripts>. Please try 
asking your question there.

Regards,
Mike, AdWords API Team

On Thursday, November 20, 2014 11:54:18 AM UTC-5, jitendra rawat wrote:
>
> 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/600d6a80-877f-4e56-954f-4f05f13a3c80%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to