Guides
Getting started

Testing in the sandbox

Mimicr's test triggers, the homologation toggles, chaos and the actions that force each outcome.

Google does not document test triggers. Every trigger on this page is Mimicr's own and only works in the sandbox.

Value triggers

WhereValueEffect
Headline or description of a responsive ad[reprovar]The review ends DISAPPROVED (topic MISLEADING_CONTENT)
Same place[limitado]The review ends APPROVED_LIMITED
Same place[politica]The create fails with policyFindingError: POLICY_FINDING (PROHIBITED, the evidence is the text)
Same place[falha-simulada]The whole mutate answers 500 INTERNAL, internalError: INTERNAL_ERROR
Keyword text[reprovar]approvalStatus: DISAPPROVED
Campaign name[concorrente]The first 2 mutates on it answer 409 databaseError: CONCURRENT_MODIFICATION
descriptiveName in createCustomerClient[mcc-inelegivel]customerError: CREATION_DENIED_INELIGIBLE_MCC
Same place[limite-contas]managerLinkError: TOO_MANY_ACCOUNTS
Same place[politica]customerError: CREATION_DENIED_FOR_POLICY_VIOLATION
Budget amountMicros13130000 (R$ 13.13)campaignBudgetError: BUDGET_BELOW_PER_DAY_MINIMUM with budgetPerDayMinimumErrorDetails
transactionId in Data Managerprefix reject-<MOTIVO>-The event ends with PROCESSING_ERROR_REASON_<MOTIVO>
gclid in Data Managertest-click-not-foundPROCESSING_ERROR_REASON_CLICK_NOT_FOUND

Example: "transactionId": "reject-EXPIRED_CLICK-pedido-9" ends with PROCESSING_ERROR_REASON_EXPIRED_CLICK.

Force outcomes from the other side

To testAction
Ad approved, disapproved, limited, under appealad.approve, ad.disapprove, ad.limit, ad.area_of_interest_only, ad.appeal, ad.rereview, ad.eligible_may_serve
Disapproved lead formasset.disapprove
Disapproved keywordkeyword.disapprove
Clicks and gclidtraffic.click, traffic.deliver, traffic.set_profile
Lead and webhooklead.submit, lead.send_test, lead.set_stage, webhook.resend
Outcome of a conversionconversion.set_outcome, conversion.process_now
Canceled, suspended or not signed-up accountcustomer.set_status, customer.require_signup
Declined paymentbilling.fail, billing.restore
Expired or revoked tokenoauth.expire_access_tokens, oauth.revoke
API disabled in the projectproject.disable_api, project.enable_api
Project at TEST or EXPLORERproject.set_access_level
User without Google Adsuser.not_ads_user
Exhausted quotaquota.exhaust, quota.reset
Concurrent modificationchaos.concurrent_modification

Parameters of each action in Sandbox control.

Homologation toggles

bash
curl --request PUT \
  --url https://api.mimicr.dev/v1/google-ads/homolog \
  --header 'Authorization: Bearer mk_...' \
  --header 'Content-Type: application/json' \
  --data '{ "legacyConversionUploadAllowed": true, "reviewDelayMinutes": 0 }'
ToggleDefaultEffect
autoReviewtrueAds and forms are approved on their own after the delay
reviewDelayMinutes10Sandbox clock minutes until the automatic review
anyRedirectUritrueThe consent screen accepts any redirect_uri
legacyConversionUploadAllowedfalseUnlocks uploadClickConversions; when off, it answers CUSTOMER_NOT_ALLOWLISTED_FOR_THIS_FEATURE
conversionProcessingSeconds60Seconds until an events:ingest is processed
enforceClickAgefalseClicks less than 6 hours old give PROCESSING_ERROR_REASON_TOO_RECENT_CLICK
newActionCooldownMinutes0New conversion actions refuse uploads during this time
overdeliveryfalseDaily delivery can reach 2 times the budget (the month stays capped at 30.4 times)
requireBillingfalseNew client accounts start with a declined payment until billing.restore
limits.clientsPerManager20Client accounts per manager account (MCC)
limits.minDailyBudgetMicros1000000Minimum daily budget

Chaos

Each area injects latency and HTTP errors in Google's envelope, before or after processing:

KeyCovers
oauth/token, /revoke and /v1/userinfo
ads_searchsearch, searchStream, listAccessibleCustomers and suggest
ads_mutateEvery mutate; "operation failure" becomes CONCURRENT_MODIFICATION
datamanagerevents:ingest and requestStatus:retrieve
webhookLead webhook: the first attempt fails or the delivery is duplicated
bash
curl --request PUT \
  --url https://api.mimicr.dev/v1/google-ads/chaos/ads_mutate \
  --header 'Authorization: Bearer mk_...' \
  --header 'Content-Type: application/json' \
  --data '{ "enabled": true, "opsFailRate": 30, "opsFailCode": "CONCURRENT_MODIFICATION" }'

The consent screen and /mimicr/click are not affected by chaos. The fields are in Sandbox control.

Outside the core

What Mimicr does not simulate answers explicitly, never silently:

  • Routes outside the core: 501 UNIMPLEMENTED "Not simulated by Mimicr: … is outside the Google Ads integration core.".
  • googleAds:mutate operations outside the nine covered ones: 400 requestError: OPERATION_REQUIRED with the message "Not simulated by Mimicr".
  • GAQL resources, metrics, campaign types and criterion types that are not simulated: Google's error with the suffix "(not simulated by Mimicr)".