Hi Yashu,

You need to enter credit card information to activate your token and accept 
AdWords API Terms and Conditions. After that, you will be able to use the 
token to make calls to your test account. Once your token is reviewed and 
approved, you will be able to make calls to production accounts as well.

Cheers,
Anash P. Oommen
AdWords API Advisor.

On Tuesday, September 10, 2013 12:46:24 PM UTC+5:30, Yashu Gupta wrote:
>
> I have been struggling to run adword api with a test account from quite 
> some time. I have also read related threads before asking. 
>
> MCC Customer ID: 269-130-1053
> My MCC account is not a test account. Billing + T&C are set and accepted.
>
> Test Account Client ID: 182-461-0989
> Test account was setup under above MCC account.
>
> I am using the adword java api library 
> https://code.google.com/p/google-api-ads-java/ examples to test my 
> account. Reading the instructions from README and  
> 1. Did changes in ads.properties to setup clientId and clientSecret. 
> 2. clientCustomerId is set to above Test Account i.e. 182-461-0989
> 3. developerToken is the pending approval token from above MCC account. 
> (as per docs approved token is not required for accessing test account)
> 2. Generated the refreshToken using mvn -X exec:java 
> -Dexec.mainClass="adwords.axis.auth.GetRefreshToken" and updated 
> ads.properties
> 3. Made call to getcampaigns using mvn -X exec:java 
> -Dexec.mainClass="adwords.axis.v201302.basicoperations.GetCampaigns"
>
> Please help me know where I am doing it wrong. Is it with the setup of my 
> test account? Please note that MCC account is NOT test account (as 
> required) but the adword account under it is a test account.
>
> Below is the request/response trace.
>
> [10 Sep 2013 
> 12:22:04,235-soapXmlLogger:WARN:adwords.axis.v201302.basicoperations.GetCampaigns.main()]
>  
> SOAP Request:
> <?xml version="1.0" encoding="UTF-8"?><soapenv:Envelope xmlns:soapenv="
> http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="
> http://www.w3.org/2001/XMLSchema"; xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance";>
>     <soapenv:Header>
>         <ns1:RequestHeader xmlns:ns1="
> https://adwords.google.com/api/adwords/cm/v201302"; 
> soapenv:mustUnderstand="0">
>             <ns1:clientCustomerId>182-461-0989</ns1:clientCustomerId>
>             <ns1:developerToken>nfIsEh0AgF3zstusMMd47g</ns1:developerToken>
>             <ns1:userAgent>AwApi-Java (AwApi-Java, AdWords-Axis/1.18.1, 
> Common-Java/1.18.1, Axis/1.4, Java/1.7.0_25, maven)</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/cm/v201302";>
>             <serviceSelector>
>                 <fields>Id</fields>
>                 <fields>Name</fields>
>                 <ordering>
>                     <field>Name</field>
>                     <sortOrder>ASCENDING</sortOrder>
>                 </ordering>
>                 <paging>
>                     <startIndex>0</startIndex>
>                     <numberResults>100</numberResults>
>                 </paging>
>             </serviceSelector>
>         </get>
>     </soapenv:Body>
> </soapenv:Envelope>
>
> [10 Sep 2013 
> 12:22:04,238-soapXmlLogger:WARN:adwords.axis.v201302.basicoperations.GetCampaigns.main()]
>  
> SOAP Response:
> <?xml version="1.0" encoding="UTF-8"?><soap:Envelope xmlns:soap="
> http://schemas.xmlsoap.org/soap/envelope/";>
>     <soap:Header>
>         <ResponseHeader xmlns="
> https://adwords.google.com/api/adwords/cm/v201302";>
>             <requestId>0004e601f13c8e200a42e948000061cf</requestId>
>             <serviceName>CampaignService</serviceName>
>             <methodName>get</methodName>
>             <operations>0</operations>
>             <responseTime>98</responseTime>
>             <units>0</units>
>         </ResponseHeader>
>     </soap:Header>
>     <soap:Body>
>         <soap:Fault>
>             <faultcode>soap:Server</faultcode>
>             <faultstring>[QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
> trigger:'&lt;null&gt;']</faultstring>
>             <detail>
>                 <ApiExceptionFault xmlns="
> https://adwords.google.com/api/adwords/cm/v201302";>
>                     <message>[QuotaCheckError.INCOMPLETE_SIGNUP @ ; 
> trigger:'&lt;null&gt;']</message>
>                     
> <ApplicationException.Type>ApiException</ApplicationException.Type>
>                     <errors xmlns:xsi="
> http://www.w3.org/2001/XMLSchema-instance"; xsi:type="QuotaCheckError">
>                         <fieldPath/>
>                         <trigger>&lt;null&gt;</trigger>
>                         
> <errorString>QuotaCheckError.INCOMPLETE_SIGNUP</errorString>
>                         <ApiError.Type>QuotaCheckError</ApiError.Type>
>                         <reason>INCOMPLETE_SIGNUP</reason>
>                     </errors>
>                 </ApiExceptionFault>
>             </detail>
>         </soap:Fault>
>     </soap:Body>
> </soap:Envelope>
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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/groups/opt_out.

Reply via email to