Upvote for this bug from my end also.

I am seeing issue from late last week on Google Ads PHP Lib.

Upto last week I am able to run the same cose successfully. I have not 
chnaged single word to very same code since then.

Further to this, I have investigated and found that issue is coming on this 
scenario.

I have a refresh token for MCC account, under this MCC account I can get 
the 20 more accounts(MCC and Normal account) 
through ListAccessibleCustomers service.

When I check one by one accounts that I got from ListAccessibleCustomers, I 
can find Unauthenticated error for few of the above 20 accounts. Since I 
have access to Main MCC account I should able to get data for all of the 
account same MCC. Isn't it?

while using $customer = $customerServiceClient->getCustomer($resourceName);

I am using same code 
<https://groups.google.com/forum/#!msg/adwords-api/jbwX0-Nso4U/_Aq3F7_kCQAJ> 
as I shared to help other developers.

Please help how I can identify that I have access to MCC account there or 
not?


Thanks,


On Tuesday, 7 May 2019 17:52:44 UTC+5:30, Igor Schut wrote:
>
> We started to see this same behavior at the end of last week, more these 
> last few days.
>
> We use the Google AdWords API Java client library. We had no changes in 
> our software.
> The issues are random, sometimes they fail and sometimes they succeed.
>
> Last time we saw this issue was yesterday. Today everything seems to be 
> back to normal.
>
> Best,
> Igor
>
>
> On Friday, 26 April 2019 17:21:10 UTC+2, Charlie Flowers wrote:
>>
>> I am also experiencing the same issue, using the Java client library. I 
>> have been successfully accessing the Ads API to pull reports for multiple 
>> client customers via the 'search' endpoint for the last month or so. 
>> Starting this morning intermittent 'UNAUTHENTICATED' errors began occurring 
>> unpredictably. By unpredictably, I mean:
>>
>> -API requests using the same immutable Credentials object succeed both 
>> prior to and subsequent to the error.
>> -If a failed API request is repeated, it may succeed or may fail again.
>>
>> These errors seem to occur on roughly 10% of API requests. Example:
>>
>> 19/04/26 10:51:19 WARN summary: FAILURE REQUEST SUMMARY. Method: google.
>> ads.googleads.v1.services.GoogleAdsService/Search, Endpoint: googleads.
>> googleapis.com:443, CustomerID: xxxxxxxxx, RequestID: dVfS-
>> CY45L7gCmsbebvunw, ResponseCode: UNAUTHENTICATED, Fault: Request is 
>> missing required authentication credential. Expected OAuth 2 access token
>> , login cookie or other valid authentication credential. See https://
>> developers.google.com/identity/sign-in/web/devconsole-project..
>>
>> 19/04/26 10:51:19 WARN AdWordsLogIngestion: Exception checking status for 
>> customer xxxxxxxxx
>>
>> com.google.ads.googleads.v1.errors.GoogleAdsException: errors {
>>
>>  error_code {
>>
>>    authentication_error: AUTHENTICATION_ERROR
>>
>>  }
>>
>>  message: "Authentication of the request failed."
>>
>> }
>>
>>
>>         at com.google.ads.googleads.v1.errors.GoogleAdsException$Factory.
>> createException(GoogleAdsException.java:42)
>>
>>    at com.google.ads.googleads.v1.errors.GoogleAdsException$Factory.
>> createException(GoogleAdsException.java:34)
>>
>>
>> Again, we have not had any issues accessing the API until this morning. 
>> No code or environment changes on our end. Please let me know if you need 
>> any more info.
>>
>>
>> On Friday, April 26, 2019 at 4:06:55 AM UTC-4, [email protected] wrote:
>>>
>>> Hi,
>>>
>>> We get a lot of authentication errors recently for our api calls. After 
>>> some retries they sometime work sometimes not:
>>>
>>> status = StatusCode.UNAUTHENTICATEDy
>>> details = "Request is missing required authentication credential. 
>>> Expected OAuth 2 access token, login cookie or other valid authentication 
>>> credential. See 
>>> https://developers.google.com/identity/sign-in/web/devconsole-project.";
>>>
>>> We use the python client with a google-ads.yml file. 
>>> This worked without any problems until now.
>>> Is there a problem with the api currently?
>>>
>>>
>>> Regards,
>>>
>>> Manuel
>>>
>>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/2d2f1f49-7323-4ea6-986b-9bdde1f6a77f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • getting... mspierenburg via AdWords API and Google Ads API Forum
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... Charlie Flowers
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... mspierenburg via AdWords API and Google Ads API Forum
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
      • ... Igor Schut
        • ... cv
    • Re... 'UK Analytics' via AdWords API and Google Ads API Forum
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
    • Re... 'Manuel Spierenburg' via AdWords API and Google Ads API Forum
      • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
        • ... Igor Schut
        • ... cv
          • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum
            • ... cv
              • ... cv
                • ... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to