Hi everyone. If someone can help me, I will really appreciate it.

I am trying to get some basic information from a Campaign under my test MCC 
account. I am using Selector Fields 
<https://developers.google.com/adwords/api/docs/appendix/selectorfields#v201409-AdGroupService>
 to 
do so. 

I can get the Campaign Id, the Campaign Name, and some other info... but I 
just cannot find a way to retrieve the number of click at the Campaign 
Level, nor the Ad Groups level.

Basically, I'm just trying to get all the information from this table:

<https://lh3.googleusercontent.com/-uaEeGeSnd3M/VRMyx1hqHZI/AAAAAAAAAAM/e1HzQDls9os/s1600/Capture%2BForum.PNG>
I can get my Campaign Name also... I just don't find any selector which I 
could retrieve those clicks. 

Here is an example of what I'm doing in C#:

AdWordsUser user = new AdWordsUser();

            CampaignService campaignService = 
(CampaignService)user.GetService(AdWordsService.v201409.CampaignService);
            DataService dataService = 
(DataService)user.GetService(AdWordsService.v201409.DataService);
            AdGroupService adGroupService = 
(AdGroupService)user.GetService(AdWordsService.v201409.AdGroupService);

            Selector CampaignServiceSelector = new Selector();
            CampaignServiceSelector.fields = new string[] { "Name", "Id", 
"Status" };


            Selector DataServiceSelector = new Selector();
            DataServiceSelector.fields = new string[] {"LocalClicks", 
"LocalImpressions"};

            Selector adGroupServiceSelector = new Selector();
            adGroupServiceSelector.fields = new string[] { "Status", "Name" 
};


            var campaignInfo = campaignService.get(CampaignServiceSelector);
            var dataServiceInfo = 
dataService.getCriterionBidLandscape(DataServiceSelector);
            var adGroupServiceInfo = 
adGroupService.get(adGroupServiceSelector);

I'm just "playing" with the selectors, and I have a pretty good idea of how 
I will create the report that I want. I just don't find a selector to 
retrieve those clicks that I marked yellow at that picture. I tried to use 
DataService object, which have a method called "getAdGroupBidLandscape" 
that seems to have a selector that could work (LocalClicks) but when I use 
it, the code returns 0 entries.

I'm lost! What selector I should use to retrieve those clicks? 

Please help! Thank you :)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/43fa7cfb-52c8-4a76-bf81-47cb17448091%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to