Why is asset.policy_summary.approval_status fields always return UNSPECIFIED while that asset on google ads asset list show status approved?

54 views
Skip to first unread message

Nhan DT

unread,
Dec 12, 2023, 9:43:52 AM12/12/23
to Google Ads API and AdWords API Forum
Hi,

Im trying get all status of all asset in my campaign but that api always return UNSPECIFIED approval status for all asset

My query here, im using google ads api  v14, ref: https://developers.google.com/google-ads/api/fields/v14/asset_query_builder

Thanks
query = f"""
        SELECT
          asset.ad.id,
          asset.ad.type,
          asset.policy_summary.approval_status
        FROM asset
        WHERE
          campaign.id = {campaign_id}
        """

Google Ads API Forum Advisor

unread,
Dec 12, 2023, 1:58:37 PM12/12/23
to nha...@liftsoft.vn, adwor...@googlegroups.com
Hi,

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

After reviewing your concern, I understand that you are trying to get all the status of asset in your campaign but API returns UNSPECIFIED approval status.

In order to assist you further, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end and uncropped UI screenshot of the Google Ads account where you are facing the issue.

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.NetPHPPythonRuby 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. 

 
This message is in relation to case "ref:!00D1U01174p.!5004Q02r1Lg6:ref"

Thanks,
 
Google Logo Google Ads API Team


Nhan DT

unread,
Dec 13, 2023, 12:04:20 AM12/13/23
to Google Ads API and AdWords API Forum
Hi,

Info here, can you check for me, please?
Host: googleads.googleapis.com, Method: /google.ads.googleads.v14.services.GoogleAdsService/SearchStream, RequestId: JviU8FmwEIfHMx4U440IMg, IsFault: False, FaultMessage: None

Thanks

Google Ads API Forum Advisor

unread,
Dec 13, 2023, 1:54:14 AM12/13/23
to nha...@liftsoft.vn, adwor...@googlegroups.com
Hi,

Thank you for getting back to us.

In order to assist you further as requested earlier, kindly provide us with the complete API logs (request and response with request-id and request header) generated at your end and uncropped UI screenshot of the data which you want to retrieve via the API.
Reply all
Reply to author
Forward
0 new messages