BiddingErrors.INVALID_BID occurring sporadically since 25.07.2015

277 views
Skip to first unread message

peter.r...@smarter-ecommerce.com

unread,
Jul 27, 2015, 9:23:27 AM7/27/15
to AdWords API Forum
Hi 

We experience sporadically occurring BiddingErrors.INVALID_BID errors when we send product partitions. First sight: 2015-07-25T02:31:05.650+02:00
Seen 23 times since then. Seen across multiple accounts.

It looks like, that sometimes the API does not accept a bid for partitions (see examples below). The error is not reproducible. It's not related to threading problems. We've got a simple single-threaded unit test that sporadically fails with this error (~1 out of 10-15 runs).
Adwords Api version is v201506. Java API version is 2.2.0.

Thanks! 
Peter

2015-07-27 12:41:07,521 1.1.1.RELEASE  WARN task-scheduler-16 AdWordsServiceClient.soapXmlLogger - 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:validateOnly>false</ns1:validateOnly>
            <ns1:partialFailure>false</ns1:partialFailure>
            ....
        </ns1:RequestHeader>
    </soapenv:Header>
    <soapenv:Body>
            <operations>
                <operator>ADD</operator>
                <operand xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201506" xsi:type="ns2:BiddableAdGroupCriterion">
                    <adGroupId>XXXXXXXXX</adGroupId>
                    <criterion xsi:type="ns2:ProductPartition">
                        <id>-2</id>
                        <partitionType>SUBDIVISION</partitionType>
                        <parentCriterionId>XXXXXXXX</parentCriterionId>
                        <caseValue xsi:type="ns2:ProductBrand">
                            <value>uco</value>
                        </caseValue>
                    </criterion>
                    <biddingStrategyConfiguration>
                        <bids xsi:type="ns2:CpcBid">
                            <bid>
                                <microAmount>800000</microAmount>
                            </bid>
                        </bids>
                    </biddingStrategyConfiguration>
                </operand>
            </operations>

....

        <ResponseHeader xmlns="https://adwords.google.com/api/adwords/cm/v201506">
            <requestId>00051bd8fdb71fa00ac4006bca04b828</requestId>
            <serviceName>AdGroupCriterionService</serviceName>
            <methodName>mutate</methodName>
            <operations>0</operations>
            <responseTime>248</responseTime>
        </ResponseHeader>

[BiddingErrors.INVALID_BID @ operations[0].operand.biddingStrategyConfiguration.bids; trigger:'CpcBid{bid=0.800000, contentBid=null, cpcBidSource=null}', ......

Francesco Puntar

unread,
Jul 27, 2015, 2:45:21 PM7/27/15
to AdWords API Forum, peter.r...@smarter-ecommerce.com
Hi we are having the same problem here everything was working till Friday evening and today we started getting this, initially it was sporadic and right now we steadily get always that error, no issues with v201502 though that still works yet the migration documentation doesn't mention any changes to this webservices and even the WSDLs compared side by side are not that different. It's disappointing having made the effort to upgrade to the latest version and finding out it was better to stay safe at v201502. I am sure we had this issue at the end of last year so it's not something new. Any news?
Cheers,
Francesco

Francesco Puntar

unread,
Jul 28, 2015, 6:44:01 AM7/28/15
to AdWords API Forum, peter.r...@smarter-ecommerce.com, francesco...@gmail.com
Here my request:

Content-Type: text/xml; charset=utf-8
Authorization: Bearer XXXXXXXXXXXXXXXXXXX
SOAPAction: ""
Content-Length: 1991
Expect: 100-continue
Accept-Encoding: gzip, deflate

  <s:Header>
      <clientCustomerId>XXXXXXXXX</clientCustomerId>
      <developerToken>XXXXXXXX</developerToken>
      <userAgent>XXXXXXXXX</userAgent>
      <validateOnly>true</validateOnly>
    </h:RequestHeader>
  </s:Header>
      <operations>
        <operator>ADD</operator>
        <operand xsi:type="BiddableAdGroupCriterion">
          <adGroupId>21778922962</adGroupId>
          <criterion xsi:type="ProductPartition">
            <id>-1</id>
            <partitionType>SUBDIVISION</partitionType>
          </criterion>
          <biddingStrategyConfiguration>
            <bids xsi:type="CpcBid">
              <bid>
                <microAmount>10000</microAmount>
              </bid>
            </bids>
          </biddingStrategyConfiguration>
        </operand>
      </operations>
      <operations>
        <operator>ADD</operator>
        <operand xsi:type="BiddableAdGroupCriterion">
          <adGroupId>21778922962</adGroupId>
          <criterion xsi:type="ProductPartition">
            <partitionType>UNIT</partitionType>
            <parentCriterionId>-1</parentCriterionId>
            <caseValue xsi:type="ProductOfferId">
              <value>10</value>
            </caseValue>
          </criterion>
          <biddingStrategyConfiguration>
            <bids xsi:type="CpcBid">
              <bid>
                <microAmount>10000</microAmount>
              </bid>
            </bids>
          </biddingStrategyConfiguration>
        </operand>
      </operations>
      <operations>
        <operator>ADD</operator>
        <operand xsi:type="BiddableAdGroupCriterion">
          <adGroupId>21778922962</adGroupId>
          <criterion xsi:type="ProductPartition">
            <partitionType>UNIT</partitionType>
            <parentCriterionId>-1</parentCriterionId>
            <caseValue xsi:type="ProductOfferId"/>
          </criterion>
          <biddingStrategyConfiguration>
            <bids xsi:type="CpcBid">
              <bid>
                <microAmount>10000</microAmount>
              </bid>
            </bids>
          </biddingStrategyConfiguration>
        </operand>
      </operations>
    </mutate>
  </s:Body>
</s:Envelope>

RESPONSE (PRODUCT_PARTITION_DOES_NOT_EXIST is only a consequence of INVALID_BID):

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Mon, 27 Jul 2015 16:56:26 GMT
Expires: Mon, 27 Jul 2015 16:56:26 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Accept-Ranges: none
Vary: Accept-Encoding
Content-Length: 2746

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Header>
      <requestId>00051bde3be7fbf10a0dd4029908a1db</requestId>
      <serviceName>AdGroupCriterionService</serviceName>
      <methodName>mutate</methodName>
      <operations>0</operations>
      <responseTime>891</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.010000, contentBid=null, cpcBidSource=null}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}']</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.010000, contentBid=null, cpcBidSource=null}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[1].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}', AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ operations[2].operand.criterion.parentCriterionId; trigger:'TempCriterionId{id=1}']</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.010000, contentBid=null, cpcBidSource=null}</trigger>
            <errorString>BiddingErrors.INVALID_BID</errorString>
            <ApiError.Type>BiddingErrors</ApiError.Type>
            <reason>INVALID_BID</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[1].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=1}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
          <errors xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="AdGroupCriterionError">
            <fieldPath>operations[2].operand.criterion.parentCriterionId</fieldPath>
            <trigger>TempCriterionId{id=1}</trigger>
            <errorString>AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST</errorString>
            <ApiError.Type>AdGroupCriterionError</ApiError.Type>
            <reason>PRODUCT_PARTITION_DOES_NOT_EXIST</reason>
          </errors>
        </ApiExceptionFault>
      </detail>
    </soap:Fault>
  </soap:Body>
</soap:Envelope>

Józef Janik

unread,
Jul 28, 2015, 9:34:04 AM7/28/15
to AdWords API Forum, peter.r...@smarter-ecommerce.com
We also began experiencing the issue as described on an integration test that was previously passing (no changes since previous build) using v201506.

Joe Rosenwald

unread,
Jul 28, 2015, 10:09:16 AM7/28/15
to AdWords API Forum, peter.r...@smarter-ecommerce.com
Also getting the exact same error, also started 7/25. Hoping a solution comes through soon.


On Monday, July 27, 2015 at 9:23:27 AM UTC-4, peter.r...@smarter-ecommerce.com wrote:

Michael Cloonan (AdWords API Team)

unread,
Jul 28, 2015, 10:49:33 AM7/28/15
to AdWords API Forum, peter.r...@smarter-ecommerce.com, peter.r...@smarter-ecommerce.com
Hello,

I've filed a bug with the engineering team, and I will keep this post updated as I find out more information. Thanks for the reports and the detailed information, everyone.

Regards,
Mike, AdWords API Team

On Monday, July 27, 2015 at 9:23:27 AM UTC-4, peter.r...@smarter-ecommerce.com wrote:

Józef Janik

unread,
Jul 28, 2015, 11:35:58 AM7/28/15
to AdWords API Forum, peter.r...@smarter-ecommerce.com, adwordsapiad...@google.com
I'm only seeing this error on ADD operations.  SET operations seem to be fine...

Michael Cloonan (AdWords API Team)

unread,
Jul 28, 2015, 1:12:22 PM7/28/15
to AdWords API Forum, j...@getsidecar.com, peter.r...@smarter-ecommerce.com, j...@getsidecar.com
Hello,

This change was intentional in v201506 of the API. Bids on subdivisions in product partitions are meaningless, and even setting them in the past had no effect on actual bidding. This is simply new validation that prevents you from even setting such bids.

Regards,
Mike, AdWords API Team

peter.r...@smarter-ecommerce.com

unread,
Jul 29, 2015, 6:44:52 AM7/29/15
to AdWords API Forum, j...@getsidecar.com, adwordsapiad...@google.com
Here is some more information for all of you reading this thread

-) Adwords does not accept bids for subdivisions anymore (see above). At least for us, the sporadical nature of this is gone since today - requests are now always rejected. 
-) When you send no bid, then Google applies a default bid (10000, or 0.01) for the subdivision (as documented here: https://developers.google.com/adwords/api/docs/reference/v201506/AdGroupCriterionService.BiddingStrategyConfiguration)
-) When you fetch the partition from the API again, then the partition is returned with the default bid (10000, or 0.01)
Message has been deleted

Stefan S.

unread,
Jun 30, 2016, 9:24:18 AM6/30/16
to AdWords API Forum, j...@getsidecar.com, peter.r...@smarter-ecommerce.com
Hello,

although up to now everything worked fine, we now receive the same API error (BiddingErrors.INVALID_BID) but only for one specific google shopping unit.
In our eyes it should be definitely the correct product UNIT type and the CPC in this case is set to 2,07€. Nevertheless we get the following error message:

<errorList><errors xsi:type="BiddingErrors"><fieldPath>operations[1].operand.biddingStrategyConfiguration.bids</fieldPath>
<trigger>CpcBid{bid=0.000000, contentBid=null, cpcBidSource=null}</trigger>
<errorString>BiddingErrors.INVALID_BID</errorString><ApiError.Type>BiddingErrors</ApiError.Type><reason>INVALID_BID</reason></errors></errorList>

It would be very kind if you or someone else in the API team can help us find our what is the problem in this case.
Our BatchJob ID is 315190981.

Many thanks in advance

Regards,
Stefan

Michael Cloonan (AdWords API Team)

unread,
Jul 1, 2016, 6:47:49 AM7/1/16
to AdWords API Forum, j...@getsidecar.com, peter.r...@smarter-ecommerce.com
Hello,

Can you provide the XML for the request portion that is producing this error, so I can take a closer look? Please include the entire operation so I can get a complete picture.

Regards,
Mike, AdWords API Team
Reply all
Reply to author
Forward
0 new messages