Hello, It does look like you're making progress, because this is a different error than you had been getting before. Please take a look at our common errors page for the NOT_ADS_USER <https://developers.google.com/adwords/api/docs/common-errors#AuthenticationError.NOT_ADS_USER> error. Are you sure that you're using a refresh/access token for the AdWords MCC account you have set up? If not, try getting a new refresh token using your MCC account and use that instead of the one you currently have.
Regards, Mike, AdWords API Team On Saturday, May 31, 2014 12:13:31 AM UTC-4, Manjula Naidu wrote: > > Hi, > > Thanks for response,I am implementing in objective c,thats why no > client libraries supporting my requirement,I am implemented > TargetIdeaService ,but i am still facing problem,i am getting this is error > response , > > *<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>0004faa98f40a0c80a429d0a78003d5d</ns2:requestId><ns2:serviceName>TargetingIdeaService</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.NOT_ADS_USER > > @ ; trigger:'<null>']</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.NOT_ADS_USER > > @ ; > trigger:'<null>']</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><null></ns2:trigger><ns2:errorString>AuthenticationError.NOT_ADS_USER</ns2:errorString><ns2:ApiError.Type>AuthenticationError</ns2:ApiError.Type><ns2:reason>NOT_ADS_USER</ns2:reason></ns2:errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>* > > > what is going wrong,i am really getting problem,could you help in > this,thanks in advance. > > > On Fri, May 30, 2014 at 5:44 PM, Michael Cloonan (AdWords API Team) < > adwordsapiadvisor+mich...@google.com> wrote: > >> Hello, >> >> I strongly recommend using one of our client libraries >> <https://developers.google.com/adwords/api/docs/clientlibraries>. These >> will handle creating the SOAP request for you and ensure that they are >> valid. For example, using our Ruby client library, I was able to generate >> this XML with minimal effort, which succeeds in making a request: >> >> <env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi=" >> http://www.w3.org/2001/XMLSchema-instance" xmlns:wsdl=" >> https://adwords.google.com/api/adwords/o/v201402" xmlns:env=" >> http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns0=" >> https://adwords.google.com/api/adwords/cm/v201402"> >> <env:Header> >> <wsdl:RequestHeader xmlns=" >> https://adwords.google.com/api/adwords/cm/v201402"> >> <userAgent>INSERT_USER_AGENT_HERE</userAgent> >> <developerToken>INSERT_DEVELOPER_TOKEN_HERE</developerToken> >> <clientCustomerId>INSERT_CLIENT_CUSTOMER_ID_HERE</clientCustomerId> >> </wsdl:RequestHeader> >> </env:Header> >> <env:Body> >> <get xmlns="https://adwords.google.com/api/adwords/o/v201402"> >> <selector> >> <searchParameters xsi:type="RelatedToQuerySearchParameter"> >> <queries>INSERT_KEYWORD_TEXT_HERE</queries> >> </searchParameters> >> <searchParameters xsi:type="LanguageSearchParameter"> >> <languages> >> <ns0:id>1000</ns0:id> >> </languages> >> </searchParameters> >> <ideaType>KEYWORD</ideaType> >> <requestType>IDEAS</requestType> >> <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes> >> <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes> >> >> <requestedAttributeTypes>CATEGORY_PRODUCTS_AND_SERVICES</requestedAttributeTypes> >> <paging> >> <ns0:startIndex>0</ns0:startIndex> >> <ns0:numberResults>100</ns0:numberResults> >> </paging> >> </selector> >> </get> >> </env:Body> >> </env:Envelope> >> >> You could adapt this SOAP request for the TargetingIdeaService to suit >> your needs, but I think a better long-term solution is to use one of our >> pre-made utilities that handles all of this for you. >> >> Regards, >> Mike, AdWords API Team >> >> On Friday, May 30, 2014 7:17:52 AM UTC-4, Manjula Naidu wrote: >>> >>> Hi, >>> >>> >>> URL:*https://adwords.google.com/api/adwords/o/v201402/TargetingIdeaService?wsdl >>> >>> <https://adwords.google.com/api/adwords/o/v201402/TargetingIdeaService?wsdl>* >>> >>> *HttpHeader:**{* >>> >>> * Authorization = "Bearer >>> ya29.JgDdHNzO_X-mhiAAAABLWp4whWp_EZkdJvzNH3ptVXXe8SI6k5Fmjum5HAgOgA";* >>> >>> * "Content-Type" = "application/soap+xml";* >>> >>> *}* >>> *Soap Body :* >>> >>> >>> *<?xml version="1.0" encoding="UTF-8"?>* >>> >>> *<soapenv:Envelope >>> xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/ >>> <http://schemas.xmlsoap.org/soap/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>">* >>> >>> * <soapenv:Header>* >>> >>> * <ns1:RequestHeader >>> soapenv:actor="http://schemas.xmlsoap.org/soap/actor/next >>> <http://schemas.xmlsoap.org/soap/actor/next>" soapenv:mustUnderstand="0" >>> xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>">* >>> >>> * >>> <ns1:clientCustomerId>$clientCustomerId</ns1:clientCustomerId>* >>> >>> * <ns1:developerToken>$developerToken</ns1:developerToken>* >>> >>> * <ns1:userAgent>$userAgent</ns1:userAgent>* >>> >>> * <ns1:validateOnly>false</ns1:validateOnly>* >>> >>> * <ns1:partialFailure>false</ns1:partialFailure>* >>> >>> * </ns1:RequestHeader>* >>> >>> * </soapenv:Header>* >>> >>> * <soapenv:Body>* >>> >>> * <get xmlns="https://adwords.google.com/api/adwords/o/v201402 >>> <https://adwords.google.com/api/adwords/o/v201402>">* >>> >>> * <selector>* >>> >>> * <searchParameters xmlns:ns7="* >>> >>> * https://adwords.google.com/api/adwords/o/v201402 >>> <https://adwords.google.com/api/adwords/o/v201402>"* >>> >>> * xsi:type="ns7:RelatedToQuerySearchParameter">* >>> >>> * <ns7:queries>flower</ns7:queries>* >>> >>> * </searchParameters>* >>> >>> * <searchParameters xmlns:ns8="* >>> >>> * https://adwords.google.com/api/adwords/o/v201402 >>> <https://adwords.google.com/api/adwords/o/v201402>"* >>> >>> * xsi:type="ns8:NetworkSearchParameter">* >>> >>> * <ns8:networkSetting>* >>> >>> * <ns9:targetGoogleSearch xmlns:ns9="* >>> >>> * >>> https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>">true* >>> >>> * </ns9:targetGoogleSearch>* >>> >>> * <ns10:targetSearchNetwork xmlns:ns10="* >>> >>> * >>> https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>* >>> >>> * ">false</ns10:targetSearchNetwork>* >>> >>> * <ns11:targetContentNetwork xmlns:ns11="* >>> >>> * >>> https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>* >>> >>> * ">false</ns11:targetContentNetwork>* >>> >>> * <ns12:targetPartnerSearchNetwork xmlns:ns12="* >>> >>> * >>> https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>* >>> >>> * ">false</ns12:targetPartnerSearchNetwork>* >>> >>> * </ns8:networkSetting>* >>> >>> * </searchParameters>* >>> >>> * <ideaType>KEYWORD</ideaType>* >>> >>> * <requestType>STATS</requestType>* >>> >>> * >>> <requestedAttributeTypes>KEYWORD_TEXT</requestedAttributeTypes>* >>> >>> >>> >>> * >>> <requestedAttributeTypes>SEARCH_VOLUME</requestedAttributeTypes>* >>> >>> >>> >>> * >>> <requestedAttributeTypes>TARGETED_MONTHLY_SEARCHES</requestedAttributeTypes>* >>> >>> * <paging>* >>> >>> * <ns13:startIndex xmlns:ns13="* >>> >>> * >>> https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>">0</ns13:startIndex>* >>> >>> * <ns14:numberResults xmlns:ns14="* >>> >>> * >>> https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>">10</ns14:numberResults>* >>> >>> * </paging>* >>> >>> * </selector>* >>> >>> * </get>* >>> >>> * </soapenv:Body>* >>> >>> >>> >>> *</soapenv:Envelope>* >>> >>> >>> >>> *Response:* >>> >>> >>> >>> *<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/ >>> <http://schemas.xmlsoap.org/soap/envelope/>"><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>Unmarshalling >>> >>> Error: unexpected element >>> (uri:"https://adwords.google.com/api/adwords/cm/v201402 >>> <https://adwords.google.com/api/adwords/cm/v201402>", >>> local:"RequestHeader"). Expected elements are >>> <{https://adwords.google.com/api/adwords/o/v201402}ApiExceptionFault> >>> <https://adwords.google.com/api/adwords/o/v201402%7DApiExceptionFault>>;,<{https://adwords.google.com/api/adwords/o/v201402}RequestHeader> >>> >>> <https://adwords.google.com/api/adwords/o/v201402%7DRequestHeader>>;,<{https://adwords.google.com/api/adwords/o/v201402}ResponseHeader> >>> >>> <https://adwords.google.com/api/adwords/o/v201402%7DResponseHeader>>;,<{https://adwords.google.com/api/adwords/o/v201402}get> >>> >>> <https://adwords.google.com/api/adwords/o/v201402%7Dget>>;,<{https://adwords.google.com/api/adwords/o/v201402}getBulkKeywordIdeas> >>> >>> <https://adwords.google.com/api/adwords/o/v201402%7DgetBulkKeywordIdeas>>;,<{https://adwords.google.com/api/adwords/o/v201402}getBulkKeywordIdeasResponse> >>> >>> <https://adwords.google.com/api/adwords/o/v201402%7DgetBulkKeywordIdeasResponse>>;,<{https://adwords.google.com/api/adwords/o/v201402}getResponse> >>> >>> <https://adwords.google.com/api/adwords/o/v201402%7DgetResponse>>; >>> </faultstring></soap:Fault></soap:Body></soap:Envelope>* >>> >>> >>> What exactly problem i am really not getting,please could you help what >>> exact problem, i am waiting response.Thanks in advance. >>> >>> >>> Thanks®ards >>> >>> >>> 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. >> > > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.