Hi,
we are having problem when we are trying to access Adwords API from our
production website statusdroid.com. When I try to connect to the API, I am
getting following error message.
Traceback (most recent call last):
> File "/usr/local/lib/python3.6/site-packages/googleads/common.py", line
> 1300, in MakeSoapRequest
> *packed_args, _soapheaders=soap_headers)['body']['rval']
> File "/usr/local/lib/python3.6/site-packages/zeep/client.py", line 45, in
> __call__
> self._op_name, args, kwargs)
> File "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py",
> line 121, in send
> return self.process_reply(client, operation_obj, response)
> File "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py",
> line 186, in process_reply
> return self.process_error(doc, operation)
> File "/usr/local/lib/python3.6/site-packages/zeep/wsdl/bindings/soap.py",
> line 291, in process_error
> detail=fault_node.find('detail'))
> zeep.exceptions.Fault: [QuotaCheckError.INVALID_TOKEN_HEADER @ ] During
> handling of the above exception, another exception occurred: Traceback
> (most recent call last):
> File "/app/statusdroid/campaigns/utils.py", line 64, in sync_social_account
> adwords.sync_google_campaigns(social_account)
> File "/app/statusdroid/campaigns/adwords.py", line 73, in
> sync_google_campaigns
> customerId = customer_service.getCustomers()[0]["customerId"]
> File "/usr/local/lib/python3.6/site-packages/googleads/common.py", line
> 1312, in MakeSoapRequest
> e.detail, errors=error_list, message=e.message)
> googleads.errors.GoogleAdsServerFault:
> [QuotaCheckError.INVALID_TOKEN_HEADER @ ]
When I recreate the same steps on our testing website
testing.statusdroid.com, I am able to access the API and connect the ads to
our website. We are using 2 different tokens with the same API key. I was
told that we cannot use the same token on production website and testing
website. However we are unable to find what is causing the issue.
Has anyone got any ideas please what may be the problem? If you have any
questions or need more information, please do not hesitate to contact me.
I'll be glad for any help.
Thank you.
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 and Google Ads 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/83103790-74d3-402b-82c7-dd088f957d20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.