Hi,

The StatsSelector doesn't have a network field, and doesn't support
segmenting by network type:

  
http://code.google.com/apis/adwords/v2009/docs/reference/CampaignService.StatsSelector.html

The only way to get this information is to use the ReportService and
include the AdWordsType (aka Ad Distribution) column:

  
http://code.google.com/apis/adwords/docs/developer/adwords_api_report_campaign.html

Best,
- Eric Koleda, AdWords API Team

On Apr 13, 9:58 pm, Dave L <[email protected]> wrote:
> Hi,
>
> I have a campaign with both Search and Content network on. For
> example, when I login to Google Adwords account, I can see that I have
> 70 Impressions from SEARCH network and 28,469 impressions from CONTENT
> networks.
>
> I set the StatsSelector.network to "SEARCH" only, however, the return
> data is the sum of SEARCH and CONTENT stats. How do I get separate
> stats for "SEARCH and "CONTENT"?
>
> Here is my XML request:
> =====================
> <soap:Body>
> <get xmlns="https://adwords.google.com/api/adwords/cm/v200909";>
> <selector>
> <ids>17205693</ids>
> <statsSelector>
> <dateRange>
> <min>20100413</min>
> <max>20100413</max>
> </dateRange>
> <startDate/>
> <endDate/>
> <network>SEARCH</network>
> <clicks/>
> <impressions/>
> <cost/>
> <averagePosition/>
> <averageCpc/>
> <averageCpm/>
> <ctr/>
> <conversions/>
> </statsSelector>
> </selector>
> </get>
> </soap:Body>
> </soap:Envelope>
>
> Here is part of the return data:
> ======================
>
> <stats>
> <startDate>20100413</startDate>
> <endDate>20100413</endDate>
> <network>ALL</network>
> <clicks>53</clicks>
> <impressions>28539</impressions><cost>
> <ComparableValue.Type>Money</ComparableValue.Type>
> <microAmount>23890000</microAmount></cost>
> <averagePosition>1.4669750166438909</averagePosition>
> <averageCpc><ComparableValue.Type>Money</ComparableValue.Type>
> <microAmount>450755</microAmount></averageCpc>
> <averageCpm><ComparableValue.Type>Money</
> ComparableValue.Type><microAmount>837100</microAmount></averageCpm>
> <ctr>0.001857107817372718</ctr><conversions>0</
> conversions><conversionRate>0.0</
> conversionRate><costPerConversion><ComparableValue.Type>Money</
> ComparableValue.Type><microAmount>0</microAmount></
> costPerConversion><conversionsManyPerClick>0</
> conversionsManyPerClick><conversionRateManyPerClick>0.0</
> conversionRateManyPerClick>
> <
> costPerConversionManyPerClick><ComparableValue.Type>Money</
> ComparableValue.Type><microAmount>0</microAmount>
> </costPerConversionManyPerClick>
> <Stats.Type>Stats</Stats.Type>
> </stats>
>
> ============================
>
> As you can see from above, it returns total impressions 28539 = 70 +
> 28469. How do I get separate value for Search and Content?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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

To unsubscribe, reply using "remove me" as the subject.

Reply via email to