Hi,
My question pertains to the first instance of a Google Ads Client and
making the first request from the Ads Api.
issue:
I notice that the first one seems to take some time on the very first
instance.
After the user authenticates for the first time => the first request will
take 10-15 seconds. After that things speed up greatly and it seems fine
(1-2 secs). Have not had this issue with making POST requests either.
When a user logs into the app, the first request made is to get Shopping
performance segmented by date ('last_30_days'). I did this to satisfy the
Google RMF for standard shopping tool. However, this is my slowest call it
seems. I question if it's a result of the query itself or if the first
instance with Google has something to do with that.
Again after the first call, app all subsequent requests resolve quite fast.
API: V16 REST
here is the query below:
export const getAppAnalyticsQuery = (segment: string) => {
return `
SELECT
campaign.name,
campaign.advertising_channel_type,
campaign.resource_name,
campaign.status,
segments.product_title,
metrics.conversions,
metrics.conversions_value,
metrics.clicks,
metrics.cost_micros,
metrics.cost_per_conversion,
metrics.ctr,
metrics.impressions,
metrics.average_cpc,
campaign.id,
segments.date
FROM shopping_performance_view
WHERE
campaign.status = 'ENABLED'
AND campaign.advertising_channel_type = 'SHOPPING'
AND segments.date DURING ${segment}
ORDER BY
segments.date ASC
`;
};
Is this normal? I understand maybe sometimes the Access token needs to be
refreshed, but I am not sure that if that has anything to do with it.
regards,
Michael
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/9caa76f8-908e-438b-87a6-0476dd3a2cf0n%40googlegroups.com.