Hello!
I have just started to work with AdWords API. I need to get data from the API as a object. These are the things I need to get:
1. I want to retrieve campaigns with its performances like Clicks, Impressions, InteractionRate etc.
2. For one specific campaign, I want to get all its ads, keywords.
3. To a specific ad or keyword, I need to get all its performances(Clicks, Impressions, CTR, etc)
I am confused about the way I have to get this, I know I can get basic info for a campaign, for example:
CampaignService campaignService =
(CampaignService)user.GetService(AdWordsService.v201609.CampaignService);
Selector selector = new Selector()
{
fields = new string[] {
Campaign.Fields.Status,
},
paging = Paging.Default
};
Anyone could refer me where I can see examples how get these things? (1) how do I have to set the id, what views or tables do I need to use for this?
campaignService , CampaignCriterionService,CAMPAIGN_PERFORMANCE_REPORT, etc
The same to get the ads, keywords per campaign or its performances (2) (3)
I want to create my own objects to be loaded from the API, they will be shown in my HTML views.
Thank you