Hi,
Thank you for reaching out to the Google Ads API support team.
No, the
optimization score in Google Ads is generally only available for active, live campaigns. The optimization score is shown for active Search, Display, Video Action, App, Performance Max, Demand Gen and Shopping campaigns only. to fetch the optimization score for the campaign you may try the below GAQL query :
SELECT campaign.id, campaign.name, campaign.optimization_score,
metrics.optimization_score_url, metrics.optimization_score_uplift
FROM campaign
Please note that the above query will return the optimization score as zero if the campaigns are not active. Additionally, you can utilize the
Query Builder and
Query Validator to build and validate your queries. To retrieve Google Ads API entities and reporting data, you can use one of these Rest Interface methods like
GoogleAdsService.SearchStream or
GoogleAdsService.Search.
I hope this clarifies. Let us know if you have any further questions.
This message is in relation to case "ref:!00D1U01174p.!5004Q02vGclH:ref" (ADR-00270959)
Thanks,
 |
Google Ads API Team |
