Re: Problems setting up Adwords API with python ... please help

2016-07-19 Thread žiga preell
EDIT: We solved the problem with creating Test account from our 
neighborhood country (Italy).

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18ac3194-52a8-4e68-a069-c1c96ec2a10d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems setting up Adwords API with python ... please help

2016-07-19 Thread zigapregelj2
Hello,

I tried to create Maneger test account at least 7 times, but it doesn't 
make one, i tried all options, creating it in chrome incognito, firefox, 
with gmail and with other mail providers, but all it does, it creates a new 
account but red stripe with "This is a test account" is not in any of those 
... And also if i go to options there isn't any API Center and therefore 
any developer token (I tried creating maneger TEST account and then client 
test account).

I did all this with provided links on this 

 page, 
went trought all documentation almost 20+ times ... Also when i create a 
test account with my new google account and mail, it redirects me back to 
creating test account, only now email field for test account is email that 
i used and i am logged in "test" account i created moments ago (i can see 
that in upper rigt corner)... 

It might be some mistake in my country's google servers (Slovenia), if you 
made test acc from your country and it worked...

Thanks for help,
Žiga 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/01e31aab-2054-4558-8229-7f8457daa02f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems setting up Adwords API with python ... please help

2016-07-18 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

My apologies since I just noticed that your first post contained your 
developer token. I deleted it because it contained sensitive information 
pertaining to your account. I highly recommend that you revoke that refresh 
token using the Account Settings page as described in the OAuth guide 
. 
Please see our forum posting guidelines 

 
as well.

Moving forward, I can confirm that the clientCustomerId you were using in 
making AdWords API calls was your production MCC account and that your 
developer token only has test account access. That is the reason why you 
were getting the error 
.
 
For the issue with test accounts creation, could you confirm if this was 
the test account application form 
 you used? If yes, 
please provide an existing email address (can be @gmail.com) that is not 
yet associated with any AdWords account and fill up the rest of the fields. 
Once done, it should redirect you to the AdWords page with red label "This 
is a test account".

I just tried it that way and it should work. If you still find any issues, 
please let us know.

Best regards,
Peter
AdWords API 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.
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/ea72b590-937d-4de0-81af-57da83d1ef7e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems setting up Adwords API with python ... please help

2016-07-18 Thread žiga preell
Hello, 

I tried with every possible account i created ( almost 10 of them), but 
none of them was TEST maneger or TEST client account(can't see the red 
stripe with TEST ACCOUNT in it, and there is no AdWords API Center in 
settings), When i follow the link to create test maneger account, i type in 
diffrent mail and everything, click create test account, then it redirects 
me to create new google account, i do that and then it redirects me back to 
the page for creating the new TEST account,only now my email is 
automatically in Email field...

I tried signed out in incognito mode, also with differnet email providers, 
but i still can't create any of test accounts... (Trying for about 3 days 
now :| )

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7ea874bf-4577-4c33-882b-7dc1ad5aefb6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Problems setting up Adwords API with python ... please help

2016-07-17 Thread 'Peter Oliquino' via AdWords API Forum
Hi,

You are getting this error 

 because 
you are making calls to a production account using a developer token with 
test account only access. If you wish only to make calls with your test 
accounts, please make sure to specify the customer ID of your test account 
(test manager account or test client account) in the client_customer_id 
field in your googleads.yaml file, instead of your production (master) 
manager account. 

Additionally, to check your account access, you may login to AdWords and go 
to the Gear Icon -> Account Settings -> AdWords API Center, then check the 
'Access level'.  

I hope this helps!

Thanks,
Peter
AdWords API 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.
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/cf337ef5-a9de-45b8-9115-e847d1ed8293%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Problems setting up Adwords API with python ... please help

2016-07-17 Thread žiga preell

Hello, im kinda new in world of APIs but i did a bit of programing with 
Python (Django mostly), I am having a problem with connection to API.

First i did adwords account, then i made one maneger account and also one 
TEST account (but it is strange because it doesn't say anywhere that is 
test acc, like in instructions).
I made my OATH2 authorization with my test account first and everything 
went smoothly, but when it come to connectig to API, it says this:

C:\Programiranje\googleads-python-lib-master\examples\adwords\v201605\basic_operations>python
 
>> get_campaigns.py
>
> INFO:oauth2client.client:Refreshing access_token
>
> DEBUG:suds.transport.http:opening 
>> (https://adwords.google.com/api/adwords/cm/v201605/CampaignService?wsdl)
>
> DEBUG:suds.transport.http:sending:
>
> URL: https://adwords.google.com/api/adwords/cm/v201605/CampaignService
>
> HEADERS: {'Soapaction': '""', 'SOAPAction': '""', 'Content-Type': 
>> 'text/xml; charset=utf-8', 'Content-type': 'text/xml; charset=utf-8', 
>> 'Authorization': u'Bearer 
>> ya29.Ci8iAxOuKGNlbRWWVnI7aIUW-JJoPnQ3nkkPuA9wm8k-FZS_-gAasQKjmHRGmC8Ztg'}
>
> MESSAGE:
>
> > xmlns:ns0="https://adwords.google.com/api/adwords/cm/v201605"; 
>> xmlns:ns1="http://schemas.xmlsoap.org/soap/envelope/"; 
>> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
>> xmlns:tns="https://adwords.google.com/api/adwords/cm/v201605"; 
>> xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/";>228-151-8225MtR-X7LbNWSR2pybndR16AtestProject
>>  
>> (AwApi-Python, googleads/4.2.0, 
>> Python/2.7.11)falsefalseIdNameStatus0100
>
> ERROR:suds.client:
>
> Traceback (most recent call last):
>
>   File "get_campaigns.py", line 74, in 
>
> main(adwords_client)
>
>   File "get_campaigns.py", line 56, in main
>
> page = campaign_service.get(selector)
>
>   File "build\bdist.win32\egg\googleads\common.py", line 616, in 
>> MakeSoapRequest
>
>   File "C:\Python27\lib\site-packages\suds\client.py", line 521, in 
>> __call__
>
> return client.invoke(args, kwargs)
>
>   File "C:\Python27\lib\site-packages\suds\client.py", line 581, in invoke
>
> result = self.send(soapenv)
>
>   File "C:\Python27\lib\site-packages\suds\client.py", line 619, in send
>
> description=tostr(e), original_soapenv=original_soapenv)
>
>   File "C:\Python27\lib\site-packages\suds\client.py", line 670, in 
>> process_reply
>
> raise WebFault(fault, replyroot)
>
> suds.WebFault: Server raised fault: 
>> '[QuotaCheckError.DEVELOPER_TOKEN_NOT_APPROVED @ ; trigger:'']'
>
>
I did all it is necessary in  googleads.yaml , i hope i type right values, 
for my developer token i did token from master maneger account, then i 
provided client customer ID also from my master and client_id and 
client_secret from my test account ( wich is connected to master) and also 
my refresh token that i made it from my client_id and client_secret on TEST 
account

Please help me set this thing up, i went trought instructions 20x times 
today and it still doesn't work :( 



 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/ee304de7-931b-42ce-a996-8b212c312bfb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.