Meaning of [AdGroupCriterionError.CONCRETE_TYPE_REQUIRED @ operations[0].operand]

401 views
Skip to first unread message

Dominic Asche

unread,
Mar 9, 2015, 1:37:31 PM3/9/15
to adwor...@googlegroups.com
When we try to rewrite the targetURLs of the keywords within an AdGroup we receive from the API the error:
  •  [AdGroupCriterionError.CONCRETE_TYPE_REQUIRED @ operations[0].operand]

This error came with the upgrarde from v201406 to v201409 but we have no clue about the meaning.

In some other post I've read something about ...
AdGroupCriterion needed to be BiddableAdGroupCriterion 
... but I get no clue on that. 

Thanet Knack Praneenararat (AdWords API Team)

unread,
Mar 11, 2015, 2:42:03 AM3/11/15
to adwor...@googlegroups.com
Hi Dominic,

Probably, you haven't set the AdGroupCriterion type correctly. 
To use SET and ADD operations for AdGroupCriterion objects, a concrete type (e.g., BIddableAdGroupCriterion as compared to AdGroupCriterion) should be provided.

If you use Java, you can refer to this example to see how BiddableAdGroupCriterion is used with SET operations to modify updates a bid of the keyword.
This might be similar to what you would like to do in your code.

You can find examples for other languages from the repositories here.

Cheers,
Thanet
Reply all
Reply to author
Forward
0 new messages