Performance Max metrics and assets

360 views
Skip to first unread message

Vytautas Smilingis

unread,
Aug 25, 2022, 4:32:07 AM8/25/22
to Google Ads API and AdWords API Forum
Is it possible (or what's the best way) to fetch metrics and thumbnails (image or video assets) for Performance Max campaigns?

For other types of ads I'm using this query:

SELECT
    metrics.impressions,
    metrics.clicks,
    campaign.name,
    ad_group_ad.ad.name,
    ad_group_ad.ad.image_ad.image_url,
    ad_group_ad.ad.responsive_display_ad.marketing_images,
    ad_group_ad.ad.type,
    ad_group_ad.ad.id,
    ad_group_ad.ad.video_ad.video.asset,
    ad_group_ad.ad.video_responsive_ad.videos,
    ad_group_ad.ad.app_ad.images
FROM
    ad_group_ad
WHERE
    segments.date BETWEEN '2022-07-01'
    AND '2022-07-31'
    AND ad_group_ad.ad.type IN('IMAGE_AD', 'IN_FEED_VIDEO_AD', 'RESPONSIVE_DISPLAY_AD', 'VIDEO_TRUEVIEW_IN_STREAM_AD', 'VIDEO_BUMPER_AD', 'VIDEO_RESPONSIVE_AD', 'APP_AD', 'VIDEO_NON_SKIPPABLE_IN_STREAM_AD')
    AND metrics.impressions > 0
ORDER BY
    metrics.impressions DESC

and I get almost everything I need with a single query. I can extract assets for returned rows separately if needed.

Is there a similar way to do it with Performance Max campaigns or do I have to resort to fetching metrics separately and then make a separate query to asset_group_asset and then map the rows myself?

Google Ads API and AdWords API Forum

unread,
Aug 31, 2022, 1:24:34 PM8/31/22
to Google Ads API and AdWords API Forum

Reposting the last inquiry ( https://groups.google.com/g/adwords-api/c/ux2k6cSyaR4 ) from the forum as it wasn't routed to our support queue.


Regards,
Jinky
Google Ads API Team

Google Ads API and AdWords API Forum

unread,
Sep 7, 2022, 1:54:32 AM9/7/22
to Google Ads API and AdWords API Forum
Hello,

Thank you for reaching out to our API support team.

For us to provide specific recommendations, could you provide us with the complete Ads UI screenshot showing the Performance Max related information that you've mentioned in your questions below?

 "Is it possible (or what's the best way) to fetch metrics and thumbnails (image or video assets) for Performance Max campaigns?"

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