Hi,
I am running Ad Variation experiments in my Google Ads account. In the experiment interface, I can see the original Ad IDs and modified Ad IDs for each variation.
I want to retrieve these Ad IDs programmatically to analyze their performance metrics for A/B testing. However, I am encountering an issue:
I cannot retrieve the original and modified Ad IDs from the experiment or experiment arm resources via the API.
Could you please assist me in understanding how to access the original and modified Ad IDs for an Ad Variation experiment?
Thank you for your support!
SELECT ad_group_ad.ad.id, ad_group_ad.ad.name FROM ad_group_ad PARAMETERS include_drafts=trueYou can try making a request using the Search or SearchStream by passing the customer Id. Also, you can use Query Builder to create your query and Query Validator to validate your query.
If this is not what you are looking for, kindly provide us the uncropped UI screenshot of the Google Ads account and also highlight the fields that you require to retrieve via the API.
You can send the details via Reply privately to the author option, or direct private reply to this email.
![]() |
Google Ads API Team |