I've been trying to switch to v201708 before the scheduled v201609 sunset 
but i'm getting the following error

[Google\AdsApi\AdWords\v201708\cm\ApiException]
[RateExceededError <rateName=RATE_LIMIT, rateKey=null, rateScope=ACCOUNT, 
retryAfterSeconds=30>]

Problem disappears when i switch back to old api.

I'm using the same account in both cases old library and new library
No additional operations besides this call


call:
POST /api/adwords/o/v201708/TargetingIdeaService?wsdl HTTP/1.1
Host: adwords.google.com
Connection: close
User-Agent: PHP-SOAP/5.6.30-10+deb.sury.org~precise+2
Content-Type: text/xml; charset=utf-8
SOAPAction: ""
Content-Length: 1677
Authorization: REDACTED

<?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:

HTTP/1.1 500 Internal Server Error
Content-Type: text/xml; charset=UTF-8
Date: Mon, 25 Sep 2017 15:47:02 GMT
Expires: Mon, 25 Sep 2017 15:47:02 GMT
Cache-Control: private, max-age=0
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Alt-Svc: quic=":443"; ma=2592000; v="40,39,38,37,35"
Accept-Ranges: none
Vary: Accept-Encoding
Connection: close

<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 &lt;rateName=RATE_LIMIT, rateKey=null, 
rateScope=ACCOUNT, retryAfterSeconds=30&gt;]</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 &lt;rateName=RATE_LIMIT, rateKey=null, 
rateScope=ACCOUNT, retryAfterSeconds=30&gt;]</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>



Thanks in advance

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a8d8a7dd-79d1-478a-ad86-2934f04db254%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to