Our developer token has been approved.
We are using your Google.AdWords.dll
I am not sure how to prodive information about the 'get' method invoked 
from the 
CampaignService campaignService = 
(CampaignService)user.GetService(AdWordsService.v201402.CampaignService);
in .Net
I am attaching the response but as you may be aware the setting are setup 
in the app.config

I am matched the key from another setting from a test account 
and I am not sure why I am getting the error.

I would like to mention key keys defines and where does values are coming 
from hoping this can help troubleshoot the problem

<add key="UserAgent" value="first line of Company Information seen on the 
Adwords API Center developer details" />

<add key="DeveloperToken" value="Value seen on the Adwords API Center 
developer details " />

<add key="ClientCustomerId" value="Value seen on Accounts->Client under the 
account details"/> 

<add key="OAuth2ClientId" value="Value seen on the Console Developers under 
APIs & auth -> Credentials -> Client ID for native application" />

<add key="OAuth2ClientSecret" value="Value seen on the Console Developers 
under APIs & auth -> Credentials -> Client ID for native application" /> 

<add key="OAuth2RefreshToken" value="Value seen from the provided OAuth2 
Token Generator utility" />

If we try the same approach from test account it works fine, but for the 
production account we have no luck

Please advise 

MQQ team


   




-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
<SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; 
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"; 
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:clr="http://schemas.microsoft.com/soap/encoding/clr/1.0"; 
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/";>
<SOAP-ENV:Body>
<a1:AdWordsApiException id="ref-1" 
xmlns:a1="http://schemas.microsoft.com/clr/nsassem/Google.Api.Ads.AdWords.Lib/Google.AdWords%2C%20Version%3D16.7.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3D52807268f2b614dc";>
<ClassName id="ref-4">Google.Api.Ads.AdWords.Lib.AdWordsApiException</ClassName>
<Message id="ref-5">An API exception has occurred. See ApiException and 
InnerException fields for more details.</Message>
<Data href="#ref-6"/>
<InnerException href="#ref-7"/>
<HelpURL xsi:null="1"/>
<StackTraceString id="ref-8">   at 
Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, Object[] 
parameters)
   at Google.Api.Ads.Common.Lib.AdsSoapClient.Invoke(String methodName, 
Object[] parameters)
   at Google.Api.Ads.AdWords.v201402.CampaignService.get(Selector 
serviceSelector)
   at GoogleAdWords.Campaigns.GetCampaigns() in 
c:\_source\HPO\GoogleAdWords\GoogleAdWords\Campaigns.aspx.cs:line 
62</StackTraceString>
<RemoteStackTraceString xsi:null="1"/>
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod id="ref-9">8
MakeApiCall
Google.Ads.Common, Version=2.2.0.0, Culture=neutral, 
PublicKeyToken=52807268f2b614dc
Google.Api.Ads.Common.Lib.AdsSoapClient
System.Object[] MakeApiCall(System.String, System.Object[])</ExceptionMethod>
<HResult>-2146233088</HResult>
<Source id="ref-10">Google.Ads.Common</Source>
<WatsonBuckets xsi:null="1"/>
<apiException id="ref-11">&#60;?xml version=&#34;1.0&#34;?&#62;
&#60;ApiException xmlns:xsi=&#34;http://www.w3.org/2001/XMLSchema-instance&#34; 
xmlns:xsd=&#34;http://www.w3.org/2001/XMLSchema&#34;&#62;
  &#60;message 
xmlns=&#34;https://adwords.google.com/api/adwords/cm/v201402&#34;&#62;[AuthorizationError.USER_PERMISSION_DENIED
 @ ; trigger:&#39;&#38;lt;null&#38;gt;&#39;]&#60;/message&#62;
  &#60;ApplicationException.Type 
xmlns=&#34;https://adwords.google.com/api/adwords/cm/v201402&#34;&#62;ApiException&#60;/ApplicationException.Type&#62;
  &#60;errors xsi:type=&#34;AuthorizationError&#34; 
xmlns=&#34;https://adwords.google.com/api/adwords/cm/v201402&#34;&#62;
    &#60;fieldPath /&#62;
    &#60;trigger&#62;&#38;lt;null&#38;gt;&#60;/trigger&#62;
    
&#60;errorString&#62;AuthorizationError.USER_PERMISSION_DENIED&#60;/errorString&#62;
    &#60;ApiError.Type&#62;AuthorizationError&#60;/ApiError.Type&#62;
    &#60;reason&#62;USER_PERMISSION_DENIED&#60;/reason&#62;
  &#60;/errors&#62;
&#60;/ApiException&#62;</apiException>
<apiExceptionType href="#ref-12"/>
</a1:AdWordsApiException>
<a2:ListDictionaryInternal id="ref-6" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<head xsi:null="1"/>
<version>0</version>
<count>0</count>
</a2:ListDictionaryInternal>
<a3:SoapException id="ref-7" 
xmlns:a3="http://schemas.microsoft.com/clr/nsassem/System.Web.Services.Protocols/System.Web.Services%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db03f5f7f11d50a3a";>
<ClassName id="ref-13">System.Web.Services.Protocols.SoapException</ClassName>
<Message id="ref-14">[AuthorizationError.USER_PERMISSION_DENIED @ ; 
trigger:&#39;&#60;null&#62;&#39;]</Message>
<Data href="#ref-15"/>
<InnerException xsi:null="1"/>
<HelpURL xsi:null="1"/>
<StackTraceString id="ref-16">   at 
System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage
 message, WebResponse response, Stream responseStream, Boolean asyncCall)
   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String 
methodName, Object[] parameters)
   at Google.Api.Ads.Common.Lib.AdsSoapClient.MakeApiCall(String methodName, 
Object[] parameters)</StackTraceString>
<RemoteStackTraceString xsi:null="1"/>
<RemoteStackIndex>0</RemoteStackIndex>
<ExceptionMethod id="ref-17">8
ReadResponse
System.Web.Services, Version=4.0.0.0, Culture=neutral, 
PublicKeyToken=b03f5f7f11d50a3a
System.Web.Services.Protocols.SoapHttpClientProtocol
System.Object[] ReadResponse(System.Web.Services.Protocols.SoapClientMessage, 
System.Net.WebResponse, System.IO.Stream, Boolean)</ExceptionMethod>
<HResult>-2146233087</HResult>
<Source id="ref-18">System.Web.Services</Source>
<WatsonBuckets xsi:null="1"/>
</a3:SoapException>
<a4:UnitySerializationHolder id="ref-12" 
xmlns:a4="http://schemas.microsoft.com/clr/ns/System";>
<Data id="ref-19">Google.Api.Ads.AdWords.v201402.ApiException</Data>
<UnityType>4</UnityType>
<AssemblyName id="ref-20">Google.AdWords, Version=16.7.0.0, Culture=neutral, 
PublicKeyToken=52807268f2b614dc</AssemblyName>
</a4:UnitySerializationHolder>
<a2:ListDictionaryInternal id="ref-15" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<head href="#ref-21"/>
<version>15</version>
<count>5</count>
</a2:ListDictionaryInternal>
<a2:ListDictionaryInternal_x002B_DictionaryNode id="ref-21" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<key id="ref-23" xsi:type="SOAP-ENC:string">code</key>
<value href="#ref-24"/>
<next href="#ref-25"/>
</a2:ListDictionaryInternal_x002B_DictionaryNode>
<a5:XmlQualifiedName id="ref-24" 
xmlns:a5="http://schemas.microsoft.com/clr/nsassem/System.Xml/System.Xml%2C%20Version%3D4.0.0.0%2C%20Culture%3Dneutral%2C%20PublicKeyToken%3Db77a5c561934e089";>
<name id="ref-26">Server</name>
<ns id="ref-27">http://schemas.xmlsoap.org/soap/envelope/</ns>
</a5:XmlQualifiedName>
<a2:ListDictionaryInternal_x002B_DictionaryNode id="ref-25" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<key id="ref-28" xsi:type="SOAP-ENC:string">actor</key>
<value id="ref-29" xsi:type="SOAP-ENC:string"></value>
<next href="#ref-30"/>
</a2:ListDictionaryInternal_x002B_DictionaryNode>
<a2:ListDictionaryInternal_x002B_DictionaryNode id="ref-30" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<key id="ref-31" xsi:type="SOAP-ENC:string">role</key>
<value href="#ref-29"/>
<next href="#ref-32"/>
</a2:ListDictionaryInternal_x002B_DictionaryNode>
<a2:ListDictionaryInternal_x002B_DictionaryNode id="ref-32" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<key id="ref-33" xsi:type="SOAP-ENC:string">subCode</key>
<value xsi:type="xsd:anyType" xsi:null="1"/>
<next href="#ref-34"/>
</a2:ListDictionaryInternal_x002B_DictionaryNode>
<a2:ListDictionaryInternal_x002B_DictionaryNode id="ref-34" 
xmlns:a2="http://schemas.microsoft.com/clr/ns/System.Collections";>
<key id="ref-35" xsi:type="SOAP-ENC:string">lang</key>
<value href="#ref-29"/>
<next xsi:null="1"/>
</a2:ListDictionaryInternal_x002B_DictionaryNode>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

Reply via email to