Hi Allvin,

It is not possible to remove AdGroups, only to set their status to
disabled.  This was true in the v13 API (
http://code.google.com/apis/adwords/docs/developer/AdGroupService.html
) and remains true in the V200906 API.  The Operator object is
currently shared between services, which is why it shows up as an
option even though it can't be used.

Best,
- Eric Koleda, AdWords API Team

On Aug 20, 6:29 pm, allvin <[email protected]> wrote:
> Hello
>
> I try to update my adGroups using v2009 API:
>
> List<AdGroupOperation> arAdGroupOperation = new List<AdGroupOperation>
> (_CurAdGroups.Count());
>
>             foreach (AdGroup objADG in _CurAdGroups)
>             {
>                 AdGroupOperation objAdGroupOperation = new
> AdGroupOperation();
>                 objAdGroupOperation.operand = objADG;
>                 objAdGroupOperation.operatorSpecified = true;
>                 objadgroupoperati...@operator =
> com.google.api.adwords.v200906.AdGroupService.Operator.REMOVE;
>
>                 arAdGroupOperation.Add(objAdGroupOperation);
>             }
>
> adGroupService.mutate(arAdGroupOperation.ToArray());
>
> And get following exception: "OperatorError.OPERATOR_NOT_SUPPORTED".
>
> Could anybody help me?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to