Hi,

This is the intended behavior of the REMOVE operator.  The result of
removing an AdGroupCriterion will be:

- Complete removal of the AGC if it never received any impressions.
- The AGC will remain but in the DELETED status if it ever received
any impressions.

Best,
- Eric Koleda, AdWords API Team

On Mar 4, 9:08 pm, ryo <[email protected]> wrote:
> Hi,
>
> I want to know the behavior you delete a BiddableAdGroupCriterion.
>
> AdGroupCriterionOperation operation = new AdGroupCriterionOperation();
> operation.setOperator(Operator.REMOVE);
>
> BiddableAdGroupCriterion biddableCriterion = new
> BiddableAdGroupCriterion();
> biddableCriterion.setAdGroupId(123456789L);
> Keyword keyword = new Keyword();
> keyword.setId(987654321L);
> keyword.setText("keyword # 2010-03-01");
> keyword.setMatchType(KeywordMatchType.EXACT);
> biddableCriterion.setCriterion(keyword);
>
> operation.setOperand(biddableCriterion);
>
> AdGroupCriterion[] results = adGroupCriterionService.mutate(new
> AdGroupCriterionOperation[]{operation}).getValue();
>
> In this case, results[0].userStatus returns NULL.
> Which is this behavior correct or wrong(BUG)?
>
> If to return null is the correct behavior when I delete, is there
> other case which return null?

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