Hi,
Sorry there was a bug in v2.7.0 in the way initialization takes place and
that was fixed in v2.7.1 please give it a try and let me know if you still
run into problems.
Best,
-David
On Wednesday, August 22, 2012 7:47:28 AM UTC-4, Maxim Kurapatkin wrote:
>
> Hi David,
>
> I'm using the wrapper. A piece of adwords package object initialsation is
>
> my $api_arguments = {
> email => $cfg->email,
> client_id => $cfg->id,
> clientId => $cfg->id,
> password => $cfg->password,
> developer_token => $cfg->devtoken,
> application_token => $cfg->appltoken,
> version => $VERSION,
> use_auth_token_cache => $USE_AUTH_TOKEN_CACHE
> }
>
>
>
> Thank you in advance!
>
>
>
>
>
>
>
>
>
> On Tuesday, August 14, 2012 1:39:48 AM UTC+3, David Torres wrote:
>>
>> Hi Maxim,
>>
>> What kind of authorization method are you trying to use? which keys are
>> you setting in your adwords.properties file?
>>
>> Best,
>>
>> -David Torres - Author of the Perl client library
>>
>> On Wednesday, August 8, 2012 7:17:45 AM UTC-4, Maxim Kurapatkin wrote:
>>>
>>> Hello,
>>> I'm trying switch on the newest perl library and 201206 API version.
>>> I can't proceed thru the authentification for some reason, i guess the
>>> problem is because <authToken tag missed (not sure why).
>>> Here is request and responses:
>>>
>>> Request:
>>>
>>> <SOAP-ENV:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
>>> ><SOAP-ENV:Header><RequestHeader xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201206"><clientCustomerId
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201206">XXX-581-2728</clientCustomerId><developerToken
>>>
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201206">REDACTED</developerToken><userAgent
>>>
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201206">INSERT_USER_AGENT_HERE
>>>
>>> (AwApi-Perl/2.7.0, Common-Perl/2.0.0, SOAP-WSDL/2.00.10, libwww-perl/2.033,
>>> perl/5.008008)</userAgent><validateOnly xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201206">false</validateOnly><partialFailure
>>>
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201206">false</partialFailure></RequestHeader></SOAP-ENV:Header><SOAP-ENV:Body><get
>>>
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201206
>>> "><serviceSelector><fields>Id</fields><fields>Name</fields><fields>Status</fields><fields>EndDate</fields><fields>StartDate</fields><fields>ServingStatus</fields></serviceSelector></get></SOAP-ENV:Body></SOAP-ENV:Envelope>
>>>
>>>
>>> Response:
>>>
>>> <soap:Envelope
>>> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"><soap:Header><ResponseHeader
>>>
>>> xmlns="https://adwords.google.com/api/adwords/cm/v201206"><requestId>0004c6bf06f8f9e00a42dde4000046c7</requestId><serviceName>CampaignService</serviceName><methodName>get</methodName><operations>0</operations><responseTime>127</responseTime><units>0</units></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Server</faultcode><faultstring>[AuthorizationError.USER_PERMISSION_DENIED
>>>
>>> @ ; trigger:'<null>']</faultstring><detail><ApiExceptionFault xmlns="
>>> https://adwords.google.com/api/adwords/cm/v201206"><message>[AuthorizationError.USER_PERMISSION_DENIED
>>>
>>> @ ;
>>> trigger:'<null>']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
>>>
>>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>> xsi:type="AuthorizationError"><fieldPath></fieldPath><trigger><null></trigger><errorString>AuthorizationError.USER_PERMISSION_DENIED</errorString><ApiError.Type>AuthorizationError</ApiError.Type><reason>USER_PERMISSION_DENIED</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>>>
>>> Thanks in advance!
>>>
>>> -Maxim
>>>
>>>
>>>
>>>
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en