Appealing PolicyFindingError For ExpandedTextAd by API not work

163 views
Skip to first unread message

guofu Zhong

unread,
Jun 7, 2020, 2:37:42 AM6/7/20
to AdWords API and Google Ads API Forum
Hi Team,

we are facing this wired issue.
our SDK language is C#, nuget package:Google.Ads.GoogleAds 2.9.0
We are using V3 API.

we set up the PolicyValidationParameter in AdGroupAdOperation, we fetch the ViolatingPolicyName from PolicySummary and  include the ViolatingPolicyName list into IgnorablePolicyTopics.
then we call the MutateAdGroupAdsAsync API.

   var adGroupAdService = this.Client.GetService(Services.V3.AdGroupAdService);
   var response = await adGroupAdService.MutateAdGroupAdsAsync(customerId, operations, partialFailure, validateOnly, callSettings);

{
  "Item1": "6360593950",
  "Item2": [
    {
      "UpdateMask": {
        "Paths": [
          "resource_name",
          "status"
        ]
      },
      "PolicyValidationParameter": {
        "IgnorablePolicyTopics": [
          "SYMBOLS",
          "UNACCEPTABLE_SPACING"
        ],
        "ExemptPolicyViolationKeys": []
      },
      "Create": null,
      "Update": {
        "ResourceName": "customers/6360593950/adGroupAds/109022312784~440045053561",
        "Status": 2,
        "AdGroup": null,
        "Ad": null,
        "PolicySummary": null,
        "AdStrength": 0
      },
      "Remove": "",
      "OperationCase": 2
    }
  ],
  "Item3": true,
  "Item4": null,
  "Item5": null
}


{
  "PartialFailureError": {
    "Code": 3,
    "Message": "ignorable_policy_topics are not supported for this ad type., at operations[0].policy_validation_parameter.ignorable_policy_topics",
    "Details": [
      {
      }
    ]
  },
  "Results": [
    {
      "ResourceName": ""
    }
  ],
  "PartialFailure": {
    "Errors": [
      {
        "CombinedFieldPath": "operations[0].policy_validation_parameter.ignorable_policy_topics",
        "Message": "ignorable_policy_topics are not supported for this ad type.",
        "Trigger": null,
        "Location": {
          "FieldPathElements": [
            {
              "FieldName": "operations",
              "Index": 0
            },
            {
              "FieldName": "policy_validation_parameter",
              "Index": null
            },
            {
              "FieldName": "ignorable_policy_topics",
              "Index": null
            }
          ]
        },
        "Details": null
      }
    ]
  }
}


It looks in Google Api V3, we cannot appeal an expanded text ad.
Could you tell me how to appeal policy finding error for expanded text ad in v3 API?
Or Could you confirm if it is impossible to appeal an expanded text ad by v3 API?

Google Ads API Forum Advisor Prod

unread,
Jun 8, 2020, 2:23:27 PM6/8/20
to msgu...@gmail.com, adwor...@googlegroups.com
Hi Guofu,

From our documentation on https://developers.google.com/google-ads/api/docs/policy-exemption/expanded-text-ads, the process for requesting exemption for expanded text ads requires two API calls. The first API call should not include a "ignorable_policy_topics" entry. Once that API call fails, the response should be inspected and the failure reason used for the second API request.

Please give that a try and let me know if you still have issues!

Thanks,
Sasha
The Google Ads API Team

ref:_00D1U1174p._5004Q20WqvS:ref

guofu Zhong

unread,
Jun 8, 2020, 4:01:29 PM6/8/20
to AdWords API and Google Ads API Forum
Not work.
The ignorable_policy_topics is fetched from previous calls.
The error doesn't seem to be caused by I only call once.

Google Ads API Forum Advisor Prod

unread,
Jun 9, 2020, 11:04:07 AM6/9/20
to msgu...@gmail.com, adwor...@googlegroups.com
Hi Guofu,

I looked at your request again and noticed that it is an update request and not a create request. The exemption fields are only valid for create requests of ads containing policy violations at the time of creation. The API will not allow you to create those ads otherwise.  I also looked up the ad from your request and noticed that it is currently pending review. The fact that the ad was successfully created implies that it did not have any policy violations at the time of creation.

guofu Zhong

unread,
Jun 9, 2020, 7:29:31 PM6/9/20
to AdWords API and Google Ads API Forum
Hi team,

it sounds wired to me.
when you edit ads, you also will hit the editorial error, why I can not appeal it if i could when create?

Google Ads API Forum Advisor Prod

unread,
Jun 10, 2020, 12:19:42 PM6/10/20
to msgu...@gmail.com, adwor...@googlegroups.com
Hi Guofu,

Ads can only be created when they have passed the automated validation. That includes if exemption information is included. After creation, some ads will also go through an additional review. Updating an Ad cannot include exemption information because the Ad has already passed validation in the creation process.

However, for the Ad with resource_name of "customers/6360593950/adGroupAds/109022312784~440045053561", when I checked in the previous email, the Ad was still pending additional review.

guofu Zhong

unread,
Jun 11, 2020, 10:51:41 PM6/11/20
to AdWords API and Google Ads API Forum
Hi Team,

Thank you for help.
I could confirm that when I create an ad with a violating key, I could create ads successfully.
Do you have plan also support the update operation?
for example, when I update a created ads, I may type the content which violating policy, why we cannot appeal it?
It doesn't make sense.

Google Ads API Forum Advisor Prod

unread,
Jun 12, 2020, 4:35:47 PM6/12/20
to msgu...@gmail.com, adwor...@googlegroups.com
Hi Guofu,

I don't believe there is a plan to allow the exemption policies to be included in update operations. A workaround for the moment is to delete the ad and then create a new ad with the new text to go through the validation flow again.

Could you please share a request sample or request ID for how you changed the ad content which then violated the policy?

TommyTek

unread,
Apr 26, 2022, 11:29:05 AM4/26/22
to Google Ads API and AdWords API Forum
Hello,
  is there any update on this matter?

I've the same problem: I've some ads live, that are disapproved because seem to contain phone numbers in the headline (but it is not true, ). From UI I can appeal the decision, but not from API.

Perhaps in the last 2 years a such api has been developed (I'm on V10).

Thank you for your help

Google Ads API Forum Advisor

unread,
May 5, 2022, 2:59:57 PM5/5/22
to adcente...@gmail.com, adwor...@googlegroups.com
Hi Tommy,

The current Requesting Exemption for Ads guide states that the steps for requesting exemption is the same for all ad types and similar for all mutates (create & update). If the above doesn't address your issue, could you elaborate on your scenario and privately give us 'DEBUG' log level request and response logs of API communication illustrating what is missing, combined with full screen screenshots of what you are able to do in the UI?

The request and response appears similar to the JSON Mappings in our REST documentation with additional headers and information such as request Id. Our client libraries have loggers with logging instructions, to see these instructions you can click on the client library you use in the sidebar of our client library guide and click on "Logging”.

If you are using our REST interface then the full multi line curl command line is a request log and adding curl command line option '-i' will also generate a response log.

Regards,

Google Logo
Aryeh
Google Ads API Team
 


 

ref:_00D1U1174p._5004Q20WqvS:ref
Reply all
Reply to author
Forward
0 new messages