How to trigger a PolicyViolationError by creating ExpandedTextAd

75 views
Skip to first unread message

guofu Zhong

unread,
Mar 11, 2020, 1:44:32 AM3/11/20
to AdWords API and Google Ads API Forum
Hi team,

our team is working on building an agency platform to support google ads.
But I'm a little confused about PolicyViolationError, I can trigger the PolicyFindingError by creating the invalid ad title which includes the "!!" in the ad title.
From this code comments,
// Note: Depending on the ad type, you may get back policy violation errors as
// either PolicyFindingError or PolicyViolationError. ExpandedTextAds return
// errors as PolicyFindingError

It looks ExpandedTextAds couldn't return the PolicyViolationError.
Please get me a confirmation and if it could, could you provide me two examples?
I'd like to test the PolicyViolationError on ExpandedTextAd with isExemptable= true and isExemptable= false scenario.

Thanks,
Guofu

Google Ads API Forum Advisor Prod

unread,
Mar 11, 2020, 3:21:57 PM3/11/20
to msgu...@gmail.com, adwor...@googlegroups.com

Hello Guofu,

Thank you for reaching out. As mentioned in the code sample, the expanded text ads works differently when compared to other ads while throwing policy errors. Please refer to this guide for confirmation on your concern and more details on how to handle policy exemption requests for these ads. Please let me know if you have any additional concerns.

Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UXUlO7:ref

guofu Zhong

unread,
Mar 11, 2020, 6:13:22 PM3/11/20
to AdWords API and Google Ads API Forum
Hi team,

from this discussion:
Starting with v201806, ExpandedTextAd will return a PolicyFindingError instead of a PolicyViolationError when there are policy issues
This PolicyFindingError type of error indicates that the ad will certainly fail review again even if an exemption is requested

we are using the API v2, could you confirm if we still need to implement the exemption handing for PolicyViolationError for ExpanedTextAd?

Google Ads API Forum Advisor Prod

unread,
Mar 12, 2020, 3:22:30 PM3/12/20
to msgu...@gmail.com, adwor...@googlegroups.com

Hello Guofu,

Yes, you need to send an exemption request for the Expanded Text ads if you wish to send an exemption request and handle policy specific errors. The shared guide in my previous response shows the steps to follow while sending the another mutate request including all the ignorable policy topics. The ads might fail review again, but could be approved later if you fix the underlying issue. Please let us know if you still have concerns.



Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UXUlO7:ref

guofu Zhong

unread,
Mar 12, 2020, 7:10:08 PM3/12/20
to AdWords API and Google Ads API Forum
It sounds wired for me. if it could be approved later if I fix the problem, why I submit the exemption.
my question is 

we are using the API v2, could you confirm if ExpanedTextAd still throws PolicyViolationError?

Google Ads API Forum Advisor Prod

unread,
Mar 13, 2020, 3:43:47 PM3/13/20
to msgu...@gmail.com, adwor...@googlegroups.com

Hello Guofu,

The expanded text ads throws PolicyFindingErrors if it violates the policy. As per the latest documentation,you will need to send an exemption request for these ads as the product support team will be able to review the ads based on the violations to be ignored while creating the ads, so that your ads do not throw policy finding errors on creation via API. If the ads fails review again, you will need to fix the issue later. Please let me know if this clarifies your concerns.



Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UXUlO7:ref

guofu Zhong

unread,
Mar 13, 2020, 5:00:57 PM3/13/20
to AdWords API and Google Ads API Forum
Can you find another support guy talk to me? 
I said the PolicyViolationError instead of PolicyFindingErrors.
we are using the API v2, could you confirm if ExpanedTextAd still throws PolicyViolationError?


Google Ads API Forum Advisor Prod

unread,
Mar 16, 2020, 12:12:31 PM3/16/20
to msgu...@gmail.com, adwor...@googlegroups.com

Hello Guofu,

We are looking into your request and will get back to you shortly.



Regards,
Nikisha Patel, Google Ads API Team



ref:_00D1U1174p._5001UXUlO7:ref

Google Ads API Forum Advisor Prod

unread,
Mar 17, 2020, 3:49:22 AM3/17/20
to msgu...@gmail.com, adwor...@googlegroups.com
Hello Guofu,


>  we are using the API v2, could you confirm if ExpanedTextAd still throws PolicyViolationError?
 
No, the Google Ads API all versions don't throw PolicyViolationError just like Nikishaben has mentioned.
Please follow this guide to see the details of how you could handle PolicyFindingDetails.


>  Starting with v201806, ExpandedTextAd will return a PolicyFindingError instead of a PolicyViolationError when there are policy issues
This PolicyFindingError type of error indicates that the ad will certainly fail review again even if an exemption is requested

Could you please confirm again where you got the above information?
The URL you pasted seems to link back to this forum post.

In addition, please note that v201806 that you mentioned is the versioning of the AdWords API, which is the older version of the Google Ads API. They share some definitions but the underlying systems are not the same.
So, if you learn something from guides or blog posts of the AdWords API in the past, they might not apply to the Google Ads API directly.

Best,
Thanet, Google Ads API Team


ref:_00D1U1174p._5001UXUlO7:ref

guofu Zhong

unread,
Mar 17, 2020, 6:36:56 PM3/17/20
to AdWords API and Google Ads API Forum
Thank you guys.
I haven't any questions more.
Reply all
Reply to author
Forward
0 new messages