I'm developing an app for ios to show information of adwords' accounts, 
there is no an api to do this so I used gtm-auth in order to log in, i get 
the refresh token and de customerId of a test account, after this i send 
the next request

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:v20="https://adwords.google.com/api/adwords/cm/v201502";>
   <soapenv:Header>
      <v20:RequestHeader>
         <!--Optional:-->
         <v20:clientCustomerId>xxx-xxx-xxxx</v20:clientCustomerId>
         <!--Optional:-->
         <v20:developerToken>xxxxxxxxxxxxxxxxxxxxxx</v20:developerToken>
         <!--Optional:-->
         <v20:userAgent>?</v20:userAgent>
         <!--Optional:-->
         <v20:validateOnly>?</v20:validateOnly>
         <!--Optional:-->
         <v20:partialFailure>?</v20:partialFailure>
      </v20:RequestHeader>
   </soapenv:Header>
   <soapenv:Body>
      <v20:get>
         <!--Optional:-->
         <v20:serviceSelector>
            <!--Zero or more repetitions:-->
            <v20:fields>?</v20:fields>
            <!--Zero or more repetitions:-->
            <v20:predicates>
               <!--Optional:-->
               <v20:field>?</v20:field>
               <!--Optional:-->
               <v20:operator>?</v20:operator>
               <!--Zero or more repetitions:-->
               <v20:values>?</v20:values>
            </v20:predicates>
            <!--Optional:-->
            <v20:dateRange>
               <!--Optional:-->
               <v20:min>?</v20:min>
               <!--Optional:-->
               <v20:max>?</v20:max>
            </v20:dateRange>
            <!--Zero or more repetitions:-->
            <v20:ordering>
               <!--Optional:-->
               <v20:field>?</v20:field>
               <!--Optional:-->
               <v20:sortOrder>?</v20:sortOrder>
            </v20:ordering>
            <!--Optional:-->
            <v20:paging>
               <!--Optional:-->
               <v20:startIndex>?</v20:startIndex>
               <!--Optional:-->
               <v20:numberResults>?</v20:numberResults>
            </v20:paging>
         </v20:serviceSelector>
      </v20:get>
   </soapenv:Body>
</soapenv:Envelope>

and the server response with : 

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
   <soap:Header>
      <ResponseHeader 
xmlns="https://adwords.google.com/api/adwords/cm/v201502";>
         <requestId>000515f8227ce7480ab695e8a1006913</requestId>
         <serviceName>CampaignService</serviceName>
         <methodName>get</methodName>
         <operations>0</operations>
         <responseTime>146</responseTime>
      </ResponseHeader>
   </soap:Header>
   <soap:Body>
      <soap:Fault>
         <faultcode>soap:Server</faultcode>
         <faultstring>[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'&lt;null>']</faultstring>
         <detail>
            <ApiExceptionFault 
xmlns="https://adwords.google.com/api/adwords/cm/v201502";>
               <message>[AuthenticationError.NOT_ADS_USER @ ; 
trigger:'&lt;null>']</message>
              
 <ApplicationException.Type>ApiException</ApplicationException.Type>
               <errors xsi:type="AuthenticationError" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
                  <fieldPath/>
                  <trigger>&lt;null></trigger>
                  
<errorString>AuthenticationError.NOT_ADS_USER</errorString>
                  <ApiError.Type>AuthenticationError</ApiError.Type>
                  <reason>NOT_ADS_USER</reason>
               </errors>
            </ApiExceptionFault>
         </detail>
      </soap:Fault>
   </soap:Body>
</soap:Envelope>

my developer token is pending but i read that it will work if a used a test 
account, also, when i get the information of the user the customerId is a 
different number, not with the format i put before, i have tried with both 
customerId but i still get this error, i need to know if the access_token 
it's necessary, the documentation said that yes, but i don`t have a field 
to include it.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d8d4d51d-3e94-419a-a50b-5b42ef96e846%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to