Hi Milind,

Thanks for your reply. I tried with the logging info that you provided and 
given below are my XML request and response
*Request:*
[13 Mar 2018 13:44:43.955] [pacman-system-akka.actor.default-dispatcher-21] 
DEBUG 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP request:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <soapenv:Header>
        <ns1:RequestHeader 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201710"; 
soapenv:mustUnderstand="0">
            <ns1:clientCustomerId>935-132-4820</ns1:clientCustomerId>
            <ns1:developerToken>REDACTED</ns1:developerToken>
            
<ns1:userAgent>marinsoftware.com:marin-google-api-coordinator:C02MF1S0FD 
(AwApi-Java, AdWords-Axis/3.10.0, Common-Java/3.10.0, Axis/1.4, 
Java/1.8.0_92, maven)</ns1:userAgent>
            <ns1:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
        <mutate xmlns="https://adwords.google.com/api/adwords/cm/v201710";>
            <operations>
                <operator>REMOVE</operator>
                <operand>
                    <campaignId>1120864295</campaignId>
                    <criterion 
xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201710"; 
xsi:type="ns2:CriterionUserList">
                        <ns2:id>329331701420</ns2:id>
                        <ns2:userListId>111423006</ns2:userListId>
                    </criterion>
                    
<campaignCriterionStatus>REMOVED</campaignCriterionStatus>
                </operand>
            </operations>
            <operations>
                <operator>REMOVE</operator>
                <operand>
                    <campaignId>1120864292</campaignId>
                    <criterion 
xmlns:ns3="https://adwords.google.com/api/adwords/cm/v201710"; 
xsi:type="ns3:CriterionUserList">
                        <ns3:id>329331701420</ns3:id>
                        <ns3:userListId>111423006</ns3:userListId>
                    </criterion>
                    
<campaignCriterionStatus>REMOVED</campaignCriterionStatus>
                </operand>
            </operations>
        </mutate>
    </soapenv:Body>
</soapenv:Envelope>


*Response:*

[13 Mar 2018 13:44:43.955] [pacman-system-akka.actor.default-dispatcher-21] 
DEBUG 
com.google.api.ads.adwords.lib.client.AdWordsServiceClient.soapXmlLogger - 
SOAP response:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
        <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201710";>
            <requestId>00056751540d97310a37c941370d4f82</requestId>
            <serviceName>CampaignCriterionService</serviceName>
            <methodName>mutate</methodName>
            <operations>2</operations>
            <responseTime>157</responseTime>
        </ResponseHeader>
    </soap:Header>
    <soap:Body>
        <mutateResponse 
xmlns="https://adwords.google.com/api/adwords/cm/v201710";>
            <rval>
                
<ListReturnValue.Type>CampaignCriterionReturnValue</ListReturnValue.Type>
                <value>
                    <campaignId>1120864295</campaignId>
                    <isNegative>false</isNegative>
                    <criterion 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionUserList">
                        <id>329331701420</id>
                        <type>USER_LIST</type>
                        <Criterion.Type>CriterionUserList</Criterion.Type>
                        <userListId>111423006</userListId>
                        <userListName>watch</userListName>
                    </criterion>
                    <bidModifier>1.0</bidModifier>
                    
<campaignCriterionStatus>ACTIVE</campaignCriterionStatus>
                    
<CampaignCriterion.Type>CampaignCriterion</CampaignCriterion.Type>
                </value>
                <value>
                    <campaignId>1120864292</campaignId>
                    <isNegative>false</isNegative>
                    <criterion 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:type="CriterionUserList">
                        <id>329331701420</id>
                        <type>USER_LIST</type>
                        <Criterion.Type>CriterionUserList</Criterion.Type>
                        <userListId>111423006</userListId>
                        <userListName>watch</userListName>
                    </criterion>
                    <bidModifier>1.0</bidModifier>
                    
<campaignCriterionStatus>ACTIVE</campaignCriterionStatus>
                    
<CampaignCriterion.Type>CampaignCriterion</CampaignCriterion.Type>
                </value>
            </rval>
        </mutateResponse>
    </soap:Body>
</soap:Envelope>


As you can see in this response, the campaignCriterionStatus is returned as 
ACTIVE in this XML response.

Thanks,
Sriram


On Monday, March 12, 2018 at 8:49:55 AM UTC-7, Milind Sankeshware (AdWords 
API Team) wrote:
>
> Hi Jtian,
>
> Please find below details,
>
>    1. Could you please enable the log and share the SOAP request and 
>    response along with the client customer ID. To enable the log please 
> follow 
>    the steps in this guide 
>    <https://github.com/googleads/googleads-java-lib/wiki/Logging>. 
>    2. Yes, it is expected behavior. In AdGroupCriterionService.mutate() 
>    
> <https://developers.google.com/adwords/api/docs/reference/v201802/AdGroupCriterionService#mutate>
>     with REMOVE 
>    
> <https://developers.google.com/adwords/api/docs/reference/v201802/AdGroupCriterionService.Operator>
>  operator, 
>    you will not get values for userStatus and bidMofdifier. 
>
> Let me know if you have further questions. 
>
> Thanks,
> Milind, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/73f44d45-bc52-4ef4-b1c2-069054505529%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • SET_OPERATIO... Sriram V
    • Re: SET... 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
    • Re: SET... 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
      • Re:... 'jtian' via AdWords API Forum
    • Re: SET... 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum
      • Re:... Sriram V
    • Re: SET... 'Milind Sankeshware (AdWords API Team)' via AdWords API Forum

Reply via email to