Hi Lucas,

The CONCRETE_TYPE_REQUIRED error normally occurs if you are not specifying
the type of Criterion that you are trying to mutate. Based on your SOAP
request, it seems like you did not specify the type in your operand. You
may refer below for sample request log for this operation.

<soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
            <operations>
                <operator>ADD</operator>
                <operand xmlns:ns2="
https://adwords.google.com/api/adwords/cm/v201809";
xsi:type="ns2:NegativeAdGroupCriterion">
                    <ns2:adGroupId>47976756421</ns2:adGroupId>
                    <ns2:criterion xsi:type="ns2:Gender">
                        <ns2:id>10</ns2:id>
                    </ns2:criterion>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>


Thanks and regards,
Luis
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    http://googleadsdeveloper.blogspot.com/search/label/adwords_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/28/19 04:57:16 [email protected] wrote:

Hello there.

I'm trying to specify a negative gender criterion for one of my adgroups,
I'm sending the following XML:

<mutate xmlns="https://adwords.google.com/api/adwords/cm/v201809";>
    <operations>
        <operator>ADD</operator>
        <operand>
            <adGroupId>67746674096</adGroupId>
            <criterionUse>NEGATIVE</criterionUse>
            <criterion xsi:type="Gender">
                <id>11</id>
            </criterion>
        </operand>
    </operations>
</mutate>

And I get back the following error:
AdGroupCriterionError.CONCRETE_TYPE_REQUIRED

I'm not sure what I'm doing wrong. Can you guys help?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/111d2cdc-3f42-490b-81fc-f2d3900618d8%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/111d2cdc-3f42-490b-81fc-f2d3900618d8%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18i9q50000000000o35kfo001oud2ey74mjee9l68o30c1g68qjcdpi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Negativ... Lucas Pelegrino
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to