You'll need to save the original operations array and index into it based 
on where you are in the results. The order of the operations will be 
preserved.

On Wednesday, November 6, 2013 10:38:26 AM UTC-5, goingdev wrote:
>
> How do I get the operator ( add/ remove / set) from a job result?
>
>         MutateJobService mutateJobService = 
> (MutateJobService)user.GetService(AdWordsService.v201309.MutateJobService);
>         JobResult jobResult = mutateJobService.getResult(new 
> BulkMutateJobSelector { includeStats = true, jobIds = jobIDs });
>         SimpleMutateResult results = (SimpleMutateResult)jobResult.Item;
>
>         if (results.results != null)
>         {
>             for (int i = 0; i < results.results.Length; i++)
>             {
>                 Operand operand = results.results[i];
>                 var operandType = operand.Item.GetType();
>                 if (operandType.BaseType.Name == "AdGroupCriterion")
>                 {
>                     AdGroupCriterion adGroupCriterion = 
> (AdGroupCriterion)operand.Item;
>                    * // how to get operator (add/remove/set)?*
>                 }
>             }
>         }
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.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
--- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to