Hi Jay,

Apologies for responding it late, I'm able to update the devicePreference 
by sending devicePreference as null.

like this xml.

<?xml version="1.0" encoding="UTF-8"?>
<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 
soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next"; 
soapenv:mustUnderstand="0" 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>
      <ns1:authToken 
xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>******</ns1:authToken>
      <ns1:clientCustomerId>***</ns1:clientCustomerId>
      <ns1:developerToken>****</ns1:developerToken>
      <ns1:userAgent>INSERT_COMPANY_NAME (AwApi-Java/8.12.1, Axis/1.4, 
Java/1.7.0-google-v5, legacy)</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/v201306";>
      <operations>
        <operator>SET</operator>
        <operand>
          <feedId>1968</feedId>
          <feedItemId>80088</feedItemId>
          <devicePreference/>
        </operand>
      </operations>
    </mutate>
  </soapenv:Body>
  </soapenv:Envelope>
[24 Sep 2013 19:06:07,808 - DEBUG]
<?xml version="1.0" encoding="UTF-8"?>
  <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
    <soap:Header>
      <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>
        <requestId>0004e71e490b44a80a42194900002008</requestId>
        <serviceName>FeedItemService</serviceName>
        <methodName>mutate</methodName>
        <operations>0</operations>
        <responseTime>100</responseTime>
      </ResponseHeader>
    </soap:Header>
    <soap:Body>
      <mutateResponse 
xmlns="https://adwords.google.com/api/adwords/cm/v201306";>
        <rval>
          <ListReturnValue.Type>FeedItemReturnValue</ListReturnValue.Type>
          <value>
            <feedId>1968</feedId>
            <feedItemId>80088</feedItemId>
            <status>ACTIVE</status>
            <startTime>20131010 101010 Asia/Tokyo</startTime>
            <endTime>20131110 101010 Asia/Tokyo</endTime>
            <attributeValues>
              <feedAttributeId>1</feedAttributeId>
              <stringValue>http://code.google/</stringValue>
            </attributeValues>
            <attributeValues>
              <feedAttributeId>2</feedAttributeId>
              
<stringValue>http://code.google.com/p/google-api-adwords-java/wiki/NoClientLibrary</stringValue>
            </attributeValues>
            <scheduling>
              <feedItemSchedules>
                <dayOfWeek>MONDAY</dayOfWeek>
                <startHour>4</startHour>
                <startMinute>FIFTEEN</startMinute>
                <endHour>7</endHour>
                <endMinute>FORTY_FIVE</endMinute>
              </feedItemSchedules>
              <feedItemSchedules>
                <dayOfWeek>MONDAY</dayOfWeek>
                <startHour>8</startHour>
                <startMinute>FIFTEEN</startMinute>
                <endHour>20</endHour>
                <endMinute>FORTY_FIVE</endMinute>
              </feedItemSchedules>
            </scheduling>
          </value>
        </rval>
      </mutateResponse>
    </soap:Body>
  </soap:Envelope>



Or the code snippet for Java is like this.

    FeedItem feedItem = new FeedItem();
    feedItem.setFeedId(feedId);
    feedItem.setFeedItemId(feedItemId);
    FeedItemDevicePreference feedItemDevicePreference = new 
FeedItemDevicePreference();
    feedItemDevicePreference.setDevicePreference(null);
    feedItem.setDevicePreference(feedItemDevicePreference);

    FeedItemOperation operation = new FeedItemOperation();
    operation.setOperand(feedItem);
    operation.setOperator(Operator.SET);


Can you please try that?

Best,
- Takeshi, AdWords API Team

On Wednesday, September 18, 2013 10:11:53 AM UTC+9, Jay wrote:
>
> Hi Takeshi,
>
> Thanks for taking the time to review our issue. We are still experiencing 
> this today, enclosed is the most recent soaplog from a few minutes ago. 
> Scenario is the same where we have an AdExtension on AdWords with mobile 
> preference checked, and we could not remove it.
>
>
> Best Regards,
> Jay
>
> In message: <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 soapenv:actor="
> http://schemas.xmlsoap.org/soap/actor/next"; soapenv:mustUnderstand="0" 
> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201302";>
>    <ns1:authToken>.....</ns1:authToken>
>    <ns1:clientCustomerId>......</ns1:clientCustomerId>
>    <ns1:developerToken>......</ns1:developerToken>
>    <ns1:userAgent>.....</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/v201302";>
>    <operations>
>     <operator>SET</operator>
>     <operand>
>      <feedId>1161248</feedId>
>      <feedItemId>21426248</feedItemId>
>      <startTime>00000101 000000</startTime>
>      <endTime>00000101 000000</endTime>
>      <attributeValues>
>       <feedAttributeId>1</feedAttributeId>
>       <stringValue>desantura.ru</stringValue>
>      </attributeValues>
>      <attributeValues>
>       <feedAttributeId>2</feedAttributeId>
>       <stringValue>
> http://img.mediaplex.com/ad/ck?{copy:mprid}&amp;{copy:mpl}&amp;secrid={creative}&amp;senetid={ifsearch:search}{ifcontent:content}-sitelink&amp;mpro=http://www.desantura.ru<http://img.mediaplex.com/ad/ck?%7Bcopy:mprid%7D&%7Bcopy:mpl%7D&secrid=%7Bcreative%7D&senetid=%7Bifsearch:search%7D%7Bifcontent:content%7D-sitelink&mpro=http://www.desantura.ru>
> </stringValue>
>      </attributeValues>
>     </operand>
>    </operations>
>   </mutate>
>  </soapenv:Body>
> </soapenv:Envelope>
> = Out message: <soap:Envelope xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader 
> xmlns="https://adwords.google.com/api/adwords/cm/v201302";><requestId>0004e69e04c5be200ae77d4a00004334</requestId><serviceName>FeedItemService</serviceName><methodName>mutate</methodName><operations>1</operations><responseTime>159</responseTime><units>0</units></ResponseHeader></soap:Header><soap:Body><mutateResponse
>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201302
> "><rval><ListReturnValue.Type>FeedItemReturnValue</ListReturnValue.Type><value><feedId>1161248</feedId><feedItemId>21426248</feedItemId><status>ACTIVE</status><attributeValues><feedAttributeId>1</feedAttributeId><stringValue>
> desantura.ru
> </stringValue></attributeValues><attributeValues><feedAttributeId>2</feedAttributeId><stringValue>
> http://img.mediaplex.com/ad/ck?{copy:mprid}&amp;{copy:mpl}&amp;secrid={creative}&amp;senetid={ifsearch:search}{ifcontent:content}-sitelink&amp;mpro=http://www.desantura.ru<http://img.mediaplex.com/ad/ck?%7Bcopy:mprid%7D&%7Bcopy:mpl%7D&secrid=%7Bcreative%7D&senetid=%7Bifsearch:search%7D%7Bifcontent:content%7D-sitelink&mpro=http://www.desantura.ru>
> </stringValue></attributeValues><devicePreference><devicePreference>30001</devicePreference></devicePreference></value></rval></mutateResponse></soap:Body></soap:Envelope>
>
>
>

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

--- 
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.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to