Hi guys, I'm trying to create an Ad using the API but I'm getting this:

*Request:*
Method: /google.ads.googleads.v9.services.AdGroupAdService/MutateAdGroupAds
Host: googleads.googleapis.com
Headers: {
  "developer-token": "REDACTED",
  "login-customer-id": "XXXXXXXXX",
  "x-goog-api-client": "gl-python/3.8.10 grpc/1.43.0 gax/2.5.0 gccl/14.1.0",
  "x-goog-request-params": "customer_id=XXXXXXXXX"
}
Request: customer_id: "XXXXXXXXX"
operations {
  create {
    status: PAUSED
    ad {
      responsive_search_ad {
        headlines {
          pinned_field: HEADLINE_1
          text: "Super Man"
        }
        headlines {
          text: "Afa7789"
        }
        headlines {
          text: "Anaheim, CA"
        }
        descriptions {
          text: "Apply Today - Posted 02/15/2022 - Hiring Super Man"
        }
        descriptions {
          text: "$12,000 - $16,000 - Part-Time - Resumes requested, please 
apply on Get.It."
        }
        path1: "jobs"
        path2: "work_with_us"
      }
      final_urls: "https://staging.get.it/listings/super-man-cGc6MzAx";
    }
    ad_group: "customers/XXXXXXXXX/adGroups/131275817737"
  }
}

*Response*
-------
Headers: {
  "google.ads.googleads.v9.errors.googleadsfailure-bin": 
"\n\u0001\n\u0003\u0004\u0002\u0012eThe resource has been disapproved since 
the policy summary includes policy topics of type PROHIBITED.\" 
\u0012\u000e\n\noperations\u0018\u0000\u0012\b\n\u0006create\u0012\u0004\n\u0002ad*\u001f\u001a\u001d\n\u001b\u0010\u0002*\u0017PHONE_NUMBER_IN_AD_TEXT\u0012\u0016oOqv1QaRofrfWgjP3daRVQ",
  "grpc-status-details-bin": "\b\u0003\u0012%Request contains an invalid 
argument.\u001a\u0002\nCtype.googleapis.com/google.ads.googleads.v9.errors.GoogleAdsFailure\u0012\u0001\n\u0001\n\u0003\u0004\u0002\u0012eThe
 
resource has been disapproved since the policy summary includes policy 
topics of type PROHIBITED.\" 
\u0012\u000e\n\noperations\u0018\u0000\u0012\b\n\u0006create\u0012\u0004\n\u0002ad*\u001f\u001a\u001d\n\u001b\u0010\u0002*\u0017PHONE_NUMBER_IN_AD_TEXT\u0012\u0016oOqv1QaRofrfWgjP3daRVQ",
  "request-id": "oOqv1QaRofrfWgjP3daRVQ"
}
Fault: errors {
  error_code {
    policy_finding_error: POLICY_FINDING
  }
  message: "The resource has been disapproved since the policy summary 
includes policy topics of type PROHIBITED."
  location {
    field_path_elements {
      field_name: "operations"
      index: 0
    }
    field_path_elements {
      field_name: "create"
    }
    field_path_elements {
      field_name: "ad"
    }
  }
  details {
    policy_finding_details {
      policy_topic_entries {
        type_: PROHIBITED
        topic: "PHONE_NUMBER_IN_AD_TEXT"
      }
    }
  }
}
request_id: "oOqv1QaRofrfWgjP3daRVQ"

As you can see, there is no phone numbers. Could you help me with that?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/979aeb7d-eb38-48d9-95ec-b9df47d35b73n%40googlegroups.com.
  • PH... Xavier Garzon
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum

Reply via email to