Guides
Ads and review
Responsive search ads, their limits, the policy review state machine and how to force each outcome.
The ads of a search campaign are responsive ads (responsiveSearchAd) inside an AdGroupAd. Every new ad goes through policy review before it delivers.
Create an ad
curl --request POST \
--url https://google-ads.mimicr.dev/v26/customers/2220330728/adGroupAds:mutate \
--header 'Authorization: Bearer <token>' \
--header 'login-customer-id: 6446154552' \
--header 'Content-Type: application/json' \
--data '{
"operations": [{
"create": {
"adGroup": "customers/2220330728/adGroups/54542600292",
"status": "ENABLED",
"ad": {
"finalUrls": ["https://revenda.example.com"],
"responsiveSearchAd": {
"headlines": [{ "text": "Gás rápido" }, { "text": "Botijão P13" }, { "text": "Peça já" }],
"descriptions": [{ "text": "Entrega em 30 min." }, { "text": "Pague no Pix." }]
}
}
}
}]
}'{ "results": [{ "resourceName": "customers/2220330728/adGroupAds/54542600292~54542600304" }] }Limits
| Rule | Error |
|---|---|
| 3 to 15 headlines | collectionSizeError: TOO_FEW or TOO_MANY |
| 2 to 4 descriptions | the same |
| Headline up to 30 characters, description up to 90 | stringLengthError: TOO_LONG |
| Empty text | stringLengthError: TOO_SHORT |
| Repeated headline or description (case-insensitive) | distinctError: DUPLICATE_ELEMENT |
path1 and path2 up to 15 characters; path2 requires path1 | TOO_LONG, adError: CANNOT_SET_PATH2_WITHOUT_PATH1 |
| At least one valid final URL | adError: CANNOT_SET_WITHOUT_FINAL_URLS, URL_NO_SCHEME, URL_MALFORMED |
| At most 3 enabled or paused responsive ads per ad group | resourceCountLimitExceededError: AD_GROUP_AD_LIMIT with resourceCountDetails |
The location.fieldPathElements field points to the exact item, for example …ad.responsive_search_ad.headlines[3].text. Only responsive search ads are simulated; other ad types are refused.
Policy review
The outcome lives in policySummary (reviewStatus, approvalStatus, policyTopicEntries):
| State | reviewStatus | approvalStatus | How to get there |
|---|---|---|---|
| New | REVIEW_IN_PROGRESS | UNKNOWN | On create |
| Approved | REVIEWED | APPROVED | On its own after 10 minutes of the sandbox clock, or ad.approve |
| Limited | REVIEWED | APPROVED_LIMITED | ad.limit or [limitado] in the text |
| Area of interest only | REVIEWED | AREA_OF_INTEREST_ONLY | ad.area_of_interest_only |
| Disapproved | REVIEWED | DISAPPROVED | ad.disapprove or [reprovar] in the text |
| May serve while under review | ELIGIBLE_MAY_SERVE | APPROVED | ad.eligible_may_serve |
| Appeal | UNDER_APPEAL | DISAPPROVED | ad.appeal; the decision comes from ad.approve or ad.disapprove |
| New review | REVIEW_IN_PROGRESS | the previous one | ad.rereview |
Only APPROVED, APPROVED_LIMITED or AREA_OF_INTEREST_ONLY ads with a REVIEWED or ELIGIBLE_MAY_SERVE review deliver. A text with [politica] is not even created: the create fails with policyFindingError: POLICY_FINDING.
In Mimicr, the automatic review follows the autoReview and reviewDelayMinutes toggles. adStrength stays PENDING during review and then ranges from POOR (fewer than 5 headlines) to EXCELLENT (15 headlines and at least 3 descriptions).
Track the review
curl --request POST \
--url https://google-ads.mimicr.dev/v26/customers/2220330728/googleAds:search \
--header 'Authorization: Bearer <token>' \
--header 'login-customer-id: 6446154552' \
--header 'Content-Type: application/json' \
--data '{ "query": "SELECT ad_group_ad.ad.id, ad_group_ad.policy_summary.approval_status, ad_group_ad.policy_summary.review_status, ad_group_ad.policy_summary.policy_topic_entries FROM ad_group_ad WHERE campaign.id = 54542599977" }'A disapproved ad carries the topic entry:
{
"adGroupAd": {
"resourceName": "customers/2220330728/adGroupAds/54542599986~54542599990",
"ad": { "resourceName": "customers/2220330728/ads/54542599990", "id": "54542599990" },
"policySummary": {
"reviewStatus": "REVIEWED",
"approvalStatus": "DISAPPROVED",
"policyTopicEntries": [{ "topic": "MISLEADING_CONTENT", "type": "PROHIBITED", "evidences": [{ "textList": { "texts": ["Gás rápido [reprovar]"] } }] }]
}
}
}In an automated test, don't wait 10 real minutes: advance the sandbox clock (npx mimicr clock google-ads +10m) or decide right away with ad.approve or ad.disapprove, then query again.
Edit and remove ads
Once created, only the ad's status changes (updateMask: "status"). Changing any ad.* answers adError: CANNOT_USE_AD_SUBCLASS_FOR_OPERATOR. To change the text, create a new ad and remove the old one in the same mutate. A removed ad does not come back: new operations on it answer adGroupAdError: CANNOT_OPERATE_ON_REMOVED_ADGROUPAD.