I need to get all this data from the API as an object, I get a bit confused 
because the examples always download in a format. I need to get the data 
retrieved with these tables or views and populate as an object in C#, not 
download in a file. if there is no any view or table give me these values, 
how can I convert the stream retrieved from the performance report to an 
object?
when you use campaignService, you can get de fields like this after 
executing the query:
*foreach (Campaign campaign in page.entries)*
*{*
*    myCAmpaignObject.id =  campaign.id <http://campaign.id/>;*
*    myCAmpaignObject.name =  campaign.name <http://campaign.name/>,*
*    ....*
*}*

I was looking for something similar to get all performance
Thank you

On Tuesday, February 7, 2017 at 6:36:01 PM UTC, Shwetha Vastrad (AdWords 
API Team) wrote:
>
> Hi,
>
> You can use the API services listed here 
> <https://developers.google.com/adwords/api/docs/reference/> to retrieve 
> structure and content information of your account. You need to use AdWords 
> API reports to retrieve performance data for your account. In your case, 
> you can do the following:
>
>    1. You can use Campaign Performance Report 
>    
> <https://developers.google.com/adwords/api/docs/appendix/reports/campaign-performance-report>
>  to 
>    retrieve performance data for your campaigns as this report aggregates 
>    statistics at the campaign level. 
>    2. You need to use AdGroupAdService and AdGroupCriterionService to 
>    retrieve the Ads and keywords in your account. You can use Ad 
>    Performance Report 
>    
> <https://developers.google.com/adwords/api/docs/appendix/reports/ad-performance-report>
>     and Keywords Performance Report 
>    
> <https://developers.google.com/adwords/api/docs/appendix/reports/keywords-performance-report>
>  for 
>    this purpose as well. The GetTextAds 
>    
> <https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201609/BasicOperations/GetTextAds.cs>
>  and 
>    the GetKeywords 
>    
> <https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201609/BasicOperations/GetKeywords.cs>
>  examples 
>    demonstrate how to use these services to retrieve your ads and keywords 
>    respectively. 
>    3. The Ad Performance Report and the Keywords Performance Report will 
>    provide performance data aggregated at the Ad and Keyword level. The 
>    DownloadCriteriaReport 
>    
> <https://github.com/googleads/googleads-dotnet-lib/blob/master/examples/AdWords/CSharp/v201609/Reporting/DownloadCriteriaReport.cs>
>  example 
>    downloads a Criteria Performance Report 
>    
> <https://developers.google.com/adwords/api/docs/appendix/reports/criteria-performance-report>.
>  
>    You need to change the report definition as needed to download the report 
>    of your choice. AdWords API reports can be downloaded in the formats 
> listed 
>    here 
>    
> <https://developers.google.com/adwords/api/docs/guides/reporting#supported_download_formats>
>    .
>
> Each client library has example code for a few common use cases. You can 
> use these as a reference while implementing your application. Example code 
> in other examples is available here 
> <https://developers.google.com/adwords/api/docs/clientlibraries>. 
>
> Regards,
> Shwetha, 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/b96ba204-ea4d-41f0-840a-7c19820473c9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to