Martialdelastic / google-api-adwords-php

Automatically exported from code.google.com/p/google-api-adwords-php
Apache License 2.0
0 stars 0 forks source link

QuotaCheckError.INVALID_TOKEN_HEADER @ ; trigger:'myemailaddress@gmail.com++USD' [string:private] #34

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of the library are you using?
we are using 2.1.0(aw_api_php_lib_2.1.0.tar.gz AdWords API PHP Client Library 
2.1.0 Featured Apr 26  was used)

Which version of PHP are you using?
5.2.5

What steps will reproduce the problem?
1)install version.
2)set details
email = "myemailaddress@gmail.com"
password = "mypass"
userAgent = "myname"
applicationToken = "ignored"
developerToken = "myemailaddress@gmail.com++USD"

; Uncomment to make requests against a client account.
clientId = "*********"

in auth.ini 

What is the expected output? What do you see instead?
This is what we get.
SoapFault Object ( [message:protected] => QuotaCheckError.INVALID_TOKEN_HEADER 
@ ; trigger:'myemailaddress@gmail.com++USD' [string:private] => 
[code:protected] => 0 [file:protected]...............

Please provide any additional information below.
SOAP support exists.

Original issue reported on code.google.com by oscprofe...@gmail.com on 30 Jun 2010 at 1:30

GoogleCodeExporter commented 8 years ago
When making requests against the sandbox you need to ensure that following is 
set in settings.ini:

DEFAULT_SERVER = "https://adwords-sandbox.google.com"

More information about using the sandbox environment is here: 
http://www.youtube.com/watch?v=cqVtUdB975M

Original comment by api.ekol...@gmail.com on 30 Jun 2010 at 2:25

GoogleCodeExporter commented 8 years ago
We are using live site.
Details for live site 
DEFAULT_SERVER = "https://adwords.google.com" in setting.ini.
and
email = "myemailaddress@gmail.com"
password = "mypass"
userAgent = "myname"
applicationToken = "ignored"
developerToken = "myemailaddress@gmail.com++USD"

; Uncomment to make requests against a client account.
clientId = "***-***-****"

in auth.ini 

Original comment by oscprofe...@gmail.com on 1 Jul 2010 at 6:49

GoogleCodeExporter commented 8 years ago
To use developer token on live site we need a MCC account. But we are facing a 
problem that we can not upgrade our existing Google Adwords account to MCC 
account.
We are getting the following message:
"The login is already an AdWords account."

How can we get into MCC account with existing adwords account.

Please do assist.

Thanks in advance.

Original comment by oscprofe...@gmail.com on 2 Jul 2010 at 8:38

Attachments:

GoogleCodeExporter commented 8 years ago
You are using sandbox credentials when trying to access production, which is 
causing the error.  MCC accounts cannot use the same login as an AdWords 
account.

Original comment by api.ekol...@gmail.com on 2 Jul 2010 at 4:08