Hi,

To get the unit count per method you would use the UNIT_COUNT
apiUsageType while also specifying the serviceName and methodName
fields of the selector.

  <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/
envelope/" xmlns:v20="https://adwords.google.com/api/adwords/info/
v200909" xmlns:v201="https://adwords.google.com/api/adwords/cm/
v200909">
     <soapenv:Header>
        <v20:RequestHeader>
          ...
        </v20:RequestHeader>
     </soapenv:Header>
     <soapenv:Body>
        <v20:get>
           <v20:selector>
              <v20:serviceName>CampaignService</v20:serviceName>
              <v20:methodName>get</v20:methodName>
              <v20:dateRange>
                 <v201:min>20090701</v201:min>
                 <v201:max>20091201</v201:max>
              </v20:dateRange>
              <v20:apiUsageType>UNIT_COUNT</v20:apiUsageType>
           </v20:selector>
        </v20:get>
     </soapenv:Body>
  </soapenv:Envelope>

Best,
- Eric Koleda, AdWords API Team

On Apr 9, 5:08 pm, BeeGeez <brianpgra...@gmail.com> wrote:
> The v13 info service has a method called GetUnitCountForMethod.  The
> METHOD_COST apiUsageType is a replacement for the GetMethodCost() v13
> method but the Per-Call Migration Guide doesn't offer a replacment for
> GetUnitCountForMethod.  Any suggestions?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 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

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

Reply via email to