Status Mapping in PolicySummary.ApprovalStatus

96 views
Skip to first unread message

Javier Val

unread,
Mar 14, 2022, 6:37:26 AM3/14/22
to Google Ads API and AdWords API Forum
Hello!

I am migrating from the AdWords API to the Ads API (v10). Some of my use cases check the states of the Ads in Google, but I have 3 specific cases that I don't know how to migrate, because I can't find a correspondence between states. I share them with you in case you can help me. 

  • First case: check is pending in Google. Adwords code: googleAdGroupAd.policySummary.combinedApprovalStatus == PolicyApprovalStatus.UNDER_REVIEW
  • Second case: check is disapproved in Google.  Adwords code: googleAdGroupAd.policySummary.combinedApprovalStatus == PolicyApprovalStatus.DISAPPROVED ||
                    googleAdGroupAd.policySummary.combinedApprovalStatus == PolicyApprovalStatus.SITE_SUSPENDED; 
  • Third case: check is enabled in Google: AdWords code: googleAdGroupAd.PolicySummary.ApprovalStatus == PolicyApprovalStatus.Approved ||
                    googleAdGroupAd.PolicySummary.ApprovalStatus == PolicyApprovalStatus.ApprovedLimited ||
                    googleAdGroupAd.PolicySummary.combinedApprovalStatus == PolicyApprovalStatus.ELIGIBLE;
The enum values UNDER_REVIEW, SITE_SUSPENDED and ELIGIBLE are not matched in GoogleAds. Is there a way to map them or can I just ignore them and my checks will work fine?

Thank you very mach. Regards


Google Ads API Forum Advisor

unread,
Mar 14, 2022, 4:13:34 PM3/14/22
to javie...@tiendeo.com, adwor...@googlegroups.com
Hi Javier,

Thanks for reaching out. Please allow me to share your inquiry with our team to clarify how three states map to the Ads API ad_group_ad.policy_summary.approval_status. 

Thanks,
Matt
Google Ads API Team

Google Logo
Matt
Google Ads API Team
 


ref:_00D1U1174p._5004Q2Yl1ey:ref

Javier Val

unread,
Mar 15, 2022, 4:14:13 AM3/15/22
to Google Ads API and AdWords API Forum
Thank you very much Matt, 

I await your response.

Regards

Ngon Nguyen

unread,
Mar 17, 2022, 8:27:43 PM3/17/22
to javie...@tiendeo.com, Google Ads API and AdWords API Forum
Chào mừng bạn đến với bảng nhớ tạm của Gboard, bất kỳ văn bản nào bạn sao chép sẽ được lưu tại đây.Sử dụng biểu tượng chỉnh sửa để ghim, thêm hoặc xóa đoạn.Nhấn vào một đoạn để dán vào hộp văn bản.Chạm và giữ một đoạn để ghim đoạn đó. Các đoạn đã bỏ ghim sẽ bị xóa sau 1 giờ.

Vào 17:37, Th 2, 14 thg 3, 2022 Javier Val <javie...@tiendeo.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/ec437eb7-5ad6-4fb0-b1da-7a6d90e2b3afn%40googlegroups.com.

Javier Val

unread,
Mar 18, 2022, 3:20:58 AM3/18/22
to Google Ads API and AdWords API Forum
Hello!

Do you have any news on this topic?

Thank you very much. 
All the best

Ngon Nguyen

unread,
Mar 18, 2022, 6:37:45 AM3/18/22
to javie...@tiendeo.com, Google Ads API and AdWords API Forum

Vào 14:21, Th 6, 18 thg 3, 2022 Javier Val <javie...@tiendeo.com> đã viết:
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api...@googlegroups.com.

Google Ads API Forum Advisor

unread,
Mar 21, 2022, 12:48:22 PM3/21/22
to javie...@tiendeo.com, adwor...@googlegroups.com
Hello,

Not yet. I am following up with some experts on this to make sure I get the right info, and will let you know as soon as I've got a solid answer.

Regards,
Mike, Google Ads API Team

ref:_00D1U1174p._5004Q2Yl1ey:ref

Javier Val

unread,
Mar 22, 2022, 4:36:52 AM3/22/22
to Google Ads API and AdWords API Forum
Ok, thank you very much for the feedback.

Regards

Javier Val Lista

unread,
Mar 29, 2022, 12:00:25 PM3/29/22
to Google Ads API and AdWords API Forum
Hello, 

Without intending to be annoying, do you have any estimate of when you might have a response? I need to plan the last steps of the API migration.

Thank you very much.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
 
You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "Google Ads API and AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/-vEAt936CSE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a0375120-1b7d-4d59-9923-3f1d857a3c72n%40googlegroups.com.

Google Ads API Forum Advisor

unread,
Mar 29, 2022, 12:10:03 PM3/29/22
to javie...@tiendeo.com, adwor...@googlegroups.com
Hello,

Unfortunately, there's no way for me to get a specific estimate, but I have followed up on the request to make sure that the team understand the urgency, since there is a hard deadline for the migration. I will continue to monitor and let you know when I have any new information.
Reply all
Reply to author
Forward
0 new messages