Hello,

The error message you're seeing doesn't seem to be related to the 
TargetingIdeaService. Are you able to make any other API requests using 
v201402?

Specifically, it looks like you are not passing a valid OAuth 2.0 header as 
part of the request. Make sure that you are following the instructions on 
our OAuth 2.0 setup 
guide<https://developers.google.com/adwords/api/docs/guides/authentication>. 
If you have already completed these steps, make sure that you correctly 
copy/pasted all OAuth 2.0 information from your sources into the correct 
configuration areas. You may have missed or changed a character in the 
refresh token accidentally.

Regards,
Mike, AdWords API Team

On Wednesday, May 28, 2014 6:54:55 AM UTC-4, Manjula Naidu wrote:
>
> Hi ,
>
>        while migrating from v201309 to v201402 In TargetIdeaservice i am 
> getting error response like this
>
> URL:
>
> *https://adwords.google.com/api/adwords/o/v201402/TrafficEstimatorService?wsdl
>  
> <https://adwords.google.com/api/adwords/o/v201402/TrafficEstimatorService?wsdl>*
>
>
> Soap format:
>
>
> * <?xml version="1.0" encoding="UTF-8"?>*
>
> *<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema 
> <http://www.w3.org/2001/XMLSchema>" 
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> <http://www.w3.org/2001/XMLSchema-instance>" 
> xmlns:wsdl="https://adwords.google.com/api/adwords/o/v201402 
> <https://adwords.google.com/api/adwords/o/v201402>" 
> xmlns:env="http://schemas.xmlsoap.org/soap/envelope/ 
> <http://schemas.xmlsoap.org/soap/envelope/>"  
> xmlns:cm="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">*
>
> *    <env:Header>*
>
> *        <wsdl:RequestHeader 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">*
>
> *            <userAgent>SmartWords iPad App</userAgent>*
>
> *            
> <developerToken>ya29.JABDDF34jebM5CAAAACjBUkxs-XAssWs3nXKmUVYIMtCVBRhqCB34OrlJ1PhiA</developerToken>*
>
> *            <clientCustomerId>5200559437</clientCustomerId>*
>
> *                     </wsdl:RequestHeader>*
>
> *    </env:Header>*
>
> *    <env:Body>*
>
> *        <get xmlns="https://adwords.google.com/api/adwords/o/v201402 
> <https://adwords.google.com/api/adwords/o/v201402>">*
>
> *            <selector>*
>
> *                <campaignEstimateRequests>*
>
>                     
>
> *                    <adGroupEstimateRequests>*
>
> *                        <keywordEstimateRequests>*
>
> *    <wsdl:keyword 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">*
>
> *        <text>flower</text>*
>
> *        <matchType>EXACT</matchType>*
>
> *    </wsdl:keyword>*
>
> *</keywordEstimateRequests>*
>
>
> *                        <wsdl:maxCpc 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">*
>
> *                            <microAmount>10000000</microAmount>*
>
> *                        </wsdl:maxCpc>*
>
> *                    </adGroupEstimateRequests>*
>
>                     
>
> *                    <networkSetting>*
>
> *                        <targetGoogleSearch 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">true</targetGoogleSearch>*
>
> *                        <targetSearchNetwork 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">false</targetSearchNetwork>*
>
> *                        <targetContentNetwork 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">false</targetContentNetwork>*
>
> *                        <targetPartnerSearchNetwork 
> xmlns="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>">false</targetPartnerSearchNetwork>*
>
> *                    </networkSetting>*
>
> *                </campaignEstimateRequests>*
>
> *            </selector>*
>
> *        </get>*
>
> *    </env:Body>*
>
> *</env:Envelope>*
>
>
> This is response i am getting
>
>
>
> *<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ 
> <http://schemas.xmlsoap.org/soap/envelope/>"><soap:Header><ResponseHeader 
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>" 
> xmlns="https://adwords.google.com/api/adwords/o/v201402 
> <https://adwords.google.com/api/adwords/o/v201402>"><ns2:requestId>0004fa736c75a5380a446f25ee001c67</ns2:requestId><ns2:serviceName>TrafficEstimatorService</ns2:serviceName><ns2:methodName>get</ns2:methodName><ns2:operations>0</ns2:operations><ns2:responseTime>105</ns2:responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[AuthenticationError.OAUTH_TOKEN_HEADER_INVALID
>  
> @ ; trigger:'&lt;null&gt;']</faultstring><detail><ApiExceptionFault 
> xmlns="https://adwords.google.com/api/adwords/o/v201402 
> <https://adwords.google.com/api/adwords/o/v201402>" 
> xmlns:ns2="https://adwords.google.com/api/adwords/cm/v201402 
> <https://adwords.google.com/api/adwords/cm/v201402>"><ns2:message>[AuthenticationError.OAUTH_TOKEN_HEADER_INVALID
>  
> @ ; 
> trigger:'&lt;null&gt;']</ns2:message><ns2:ApplicationException.Type>ApiException</ns2:ApplicationException.Type><ns2:errors
>  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance 
> <http://www.w3.org/2001/XMLSchema-instance>" 
> xsi:type="ns2:AuthenticationError"><ns2:fieldPath></ns2:fieldPath><ns2:trigger>&lt;null&gt;</ns2:trigger><ns2:errorString>AuthenticationError.OAUTH_TOKEN_HEADER_INVALID</ns2:errorString><ns2:ApiError.Type>AuthenticationError</ns2:ApiError.Type><ns2:reason>OAUTH_TOKEN_HEADER_INVALID</ns2:reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>*
>
>       could you help in this , i need urgent,thanks in advance.
>
>
> Thanks&regards
> R.manjula
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to