Re: Java API Cove Sample Campaign_Performance_Report

2016-10-12 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

You may retrieve the response as a string object. Please refer to the below 
code for an example :

  ReportDownloadResponse response =
  new ReportDownloader(session).downloadReport(query, 
DownloadFormat.CSV);
  Comment out the save to file line
  //response.saveToFile(reportFile);
  String responseAsString = response.getAsString();
  You may then parse the String object as needed


Hope this helps.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/d9804cae-be6e-44fc-9f53-521acd896020%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Java API Cove Sample Campaign_Performance_Report

2016-10-12 Thread ntdmbot01
Hi Peter,

It was useful thanks for the update but i need it to be in a object not to 
download as a file, what are the classes used to get the response and 
execute the query(service objects and return type objects so i can use them 
to do further operations).

On Wednesday, October 12, 2016 at 5:50:40 AM UTC-5, Peter Oliquino wrote:
>
> Hi,
>
> You could try this example in Java 
> 
>  and 
> you may use the below sample AWQL query to generate the Campaign 
> Performance Report  
> 
> :
>
> String query = "SELECT CampaignId, CampaignName, Clicks, Impressions FROM 
> CAMPAIGN_PERFORMANCE_REPORT"; 
>
>
> For AdGroup and Ad performance specific reports, you may use the AdGroup 
> Performance 
> 
>  and Ad Performance 
> 
>  reports 
> respectively. You may also refer to this guide 
>  for 
> more information regarding reports.
>
> Best regards,
> Peter
> AdWords API Team
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/252ae23e-0c49-48d9-b296-37b353f9b71a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Java API Cove Sample Campaign_Performance_Report

2016-10-12 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

You could try this example in Java 

 and 
you may use the below sample AWQL query to generate the Campaign 
Performance Report  

:

String query = "SELECT CampaignId, CampaignName, Clicks, Impressions FROM 
CAMPAIGN_PERFORMANCE_REPORT"; 


For AdGroup and Ad performance specific reports, you may use the AdGroup 
Performance 

 and Ad Performance 

 reports 
respectively. You may also refer to this guide 
 for more 
information regarding reports.

Best regards,
Peter
AdWords API Team

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/18ba8b98-e785-4c23-90af-ff179cec93ac%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Java API Cove Sample Campaign_Performance_Report

2016-10-12 Thread ntdmbot01
Im an newbie to adwords, Im trying to get campaign performance report where 
you can get most of the campaign details can anyone share a code snippet to 
retrieve it I am able to get the campaigns, adgroups and ads but I  need a 
detailing on Campaign on the number of clicks, impressions etc.

A code snippet for java api  will be very useful 
Thanks in advance,

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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 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/b8243354-0f5d-447b-9c51-06fdf4ff525a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.