Well, I guess I just needed to wait a bit.  This morning, when I ran my 
script, I got a different error message.  

This error message indicated that I hadn't setup oAuth and referred me to 
instructions at:

https://github.com/googleads/googleads-perl-lib/wiki/Using-OAuth-2.0

I followed those instructions and generated a oAuth2AccessToken:


oAuth2AccessToken=ya29.GlspBZsOHsNIJmku3HDC-DpWN9TYerRKOfYr6cR....

Now, I'm back to getting the same error message as I started out with.  I'm 
just going around in circles on this.

Right now, my ~/adwords.properties file has entries that resemble:

developerToken=dDygqc...
clientId=www-xxx-yyyy
oAuth2ClientId=124281803015-dur6...
oAuth2ClientSecret=N2dk3_z.....
oAuth2AccessToken=ya29.GlspBZsOHsNIJmku3HDC-DpWN9TY...

Any suggestions on how to move forward?

Mike.


On Tuesday, December 19, 2017 at 12:12:47 AM UTC-5, Mike Diehl wrote:
>
> Hi all.
>
> I'm trying to get setup with the AdWords API so that I can run queries 
> against it in Perl.
>
> I'm following the instructions at:
>
> https://github.com/googleads/googleads-perl-lib/wiki
>
> After I downloaded and run the generate_offline_credentials.pl script, I 
> added the credentials to my ~/adwords.properties file.
>
> However, when I run one of the example scripts (get_campaigns.pl) I get:
>
> <soap:Envelope 
> xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";><soap:Header><ResponseHeader
>  
> xmlns="https://adwords.google.com/api/adwords/cm/v201710";><requestId>000560a2e74ad5b80ae9de077e05cccf</requestId><serviceName>CampaignService</serviceName><methodName>get</methodName><operations>1</operations><responseTime>189</responseTime></ResponseHeader></soap:Header><soap:Body><soap:Fault><faultcode>soap:Client</faultcode><faultstring>[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED
>  
> @ ; trigger:'&lt;null&gt;']</faultstring><detail><ApiExceptionFault xmlns="
> https://adwords.google.com/api/adwords/cm/v201710";><message>[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED
>  
> @ ; 
> trigger:'&lt;null&gt;']</message><ApplicationException.Type>ApiException</ApplicationException.Type><errors
>  
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
> xsi:type="QuotaCheckError"><fieldPath></fieldPath><trigger>&lt;null&gt;</trigger><errorString>QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED</errorString><ApiError.Type>QuotaCheckError</ApiError.Type><reason>DEVELOPER_TOKEN_NOT_APPROVED</reason></errors></ApiExceptionFault></detail></soap:Fault></soap:Body></soap:Envelope>
>
> I understand that this means that my credentials aren't approved... but i 
> don't know how to proceed from here.
>
> The company I work for manages the marketing efforts for a number of 
> clients.  I've been tasked with automating the collection of various 
> statistics.
>
> Any help would be appreciated.
>
> Mike.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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
--- 
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 [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/dc9bf210-8597-4c82-9c18-5d216489163e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to