How to get asset group asset primary status?

140 views
Skip to first unread message

Dang Duc Truong

unread,
Aug 8, 2023, 12:23:04 AM8/8/23
to Google Ads API and AdWords API Forum
Hello,

I would like to ask how to query for asset group primary status (see attached image) of Performance max campaign? I see there is a similar one for normal campaign ad group asset (called "ad_group_asset.primary_status") but cannot find that field for asset group asset.

Thanks
Dan


Screenshot from 2023-08-08 11-05-38.png

Google Ads API Forum Advisor

unread,
Aug 8, 2023, 4:25:24 AM8/8/23
to truon...@knorex.com, adwor...@googlegroups.com

Hi Dang,

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

For asset group asset, you can find the retrievable fields here: https://developers.google.com/google-ads/api/reference/rpc/v14/AssetGroupAsset. For the status, here are the fields available:

You can use our Query builder for Asset Group asset to help you create your report - https://developers.google.com/google-ads/api/fields/v14/asset_group_asset_query_builder

 

Let me know if you have any questions.

 
This message is in relation to case "ref:_00D1U1174p._5004Q2nchy4:ref"

Thanks,
 
Google Logo Google Ads API Team


Dang Duc Truong

unread,
Aug 8, 2023, 6:31:04 AM8/8/23
to Google Ads API and AdWords API Forum
Hi,

Thanks for your reply,

Then I would ask, how to get the "Status: Eligible" using API, from those asset group assets policy approval status? Because when we do a query for asset group assets, it will return all "assets with policy_summary.approval_status" with different value. How they are mapped to a single word "Eligible"?

Screenshot from 2023-08-08 17-26-25.png
Screenshot from 2023-08-08 17-29-28.png

Thanks
Dan

Google Ads API Forum Advisor

unread,
Aug 8, 2023, 8:47:35 AM8/8/23
to truon...@knorex.com, adwor...@googlegroups.com

Hello Dan,

Thank you for getting back to us.

Can you please provide us with an uncropped screenshot of the Google Ads UI that shows the data you are trying to obtain and the complete logs(request and response with request ID) of your API requests? This is so we can investigate further and provide insights and recommendations.

Message has been deleted

Google Ads API Forum Advisor

unread,
Aug 8, 2023, 2:34:47 PM8/8/23
to truon...@knorex.com, adwor...@googlegroups.com

Hi Dan,

You may use the asset_group_asset.policy_summary.review_status field as it should give you status where in the review process the resource is. You may see following enums to be shown by API:

  • ELIGIBLE_MAY_SERVE
  • REVIEWED
  • REVIEW_IN_PROGRESS
  • UNDER_APPEAL

Also, a complete uncropped Ads UI screenshot should be helpful in viewing the data that you precisely looking to pull in the API. Any sensitive details should be shared with us reply privately to author option only.

Reply all
Reply to author
Forward
0 new messages