Hi Josh,

you are completely right. It was a SUBDIVISION. It works for UNIT nodes 
without problems. Thank you very much. A more pointed error-message would 
be helpfull. INVALID_BID sounds like something wrong with the bid. I was 
looking in the wrong direction. But now its solved.

Thanks
Alex



On Wednesday, August 19, 2015 at 8:11:08 PM UTC+2, Josh Radcliff (AdWords 
API Team) wrote:
>
> Hi Alex,
>
> I see that the partition in your request is a SUBDIVISION partition. I 
> think this is what's leading to the error, since bids can only be set on 
> UNIT partitions. Please try updating the bid on a UNIT partition and let me 
> know if you still encounter issues.
>
> Thanks,
> Josh, AdWords API Team
>
> On Wednesday, August 19, 2015 at 3:40:51 AM UTC-4, Alex wrote:
>>
>> Hi Anthony,
>>
>> thank you for your help. As suggested I replaced "keyword" by 
>> "productPartition". The only required field for ProductPartition is Id. For 
>> "ADD"-operations "partitionType" is also requried, but I do an 
>> "SET"-operation. Just to be sure, I added a partitionType to my request, 
>> but it didnt help either. Keep getting INVALID_BID errors.
>>
>>
>> SOAP Request:
>> <?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 xmlns:ns1="
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> soapenv:mustUnderstand="0">
>>             <ns1:clientCustomerId>1645187874</ns1:clientCustomerId>
>>             <ns1:developerToken>removed</ns1:developerToken>
>>             <ns1:userAgent>ads2people sem editor (AwApi-Java, 
>> AdWords-Axis/2.2.0, Common-Java/2.2.0, Axis/1.4, Java/1.8.0_05, 
>> 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/v201506
>> ">
>>             <operations>
>>                 <operator>SET</operator>
>>                 <operand xmlns:ns2="
>> https://adwords.google.com/api/adwords/cm/v201506"; 
>> xsi:type="ns2:BiddableAdGroupCriterion">
>>                     <ns2:adGroupId>20148587642</ns2:adGroupId>
>>                     <ns2:criterion xsi:type="ns2:ProductPartition">
>>                         <ns2:id>65168470096</ns2:id>
>>                         <ns2:partitionType>SUBDIVISION</ns2:partitionType>
>>                     </ns2:criterion>
>>                     <ns2:biddingStrategyConfiguration>
>>                         <ns2:bids xsi:type="ns2:CpcBid">
>>                             <ns2:bid>
>>                                 <ns2:microAmount>290000</ns2:microAmount>
>>                             </ns2:bid>
>>                         </ns2:bids>
>>                     </ns2:biddingStrategyConfiguration>
>>                 </operand>
>>             </operations>
>>         </mutate>
>>     </soapenv:Body>
>> </soapenv:Envelope>
>>
>>
>> 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/v201506";>
>>             <requestId>00051da50a5597000a0dd0c77e051fb1</requestId>
>>             <serviceName>AdGroupCriterionService</serviceName>
>>             <methodName>mutate</methodName>
>>             <operations>0</operations>
>>             <responseTime>84</responseTime>
>>         </ResponseHeader>
>>     </soap:Header>
>>     <soap:Body>
>>         <soap:Fault>
>>             <faultcode>soap:Server</faultcode>
>>             <faultstring>[BiddingErrors.INVALID_BID @ 
>> operations[0].operand.biddingStrategyConfiguration.bids; 
>> trigger:'CpcBid{bid=0.290000, contentBid=null, 
>> cpcBidSource=null}']</faultstring>
>>             <detail>
>>                 <ApiExceptionFault xmlns="
>> https://adwords.google.com/api/adwords/cm/v201506";>
>>                     <message>[BiddingErrors.INVALID_BID @ 
>> operations[0].operand.biddingStrategyConfiguration.bids; 
>> trigger:'CpcBid{bid=0.290000, contentBid=null, 
>> cpcBidSource=null}']</message>
>>                     
>> <ApplicationException.Type>ApiException</ApplicationException.Type>
>>                     <errors xmlns:xsi="
>> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="BiddingErrors">
>>                         
>> <fieldPath>operations[0].operand.biddingStrategyConfiguration.bids</fieldPath>
>>                         <trigger>CpcBid{bid=0.290000, contentBid=null, 
>> cpcBidSource=null}</trigger>
>>                         
>> <errorString>BiddingErrors.INVALID_BID</errorString>
>>                         <ApiError.Type>BiddingErrors</ApiError.Type>
>>                         <reason>INVALID_BID</reason>
>>                     </errors>
>>                 </ApiExceptionFault>
>>             </detail>
>>         </soap:Fault>
>>     </soap:Body>
>> </soap:Envelope>
>>
>>
>>
>>
>>
>>
>> Am Dienstag, 18. August 2015 17:52:14 UTC+2 schrieb Anthony Madrigal:
>>>
>>> Hey Alex,
>>>
>>> Based on your SOAP request, it seems that your criterion type is 
>>> Keyword. Since you want to set the bid for product partitions, try setting 
>>> the criterion type to ProductPartition 
>>> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupCriterionService.BiddableAdGroupCriterion#criterion>.
>>>  
>>> Once you do that, make sure you have all the required fields 
>>> <https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupCriterionService.ProductPartition>
>>>  and 
>>> set the bid.
>>>
>>> If you are still facing the same issue after doing all this, please let 
>>> me know.
>>>
>>> Cheers,
>>> Anthony
>>> 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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/4229bd1f-b286-4dd0-ba03-bd68f9ca6799%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to