Campaign-level Optimization Score uplift doenst match between UI and Google Ads Scripts

30 views
Skip to first unread message

June Fujii

unread,
Mar 9, 2023, 2:17:01 AM3/9/23
to adwords...@googlegroups.com
Hi team,

I've been trying to extract the same Optiscore uplift score as the Google Ads UI but it hasn't been successful. With the query below, I only seem to get the account-level optiscore uplift not the breakdown by campaign + recommendation type. According to this devsite, I assume the campaign-level of metrics.optimiation_score_uplift is retrievable by segments.recommnedation_type.

There are optimization-related metrics available for customer and campaign reports
To group and order the returned recommendations, you can segment both of these metrics by recommendation type using segments.recommendation_type in your query.

Could you help?

Thank you,
June

--

Query
select 
campaign.adversiting_channel_type,
campaign.status,
metrics.optimization_score_uplift,
metrics.optimization_score_url
from campaign 
where
campaign.status = 'ENABLED' AND metrics.optimization_score_uplift > 0

Google Ads Scripts Forum

unread,
Mar 10, 2023, 4:57:38 AM3/10/23
to Google Ads Scripts Forum
Reposting the last inquiry (https://groups.google.com/g/adwords-scripts/c/_zVblbczeYc) from the forum as it wasn't routed to our support queue.

Regards,
Google Ads Scripts Team
Reply all
Reply to author
Forward
0 new messages