Hi, Anash.

That worked!  I'm not sure why just a Criterion object with the right id
works for search and PLA campaigns but not shopping campaigns, but I'm glad
we can set them now.

Thanks for the help,
Greg


On Fri, Nov 7, 2014 at 12:13 PM, <adwords-api@googlegroups.com> wrote:

> Hi Greg,
>
> Could you try sending a Platform object instead of a criterion object in
> your requests?
>
> Cheers,
> Anash
>
> On 10/27/14 13:46:16 g...@finch.com wrote:
>
> Hi, Anash.
>
> Any news on this?
>
> Thanks,
> Greg
>
> On Monday, October 20, 2014 4:01:18 PM UTC-5, GregT wrote:
>
> Hi, Anash.
>
> I switched over to the new v201409 API that was just recently released,
> using the latest Java API library.  It still doesn't work.  It now gives a
> reasonable exception, rather than just the generic "fault occurred while
> processing" error.  However, you had said on Sep 24 that the fix that
> should be going live was that we'd be able to set these bid modifiers on ad
> groups in shopping campaigns now (as can be done in the UI for shopping
> campaigns and could be done in the API for the old PLA campaigns)?
>
> An example request from today:
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2
> 001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="https://adwords.goo
> gle.com/api/adwords/cm/v201409" soapenv:mustUnderstand="0">
>             <ns1:clientCustomerId>redacted</ns1:clientCustomerId>
>             <ns1:developerToken>redacted</ns1:developerToken>
>             <ns1:userAgent>redacted</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/v201409";>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>19190905510</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.548885077186964</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>19190905390</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>2.5</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>19190905270</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.48611111111111116</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>19190905150</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.48611111111111116</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>19190905030</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>1.25</bidModifier>
>                 </operand>
>             </operations>
>         </mutate>
>     </soapenv:Body>
> </soapenv:Envelope>
> 10-20-14 15:48:08,472  [main] WARN soapXmlLogger - SOAP Response:
> <?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/v201409">
>             <requestId>000505e0d4e0e1500ab68045b8004eee</requestId>
>             <serviceName>AdGroupBidModifierService</serviceName>
>             <methodName>mutate</methodName>
>             <operations>5</operations>
>             <responseTime>61</responseTime>
>         </ResponseHeader>
>     </soap:Header>
>     <soap:Body>
>         <soap:Fault>
>             <faultcode>soap:Server</faultcode>
>             <faultstring>[OperationAccessDenied.OPERATION_NOT_PERMITTED_
> FOR_CAMPAIGN_TYPE @ operations[0].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[1].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[2].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[3].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[4].operand.criterion; trigger:'SHOPPING']</faultstring>
>             <detail>
>                 <ApiExceptionFault xmlns="https://adwords.google.
> com/api/adwords/cm/v201409">
>                     <message>[OperationAccessDenied.
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @ operations[0].operand.criterion;
> trigger:'SHOPPING', OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_
> CAMPAIGN_TYPE @ operations[1].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[2].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[3].operand.criterion; trigger:'SHOPPING',
> OperationAccessDenied.OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE @
> operations[4].operand.criterion; trigger:'SHOPPING']</message>
>                     <ApplicationException.Type>ApiException</
> ApplicationException.Type>
>                     <errors xmlns:xsi="http://www.w3.org/2
> 001/XMLSchema-instance" xsi:type="OperationAccessDenied">
>                         <fieldPath>operations[0].opera
> nd.criterion</fieldPath>
>                         <trigger>SHOPPING</trigger>
>                         <errorString>OperationAccessDenied.
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</errorString>
>                         <ApiError.Type>OperationAccessDenied</
> ApiError.Type>
>                         <reason>OPERATION_NOT_PERMITTE
> D_FOR_CAMPAIGN_TYPE</reason>
>                     </errors>
>                     <errors xmlns:xsi="http://www.w3.org/2
> 001/XMLSchema-instance" xsi:type="OperationAccessDenied">
>                         <fieldPath>operations[1].opera
> nd.criterion</fieldPath>
>                         <trigger>SHOPPING</trigger>
>                         <errorString>OperationAccessDenied.
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</errorString>
>                         <ApiError.Type>OperationAccessDenied</
> ApiError.Type>
>                         <reason>OPERATION_NOT_PERMITTE
> D_FOR_CAMPAIGN_TYPE</reason>
>                     </errors>
>                     <errors xmlns:xsi="http://www.w3.org/2
> 001/XMLSchema-instance" xsi:type="OperationAccessDenied">
>                         <fieldPath>operations[2].opera
> nd.criterion</fieldPath>
>                         <trigger>SHOPPING</trigger>
>                         <errorString>OperationAccessDenied.
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</errorString>
>                         <ApiError.Type>OperationAccessDenied</
> ApiError.Type>
>                         <reason>OPERATION_NOT_PERMITTE
> D_FOR_CAMPAIGN_TYPE</reason>
>                     </errors>
>                     <errors xmlns:xsi="http://www.w3.org/2
> 001/XMLSchema-instance" xsi:type="OperationAccessDenied">
>                         <fieldPath>operations[3].opera
> nd.criterion</fieldPath>
>                         <trigger>SHOPPING</trigger>
>                         <errorString>OperationAccessDenied.
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</errorString>
>                         <ApiError.Type>OperationAccessDenied</
> ApiError.Type>
>                         <reason>OPERATION_NOT_PERMITTE
> D_FOR_CAMPAIGN_TYPE</reason>
>                     </errors>
>                     <errors xmlns:xsi="http://www.w3.org/2
> 001/XMLSchema-instance" xsi:type="OperationAccessDenied">
>                         <fieldPath>operations[4].opera
> nd.criterion</fieldPath>
>                         <trigger>SHOPPING</trigger>
>                         <errorString>OperationAccessDenied.
> OPERATION_NOT_PERMITTED_FOR_CAMPAIGN_TYPE</errorString>
>                         <ApiError.Type>OperationAccessDenied</
> ApiError.Type>
>                         <reason>OPERATION_NOT_PERMITTE
> D_FOR_CAMPAIGN_TYPE</reason>
>                     </errors>
>                 </ApiExceptionFault>
>             </detail>
>         </soap:Fault>
>     </soap:Body>
> </soap:Envelope>
>
> Thanks,
> Greg
>
>
>
> On Wednesday, October 8, 2014 9:55:53 AM UTC-5, Anash P. Oommen (AdWords
> API Team) wrote:
>
> Hi Greg,
>
> I've been told that this will work from the next API version onwards,
> since we had to expose new exception types for this change, and that would
> require us to break the wsdls already published for previous versions.
>
> Cheers,
> Anash
>
> On Tuesday, October 7, 2014 7:07:18 PM UTC-4, GregT wrote:
>
> Hi again, Anash.
>
> It's been another couple weeks, and still the exact same error trying to
> send mobile bid modifiers on ad groups in shopping campaigns.  A request id
> from today is 000504dd2f1afa710aecde062c00771c.  Any word on this?
>
> Thanks again,
> Greg
>
> On Wednesday, September 24, 2014 3:07:48 PM UTC-5, GregT wrote:
>
> Hi, Anash.
>
> Just tried again right now, and still failing with the exact same error.
> Here's the SOAP log:
>
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2
> 001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="https://adwords.goo
> gle.com/api/adwords/cm/v201406" soapenv:mustUnderstand="0">
>             <ns1:clientCustomerId>redacted</ns1:clientCustomerId>
>             <ns1:developerToken>redacted</ns1:developerToken>
>             <ns1:userAgent>redacted (AwApi-Java, AdWords-Axis/1.30.0,
> Common-Java/1.30.0, Axis/1.4, Java/1.7.0_67, 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/v201406";>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>18951418870</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.24999999999999997</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>18951418990</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.48611111111111116</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>18951419230</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>2.5</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>18951419110</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.48611111111111116</bidModifier>
>                 </operand>
>             </operations>
>             <operations>
>                 <operator>ADD</operator>
>                 <operand>
>                     <adGroupId>18951419350</adGroupId>
>                     <criterion>
>                         <id>30001</id>
>                     </criterion>
>                     <bidModifier>0.548885077186964</bidModifier>
>                 </operand>
>             </operations>
>         </mutate>
>     </soapenv:Body>
> </soapenv:Envelope>
> 09-24-14 15:01:25,935  [main] WARN soapXmlLogger - SOAP Response:
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/";>
>     <
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CAMZ2fXU8oqp2aA5cqUoq0w%3DjkGPRR4mC6ng748FKeVUH-W8Jsw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to