Hi Eric,
StatsSelector parameter returns "ALL" Network statistics. We want to
have the click and view statistics of each ad group. If we try to set
the network parameter the returning value is the same with the "All"
Network stats. We only want to have the statistics of the "Automatic
Content(Display) Network". The function we used is given below.
Sample:
$selector = new AdGroupSelector();
$selector->campaignId = (float) $campaignID;
$selector->statsSelector = new StatsSelector();
$selector->statsSelector->dateRange = new DateRange("20110101",
"20110105");
I tried this:
$selector = new AdGroupSelector();
$selector->campaignId = (float) $campaignID;
$selector->statsSelector = new StatsSelector();
$selector->statsSelector->dateRange = new DateRange("20110101",
"20110105");
$selector->statsSelector->network = "CONTENT";
or
$selector = new AdGroupSelector();
$selector->campaignId = (float) $campaignID;
$selector->network = "CONTENT";
$selector->statsSelector = new StatsSelector();
$selector->statsSelector->dateRange = new DateRange("20110101",
"20110105");On Jan 5, 12:50 am, AdWords API Advisor <[email protected]> wrote: > Hi Onur, > > Are you referring to the Stats object returned by using the > StatsSelector? Those values should contain the Automatic Placements > data. Are you seeing otherwise? > > Best, > - Eric Koleda, AdWords API Team > > On Dec 29 2010, 7:44 am, Onur <[email protected]> wrote: > > > > > We want to have the “Automatic Content Network(Display Network)” > > statistics of each ad group. We can only have the keyword and content > > placement statistics using the “stats” function. Could you help us > > which function(or formula) we should use to achieve the statistics. -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and discussion group: http://adwordsapi.blogspot.com http://groups.google.com/group/adwords-api =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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
