Select campaign_aggregate_asset_view for PERFORMANCE_MAX campaigns

28 views
Skip to first unread message

Ziabletsev Sergei

unread,
Apr 2, 2025, 3:59:14 AMApr 2
to Google Ads API and AdWords API Forum
Hi, I'm trying to retrieve reporting data for assets in PERFORMANCE_MAX campaigns using campaign_aggregate_asset_view.

When i run query

```
SELECT
metrics.asset_best_performance_cost_percentage,
metrics.asset_good_performance_cost_percentage,
metrics.asset_learning_performance_cost_percentage,
metrics.asset_low_performance_cost_percentage,
metrics.asset_unrated_performance_cost_percentage
FROM campaign_aggregate_asset_view
WHERE campaign.advertising_channel_type = "PERFORMANCE_MAX"
```

It give me `FaultMessage: The error code is not in this version.` (I tried all latest versions)

When I run query

```
SELECT
metrics.asset_best_performance_cost_percentage,
metrics.asset_good_performance_cost_percentage,
metrics.asset_learning_performance_cost_percentage,
metrics.asset_low_performance_cost_percentage,
metrics.asset_unrated_performance_cost_percentage
FROM campaign_aggregate_asset_view
```

It does not return requested metrics (only conversions)

I need help to get similar to https://ads.google.com/aw/assetreport/performance reporting data

Google Ads API Forum Advisor

unread,
Apr 2, 2025, 9:46:43 AMApr 2
to ziablets...@leadplus.co.jp, adwor...@googlegroups.com
Hi,

Thank you for reaching out to the Google Ads API support team.

You can use the campaign_asset resource to retrieve the assets for the PMAX campaigns. If you are trying to fetch specific fields, please provide us with the uncropped UI screenshot with visible customer Id by highlighting the fields that you're referring to and the complete API logs (request and response with request-id and request header) generated at your end while you facing the 'The error code is not in this version' error.

If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag.

You can send the details via Reply privately to the author option, or direct private reply to this email.

Thanks,
 
Google Logo Google Ads API Team

Feedback
How was our support today?

rating1    rating2    rating3    rating4    rating5
[2025-04-02 13:45:31Z GMT] This message is in relation to case "ref:!00D1U01174p.!5004Q02vHEh3:ref" (ADR-00298152)



Reply all
Reply to author
Forward
0 new messages