I was able to solve this problem by implementing better control in the number of calls my web app mas doing to the API.
On Monday, September 25, 2017 at 4:33:48 PM UTC-4, Alejandro Claure wrote: > > I've been trying to switch my php web app to use v201708 (currently > v201609) > > As soon as do the switch i start receiving: > > [Google\AdsApi\AdWords\v201708\cm\ApiException] > [RateExceededError <rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, > retryAfterSeconds=30>] > > If i switch back to the old version, everything seems to work fine. > > I'm using the same account in both cases, not doing additional operations > than these. > > call: > <?xml version="1.0" encoding="UTF-8"?> > <SOAP-ENV:Envelope > xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:ns1="https://adwords.google.com/api/adwords/o/v201708" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201708"> > <SOAP-ENV:Header> > <ns1:RequestHeader> > <ns2:clientCustomerId>REDACTED</ns2:clientCustomerId> > <ns2:developerToken>REDACTED</ns2:developerToken> > <ns2:userAgent>REDACTED (AwApi-PHP, > googleads-php-lib/29.0.0, PHP/5.6.30-10+deb.sury.org~precise+2) > </ns2:userAgent> > <ns2:validateOnly>false</ns2:validateOnly> > <ns2:partialFailure>false</ns2:partialFailure> > </ns1:RequestHeader> > </SOAP-ENV:Header> > <SOAP-ENV:Body> > <ns1:get> > <ns1:selector> > <ns1:searchParameters xsi:type= > "ns1:RelatedToQuerySearchParameter"> > <ns1:queries>google.com</ns1:queries> > <ns1:queries>facebook.com</ns1:queries> > <ns1:queries>tiwtter.com</ns1:queries> > </ns1:searchParameters> > <ns1:searchParameters xsi:type= > "ns1:NetworkSearchParameter"> > <ns1:networkSetting> > <ns2:targetGoogleSearch>true > </ns2:targetGoogleSearch> > <ns2:targetSearchNetwork>false > </ns2:targetSearchNetwork> > </ns1:networkSetting> > </ns1:searchParameters> > <ns1:ideaType>KEYWORD</ns1:ideaType> > <ns1:requestType>STATS</ns1:requestType> > <ns1:requestedAttributeTypes>KEYWORD_TEXT > </ns1:requestedAttributeTypes> > <ns1:requestedAttributeTypes>SEARCH_VOLUME > </ns1:requestedAttributeTypes> > <ns1:requestedAttributeTypes>AVERAGE_CPC > </ns1:requestedAttributeTypes> > <ns1:requestedAttributeTypes>COMPETITION > </ns1:requestedAttributeTypes> > <ns1:paging> > <ns2:startIndex>0</ns2:startIndex> > <ns2:numberResults>500 > </ns2:numberResults> > </ns1:paging> > </ns1:selector> > </ns1:get> > </SOAP-ENV:Body> > </SOAP-ENV:Envelope> > > > response: > > [Google\AdsApi\AdWords\v201708\cm\ApiException] > [RateExceededError <rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, > retryAfterSeconds=30>] > > <soap:Envelope > xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> > <soap:Header> > <ResponseHeader > xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201708" > xmlns="https://adwords.google.com/api/adwords/o/v201708"> > <ns2:requestId>REDACTED</ns2:requestId> > <ns2:serviceName>TargetingIdeaService</ns2:serviceName> > <ns2:methodName>get</ns2:methodName> > <ns2:operations>1</ns2:operations> > <ns2:responseTime>45</ns2:responseTime> > </ResponseHeader> > </soap:Header> > <soap:Body> > <soap:Fault> > <faultcode>soap:Server</faultcode> > <faultstring>[RateExceededError <rateName=RATE_LIMIT, rateKey=null, > rateScope=ACCOUNT, retryAfterSeconds=30>]</faultstring> > <detail> > <ApiExceptionFault > xmlns="https://adwords.google.com/api/adwords/o/v201708" > xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201708"> > <ns2:message>[RateExceededError <rateName=RATE_LIMIT, rateKey=null, > rateScope=ACCOUNT, retryAfterSeconds=30>]</ns2:message> > <ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type> > <ns2:errors > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:type="ns2:RateExceededError"> > <ns2:fieldPath></ns2:fieldPath> > <ns2:trigger></ns2:trigger> > <ns2:errorString>RateExceededError.RATE_EXCEEDED</ns2:errorString> > <ns2:ApiError.Type>RateExceededError</ns2:ApiError.Type> > <ns2:reason>RATE_EXCEEDED</ns2:reason> > <ns2:rateName>RATE_LIMIT</ns2:rateName> > <ns2:rateScope>ACCOUNT</ns2:rateScope> > <ns2:retryAfterSeconds>30</ns2:retryAfterSeconds> > </ns2:errors> > </ApiExceptionFault> > </detail> > </soap:Fault> > </soap:Body> > </soap:Envelope> > > > I would like to be able to do the migration before the old API sunset. > > Thank you. > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/74cc69d4-28cd-4b56-831a-f6d893145b07%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.