Hello Luis, updates here. I've learnt that the developer key is not actually an API key, but an AdWords developer key (from the AdWords API Centre section of an administrative AdWords account). As per the first point thus it's not inherent anymore. I've created a MCC account now and applied for a basic developer token.
As per the request header, I think it's correct as per documentation: https://developers.google.com/adwords/api/docs/reference/v201806/CustomerService?hl=lb - not sure though if the common errors section is updated, or if I need special permissions. Thanks :) Giacomo Il giorno giovedì 28 giugno 2018 09:13:56 UTC+2, Luis Xander Talag (AdWords API Team) ha scritto: > > Hi Giacomo, > > Could you clarify if you are using the AdWords API > <https://developers.google.com/adwords/api/docs/guides/start> or the Google > Ads API <https://developers.google.com/google-ads/api/docs/start>? Cause > in this step "*1. I've went to the Google API dashboard and enabled the > Google Ads API from the library*" is for Google Ads API only. However, > your logs seems from the AdWords API service. > > Moving forward, the QuotaCheckError.INVALID_TOKEN_HEADER > <https://developers.google.com/adwords/api/docs/common-errors#QuotaCheckError.INVALID_TOKEN_HEADER> > error > you encountered means that the developer token was not set on the request > or it contains a typo or the namespace of the headers in the request might > not be correct. Could you clarify if your developer token is correct? You > can login to your AdWords MCC Account, go to *Account Settings -> AdWords > API Center, *to verify the correct developer token. > > With regards to your RequestHeader, I'm not sure how you get the " > https://adwords.google.com/api/adwords/mcm/v201806" RequestHeader as it > should be "https://adwords.google.com/api/adwords/cm/v201806" only. If > you could confirm that your developer token is correct and the error still > persist, I would suggest to post your issue here > <https://github.com/googleads/googleads-php-lib> as the PHP client > library owners are better equipped to assist you here. > > Thanks and regards, > Luis > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 and Google Ads 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/cec216ac-3108-4225-be72-7b0217e713a1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.