Delay Data Report and Refresh Token problem's

53 views
Skip to first unread message

Алексей Чигинцев

unread,
Jun 21, 2021, 7:51:14 AM6/21/21
to AdWords API and Google Ads API Forum
Hi, excuse my broken English.
We are started use Google Ads API (new version) and faced several problems:

1) We request reports using AQWL. Request:
SELECT segments.date, campaign.name, campaign.advertising_channel_type, campaign.id, metrics.impressions, metrics.clicks, metrics.ctr, metrics.cost_micros, metrics.average_cpc, metrics.conversions FROM campaign WHERE segments.date DURING LAST_7_DAYS
But the reports come with delays.
We also reviewed this article:
But in our case the delays are sometimes too long.
Example: we request reports 18-06-2021, but in response the most recent lines were for June 13

2) From time to time, we have problems with updating the token, or rather, we simply can not use the refresh_token
This is what it looks like:
2.1) We allow the app access manually and get the first access_token and refresh_token. At this stage, everything is OK, the application is in the list that was granted access (check through this page: https://myaccount.google.com/u/1/permissions ): 
123.png
2.2) AcessToken successfully used and updated for some time (usually several weeks), but then the app from the list of apps that got access disappears:


And, of course, the last access_token stops working, and with it the refresh_token.
After that, we again need to manually confirm the app's access for the first time. Because refresh_token is not valid after the app disappears from the list.

Please tell me what this might be related to. And for what reason can an app disappear from the list ( https://myaccount.google.com/u/1/permissions Third-party apps with account access
 ) if no one manually restricts access to app?

Google Ads API Forum Advisor

unread,
Jun 23, 2021, 1:35:30 AM6/23/21
to zneny...@gmail.com, adwor...@googlegroups.com
Hi,

Thank you for reaching out to our API support team. Also, no worries as your English is good and our team is able understand the concern.

Moving forward to your first item with the delay in the reports, could you confirm if the data being returned in the API's campaign view is delayed or different, as compared to the Google Ads UI's equivalent Campaigns view? I asked because, if there is a discrepancy between the statistics from the UI and the API then it may indicate an issue.

If there are discrepancies, you may provide your customer ID, the complete screenshot of the Campaigns view of the Google Ads UI, and also the complete request and response logs, and the request-id. If you haven't yet, logging can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.

However, if both the UI and API's results are similar then, I would recommend that you reach out to the Google Ads Product Support team via this link, for more information on what is causing the delays, based on the data freshness article.

As for your issues with your refresh token, I would recommend that you reach out directly to the Google API Console Support team, via this link, as they are the more appropriate team to provide guidance on the behavior of your credentials, including the said refresh token.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2IxKkb:ref

Google Ads API Forum Advisor

unread,
Jun 23, 2021, 1:36:39 AM6/23/21
to zneny...@gmail.com, adwor...@googlegroups.com
Hi,

In addition, you may send the requested details (customer ID, screenshots, logs) via the Reply privately to author option. If this option is not available, you may send the details directly to our googleadsa...@google.com alias instead.

Алексей Чигинцев

unread,
Jun 24, 2021, 3:28:06 AM6/24/21
to AdWords API and Google Ads API Forum
Thank you, Peter.
For the issue with refresh_token: we have taken a note and write to support Google API Console.
For the issue with delay in the reports: unfortunately, we can't provide screenshots for the 18th June from the UI, because now there are already updated data in the interface, and there have been no new delays yet. As far as I understand, this is no longer a question of API support, but of support for the Google Adsense product itself.

Thank you very much for your answer, if during the debriefing we find any problems related specifically to the API, we will write to a new topic, this can be closed, thank you again more and good luck.

среда, 23 июня 2021 г. в 10:36:39 UTC+5, adsapi:
Reply all
Reply to author
Forward
0 new messages