While "Deleted is a valid status, I don't believe that you can set the
status of something to "Deleted", I think you actually have to delete
it. After you do, it's status will be returned as "Deleted".

On Jun 27, 4:22 pm, kush <kushva...@outofboundscommunications.com>
wrote:
> Ya i tried the above method in php. But, it throws
> "Invalid_user_status" exception.
> But, it is a valid user status according to the API document.
> Please suggest if there is any alternative for this.
>
> On Jun 27, 3:12 pm, jstedman <jason.sted...@thesearchagency.com>
> wrote:
>
>
>
>
>
>
>
> > If you are using the Java libraries, you may try setting it using the
> > enum in the UserStatus class, something like:
>
> > biddableAdGroupCriterion.setUserStatus(UserStatus.DELETED);
>
> > If that doesn't work, setting a keywords status to deleted may not be
> > supported as it could have unintended results, like keywords actually
> > being deleted in some kind of DB garbage collection routine.

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