Hi Jan,

Thank you for bringing this to our attention.  I'm able to replicate
the issue and it looks like the service currently isn't using the
operator field when returning unit counts.  I'll work with the core
engineering team to remedy the situation, but for the time being you
won't be able to break down the counts by operation.

Best,
- Eric Koleda, AdWords API Team

On Oct 3, 5:09 pm, Juno Internet KaufDA <mcc.kau...@googlemail.com>
wrote:
> Hello everyone,
>
> we are using the PHP client library with v200909 and want to estimate
> our API usage for specific operations with the InfoService and get the
> UNIT_COUNT of the services we use (CampaignService, AdGroupService
> etc.).
> Everything with methodName 'get' works great, but 'mutate' isn't
> working as expected. As far as the documentation goes, you can specify
> an operator (ADD, SET or REMOVE), if methodName is 'mutate' and you'll
> get the statistics of this operation.
>
> So if we want to get all units we spent on changing AdGroups (NOT
> adding or removing) we would set the following InfoSelector:
>
> $selector->serviceName = 'AdGroupService';
> $selector->methodName = 'mutate';
> $selector->operator = 'SET';
>
> If we want to get all units we spent on adding AdGroups we set:
>
> $selector->serviceName = 'AdGroupService';
> $selector->methodName = 'mutate';
> $selector->operator = 'ADD';
>
> Over the same DateRange, these should deliver different numbers, but
> this doesn't seem to work. Both requests succeed, but the numbers are
> exactly the same. Even not setting the operator returns the same unit
> costs, so we assume it just ignores the operator.
> Is there something we overlooked or misunderstood?
>
> Best regards
>
> Jan

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

Reply via email to