{"components":{"schemas":{"ProductFailure":{"type":"object","properties":{"error":{"type":"object","properties":{"category":{"type":"string","enum":["invalid_input","unauthenticated","forbidden","not_found","conflict","precondition_failed","rate_limited","upstream_failed","unavailable","internal"]},"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"issues":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}},"message":{"type":"string","minLength":1,"maxLength":2000},"retryAfterSeconds":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"retryable":{"type":"boolean"}},"required":["category","code","issues","message","retryable"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":false}},"required":["error","meta","ok"],"additionalProperties":false}},"securitySchemes":{"productOAuth":{"flows":{"authorizationCode":{"authorizationUrl":"https://ppc.turbomt.app/oauth/authorize","scopes":{"product:full":"Use the product capabilities allowed by the authorizing user's live Agency roles.","offline_access":"Request a rotating refresh token for continued delegated access."},"tokenUrl":"https://ppc.turbomt.app/oauth/token","x-usePkce":"SHA-256"}},"description":"OAuth 2.0 Authorization Code with S256 PKCE. Tokens inherit the authorizing user's live agency permissions; sensitive operations retain their normal confirmation requirements.","type":"oauth2"}}},"info":{"description":"The complete Turbo PPC product interface for people and agents. This contract is generated from the same capability catalog used by the web app and MCP server, so operation IDs, validation, authorization, errors, and confirmation rules stay aligned.","title":"Turbo PPC Product API","version":"1.0.0"},"openapi":"3.1.0","paths":{"/api/v1/me":{"get":{"description":"Return the authenticated user's profile, preferences, and MFA state.","operationId":"get_my_profile","parameters":[],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"avatarUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"email":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"firstName":{"type":["string","null"]},"fullName":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastName":{"type":["string","null"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"mfa":{"type":"object","properties":{"assuranceLevel":{"type":"string","enum":["aal2","delegated_aal2"]},"satisfied":{"type":"boolean","const":true}},"required":["assuranceLevel","satisfied"],"additionalProperties":false},"preferences":{"type":"object","properties":{"obscureEmailAddresses":{"type":"boolean"}},"required":["obscureEmailAddresses"],"additionalProperties":false}},"required":["avatarUrl","email","firstName","fullName","id","lastName","updatedAt","mfa","preferences"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get my profile","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"patch":{"description":"Update the authenticated user's name and email display preference.","operationId":"update_my_profile","parameters":[],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"firstName":{"type":"string","minLength":1,"maxLength":80,"description":"Given name stored on the current user's profile."},"lastName":{"type":"string","minLength":1,"maxLength":80,"description":"Family name stored on the current user's profile."},"obscureEmailAddresses":{"type":"boolean","description":"Whether product views should mask email addresses for the current user."}},"type":"object","required":["expectedUpdatedAt","firstName","lastName","obscureEmailAddresses"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"avatarUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"email":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"firstName":{"type":["string","null"]},"fullName":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastName":{"type":["string","null"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"mfa":{"type":"object","properties":{"assuranceLevel":{"type":"string","enum":["aal2","delegated_aal2"]},"satisfied":{"type":"boolean","const":true}},"required":["assuranceLevel","satisfied"],"additionalProperties":false},"preferences":{"type":"object","properties":{"obscureEmailAddresses":{"type":"boolean"}},"required":["obscureEmailAddresses"],"additionalProperties":false}},"required":["avatarUrl","email","firstName","fullName","id","lastName","updatedAt","mfa","preferences"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update my profile","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies":{"get":{"description":"List the authenticated user's Agencies with stable cursor pagination.","operationId":"list_agencies","parameters":[{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":100,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"logoUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"allowedOperations":{"maxItems":6,"type":"array","items":{"type":"string","enum":["update_agency","set_agency_logo","invite_agency_member","resend_member_invitation","update_agency_member","remove_agency_member"]}},"role":{"type":"string","enum":["owner","admin","member","viewer"]}},"required":["id","logoUrl","name","slug","updatedAt","allowedOperations","role"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Agencies","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"post":{"description":"Create an Agency with the authenticated user as its owner.","operationId":"create_agency","parameters":[{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"name":{"type":"string","minLength":2,"maxLength":120,"description":"Human-readable name supplied for this resource or action."}},"type":"object","required":["name"]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"logoUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"allowedOperations":{"maxItems":6,"type":"array","items":{"type":"string","enum":["update_agency","set_agency_logo","invite_agency_member","resend_member_invitation","update_agency_member","remove_agency_member"]}},"role":{"type":"string","enum":["owner","admin","member","viewer"]}},"required":["id","logoUrl","name","slug","updatedAt","allowedOperations","role"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Create Agency","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}":{"get":{"description":"Return one Agency's settings, caller role, and entitlements.","operationId":"get_agency","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"logoUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"allowedOperations":{"maxItems":6,"type":"array","items":{"type":"string","enum":["update_agency","set_agency_logo","invite_agency_member","resend_member_invitation","update_agency_member","remove_agency_member"]}},"role":{"type":"string","enum":["owner","admin","member","viewer"]},"entitlements":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1}}},"required":["id","logoUrl","name","slug","updatedAt","allowedOperations","role","entitlements"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Agency","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"patch":{"description":"Update an Agency's editable identity using its current version.\n\nInput constraints: Provide at least one of name or slug. A slug must not be reserved by application routing.","operationId":"update_agency","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"Provide at least one of name or slug. A slug must not be reserved by application routing.","properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"name":{"type":"string","minLength":2,"maxLength":120,"description":"Human-readable name supplied for this resource or action."},"slug":{"type":"string","minLength":2,"maxLength":80,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"Lowercase URL slug containing letters, numbers, and single hyphens."}},"type":"object","required":["expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"logoUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"allowedOperations":{"maxItems":6,"type":"array","items":{"type":"string","enum":["update_agency","set_agency_logo","invite_agency_member","resend_member_invitation","update_agency_member","remove_agency_member"]}},"role":{"type":"string","enum":["owner","admin","member","viewer"]}},"required":["id","logoUrl","name","slug","updatedAt","allowedOperations","role"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Agency","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/logo":{"put":{"description":"Set or remove an Agency logo using a bounded image payload.","operationId":"set_agency_logo","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"logo":{"anyOf":[{"type":"object","properties":{"contentBase64":{"type":"string","minLength":4,"maxLength":699052,"pattern":"^[A-Za-z0-9+/]+={0,2}$","description":"Padded base64-encoded image bytes, without a data-URL prefix."},"contentType":{"type":"string","enum":["image/jpeg","image/png","image/webp"],"description":"MIME type of the uploaded Agency logo image."}},"required":["contentBase64","contentType"],"additionalProperties":false,"description":"Logo content must use valid padded base64 encoding."},{"type":"null"}],"description":"Agency logo image; send null to remove the current logo."}},"type":"object","required":["expectedUpdatedAt","logo"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"logoUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"allowedOperations":{"maxItems":6,"type":"array","items":{"type":"string","enum":["update_agency","set_agency_logo","invite_agency_member","resend_member_invitation","update_agency_member","remove_agency_member"]}},"role":{"type":"string","enum":["owner","admin","member","viewer"]}},"required":["id","logoUrl","name","slug","updatedAt","allowedOperations","role"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Set Agency logo","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/setup-status":{"get":{"description":"Return focused Agency onboarding prerequisites and the next product action.","operationId":"get_agency_setup_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"complete":{"type":"boolean"},"nextAction":{"anyOf":[{"type":"object","properties":{"capability":{"type":"string","enum":["start_google_authorization","start_provider_account_refresh","list_assignable_provider_accounts"]},"reason":{"type":"string","minLength":1}},"required":["capability","reason"],"additionalProperties":false},{"type":"null"}]},"prerequisites":{"type":"object","properties":{"googleAdsAccountAccess":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"satisfied":{"type":"boolean"}},"required":["count","satisfied"],"additionalProperties":false},"googleAdsAccountAssignment":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"satisfied":{"type":"boolean"}},"required":["count","satisfied"],"additionalProperties":false},"googleConnection":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"satisfied":{"type":"boolean"}},"required":["count","satisfied"],"additionalProperties":false}},"required":["googleAdsAccountAccess","googleAdsAccountAssignment","googleConnection"],"additionalProperties":false},"stage":{"type":"string","enum":["connect_google","find_google_ads_accounts","link_google_ads_account","complete"]}},"required":["complete","nextAction","prerequisites","stage"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Agency setup status","tags":["identity_agencies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/members":{"get":{"description":"List Agency members, invitation state, and caller-permitted operations.","operationId":"list_agency_members","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"callerRole":{"type":"string","enum":["owner","admin","member","viewer"]},"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"email":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"fullName":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"role":{"type":"string","enum":["owner","admin","member","viewer"]},"allowedOperations":{"maxItems":3,"type":"array","items":{"type":"string","enum":["resend_member_invitation","update_agency_member","remove_agency_member"]}},"invitationState":{"type":"string","enum":["invited","account_established","active"]}},"required":["createdAt","email","fullName","id","role","allowedOperations","invitationState"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["callerRole","items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Agency members","tags":["members"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/member-invitations":{"post":{"description":"Invite an email address to an Agency with a non-owner role.","operationId":"invite_agency_member","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"email":{"type":"string","description":"Email address of the person to invite to the Agency."},"role":{"type":"string","enum":["admin","member","viewer"],"description":"Agency role to assign to the member."}},"type":"object","required":["email","role"]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"canResendInvitation":{"type":"boolean"},"invitationStatus":{"type":"string","enum":["requested","not_requested","failed"]},"memberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"membershipAdded":{"type":"boolean"},"outcome":{"type":"string","enum":["setup_email_requested","member_added_no_email","already_member","member_added_email_failed"]}},"required":["canResendInvitation","invitationStatus","memberId","membershipAdded","outcome"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Invite Agency member","tags":["members"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":true,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/members/{memberId}/invitation-resends":{"post":{"description":"Resend account setup mail while an Agency member remains eligible.","operationId":"resend_member_invitation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Agency membership record.","in":"path","name":"memberId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency membership record."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"canResendInvitation":{"type":"boolean"},"memberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["requested","not_eligible","failed"]}},"required":["canResendInvitation","memberId","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Resend member invitation","tags":["members"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":true,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/members/{memberId}/role-change-previews":{"post":{"description":"Inspect an Agency member role change and issue a one-time confirmation when it grants or removes owner access.","operationId":"preview_agency_member_role_change","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Agency membership record.","in":"path","name":"memberId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency membership record."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"role":{"type":"string","enum":["owner","admin","member","viewer"],"description":"Agency role to assign to the member."}},"type":"object","required":["role"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"anyOf":[{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},{"type":"null"}]},"expectedRole":{"type":"string","enum":["owner","admin","member","viewer"]},"memberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"role":{"type":"string","enum":["owner","admin","member","viewer"]}},"required":["confirmation","expectedRole","memberId","role"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Agency member role change","tags":["members"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/members/{memberId}":{"patch":{"description":"Change an Agency member role from an exact last-observed role while preserving owner rules.","operationId":"update_agency_member","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Agency membership record.","in":"path","name":"memberId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency membership record."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedRole":{"type":"string","enum":["owner","admin","member","viewer"],"description":"Agency role observed before changing or removing the member."},"role":{"type":"string","enum":["owner","admin","member","viewer"],"description":"Agency role to assign to the member."}},"type":"object","required":["expectedRole","role"],"allOf":[{"if":{"allOf":[{"properties":{"expectedRole":{"const":"admin"}},"required":["expectedRole"],"type":"object"},{"properties":{"role":{"const":"owner"}},"required":["role"],"type":"object"}]},"then":{"required":["confirmationToken"]}},{"if":{"allOf":[{"properties":{"expectedRole":{"const":"owner"}},"required":["expectedRole"],"type":"object"},{"properties":{"role":{"const":"admin"}},"required":["role"],"type":"object"}]},"then":{"required":["confirmationToken"]}},{"if":{"allOf":[{"properties":{"expectedRole":{"const":"member"}},"required":["expectedRole"],"type":"object"},{"properties":{"role":{"const":"owner"}},"required":["role"],"type":"object"}]},"then":{"required":["confirmationToken"]}},{"if":{"allOf":[{"properties":{"expectedRole":{"const":"owner"}},"required":["expectedRole"],"type":"object"},{"properties":{"role":{"const":"member"}},"required":["role"],"type":"object"}]},"then":{"required":["confirmationToken"]}},{"if":{"allOf":[{"properties":{"expectedRole":{"const":"viewer"}},"required":["expectedRole"],"type":"object"},{"properties":{"role":{"const":"owner"}},"required":["role"],"type":"object"}]},"then":{"required":["confirmationToken"]}},{"if":{"allOf":[{"properties":{"expectedRole":{"const":"owner"}},"required":["expectedRole"],"type":"object"},{"properties":{"role":{"const":"viewer"}},"required":["role"],"type":"object"}]},"then":{"required":["confirmationToken"]}}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"memberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"role":{"type":"string","enum":["owner","admin","member","viewer"]}},"required":["memberId","role"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Agency member","tags":["members"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["confirmationToken"],"when":[{"equals":"admin","path":["expectedRole"]},{"equals":"owner","path":["role"]}]},{"requires":["confirmationToken"],"when":[{"equals":"owner","path":["expectedRole"]},{"equals":"admin","path":["role"]}]},{"requires":["confirmationToken"],"when":[{"equals":"member","path":["expectedRole"]},{"equals":"owner","path":["role"]}]},{"requires":["confirmationToken"],"when":[{"equals":"owner","path":["expectedRole"]},{"equals":"member","path":["role"]}]},{"requires":["confirmationToken"],"when":[{"equals":"viewer","path":["expectedRole"]},{"equals":"owner","path":["role"]}]},{"requires":["confirmationToken"],"when":[{"equals":"owner","path":["expectedRole"]},{"equals":"viewer","path":["role"]}]}],"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/members/{memberId}/removal-previews":{"post":{"description":"Inspect an Agency member removal and issue a one-time confirmation bound to the current role.","operationId":"preview_agency_member_removal","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Agency membership record.","in":"path","name":"memberId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency membership record."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},"expectedRole":{"type":"string","enum":["owner","admin","member","viewer"]},"memberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["confirmation","expectedRole","memberId"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Agency member removal","tags":["members"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/members/{memberId}/removal":{"post":{"description":"Remove an Agency member using the exact role and one-time confirmation returned by its preview.","operationId":"remove_agency_member","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Agency membership record.","in":"path","name":"memberId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency membership record."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedRole":{"type":"string","enum":["owner","admin","member","viewer"],"description":"Agency role observed before changing or removing the member."}},"type":"object","required":["confirmationToken","expectedRole"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"memberId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"removed":{"type":"boolean","const":true}},"required":["memberId","removed"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Remove Agency member","tags":["members"],"x-turbo-ppc-effects":{"destructive":true,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"destructive"}},"/api/v1/agencies/{agencyId}/clients":{"get":{"description":"List up to 200 cursor-paginated Clients with server-filtered account, Automation, and health summaries. Reuse a cursor only with the same filters.","operationId":"list_clients","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Filter Clients by whether they have an active Google Ads assignment.","in":"query","name":"hasAdsAccount","required":false,"schema":{"type":"boolean","description":"Filter Clients by whether they have an active Google Ads assignment."}},{"description":"Filter Clients by whether they have at least one Automation.","in":"query","name":"hasAutomation","required":false,"schema":{"type":"boolean","description":"Filter Clients by whether they have at least one Automation."}},{"description":"Filter Clients by whether they have an active Merchant Center assignment.","in":"query","name":"hasMerchantAccount","required":false,"schema":{"type":"boolean","description":"Filter Clients by whether they have an active Merchant Center assignment."}},{"description":"Client health classification to match.","in":"query","name":"healthStatus","required":false,"schema":{"type":"string","enum":["attention","watch","healthy","unknown"],"description":"Client health classification to match."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":200,"description":"Maximum number of items to return on this page."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive text used to filter matching resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"accountAssignmentCounts":{"type":"object","properties":{"ads":{"type":"integer","minimum":0,"maximum":9007199254740991},"merchant":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["ads","merchant"],"additionalProperties":false},"automationCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"capabilities":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canManageAccountAssignments":{"type":"boolean"},"canUpdate":{"type":"boolean"}},"required":["canDelete","canManageAccountAssignments","canUpdate"],"additionalProperties":false},"healthIssueCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"healthStatus":{"type":"string","enum":["attention","watch","healthy","unknown"]}},"required":["createdAt","id","name","slug","updatedAt","accountAssignmentCounts","automationCount","capabilities","healthIssueCount","healthStatus"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Clients","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"post":{"description":"Create a Client and its initial Ads and Merchant Account Assignments.","operationId":"create_client","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"googleAdsAccountIds":{"default":[],"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Google Ads Provider Account UUIDs to assign to the Client."},"merchantAccountIds":{"default":[],"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Merchant Center Provider Account UUIDs to assign to the Client."},"name":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable name supplied for this resource or action."}},"type":"object","required":["name"]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"client":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["createdAt","id","name","slug","updatedAt"],"additionalProperties":false},"syncWarnings":{"maxItems":2,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["ACCOUNT_ACCESS_UNAVAILABLE","ACCOUNT_REMOVED","CAMPAIGN_SYNC_NOT_STARTED","PRODUCT_SYNC_NOT_STARTED"]},"message":{"type":"string","minLength":1},"providerAccountId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["code","message","providerAccountId"],"additionalProperties":false}}},"required":["client","syncWarnings"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Create Client","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/client-health":{"get":{"description":"List request-shaped Client health summaries with stable filters and sorting.","operationId":"list_client_health","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"ISO 4217 currency code used to restrict comparable performance values.","in":"query","name":"currencyCode","required":false,"schema":{"type":"string","minLength":1,"maxLength":12,"description":"ISO 4217 currency code used to restrict comparable performance values."}},{"description":"Client health classification to match.","in":"query","name":"healthStatus","required":false,"schema":{"type":"string","enum":["attention","watch","healthy","unknown"],"description":"Client health classification to match."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive text used to filter matching resources."}},{"description":"Client-health field used to order the results.","in":"query","name":"sortBy","required":false,"schema":{"default":"health","type":"string","enum":["health","name","roas","spend"],"description":"Client-health field used to order the results."}},{"description":"Ascending or descending result order.","in":"query","name":"sortDirection","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"],"description":"Ascending or descending result order."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"clicks":{"type":["number","null"]},"cpc":{"type":["number","null"]},"currencyCode":{"type":["string","null"]},"currencyCodes":{"maxItems":200,"type":"array","items":{"type":"string"}},"health":{"type":"string","enum":["attention","watch","healthy","unknown"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"issueCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"issues":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"campaignName":{"type":["string","null"]},"description":{"type":"string","minLength":1},"id":{"type":"string","minLength":1},"severity":{"type":"string","enum":["critical","warning","info"]},"source":{"type":"string","enum":["google_ads","performance","turbo"]},"title":{"type":"string","minLength":1}},"required":["campaignName","description","id","severity","source","title"],"additionalProperties":false}},"issuesTruncated":{"type":"boolean"},"mixedCurrencies":{"type":"boolean"},"name":{"type":"string","minLength":1},"revenue":{"type":["number","null"]},"roas":{"type":["number","null"]},"roasChange":{"type":["number","null"]},"slug":{"type":"string","minLength":1},"spend":{"type":["number","null"]}},"required":["clicks","cpc","currencyCode","currencyCodes","health","id","issueCount","issues","issuesTruncated","mixedCurrencies","name","revenue","roas","roasChange","slug","spend"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]},"period":{"type":"object","properties":{"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["dateFrom","dateTo"],"additionalProperties":false}},"required":["items","nextCursor","period"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Client health","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/assignable-provider-accounts":{"get":{"description":"List up to 50 active Provider Accounts that can be assigned to a Client, filtered by account kind. Reuse a cursor only with the same Client and filters.","operationId":"list_assignable_provider_accounts","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Provider account type to match.","in":"query","name":"accountType","required":false,"schema":{"type":"string","enum":["google_ads_account","google_merchant_mca","google_merchant_account"],"description":"Provider account type to match."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50,"description":"Maximum number of items to return on this page."}},{"description":"External advertising provider to match.","in":"query","name":"provider","required":false,"schema":{"default":"google","type":"string","const":"google","description":"External advertising provider to match."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive text used to filter matching resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"accountType":{"type":"string","enum":["google_ads_account","google_merchant_mca","google_merchant_account"]},"currencyCode":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"label":{"type":"string","minLength":1},"platform":{"type":"string","enum":["google_ads","google_merchant"]},"provider":{"type":"string","const":"google"},"providerAccountId":{"type":"string","minLength":1},"purpose":{"type":"string","enum":["ads","merchant"]},"timeZone":{"type":["string","null"]}},"required":["accountType","currencyCode","id","label","platform","provider","providerAccountId","purpose","timeZone"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List assignable Provider Accounts","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}":{"get":{"description":"Return one Client, its Account Assignments, sync warnings, deletion blockers, and allowed operations.","operationId":"get_client","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"accountAssignments":{"maxItems":400,"type":"array","items":{"type":"object","properties":{"activeAccess":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isPrimary":{"type":"boolean"},"providerAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["google_ads_account","google_merchant_mca","google_merchant_account"]},"currencyCode":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":["string","null"]},"platform":{"type":"string","enum":["google_ads","google_merchant"]},"provider":{"type":"string","const":"google"},"providerAccountId":{"type":"string","minLength":1},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"timeZone":{"type":["string","null"]}},"required":["accountType","currencyCode","id","name","platform","provider","providerAccountId","removedAt","timeZone"],"additionalProperties":false},"purpose":{"type":"string","enum":["ads","merchant"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["activeAccess","createdAt","id","isPrimary","providerAccount","purpose","updatedAt"],"additionalProperties":false}},"capabilities":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canManageAccountAssignments":{"type":"boolean"},"canUpdate":{"type":"boolean"}},"required":["canDelete","canManageAccountAssignments","canUpdate"],"additionalProperties":false},"deletionBlockers":{"type":"object","properties":{"automations":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaignHistory":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991},"findings":{"type":"integer","minimum":0,"maximum":9007199254740991},"goals":{"type":"integer","minimum":0,"maximum":9007199254740991},"merchantProductSyncs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["automations","campaignHistory","campaigns","findings","goals","merchantProductSyncs"],"additionalProperties":false},"syncWarnings":{"maxItems":400,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["ACCOUNT_ACCESS_UNAVAILABLE","ACCOUNT_REMOVED","CAMPAIGN_SYNC_NOT_STARTED","PRODUCT_SYNC_NOT_STARTED"]},"message":{"type":"string","minLength":1},"providerAccountId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["code","message","providerAccountId"],"additionalProperties":false}}},"required":["createdAt","id","name","slug","updatedAt","accountAssignments","capabilities","deletionBlockers","syncWarnings"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Client","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"patch":{"description":"Update a Client name only when its last-observed version still matches.","operationId":"update_client","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"name":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable name supplied for this resource or action."}},"type":"object","required":["expectedUpdatedAt","name"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"client":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["createdAt","id","name","slug","updatedAt"],"additionalProperties":false},"previousSlug":{"type":"string","minLength":1}},"required":["client","previousSlug"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Client","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/client-by-slug/{clientSlug}":{"get":{"description":"Return one Client by its Agency-scoped slug, including Account Assignments, sync warnings, deletion blockers, and allowed operations.","operationId":"get_client_by_slug","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"URL slug of the Client within the Agency.","in":"path","name":"clientSlug","required":true,"schema":{"type":"string","minLength":1,"maxLength":204,"pattern":"^[a-z0-9]+(?:-[a-z0-9]+)*$","description":"URL slug of the Client within the Agency."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"accountAssignments":{"maxItems":400,"type":"array","items":{"type":"object","properties":{"activeAccess":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isPrimary":{"type":"boolean"},"providerAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["google_ads_account","google_merchant_mca","google_merchant_account"]},"currencyCode":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":["string","null"]},"platform":{"type":"string","enum":["google_ads","google_merchant"]},"provider":{"type":"string","const":"google"},"providerAccountId":{"type":"string","minLength":1},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"timeZone":{"type":["string","null"]}},"required":["accountType","currencyCode","id","name","platform","provider","providerAccountId","removedAt","timeZone"],"additionalProperties":false},"purpose":{"type":"string","enum":["ads","merchant"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["activeAccess","createdAt","id","isPrimary","providerAccount","purpose","updatedAt"],"additionalProperties":false}},"capabilities":{"type":"object","properties":{"canDelete":{"type":"boolean"},"canManageAccountAssignments":{"type":"boolean"},"canUpdate":{"type":"boolean"}},"required":["canDelete","canManageAccountAssignments","canUpdate"],"additionalProperties":false},"deletionBlockers":{"type":"object","properties":{"automations":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaignHistory":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991},"findings":{"type":"integer","minimum":0,"maximum":9007199254740991},"goals":{"type":"integer","minimum":0,"maximum":9007199254740991},"merchantProductSyncs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["automations","campaignHistory","campaigns","findings","goals","merchantProductSyncs"],"additionalProperties":false},"syncWarnings":{"maxItems":400,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["ACCOUNT_ACCESS_UNAVAILABLE","ACCOUNT_REMOVED","CAMPAIGN_SYNC_NOT_STARTED","PRODUCT_SYNC_NOT_STARTED"]},"message":{"type":"string","minLength":1},"providerAccountId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["code","message","providerAccountId"],"additionalProperties":false}}},"required":["createdAt","id","name","slug","updatedAt","accountAssignments","capabilities","deletionBlockers","syncWarnings"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Client by slug","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/account-assignments":{"put":{"description":"Replace a Client's Ads and Merchant Account Assignments at an exact Client version.","operationId":"set_client_account_assignments","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"googleAdsAccountIds":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Google Ads Provider Account UUIDs to assign to the Client."},"merchantAccountIds":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Merchant Center Provider Account UUIDs to assign to the Client."}},"type":"object","required":["expectedUpdatedAt","googleAdsAccountIds","merchantAccountIds"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"googleAdsAccountIdsAdded":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"merchantAccountIdsAdded":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"syncWarnings":{"maxItems":2,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["ACCOUNT_ACCESS_UNAVAILABLE","ACCOUNT_REMOVED","CAMPAIGN_SYNC_NOT_STARTED","PRODUCT_SYNC_NOT_STARTED"]},"message":{"type":"string","minLength":1},"providerAccountId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["code","message","providerAccountId"],"additionalProperties":false}},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["clientId","googleAdsAccountIdsAdded","merchantAccountIdsAdded","syncWarnings","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Set Client Account Assignments","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/deletion-previews":{"post":{"description":"Inspect Client deletion blockers and issue a one-time confirmation when deletion is allowed.","operationId":"preview_client_deletion","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"blockers":{"type":"object","properties":{"automations":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaignHistory":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991},"findings":{"type":"integer","minimum":0,"maximum":9007199254740991},"goals":{"type":"integer","minimum":0,"maximum":9007199254740991},"merchantProductSyncs":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["automations","campaignHistory","campaigns","findings","goals","merchantProductSyncs"],"additionalProperties":false},"canDelete":{"type":"boolean"},"confirmation":{"anyOf":[{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},{"type":"null"}]},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["blockers","canDelete","confirmation","expectedUpdatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Client deletion","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/deletion":{"post":{"description":"Delete an unreferenced Client at the exact version bound to a one-time confirmation.","operationId":"delete_client","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"type":"object","required":["confirmationToken","expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"deleted":{"type":"boolean","const":true}},"required":["clientId","deleted"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Delete Client","tags":["clients"],"x-turbo-ppc-effects":{"destructive":true,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"destructive"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaigns":{"get":{"description":"List up to 50 synchronized Client campaigns in a bidirectional keyset page. Reuse a cursor only with the same Client, search, status, and Provider Connection filters. Search matches campaign names or external IDs.","operationId":"list_client_campaigns","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Pagination direction relative to the supplied Campaign cursor.","in":"query","name":"direction","required":false,"schema":{"default":"after","type":"string","enum":["after","before"],"description":"Pagination direction relative to the supplied Campaign cursor."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50,"description":"Maximum number of items to return on this page."}},{"description":"UUID of the Provider Connection used for this Client resource.","in":"query","name":"providerConnectionId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive text used to filter matching resources."}},{"description":"Status value to apply or match at this position.","in":"query","name":"status","required":false,"schema":{"default":"enabled","type":"string","enum":["all","enabled","paused","removed","unknown"],"description":"Status value to apply or match at this position."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"bidStrategyType":{"type":["string","null"]},"budgetAmountMicros":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"campaignType":{"type":["string","null"]},"currencyCode":{"type":["string","null"]},"externalCampaignId":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"name":{"type":"string","minLength":1},"providerAccount":{"type":"object","properties":{"accountType":{"type":"string","const":"google_ads_account"},"currencyCode":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":["string","null"]},"platform":{"type":"string","const":"google_ads"},"provider":{"type":"string","const":"google"},"providerAccountId":{"type":"string","minLength":1},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"timeZone":{"type":["string","null"]}},"required":["accountType","currencyCode","id","name","platform","provider","providerAccountId","removedAt","timeZone"],"additionalProperties":false},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["enabled","paused","removed","unknown"]}},"required":["bidStrategyType","budgetAmountMicros","campaignType","currencyCode","externalCampaignId","id","lastSeenAt","name","providerAccount","removedAt","status"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]},"previousCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor","previousCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Client campaigns","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaigns/{campaignId}":{"get":{"description":"Return one synchronized Client campaign with account identity, aggregated performance, and exact Automation coverage count with at most 25 coverage summaries. Performance ranges are limited to 366 days.\n\nInput constraints: dateFrom and dateTo must be supplied together, in order, and span at most 366 days.","operationId":"get_client_campaign","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the Campaign.","in":"path","name":"campaignId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Campaign."}},{"description":"Inclusive reporting start date in YYYY-MM-DD format.","in":"query","name":"dateFrom","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Inclusive reporting start date in YYYY-MM-DD format."}},{"description":"Inclusive reporting end date in YYYY-MM-DD format.","in":"query","name":"dateTo","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Inclusive reporting end date in YYYY-MM-DD format."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"bidStrategyType":{"type":["string","null"]},"budgetAmountMicros":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"campaignType":{"type":["string","null"]},"currencyCode":{"type":["string","null"]},"externalCampaignId":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"name":{"type":"string","minLength":1},"providerAccount":{"type":"object","properties":{"accountType":{"type":"string","const":"google_ads_account"},"currencyCode":{"type":["string","null"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":["string","null"]},"platform":{"type":"string","const":"google_ads"},"provider":{"type":"string","const":"google"},"providerAccountId":{"type":"string","minLength":1},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"timeZone":{"type":["string","null"]}},"required":["accountType","currencyCode","id","name","platform","provider","providerAccountId","removedAt","timeZone"],"additionalProperties":false},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["enabled","paused","removed","unknown"]},"automationCoverage":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","paused"]},"type":{"type":"string","minLength":1}},"required":["automationId","name","status","type"],"additionalProperties":false}},"automationCoverageCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"automationCoverageTruncated":{"type":"boolean"},"metrics":{"type":"object","properties":{"clicks":{"type":["number","null"]},"cpc":{"type":["number","null"]},"revenue":{"type":["number","null"]},"roas":{"type":["number","null"]},"spend":{"type":["number","null"]},"targetRoas":{"type":["number","null"]}},"required":["clicks","cpc","revenue","roas","spend","targetRoas"],"additionalProperties":false},"period":{"type":"object","properties":{"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["dateFrom","dateTo"],"additionalProperties":false}},"required":["bidStrategyType","budgetAmountMicros","campaignType","currencyCode","externalCampaignId","id","lastSeenAt","name","providerAccount","removedAt","status","automationCoverage","automationCoverageCount","automationCoverageTruncated","metrics","period"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Client campaign","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["dateTo"],"when":[{"exists":true,"path":["dateFrom"]}]},{"requires":["dateFrom"],"when":[{"exists":true,"path":["dateTo"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaigns/{campaignId}/ad-groups":{"get":{"description":"List up to 100 Client campaign ad groups in a keyset page with server-aggregated performance. Performance ranges are limited to 366 days; reuse a cursor only with the same campaign, range, and status.\n\nInput constraints: dateFrom and dateTo must be supplied together, in order, and span at most 366 days.","operationId":"list_client_campaign_ad_groups","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the Campaign.","in":"path","name":"campaignId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Campaign."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Inclusive reporting start date in YYYY-MM-DD format.","in":"query","name":"dateFrom","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Inclusive reporting start date in YYYY-MM-DD format."}},{"description":"Inclusive reporting end date in YYYY-MM-DD format.","in":"query","name":"dateTo","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Inclusive reporting end date in YYYY-MM-DD format."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Status value to apply or match at this position.","in":"query","name":"status","required":false,"schema":{"default":"active","type":"string","enum":["active","all","enabled","paused","removed","unknown"],"description":"Status value to apply or match at this position."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"cpcBidMicros":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"providerAdGroupId":{"type":"string","minLength":1},"status":{"type":"string","enum":["enabled","paused","removed","unknown"]},"targetRoas":{"type":["number","null"]},"metrics":{"type":"object","properties":{"clicks":{"type":["number","null"]},"cpc":{"type":["number","null"]},"revenue":{"type":["number","null"]},"roas":{"type":["number","null"]},"spend":{"type":["number","null"]}},"required":["clicks","cpc","revenue","roas","spend"],"additionalProperties":false}},"required":["cpcBidMicros","id","name","providerAdGroupId","status","targetRoas","metrics"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]},"period":{"type":"object","properties":{"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["dateFrom","dateTo"],"additionalProperties":false}},"required":["items","nextCursor","period"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Client campaign ad groups","tags":["clients"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["dateTo"],"when":[{"exists":true,"path":["dateFrom"]}]},{"requires":["dateFrom"],"when":[{"exists":true,"path":["dateTo"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/provider-connections":{"get":{"description":"List tenant-scoped Provider Connections without credentials or upstream error details.","operationId":"list_provider_connections","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"External advertising provider to match.","in":"query","name":"provider","required":false,"schema":{"type":"string","enum":["google","meta"],"description":"External advertising provider to match."}},{"description":"Status value to apply or match at this position.","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["active","needs_reauth","disabled"],"description":"Status value to apply or match at this position."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"accountEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"displayName":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"grantedScopes":{"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastAuthorizationErrorAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastConnectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"provider":{"type":"string","enum":["google","meta"]},"status":{"type":"string","enum":["active","needs_reauth","disabled"]},"statusChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["accountEmail","createdAt","displayName","grantedScopes","id","lastAuthorizationErrorAt","lastConnectedAt","provider","status","statusChangedAt","updatedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Provider Connections","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}":{"get":{"description":"Return one tenant-scoped Provider Connection with safe account-access and refresh summaries.","operationId":"get_provider_connection","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accountEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"displayName":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"grantedScopes":{"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastAuthorizationErrorAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastConnectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"provider":{"type":"string","enum":["google","meta"]},"status":{"type":"string","enum":["active","needs_reauth","disabled"]},"statusChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"accountAccessCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"accountSummary":{"type":"object","properties":{"googleAdsAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"googleAdsManagerCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"googleMerchantAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"managedGoogleAdsManagerCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["googleAdsAccountCount","googleAdsManagerCount","googleMerchantAccountCount","managedGoogleAdsManagerCount"],"additionalProperties":false},"activeAccountAccessCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"activeRefresh":{"anyOf":[{"type":"object","properties":{"refreshId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["queued","running"]}},"required":["refreshId","startedAt","status"],"additionalProperties":false},{"type":"null"}]},"canRevokeGoogleAccess":{"type":"boolean"},"googleAdsManagerScopeVersion":{"type":"string","minLength":1},"latestRefresh":{"anyOf":[{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"failure":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"PROVIDER_ACCOUNT_REFRESH_FAILED"},"message":{"type":"string","minLength":1,"maxLength":300}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"refreshId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["queued","running","succeeded","failed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["connectionId","failure","finishedAt","refreshId","startedAt","status","updatedAt"],"additionalProperties":false},{"type":"null"}]}},"required":["accountEmail","createdAt","displayName","grantedScopes","id","lastAuthorizationErrorAt","lastConnectedAt","provider","status","statusChangedAt","updatedAt","accountAccessCount","accountSummary","activeAccountAccessCount","activeRefresh","canRevokeGoogleAccess","googleAdsManagerScopeVersion","latestRefresh"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Provider Connection","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"patch":{"description":"Update a Provider Connection display name at an exact observed version.","operationId":"update_provider_connection","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"displayName":{"anyOf":[{"type":"string","maxLength":80},{"type":"null"}],"description":"Optional human-readable label for the Provider Connection; null removes it."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"type":"object","required":["displayName","expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"connection":{"type":"object","properties":{"accountEmail":{"anyOf":[{"type":"string","format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"displayName":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"grantedScopes":{"maxItems":32,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastAuthorizationErrorAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"lastConnectedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"provider":{"type":"string","enum":["google","meta"]},"status":{"type":"string","enum":["active","needs_reauth","disabled"]},"statusChangedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["accountEmail","createdAt","displayName","grantedScopes","id","lastAuthorizationErrorAt","lastConnectedAt","provider","status","statusChangedAt","updatedAt"],"additionalProperties":false}},"required":["connection"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Provider Connection","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/google-authorizations":{"post":{"description":"Create an addressable Google authorization attempt and return the human handoff URL.","operationId":"start_google_authorization","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},"type":"object"}}},"required":false},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"authorizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"authorizationUrl":{"type":"string","format":"uri"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["pending","processing"]}},"required":["authorizationId","authorizationUrl","expiresAt","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Start Google authorization","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":true,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"human_handoff"}},"/api/v1/agencies/{agencyId}/google-authorizations/{authorizationId}":{"get":{"description":"Return the safe, addressable status of a Google authorization attempt started by this user.","operationId":"get_google_authorization_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the addressable Google authorization attempt.","in":"path","name":"authorizationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Google authorization attempt."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"authorizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","const":"pending"}},"required":["authorizationId","createdAt","expiresAt","status"],"additionalProperties":false},{"type":"object","properties":{"authorizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","const":"processing"}},"required":["authorizationId","createdAt","expiresAt","status"],"additionalProperties":false},{"type":"object","properties":{"authorizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"completedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","const":"completed"}},"required":["authorizationId","completedAt","connectionId","createdAt","expiresAt","status"],"additionalProperties":false},{"type":"object","properties":{"authorizationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"completedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"type":"object","properties":{"code":{"type":"string","enum":["ACCESS_DENIED","AUTHORIZATION_EXPIRED","CONNECTION_NOT_FOUND","REQUIRED_SCOPES_MISSING","SESSION_REQUIRED","UPSTREAM_AUTHORIZATION_FAILED"]},"message":{"type":"string","minLength":1,"maxLength":300}},"required":["code","message"],"additionalProperties":false},"status":{"type":"string","enum":["denied","expired","failed"]}},"required":["authorizationId","completedAt","createdAt","expiresAt","failure","status"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Google authorization status","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/disconnection-previews":{"post":{"description":"Inspect a tenant-local Provider Connection disconnect and issue a one-time confirmation bound to its current version.","operationId":"preview_provider_connection_disconnection","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["confirmation","connectionId","expectedUpdatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Provider Connection disconnection","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/disconnection":{"post":{"description":"Disconnect a Provider Connection at the exact version bound to a one-time confirmation.","operationId":"disconnect_provider_connection","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"type":"object","required":["confirmationToken","expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"disconnected":{"type":"boolean","const":true}},"required":["connectionId","disconnected"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Disconnect Provider Connection","tags":["providers"],"x-turbo-ppc-effects":{"destructive":true,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"destructive"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/google-access-revocation-previews":{"post":{"description":"Inspect Google grant revocation across every connection sharing the grant and issue a one-time confirmation bound to that exact set.","operationId":"preview_google_access_revocation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"affectedConnectionCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"affectedConnectionsVersion":{"type":"string","pattern":"^[a-f0-9]{64}$"}},"required":["confirmation","connectionId","expectedUpdatedAt","affectedConnectionCount","affectedConnectionsVersion"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Google access revocation","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/google-access-revocation":{"post":{"description":"Revoke Google access for the exact connection set bound to a one-time confirmation.","operationId":"revoke_google_access","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"affectedConnectionCount":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Exact number of Provider Connections returned by the revocation preview."},"affectedConnectionsVersion":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"SHA-256 version returned by the revocation preview for the affected connection set."}},"type":"object","required":["confirmationToken","expectedUpdatedAt","affectedConnectionCount","affectedConnectionsVersion"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"revoked":{"type":"boolean","const":true}},"required":["connectionId","revoked"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Revoke Google access","tags":["providers"],"x-turbo-ppc-effects":{"destructive":true,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"destructive"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/accounts":{"get":{"description":"List accounts visible through one tenant-scoped Provider Connection.","operationId":"list_provider_accounts","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Provider account type to match.","in":"query","name":"accountType","required":false,"schema":{"type":"string","enum":["google_ads_manager","google_ads_account","google_merchant_mca","google_merchant_account","meta_business","meta_ad_account","meta_pixel","meta_catalog"],"description":"Provider account type to match."}},{"description":"Provider account types to match; duplicates are removed.","explode":true,"style":"form","in":"query","name":"accountTypes","required":false,"schema":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["google_ads_manager","google_ads_account","google_merchant_mca","google_merchant_account","meta_business","meta_ad_account","meta_pixel","meta_catalog"]},"description":"Provider account types to match; duplicates are removed."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Whether to include Provider Accounts or access records marked as removed.","in":"query","name":"includeRemoved","required":false,"schema":{"default":false,"type":"boolean","description":"Whether to include Provider Accounts or access records marked as removed."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Provider platform handled or matched by this operation.","in":"query","name":"platform","required":false,"schema":{"type":"string","enum":["google_ads","google_merchant","meta_ads","meta_commerce"],"description":"Provider platform handled or matched by this operation."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive text used to filter matching resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"accountType":{"type":"string","enum":["google_ads_manager","google_ads_account","google_merchant_mca","google_merchant_account","meta_business","meta_ad_account","meta_pixel","meta_catalog"]},"currencyCode":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"platform":{"type":"string","enum":["google_ads","google_merchant","meta_ads","meta_commerce"]},"provider":{"type":"string","enum":["google","meta"]},"providerAccountId":{"type":"string","minLength":1,"maxLength":200},"providerStatus":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"accessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"accessRemovedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["accountType","currencyCode","id","lastSeenAt","name","platform","provider","providerAccountId","providerStatus","removedAt","timeZone","updatedAt","accessId","accessRemovedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Provider Accounts","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"forbids":["accountTypes"],"when":[{"exists":true,"path":["accountType"]}]},{"forbids":["accountType"],"when":[{"exists":true,"path":["accountTypes"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/account-accesses":{"get":{"description":"List tenant-scoped connection-to-account access paths and enabled operation scopes.","operationId":"list_account_accesses","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Provider account type to match.","in":"query","name":"accountType","required":false,"schema":{"type":"string","enum":["google_ads_manager","google_ads_account","google_merchant_mca","google_merchant_account","meta_business","meta_ad_account","meta_pixel","meta_catalog"],"description":"Provider account type to match."}},{"description":"Provider account types to match; duplicates are removed.","explode":true,"style":"form","in":"query","name":"accountTypes","required":false,"schema":{"minItems":1,"maxItems":8,"type":"array","items":{"type":"string","enum":["google_ads_manager","google_ads_account","google_merchant_mca","google_merchant_account","meta_business","meta_ad_account","meta_pixel","meta_catalog"]},"description":"Provider account types to match; duplicates are removed."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the Provider Connection.","in":"query","name":"connectionId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Whether to include Provider Accounts or access records marked as removed.","in":"query","name":"includeRemoved","required":false,"schema":{"default":false,"type":"boolean","description":"Whether to include Provider Accounts or access records marked as removed."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Provider platform handled or matched by this operation.","in":"query","name":"platform","required":false,"schema":{"type":"string","enum":["google_ads","google_merchant","meta_ads","meta_commerce"],"description":"Provider platform handled or matched by this operation."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive text used to filter matching resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"clientAssignmentCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"connection":{"type":"object","properties":{"displayName":{"anyOf":[{"type":"string","minLength":1,"maxLength":80},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"provider":{"type":"string","enum":["google","meta"]},"status":{"type":"string","enum":["active","needs_reauth","disabled"]}},"required":["displayName","id","provider","status"],"additionalProperties":false},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"merchantLabelPresetSelection":{"anyOf":[{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"inherit"},"presetId":{"type":"null"}},"required":["mode","presetId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"none"},"presetId":{"type":"null"}},"required":["mode","presetId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"preset"},"presetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["mode","presetId"],"additionalProperties":false}]},{"type":"null"}]},"providerAccount":{"type":"object","properties":{"accountType":{"type":"string","enum":["google_ads_manager","google_ads_account","google_merchant_mca","google_merchant_account","meta_business","meta_ad_account","meta_pixel","meta_catalog"]},"currencyCode":{"anyOf":[{"type":"string","maxLength":12},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"name":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"platform":{"type":"string","enum":["google_ads","google_merchant","meta_ads","meta_commerce"]},"provider":{"type":"string","enum":["google","meta"]},"providerAccountId":{"type":"string","minLength":1,"maxLength":200},"providerStatus":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"timeZone":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["accountType","currencyCode","id","lastSeenAt","name","platform","provider","providerAccountId","providerStatus","removedAt","timeZone","updatedAt"],"additionalProperties":false},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"scope":{"type":"object","properties":{"discovery":{"type":"string","enum":["enabled","disabled","unset"]},"management":{"type":"string","enum":["enabled","disabled","unset"]},"reporting":{"type":"string","enum":["enabled","disabled","unset"]}},"required":["discovery","management","reporting"],"additionalProperties":false},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["clientAssignmentCount","connection","createdAt","id","merchantLabelPresetSelection","providerAccount","removedAt","scope","updatedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Account Accesses","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"forbids":["accountTypes"],"when":[{"exists":true,"path":["accountType"]}]},{"forbids":["accountType"],"when":[{"exists":true,"path":["accountTypes"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/google-ads-manager-scope-changes":{"post":{"description":"Apply explicit Google Ads manager enable/disable deltas at an exact scope version, then refresh the account directory.","operationId":"change_google_ads_manager_scopes","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"disableProviderAccountIds":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Google Ads manager Provider Account UUIDs to remove from the connection's sync scope."},"enableProviderAccountIds":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Google Ads manager Provider Account UUIDs to add to the connection's sync scope."},"expectedScopeVersion":{"type":"string","minLength":1,"maxLength":128,"description":"Opaque manager-scope version observed before applying the scope delta."}},"type":"object","required":["disableProviderAccountIds","enableProviderAccountIds","expectedScopeVersion"],"allOf":[{"anyOf":[{"properties":{"disableProviderAccountIds":{"minItems":1}},"required":["disableProviderAccountIds"],"type":"object"},{"properties":{"enableProviderAccountIds":{"minItems":1}},"required":["enableProviderAccountIds"],"type":"object"}],"description":"At least one manager scope change is required."},{"description":"A manager account cannot be enabled and disabled together.","x-turbo-ppc-disjoint-fields":["disableProviderAccountIds","enableProviderAccountIds"]}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"disabledCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"enabledCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"refreshId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"scopeVersion":{"type":"string","minLength":1}},"required":["connectionId","disabledCount","enabledCount","refreshId","scopeVersion"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Change Google Ads manager scopes","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"atLeastOneNonEmpty":["disableProviderAccountIds","enableProviderAccountIds"],"message":"At least one manager scope change is required."},{"disjoint":["disableProviderAccountIds","enableProviderAccountIds"],"message":"A manager account cannot be enabled and disabled together."}],"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/account-refreshes":{"post":{"description":"Start an idempotent account-directory refresh for one tenant-scoped Provider Connection.","operationId":"start_provider_account_refresh","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"alreadyRunning":{"type":"boolean"},"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"refreshId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","running"]}},"required":["alreadyRunning","connectionId","refreshId","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Start Provider Account refresh","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_read"}},"/api/v1/agencies/{agencyId}/provider-connections/{connectionId}/account-refreshes/{refreshId}":{"get":{"description":"Return safe status for one addressable Provider Connection refresh without workflow or upstream error details.","operationId":"get_provider_connection_refresh_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"path","name":"connectionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"UUID of the addressable refresh operation.","in":"path","name":"refreshId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable refresh operation."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"failure":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"PROVIDER_ACCOUNT_REFRESH_FAILED"},"message":{"type":"string","minLength":1,"maxLength":300}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"refreshId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["queued","running","succeeded","failed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["connectionId","failure","finishedAt","refreshId","startedAt","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Provider Connection refresh status","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/account-accesses/{accountAccessId}/conversion-goals":{"get":{"description":"List cached Google Ads conversion goals through an explicit tenant-scoped Account Access.","operationId":"list_conversion_goals","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client's Provider Account Access record.","in":"path","name":"accountAccessId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client's Provider Account Access record."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cache":{"type":"object","properties":{"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"freshness":{"type":"string","enum":["fresh","stale","expired","refreshed"]},"source":{"type":"string","enum":["cache","google"]},"staleAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"warning":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"CONVERSION_GOAL_REFRESH_FAILED"},"message":{"type":"string","minLength":1}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]}},"required":["expiresAt","freshness","source","staleAt","warning"],"additionalProperties":false},"fetchedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"goals":{"maxItems":10000,"type":"array","items":{"type":"object","properties":{"actionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"actions":{"maxItems":10000,"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"name":{"type":"string","minLength":1},"primaryForGoal":{"type":["boolean","null"]},"recentAllConversions":{"type":["number","null"]},"recentConversions":{"type":["number","null"]},"status":{"type":["string","null"]},"type":{"type":["string","null"]},"valueLabel":{"type":"string"},"warnings":{"maxItems":4,"type":"array","items":{"type":"string"}}},"required":["id","name","primaryForGoal","recentAllConversions","recentConversions","status","type","valueLabel","warnings"],"additionalProperties":false}},"biddable":{"type":"boolean"},"category":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"origin":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"warningCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"warnings":{"maxItems":10000,"type":"array","items":{"type":"string"}}},"required":["actionCount","actions","biddable","category","key","label","origin","source","warningCount","warnings"],"additionalProperties":false}},"truncatedResources":{"maxItems":3,"type":"array","items":{"type":"string","enum":["actions","goals","metrics"]}}},"required":["accountAccessId","cache","fetchedAt","goals","truncatedResources"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List conversion goals","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/account-accesses/{accountAccessId}/conversion-goal-refreshes":{"post":{"description":"Refresh Google Ads conversion goals through an explicit Account Access and return the sanitized snapshot.","operationId":"start_conversion_goal_refresh","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client's Provider Account Access record.","in":"path","name":"accountAccessId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client's Provider Account Access record."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},"type":"object","required":["clientId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"result":{"type":"object","properties":{"accountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"cache":{"type":"object","properties":{"expiresAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"freshness":{"type":"string","enum":["fresh","stale","expired","refreshed"]},"source":{"type":"string","enum":["cache","google"]},"staleAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"warning":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"CONVERSION_GOAL_REFRESH_FAILED"},"message":{"type":"string","minLength":1}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]}},"required":["expiresAt","freshness","source","staleAt","warning"],"additionalProperties":false},"fetchedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"goals":{"maxItems":10000,"type":"array","items":{"type":"object","properties":{"actionCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"actions":{"maxItems":10000,"type":"array","items":{"type":"object","properties":{"id":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"name":{"type":"string","minLength":1},"primaryForGoal":{"type":["boolean","null"]},"recentAllConversions":{"type":["number","null"]},"recentConversions":{"type":["number","null"]},"status":{"type":["string","null"]},"type":{"type":["string","null"]},"valueLabel":{"type":"string"},"warnings":{"maxItems":4,"type":"array","items":{"type":"string"}}},"required":["id","name","primaryForGoal","recentAllConversions","recentConversions","status","type","valueLabel","warnings"],"additionalProperties":false}},"biddable":{"type":"boolean"},"category":{"type":"string","minLength":1},"key":{"type":"string","minLength":1},"label":{"type":"string","minLength":1},"origin":{"type":"string","minLength":1},"source":{"type":"string","minLength":1},"warningCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"warnings":{"maxItems":10000,"type":"array","items":{"type":"string"}}},"required":["actionCount","actions","biddable","category","key","label","origin","source","warningCount","warnings"],"additionalProperties":false}},"truncatedResources":{"maxItems":3,"type":"array","items":{"type":"string","enum":["actions","goals","metrics"]}}},"required":["accountAccessId","cache","fetchedAt","goals","truncatedResources"],"additionalProperties":false}},"required":["result"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Start conversion goal refresh","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_read"}},"/api/v1/agencies/{agencyId}/merchant-label-presets":{"get":{"description":"List Google Merchant label presets, defaults, mappings, and tenant-scoped assignment counts.","operationId":"list_merchant_label_presets","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"assignedProviderAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60},"customLabel1":{"type":"string","maxLength":60},"customLabel2":{"type":"string","maxLength":60},"customLabel3":{"type":"string","maxLength":60},"customLabel4":{"type":"string","maxLength":60}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":80},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["assignedProviderAccountCount","createdAt","id","isDefault","labelMap","name","updatedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Merchant label presets","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"post":{"description":"Create an idempotent Google Merchant label preset.","operationId":"create_merchant_label_preset","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"isDefault":{"type":"boolean","description":"Whether this resource should become the default for its applicable scope."},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60,"description":"Merchant Center custom label 0 value assigned by this preset."},"customLabel1":{"type":"string","maxLength":60,"description":"Merchant Center custom label 1 value assigned by this preset."},"customLabel2":{"type":"string","maxLength":60,"description":"Merchant Center custom label 2 value assigned by this preset."},"customLabel3":{"type":"string","maxLength":60,"description":"Merchant Center custom label 3 value assigned by this preset."},"customLabel4":{"type":"string","maxLength":60,"description":"Merchant Center custom label 4 value assigned by this preset."}},"additionalProperties":false,"description":"Merchant Center custom-label values managed by this preset."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"Human-readable name supplied for this resource or action."}},"type":"object","required":["isDefault","labelMap","name"]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"preset":{"type":"object","properties":{"assignedProviderAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60},"customLabel1":{"type":"string","maxLength":60},"customLabel2":{"type":"string","maxLength":60},"customLabel3":{"type":"string","maxLength":60},"customLabel4":{"type":"string","maxLength":60}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":80},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["assignedProviderAccountCount","createdAt","id","isDefault","labelMap","name","updatedAt"],"additionalProperties":false}},"required":["preset"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Create Merchant label preset","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/merchant-label-presets/{presetId}":{"patch":{"description":"Update a Google Merchant label preset at an exact observed version.","operationId":"update_merchant_label_preset","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Merchant label preset.","in":"path","name":"presetId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant label preset."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"isDefault":{"type":"boolean","description":"Whether this resource should become the default for its applicable scope."},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60,"description":"Merchant Center custom label 0 value assigned by this preset."},"customLabel1":{"type":"string","maxLength":60,"description":"Merchant Center custom label 1 value assigned by this preset."},"customLabel2":{"type":"string","maxLength":60,"description":"Merchant Center custom label 2 value assigned by this preset."},"customLabel3":{"type":"string","maxLength":60,"description":"Merchant Center custom label 3 value assigned by this preset."},"customLabel4":{"type":"string","maxLength":60,"description":"Merchant Center custom label 4 value assigned by this preset."}},"additionalProperties":false,"description":"Merchant Center custom-label values managed by this preset."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"Human-readable name supplied for this resource or action."}},"type":"object","required":["expectedUpdatedAt","isDefault","labelMap","name"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"preset":{"type":"object","properties":{"assignedProviderAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60},"customLabel1":{"type":"string","maxLength":60},"customLabel2":{"type":"string","maxLength":60},"customLabel3":{"type":"string","maxLength":60},"customLabel4":{"type":"string","maxLength":60}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":80},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["assignedProviderAccountCount","createdAt","id","isDefault","labelMap","name","updatedAt"],"additionalProperties":false}},"required":["preset"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Merchant label preset","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/merchant-label-presets/{presetId}/deletion-previews":{"post":{"description":"Inspect deletion of an unused, non-default Merchant label preset and issue a one-time confirmation bound to its current version.","operationId":"preview_merchant_label_preset_deletion","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Merchant label preset.","in":"path","name":"presetId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant label preset."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"presetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["confirmation","expectedUpdatedAt","presetId"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Merchant label preset deletion","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/merchant-label-presets/{presetId}/deletion":{"post":{"description":"Delete an unused, non-default Merchant label preset at the exact version bound to a one-time confirmation.","operationId":"delete_merchant_label_preset","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Merchant label preset.","in":"path","name":"presetId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant label preset."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"type":"object","required":["confirmationToken","expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"deleted":{"type":"boolean","const":true},"presetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["deleted","presetId"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Delete Merchant label preset","tags":["providers"],"x-turbo-ppc-effects":{"destructive":true,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"destructive"}},"/api/v1/agencies/{agencyId}/provider-accounts/{merchantProviderAccountId}/merchant-label-preset-assignment":{"put":{"description":"Assign, inherit, clear, or create-and-assign a Merchant label preset at an exact account version.","operationId":"assign_merchant_label_preset","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Merchant Center Provider Account.","in":"path","name":"merchantProviderAccountId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedAccountUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Provider Account updatedAt value observed before changing its preset assignment."},"selection":{"oneOf":[{"type":"object","properties":{"mode":{"type":"string","const":"inherit","description":"Selection mode for this input object."}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"none","description":"Selection mode for this input object."}},"required":["mode"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"preset","description":"Selection mode for this input object."},"presetId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant label preset."}},"required":["mode","presetId"],"additionalProperties":false},{"type":"object","properties":{"mode":{"type":"string","const":"new","description":"Selection mode for this input object."},"values":{"type":"object","properties":{"isDefault":{"type":"boolean","description":"Whether this resource should become the default for its applicable scope."},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60,"description":"Merchant Center custom label 0 value assigned by this preset."},"customLabel1":{"type":"string","maxLength":60,"description":"Merchant Center custom label 1 value assigned by this preset."},"customLabel2":{"type":"string","maxLength":60,"description":"Merchant Center custom label 2 value assigned by this preset."},"customLabel3":{"type":"string","maxLength":60,"description":"Merchant Center custom label 3 value assigned by this preset."},"customLabel4":{"type":"string","maxLength":60,"description":"Merchant Center custom label 4 value assigned by this preset."}},"additionalProperties":false,"description":"Merchant Center custom-label values managed by this preset."},"name":{"type":"string","minLength":1,"maxLength":80,"description":"Human-readable name supplied for this resource or action."}},"required":["isDefault","labelMap","name"],"additionalProperties":false,"description":"Inline Merchant label preset values used for this assignment."}},"required":["mode","values"],"additionalProperties":false}],"description":"Explicit resource selection or selection instructions for this operation."}},"type":"object","required":["expectedAccountUpdatedAt","selection"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accountUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdPreset":{"anyOf":[{"type":"object","properties":{"assignedProviderAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"labelMap":{"type":"object","properties":{"customLabel0":{"type":"string","maxLength":60},"customLabel1":{"type":"string","maxLength":60},"customLabel2":{"type":"string","maxLength":60},"customLabel3":{"type":"string","maxLength":60},"customLabel4":{"type":"string","maxLength":60}},"additionalProperties":false},"name":{"type":"string","minLength":1,"maxLength":80},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["assignedProviderAccountCount","createdAt","id","isDefault","labelMap","name","updatedAt"],"additionalProperties":false},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"mode":{"type":"string","enum":["inherit","none","preset"]},"presetId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["accountUpdatedAt","createdPreset","merchantProviderAccountId","mode","presetId"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Assign Merchant label preset","tags":["providers"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/portfolio-performance":{"get":{"description":"Return Agency or Client advertising performance for a completed date range.\n\nInput constraints: Explicit dates must be supplied together, in order, and span at most 366 days; use either explicit dates or periodDays.","operationId":"get_portfolio_performance","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Inclusive reporting start date in YYYY-MM-DD format.","in":"query","name":"dateFrom","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Inclusive reporting start date in YYYY-MM-DD format."}},{"description":"Inclusive reporting end date in YYYY-MM-DD format.","in":"query","name":"dateTo","required":false,"schema":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Inclusive reporting end date in YYYY-MM-DD format."}},{"description":"Preset reporting window in days, used instead of explicit date bounds.","in":"query","name":"periodDays","required":false,"schema":{"anyOf":[{"type":"number","const":7},{"type":"number","const":30},{"type":"string","const":"7"},{"type":"string","const":"30"}],"description":"Preset reporting window in days, used instead of explicit date bounds."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accountCoverage":{"type":"object","properties":{"coveredAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAccountCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["coveredAccountCount","totalAccountCount"],"additionalProperties":false},"availablePeriods":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"required":["dateFrom","dateTo"],"additionalProperties":false}},"coverage":{"type":"string","enum":["complete","partial","pending"]},"defaultCurrencyCode":{"type":["string","null"]},"period":{"type":"object","properties":{"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"lastUpdatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["dateFrom","dateTo","lastUpdatedAt"],"additionalProperties":false},"portfolios":{"maxItems":25,"type":"array","items":{"type":"object","properties":{"currencyCode":{"type":"string"},"period":{"type":"object","properties":{"changes":{"type":"object","properties":{"conversionValue":{"type":["number","null"]},"conversions":{"type":["number","null"]},"roas":{"type":["number","null"]},"spend":{"type":["number","null"]}},"required":["conversionValue","conversions","roas","spend"],"additionalProperties":false},"series":{"maxItems":366,"type":"array","items":{"type":"object","properties":{"conversionValue":{"type":"number"},"conversions":{"type":"number"},"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"roas":{"type":["number","null"]},"spend":{"type":"number"}},"required":["conversionValue","conversions","date","roas","spend"],"additionalProperties":false}},"totals":{"type":"object","properties":{"conversionValue":{"type":"number"},"conversions":{"type":"number"},"costMicros":{"type":"number"},"roas":{"type":["number","null"]}},"required":["conversionValue","conversions","costMicros","roas"],"additionalProperties":false}},"required":["changes","series","totals"],"additionalProperties":false}},"required":["currencyCode","period"],"additionalProperties":false}}},"required":["accountCoverage","availablePeriods","coverage","defaultCurrencyCode","period","portfolios"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get portfolio performance","tags":["performance_findings"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["dateTo"],"when":[{"exists":true,"path":["dateFrom"]}]},{"requires":["dateFrom"],"when":[{"exists":true,"path":["dateTo"]}]},{"forbids":["dateFrom","dateTo"],"when":[{"exists":true,"path":["periodDays"]}]},{"forbids":["periodDays"],"when":[{"exists":true,"path":["dateFrom"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/performance-refreshes":{"post":{"description":"Start campaign-performance synchronization for an Agency or one active Google connection.","operationId":"start_campaign_performance_refresh","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"connectionId":{"description":"Limit the refresh to one active Google connection.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"force":{"default":false,"description":"Refresh even when current performance data is still fresh.","type":"boolean"}},"type":"object"}}},"required":false},"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"alreadyRunning":{"type":"boolean"},"refreshId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"startedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"state":{"type":"string","enum":["queued","already_running","up_to_date"]},"totalCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["alreadyRunning","refreshId","startedCount","state","totalCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Start campaign performance refresh","tags":["performance_findings"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_read"}},"/api/v1/agencies/{agencyId}/campaign-performance-status":{"get":{"description":"Return safe campaign-performance activity for an Agency, one connection, or one addressable refresh.","operationId":"get_campaign_performance_refresh_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Provider Connection.","in":"query","name":"connectionId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection."}},{"description":"UUID of the addressable refresh operation.","in":"query","name":"refreshId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable refresh operation."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"active":{"type":"boolean"},"refresh":{"anyOf":[{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"PERFORMANCE_REFRESH_FAILED"},"message":{"type":"string"}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"refreshId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["queued","running","succeeded","failed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["createdAt","failure","finishedAt","refreshId","startedAt","status","updatedAt"],"additionalProperties":false},{"type":"null"}]},"scope":{"type":"string","enum":["agency","connection","refresh"]}},"required":["active","refresh","scope"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get campaign performance refresh status","tags":["performance_findings"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"forbids":["refreshId"],"when":[{"exists":true,"path":["connectionId"]}]},{"forbids":["connectionId"],"when":[{"exists":true,"path":["refreshId"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/findings":{"get":{"description":"List cursor-paginated optimization Findings with explicit lifecycle and resource filters.","operationId":"list_findings","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Campaign.","in":"query","name":"campaignId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Campaign."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Optimization Finding category to match.","in":"query","name":"findingType","required":false,"schema":{"type":"string","enum":["high_spend_no_conversions","no_clicks","poor_roas","low_data","inactive_mapping","sync_warning"],"description":"Optimization Finding category to match."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Finding or issue severity to match.","in":"query","name":"severity","required":false,"schema":{"type":"string","enum":["info","low","medium","high"],"description":"Finding or issue severity to match."}},{"description":"Status value to apply or match at this position.","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["open","resolved","dismissed"],"description":"Status value to apply or match at this position."}},{"description":"UUID of the data-sync run associated with a Finding.","in":"query","name":"syncRunId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the data-sync run associated with a Finding."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"campaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"description":{"type":"string"},"detectedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"evidence":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"high_spend_no_conversions"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"no_clicks"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"poor_roas"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"low_data"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"inactive_mapping"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sync_warning"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false}]},"findingType":{"type":"string","enum":["high_spend_no_conversions","no_clicks","poor_roas","low_data","inactive_mapping","sync_warning"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["google_ads","meta_ads","tiktok_ads"]},"provider":{"type":"string","enum":["google","meta","tiktok"]},"providerAccountId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"recommendation":{"type":"string"},"resolvedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"severity":{"type":"string","enum":["info","low","medium","high"]},"status":{"type":"string","enum":["open","resolved","dismissed"]},"syncRunId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"title":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["campaignId","clientId","createdAt","description","detectedAt","evidence","findingType","id","platform","provider","providerAccountId","recommendation","resolvedAt","severity","status","syncRunId","title","updatedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Findings","tags":["performance_findings"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/findings/{findingId}":{"get":{"description":"Return one Finding with safe evidence, recommendation, lifecycle state, and related resource IDs.","operationId":"get_finding","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the optimization Finding.","in":"path","name":"findingId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the optimization Finding."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"campaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"description":{"type":"string"},"detectedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"evidence":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"high_spend_no_conversions"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"no_clicks"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"poor_roas"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"low_data"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"inactive_mapping"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"sync_warning"},"clicks":{"type":"number","minimum":0},"conversionValue":{"type":"number","minimum":0},"conversions":{"type":"number","minimum":0},"costMicros":{"type":"number","minimum":0},"dateFrom":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"dateTo":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"impressions":{"type":"number","minimum":0}},"required":["kind"],"additionalProperties":false}]},"findingType":{"type":"string","enum":["high_spend_no_conversions","no_clicks","poor_roas","low_data","inactive_mapping","sync_warning"]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"platform":{"type":"string","enum":["google_ads","meta_ads","tiktok_ads"]},"provider":{"type":"string","enum":["google","meta","tiktok"]},"providerAccountId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"recommendation":{"type":"string"},"resolvedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"severity":{"type":"string","enum":["info","low","medium","high"]},"status":{"type":"string","enum":["open","resolved","dismissed"]},"syncRunId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"title":{"type":"string"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["campaignId","clientId","createdAt","description","detectedAt","evidence","findingType","id","platform","provider","providerAccountId","recommendation","resolvedAt","severity","status","syncRunId","title","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Finding","tags":["performance_findings"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/findings/{findingId}/status":{"put":{"description":"Change a Finding lifecycle status using its exact last-observed version.","operationId":"set_finding_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the optimization Finding.","in":"path","name":"findingId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the optimization Finding."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"status":{"type":"string","enum":["open","resolved","dismissed"],"description":"Status value to apply or match at this position."}},"type":"object","required":["expectedUpdatedAt","status"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"changed":{"type":"boolean"},"findingId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["open","resolved","dismissed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["changed","findingId","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Set Finding status","tags":["performance_findings"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/strategies":{"get":{"description":"List bounded Strategy metadata. Use get_strategy for a document body.","operationId":"list_strategies","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Whether the Strategy belongs to the Agency or one Client.","in":"query","name":"scope","required":true,"schema":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"scope":{"type":"string","enum":["agency","client"]},"slug":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","archived"]},"title":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"contentCharacterCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"contentHash":{"type":"string","pattern":"^[0-9a-f]{64}$"}},"required":["agencyId","clientId","createdAt","id","isDefault","scope","slug","status","title","updatedAt","version","contentCharacterCount","contentHash"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Strategies","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"read"},"post":{"description":"Create a versioned Agency Strategy or Client Strategy.\n\nInput constraints: A default Strategy must have active status.","operationId":"create_strategy","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"A default Strategy must have active status.","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"scope":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."},"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000,"description":"Complete Markdown content for the Strategy."},"isDefault":{"default":false,"type":"boolean","description":"Whether this resource should become the default for its applicable scope."},"status":{"default":"active","type":"string","enum":["active","archived"],"description":"Status value to apply or match at this position."},"title":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable Strategy or draft title."}},"type":"object","required":["scope","contentMarkdown","title"],"allOf":[{"if":{"properties":{"scope":{"const":"client"}},"required":["scope"],"type":"object"},"then":{"required":["clientId"]}},{"if":{"properties":{"scope":{"const":"agency"}},"required":["scope"],"type":"object"},"then":{"not":{"required":["clientId"]}}}]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"scope":{"type":"string","enum":["agency","client"]},"slug":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","archived"]},"title":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["agencyId","clientId","contentMarkdown","createdAt","id","isDefault","scope","slug","status","title","updatedAt","version"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Create Strategy","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"write"}},"/api/v1/agencies/{agencyId}/strategies/{strategyId}":{"get":{"description":"Return one current, versioned Strategy document.","operationId":"get_strategy","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Strategy.","in":"path","name":"strategyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Strategy."}},{"description":"Whether the Strategy belongs to the Agency or one Client.","in":"query","name":"scope","required":true,"schema":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"scope":{"type":"string","enum":["agency","client"]},"slug":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","archived"]},"title":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"affectedAutomationCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["agencyId","clientId","contentMarkdown","createdAt","id","isDefault","scope","slug","status","title","updatedAt","version","affectedAutomationCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Strategy","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"read"},"patch":{"description":"Apply one confirmed, compare-and-set Strategy update and create an immutable version.\n\nInput constraints: A default Strategy must have active status.","operationId":"update_strategy","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Strategy.","in":"path","name":"strategyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Strategy."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"A default Strategy must have active status.","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"scope":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."},"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000,"description":"Complete Markdown content for the Strategy."},"isDefault":{"default":false,"type":"boolean","description":"Whether this resource should become the default for its applicable scope."},"status":{"default":"active","type":"string","enum":["active","archived"],"description":"Status value to apply or match at this position."},"title":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable Strategy or draft title."},"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"expectedAffectedAutomationCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Exact affected Automation count returned by the Strategy change preview."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Strategy version number observed before this operation."}},"type":"object","required":["scope","contentMarkdown","title","confirmationToken","expectedAffectedAutomationCount","expectedUpdatedAt","expectedVersion"],"allOf":[{"if":{"properties":{"scope":{"const":"client"}},"required":["scope"],"type":"object"},"then":{"required":["clientId"]}},{"if":{"properties":{"scope":{"const":"agency"}},"required":["scope"],"type":"object"},"then":{"not":{"required":["clientId"]}}}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"isDefault":{"type":"boolean"},"scope":{"type":"string","enum":["agency","client"]},"slug":{"type":"string","minLength":1},"status":{"type":"string","enum":["active","archived"]},"title":{"type":"string","minLength":1},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["agencyId","clientId","contentMarkdown","createdAt","id","isDefault","scope","slug","status","title","updatedAt","version"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Strategy","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/strategies/{strategyId}/versions":{"get":{"description":"List bounded immutable version metadata, newest first. Use get_strategy_version for a document body.","operationId":"list_strategy_versions","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Strategy.","in":"path","name":"strategyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Strategy."}},{"description":"Whether the Strategy belongs to the Agency or one Client.","in":"query","name":"scope","required":true,"schema":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"changeSummary":{"type":["string","null"]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"origin":{"anyOf":[{"type":"string","enum":["ui","public_api","mcp"]},{"type":"null"}]},"requestId":{"type":["string","null"]},"strategyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"contentCharacterCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"contentHash":{"type":"string","pattern":"^[0-9a-f]{64}$"}},"required":["changeSummary","createdAt","createdBy","id","origin","requestId","strategyId","version","contentCharacterCount","contentHash"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Strategy versions","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/strategies/{strategyId}/versions/{versionId}":{"get":{"description":"Return one immutable Strategy version.","operationId":"get_strategy_version","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Strategy.","in":"path","name":"strategyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Strategy."}},{"description":"UUID of the exact Strategy version.","in":"path","name":"versionId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the exact Strategy version."}},{"description":"Whether the Strategy belongs to the Agency or one Client.","in":"query","name":"scope","required":true,"schema":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"changeSummary":{"type":["string","null"]},"contentMarkdown":{"type":"string"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"createdBy":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"origin":{"anyOf":[{"type":"string","enum":["ui","public_api","mcp"]},{"type":"null"}]},"requestId":{"type":["string","null"]},"strategyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"version":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["changeSummary","contentMarkdown","createdAt","createdBy","id","origin","requestId","strategyId","version"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Strategy version","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/strategies/{strategyId}/preview-change":{"post":{"description":"Validate a Strategy update, count affected Automations, and issue a one-use confirmation.\n\nInput constraints: A default Strategy must have active status.","operationId":"preview_strategy_change","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Strategy.","in":"path","name":"strategyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Strategy."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"description":"A default Strategy must have active status.","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"scope":{"type":"string","enum":["agency","client"],"description":"Whether the Strategy belongs to the Agency or one Client."},"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000,"description":"Complete Markdown content for the Strategy."},"isDefault":{"default":false,"type":"boolean","description":"Whether this resource should become the default for its applicable scope."},"status":{"default":"active","type":"string","enum":["active","archived"],"description":"Status value to apply or match at this position."},"title":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable Strategy or draft title."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"expectedVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Strategy version number observed before this operation."}},"type":"object","required":["scope","contentMarkdown","title","expectedUpdatedAt","expectedVersion"],"allOf":[{"if":{"properties":{"scope":{"const":"client"}},"required":["scope"],"type":"object"},"then":{"required":["clientId"]}},{"if":{"properties":{"scope":{"const":"agency"}},"required":["scope"],"type":"object"},"then":{"not":{"required":["clientId"]}}}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"affectedAutomationCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},"currentVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991}},"required":["affectedAutomationCount","confirmation","currentVersion"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Strategy change","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"equals":"client","path":["scope"]}]},{"forbids":["clientId"],"when":[{"equals":"agency","path":["scope"]}]}],"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/strategies/optimize-markdown":{"post":{"description":"Generate a bounded markdown draft from current Strategy content and an explicit instruction.","operationId":"optimize_strategy_markdown","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"contentMarkdown":{"default":"","type":"string","maxLength":50000,"description":"Complete Markdown content for the Strategy."},"instruction":{"type":"string","maxLength":4000,"description":"Plain-language editing instruction for the Strategy Markdown generator."}},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"contentMarkdown":{"type":"string","minLength":1,"maxLength":50000},"usage":{"type":"object","properties":{"inputTokens":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"outputTokens":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]},"totalTokens":{"anyOf":[{"type":"integer","minimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["inputTokens","outputTokens","totalTokens"],"additionalProperties":false}},"required":["contentMarkdown","usage"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Optimize Strategy markdown","tags":["strategies"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":true,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"ai_usage"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaign-creation-context":{"get":{"description":"Return safe Ads, Merchant, connection, sync, and link choices for Standard Shopping creation.","operationId":"get_campaign_creation_context","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Campaign type handled by this capability.","in":"query","name":"campaignType","required":true,"schema":{"type":"string","const":"STANDARD_SHOPPING","description":"Campaign type handled by this capability."}},{"description":"Provider platform handled or matched by this operation.","in":"query","name":"platform","required":true,"schema":{"type":"string","const":"google_ads","description":"Provider platform handled or matched by this operation."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"adsAccounts":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"currencyCode":{"anyOf":[{"type":"string","minLength":1,"maxLength":12},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":500},"providerConnectionIds":{"maxItems":200,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"timeZone":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]}},"required":["currencyCode","id","name","providerConnectionIds","timeZone"],"additionalProperties":false}},"campaignType":{"type":"string","const":"STANDARD_SHOPPING"},"canCreate":{"type":"boolean"},"latestProductSyncs":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"failure":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"MERCHANT_PRODUCT_SYNC_FAILED"},"message":{"type":"string","const":"Merchant product sync failed."},"retryable":{"type":"boolean","const":true}},"required":["code","message","retryable"],"additionalProperties":false},{"type":"null"}]},"facetCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"productCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["queued","running","succeeded","failed"]}},"required":["failure","facetCount","finishedAt","id","merchantProviderAccountId","productCount","startedAt","status"],"additionalProperties":false}},"merchantAccounts":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"customLabelMap":{"type":"object","properties":{"custom_label_0":{"type":"string","minLength":1,"maxLength":60},"custom_label_1":{"type":"string","minLength":1,"maxLength":60},"custom_label_2":{"type":"string","minLength":1,"maxLength":60},"custom_label_3":{"type":"string","minLength":1,"maxLength":60},"custom_label_4":{"type":"string","minLength":1,"maxLength":60}},"additionalProperties":false},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1,"maxLength":500},"productStatus":{"anyOf":[{"type":"object","properties":{"activeCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"approvedPercent":{"anyOf":[{"type":"number","minimum":0,"maximum":100},{"type":"null"}]},"disapprovedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"lastCheckedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"pendingCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["activeCount","approvedPercent","disapprovedCount","lastCheckedAt","pendingCount","totalCount"],"additionalProperties":false},{"type":"null"}]}},"required":["customLabelMap","id","name","productStatus"],"additionalProperties":false}},"merchantLinks":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"approvalRequiredBy":{"anyOf":[{"type":"string","enum":["google_ads","merchant_center","unknown"]},{"type":"null"}]},"canApproveInTurbo":{"type":"boolean"},"canRequest":{"type":"boolean"},"id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["linked","pending","rejected","not_linked","unknown"]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["adsProviderAccountId","approvalRequiredBy","canApproveInTurbo","canRequest","id","lastCheckedAt","merchantProviderAccountId","status","updatedAt"],"additionalProperties":false}},"platform":{"type":"string","const":"google_ads"},"providerConnections":{"maxItems":200,"type":"array","items":{"type":"object","properties":{"accountEmail":{"anyOf":[{"type":"string","maxLength":320,"format":"email","pattern":"^(?!\\.)(?!.*\\.\\.)([A-Za-z0-9_'+\\-\\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"},{"type":"null"}]},"displayName":{"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["active","needs_reauth","disabled"]}},"required":["accountEmail","displayName","id","status"],"additionalProperties":false}},"truncated":{"type":"object","properties":{"adsAccounts":{"type":"boolean"},"latestProductSyncs":{"type":"boolean"},"merchantAccounts":{"type":"boolean"},"merchantLinks":{"type":"boolean"},"providerConnections":{"type":"boolean"}},"required":["adsAccounts","latestProductSyncs","merchantAccounts","merchantLinks","providerConnections"],"additionalProperties":false}},"required":["adsAccounts","campaignType","canCreate","latestProductSyncs","merchantAccounts","merchantLinks","platform","providerConnections","truncated"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Campaign creation context","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-accounts/{merchantProviderAccountId}/product-options/search":{"post":{"description":"Search bounded Merchant product dimension values for one Client-assigned account.","operationId":"list_merchant_product_options","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the Merchant Center Provider Account.","in":"path","name":"merchantProviderAccountId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product facet dimension whose values should be returned."},"limit":{"default":50,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."},"path":{"maxItems":7,"type":"array","items":{"type":"object","properties":{"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product facet dimension whose values should be returned."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["dimension","value"],"additionalProperties":false},"description":"Selected ancestor facet values that locate the current Merchant product branch."},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."},"query":{"type":"string","minLength":1,"maxLength":100,"description":"Case-insensitive search text for Merchant product facet values."}},"type":"object","required":["dimension","path","providerConnectionId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"productCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"value":{"type":"string","minLength":1,"maxLength":500}},"required":["productCount","value"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Merchant product options","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-accounts/{merchantProviderAccountId}/product-syncs":{"post":{"description":"Start an idempotent Merchant product facet sync and return its addressable status ID.","operationId":"start_merchant_product_sync","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the Merchant Center Provider Account.","in":"path","name":"merchantProviderAccountId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."}},"type":"object","required":["providerConnectionId"]}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"alreadyRunning":{"type":"boolean"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["queued","running"]}},"required":["alreadyRunning","id","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Start Merchant product sync","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-product-syncs/{syncId}":{"get":{"description":"Return safe progress and failure state for one Merchant product sync.","operationId":"get_merchant_product_sync_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the addressable Merchant product sync operation.","in":"path","name":"syncId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Merchant product sync operation."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"failure":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"MERCHANT_PRODUCT_SYNC_FAILED"},"message":{"type":"string","const":"Merchant product sync failed."},"retryable":{"type":"boolean","const":true}},"required":["code","message","retryable"],"additionalProperties":false},{"type":"null"}]},"facetCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"productCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","enum":["queued","running","succeeded","failed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["failure","facetCount","finishedAt","id","merchantProviderAccountId","productCount","startedAt","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Merchant product sync status","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-links/lookup":{"post":{"description":"Return the safe Campaign-management link state for one Client's Ads and Merchant accounts.","operationId":"get_merchant_link","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"account":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Google Ads Provider Account selected for the Campaign."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},"required":["adsProviderAccountId","merchantProviderAccountId"],"additionalProperties":false,"description":"Google Ads and Merchant Center account IDs selected for this operation."}},"type":"object","required":["account"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"approvalRequiredBy":{"anyOf":[{"type":"string","enum":["google_ads","merchant_center","unknown"]},{"type":"null"}]},"canApproveInTurbo":{"type":"boolean"},"canRequest":{"type":"boolean"},"id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["linked","pending","rejected","not_linked","unknown"]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["adsProviderAccountId","approvalRequiredBy","canApproveInTurbo","canRequest","id","lastCheckedAt","merchantProviderAccountId","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Merchant link","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-link-refreshes":{"post":{"description":"Refresh and persist the current Google Ads-to-Merchant Campaign link state.","operationId":"refresh_merchant_link","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"account":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Google Ads Provider Account selected for the Campaign."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},"required":["adsProviderAccountId","merchantProviderAccountId"],"additionalProperties":false,"description":"Google Ads and Merchant Center account IDs selected for this operation."},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."}},"type":"object","required":["account","providerConnectionId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"approvalRequiredBy":{"anyOf":[{"type":"string","enum":["google_ads","merchant_center","unknown"]},{"type":"null"}]},"canApproveInTurbo":{"type":"boolean"},"canRequest":{"type":"boolean"},"id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["linked","pending","rejected","not_linked","unknown"]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["adsProviderAccountId","approvalRequiredBy","canApproveInTurbo","canRequest","id","lastCheckedAt","merchantProviderAccountId","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Refresh Merchant link","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_read"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-link-requests":{"post":{"description":"Request a Google Ads-to-Merchant Campaign-management link once.","operationId":"request_merchant_link","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"account":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Google Ads Provider Account selected for the Campaign."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},"required":["adsProviderAccountId","merchantProviderAccountId"],"additionalProperties":false,"description":"Google Ads and Merchant Center account IDs selected for this operation."},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."}},"type":"object","required":["account","providerConnectionId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"approvalRequiredBy":{"anyOf":[{"type":"string","enum":["google_ads","merchant_center","unknown"]},{"type":"null"}]},"canApproveInTurbo":{"type":"boolean"},"canRequest":{"type":"boolean"},"id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["linked","pending","rejected","not_linked","unknown"]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["adsProviderAccountId","approvalRequiredBy","canApproveInTurbo","canRequest","id","lastCheckedAt","merchantProviderAccountId","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Request Merchant link","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_write"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/merchant-link-approvals":{"post":{"description":"Approve a pending Google Ads-to-Merchant Campaign-management link when Turbo PPC can do so.","operationId":"approve_merchant_link","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"account":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Google Ads Provider Account selected for the Campaign."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},"required":["adsProviderAccountId","merchantProviderAccountId"],"additionalProperties":false,"description":"Google Ads and Merchant Center account IDs selected for this operation."},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."}},"type":"object","required":["account","providerConnectionId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"approvalRequiredBy":{"anyOf":[{"type":"string","enum":["google_ads","merchant_center","unknown"]},{"type":"null"}]},"canApproveInTurbo":{"type":"boolean"},"canRequest":{"type":"boolean"},"id":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"lastCheckedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["linked","pending","rejected","not_linked","unknown"]},"updatedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["adsProviderAccountId","approvalRequiredBy","canApproveInTurbo","canRequest","id","lastCheckedAt","merchantProviderAccountId","status","updatedAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Approve Merchant link","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_write"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaigns/standard-shopping/previews":{"post":{"description":"Validate and plan an exact Standard Shopping draft, then issue a state-bound one-use confirmation when ready.","operationId":"preview_standard_shopping_campaign","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"account":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Google Ads Provider Account selected for the Campaign."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},"required":["adsProviderAccountId","merchantProviderAccountId"],"additionalProperties":false,"description":"Google Ads and Merchant Center account IDs selected for this operation."},"campaignType":{"type":"string","const":"STANDARD_SHOPPING","description":"Campaign type handled by this capability."},"conversionGoals":{"type":"object","properties":{"selectedGoalKeys":{"description":"Exact Google Ads conversion-goal keys to apply to the campaign. Send an empty list only when the selected account has no goals.","maxItems":1000,"type":"array","items":{"type":"string","minLength":3,"maxLength":200,"pattern":"^[A-Z0-9_]+:[A-Z0-9_]+$"}}},"required":["selectedGoalKeys"],"additionalProperties":false,"description":"The caller's complete conversion-goal decision."},"draft":{"anyOf":[{"type":"object","properties":{"budget":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Budget amount in major units of the selected account currency, with at most six decimal places."},"endDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign end date in YYYY-MM-DD format."},"mode":{"type":"string","enum":["DAILY","TOTAL"],"description":"DAILY sets a per-day amount; TOTAL spreads the amount across startDate through endDate."},"startDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign start date in YYYY-MM-DD format."}},"required":["amount","mode"],"additionalProperties":false,"description":"Daily or total campaign budget settings."},"confirmedEnabledLaunch":{"type":"boolean","description":"Explicit acknowledgement that an ENABLED Campaign will begin serving after creation."},"containsEuPoliticalAds":{"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"finalUrlSuffix":{"type":"string","maxLength":2048,"description":"Google Ads final URL suffix appended to landing-page URLs."},"launchStatus":{"type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"description":"Exact geographic criteria and presence settings. When supplied, these replace country targeting.","type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false},"locationCountryCodes":{"maxItems":10,"type":"array","items":{"type":"string","enum":["AU","CA","DE","ES","FR","GB","IE","IT","NL","US"]},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"priority":{"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"trackingTemplate":{"type":"string","maxLength":2048,"description":"Google Ads tracking template applied to the Campaign."},"adGroups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"productAdName":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name for the Product Ad inside an Ad Group."},"productGroup":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ALL_PRODUCTS","description":"Include all products without subdivisions."}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"root":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"A finite product partition with at most 7 levels and 10000 total nodes across the whole tree. The total-node limit is enforced when the request is parsed."},"type":{"type":"string","const":"TREE","description":"Use an explicit product-partition tree."}},"required":["root","type"],"additionalProperties":false}],"description":"Products included in this ad group."},"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001}},"required":["name","productGroup"],"additionalProperties":false},"description":"Ad Groups to create inside the Standard Shopping Campaign."},"bidding":{"type":"object","properties":{"manualCpcBid":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Default CPC bid in major units of the selected account currency, with at most six decimal places."},"strategy":{"type":"string","const":"MANUAL_CPC","description":"Campaign bidding strategy identifier."}},"required":["manualCpcBid","strategy"],"additionalProperties":false,"description":"Campaign bidding strategy and its strategy-specific settings."}},"required":["budget","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","name","priority","searchPartners","adGroups","bidding"],"additionalProperties":false},{"type":"object","properties":{"budget":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Budget amount in major units of the selected account currency, with at most six decimal places."},"endDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign end date in YYYY-MM-DD format."},"mode":{"type":"string","enum":["DAILY","TOTAL"],"description":"DAILY sets a per-day amount; TOTAL spreads the amount across startDate through endDate."},"startDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign start date in YYYY-MM-DD format."}},"required":["amount","mode"],"additionalProperties":false,"description":"Daily or total campaign budget settings."},"confirmedEnabledLaunch":{"type":"boolean","description":"Explicit acknowledgement that an ENABLED Campaign will begin serving after creation."},"containsEuPoliticalAds":{"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"finalUrlSuffix":{"type":"string","maxLength":2048,"description":"Google Ads final URL suffix appended to landing-page URLs."},"launchStatus":{"type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"description":"Exact geographic criteria and presence settings. When supplied, these replace country targeting.","type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false},"locationCountryCodes":{"maxItems":10,"type":"array","items":{"type":"string","enum":["AU","CA","DE","ES","FR","GB","IE","IT","NL","US"]},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"priority":{"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"trackingTemplate":{"type":"string","maxLength":2048,"description":"Google Ads tracking template applied to the Campaign."},"adGroups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"productAdName":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name for the Product Ad inside an Ad Group."},"productGroup":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ALL_PRODUCTS","description":"Include all products without subdivisions."}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"root":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"A finite product partition with at most 7 levels and 10000 total nodes across the whole tree. The total-node limit is enforced when the request is parsed."},"type":{"type":"string","const":"TREE","description":"Use an explicit product-partition tree."}},"required":["root","type"],"additionalProperties":false}],"description":"Products included in this ad group."}},"required":["name","productGroup"],"additionalProperties":false},"description":"Ad Groups to create inside the Standard Shopping Campaign."},"bidding":{"type":"object","properties":{"strategy":{"type":"string","const":"TARGET_ROAS","description":"Campaign bidding strategy identifier."},"targetRoas":{"type":"number","minimum":0.01,"maximum":1000,"description":"Target return on ad spend as a ratio where 3 means 300%."}},"required":["strategy","targetRoas"],"additionalProperties":false,"description":"Campaign bidding strategy and its strategy-specific settings."}},"required":["budget","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","name","priority","searchPartners","adGroups","bidding"],"additionalProperties":false},{"type":"object","properties":{"budget":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Budget amount in major units of the selected account currency, with at most six decimal places."},"endDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign end date in YYYY-MM-DD format."},"mode":{"type":"string","enum":["DAILY","TOTAL"],"description":"DAILY sets a per-day amount; TOTAL spreads the amount across startDate through endDate."},"startDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign start date in YYYY-MM-DD format."}},"required":["amount","mode"],"additionalProperties":false,"description":"Daily or total campaign budget settings."},"confirmedEnabledLaunch":{"type":"boolean","description":"Explicit acknowledgement that an ENABLED Campaign will begin serving after creation."},"containsEuPoliticalAds":{"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"finalUrlSuffix":{"type":"string","maxLength":2048,"description":"Google Ads final URL suffix appended to landing-page URLs."},"launchStatus":{"type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"description":"Exact geographic criteria and presence settings. When supplied, these replace country targeting.","type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false},"locationCountryCodes":{"maxItems":10,"type":"array","items":{"type":"string","enum":["AU","CA","DE","ES","FR","GB","IE","IT","NL","US"]},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"priority":{"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"trackingTemplate":{"type":"string","maxLength":2048,"description":"Google Ads tracking template applied to the Campaign."},"adGroups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"productAdName":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name for the Product Ad inside an Ad Group."},"productGroup":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ALL_PRODUCTS","description":"Include all products without subdivisions."}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"root":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"A finite product partition with at most 7 levels and 10000 total nodes across the whole tree. The total-node limit is enforced when the request is parsed."},"type":{"type":"string","const":"TREE","description":"Use an explicit product-partition tree."}},"required":["root","type"],"additionalProperties":false}],"description":"Products included in this ad group."}},"required":["name","productGroup"],"additionalProperties":false},"description":"Ad Groups to create inside the Standard Shopping Campaign."},"bidding":{"type":"object","properties":{"maxCpcBid":{"description":"Optional maximum CPC bid in major units of the selected account currency.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"strategy":{"type":"string","const":"MAXIMIZE_CLICKS","description":"Campaign bidding strategy identifier."}},"required":["strategy"],"additionalProperties":false,"description":"Campaign bidding strategy and its strategy-specific settings."}},"required":["budget","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","name","priority","searchPartners","adGroups","bidding"],"additionalProperties":false}],"description":"Complete Standard Shopping Campaign draft to validate or create."},"platform":{"type":"string","const":"google_ads","description":"Provider platform handled or matched by this operation."},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."}},"type":"object","required":["account","campaignType","draft","platform","providerConnectionId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"oneOf":[{"type":"object","properties":{"confirmation":{"type":"null"},"contextVersion":{"type":"string","pattern":"^[a-f0-9]{64}$"},"plan":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":500},"key":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":200},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["description","key","label","resource"],"additionalProperties":false}},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":false},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false}},"required":["steps","warnings","validation"],"additionalProperties":false},"ready":{"type":"boolean","const":false}},"required":["confirmation","contextVersion","plan","ready"],"additionalProperties":false},{"type":"object","properties":{"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},"contextVersion":{"type":"string","pattern":"^[a-f0-9]{64}$"},"plan":{"type":"object","properties":{"steps":{"type":"array","items":{"type":"object","properties":{"description":{"type":"string","minLength":1,"maxLength":500},"key":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":200},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["description","key","label","resource"],"additionalProperties":false}},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false}},"required":["steps","warnings","validation"],"additionalProperties":false},"ready":{"type":"boolean","const":true}},"required":["confirmation","contextVersion","plan","ready"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Standard Shopping campaign","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaigns/standard-shopping":{"post":{"description":"Queue an exact, confirmed Standard Shopping Campaign as an addressable durable operation.","operationId":"create_standard_shopping_campaign","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"account":{"type":"object","properties":{"adsProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Google Ads Provider Account selected for the Campaign."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."}},"required":["adsProviderAccountId","merchantProviderAccountId"],"additionalProperties":false,"description":"Google Ads and Merchant Center account IDs selected for this operation."},"campaignType":{"type":"string","const":"STANDARD_SHOPPING","description":"Campaign type handled by this capability."},"conversionGoals":{"type":"object","properties":{"selectedGoalKeys":{"description":"Exact Google Ads conversion-goal keys to apply to the campaign. Send an empty list only when the selected account has no goals.","maxItems":1000,"type":"array","items":{"type":"string","minLength":3,"maxLength":200,"pattern":"^[A-Z0-9_]+:[A-Z0-9_]+$"}}},"required":["selectedGoalKeys"],"additionalProperties":false,"description":"The caller's complete conversion-goal decision."},"draft":{"anyOf":[{"type":"object","properties":{"budget":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Budget amount in major units of the selected account currency, with at most six decimal places."},"endDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign end date in YYYY-MM-DD format."},"mode":{"type":"string","enum":["DAILY","TOTAL"],"description":"DAILY sets a per-day amount; TOTAL spreads the amount across startDate through endDate."},"startDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign start date in YYYY-MM-DD format."}},"required":["amount","mode"],"additionalProperties":false,"description":"Daily or total campaign budget settings."},"confirmedEnabledLaunch":{"type":"boolean","description":"Explicit acknowledgement that an ENABLED Campaign will begin serving after creation."},"containsEuPoliticalAds":{"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"finalUrlSuffix":{"type":"string","maxLength":2048,"description":"Google Ads final URL suffix appended to landing-page URLs."},"launchStatus":{"type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"description":"Exact geographic criteria and presence settings. When supplied, these replace country targeting.","type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false},"locationCountryCodes":{"maxItems":10,"type":"array","items":{"type":"string","enum":["AU","CA","DE","ES","FR","GB","IE","IT","NL","US"]},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"priority":{"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"trackingTemplate":{"type":"string","maxLength":2048,"description":"Google Ads tracking template applied to the Campaign."},"adGroups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"productAdName":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name for the Product Ad inside an Ad Group."},"productGroup":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ALL_PRODUCTS","description":"Include all products without subdivisions."}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"root":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"A finite product partition with at most 7 levels and 10000 total nodes across the whole tree. The total-node limit is enforced when the request is parsed."},"type":{"type":"string","const":"TREE","description":"Use an explicit product-partition tree."}},"required":["root","type"],"additionalProperties":false}],"description":"Products included in this ad group."},"cpcBid":{"description":"A positive bid in major units of the selected account currency; use only with MANUAL_CPC.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001}},"required":["name","productGroup"],"additionalProperties":false},"description":"Ad Groups to create inside the Standard Shopping Campaign."},"bidding":{"type":"object","properties":{"manualCpcBid":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Default CPC bid in major units of the selected account currency, with at most six decimal places."},"strategy":{"type":"string","const":"MANUAL_CPC","description":"Campaign bidding strategy identifier."}},"required":["manualCpcBid","strategy"],"additionalProperties":false,"description":"Campaign bidding strategy and its strategy-specific settings."}},"required":["budget","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","name","priority","searchPartners","adGroups","bidding"],"additionalProperties":false},{"type":"object","properties":{"budget":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Budget amount in major units of the selected account currency, with at most six decimal places."},"endDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign end date in YYYY-MM-DD format."},"mode":{"type":"string","enum":["DAILY","TOTAL"],"description":"DAILY sets a per-day amount; TOTAL spreads the amount across startDate through endDate."},"startDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign start date in YYYY-MM-DD format."}},"required":["amount","mode"],"additionalProperties":false,"description":"Daily or total campaign budget settings."},"confirmedEnabledLaunch":{"type":"boolean","description":"Explicit acknowledgement that an ENABLED Campaign will begin serving after creation."},"containsEuPoliticalAds":{"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"finalUrlSuffix":{"type":"string","maxLength":2048,"description":"Google Ads final URL suffix appended to landing-page URLs."},"launchStatus":{"type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"description":"Exact geographic criteria and presence settings. When supplied, these replace country targeting.","type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false},"locationCountryCodes":{"maxItems":10,"type":"array","items":{"type":"string","enum":["AU","CA","DE","ES","FR","GB","IE","IT","NL","US"]},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"priority":{"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"trackingTemplate":{"type":"string","maxLength":2048,"description":"Google Ads tracking template applied to the Campaign."},"adGroups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"productAdName":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name for the Product Ad inside an Ad Group."},"productGroup":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ALL_PRODUCTS","description":"Include all products without subdivisions."}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"root":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"A finite product partition with at most 7 levels and 10000 total nodes across the whole tree. The total-node limit is enforced when the request is parsed."},"type":{"type":"string","const":"TREE","description":"Use an explicit product-partition tree."}},"required":["root","type"],"additionalProperties":false}],"description":"Products included in this ad group."}},"required":["name","productGroup"],"additionalProperties":false},"description":"Ad Groups to create inside the Standard Shopping Campaign."},"bidding":{"type":"object","properties":{"strategy":{"type":"string","const":"TARGET_ROAS","description":"Campaign bidding strategy identifier."},"targetRoas":{"type":"number","minimum":0.01,"maximum":1000,"description":"Target return on ad spend as a ratio where 3 means 300%."}},"required":["strategy","targetRoas"],"additionalProperties":false,"description":"Campaign bidding strategy and its strategy-specific settings."}},"required":["budget","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","name","priority","searchPartners","adGroups","bidding"],"additionalProperties":false},{"type":"object","properties":{"budget":{"type":"object","properties":{"amount":{"type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001,"description":"Budget amount in major units of the selected account currency, with at most six decimal places."},"endDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign end date in YYYY-MM-DD format."},"mode":{"type":"string","enum":["DAILY","TOTAL"],"description":"DAILY sets a per-day amount; TOTAL spreads the amount across startDate through endDate."},"startDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Optional Campaign start date in YYYY-MM-DD format."}},"required":["amount","mode"],"additionalProperties":false,"description":"Daily or total campaign budget settings."},"confirmedEnabledLaunch":{"type":"boolean","description":"Explicit acknowledgement that an ENABLED Campaign will begin serving after creation."},"containsEuPoliticalAds":{"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"finalUrlSuffix":{"type":"string","maxLength":2048,"description":"Google Ads final URL suffix appended to landing-page URLs."},"launchStatus":{"type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"description":"Exact geographic criteria and presence settings. When supplied, these replace country targeting.","type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false},"locationCountryCodes":{"maxItems":10,"type":"array","items":{"type":"string","enum":["AU","CA","DE","ES","FR","GB","IE","IT","NL","US"]},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"priority":{"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"trackingTemplate":{"type":"string","maxLength":2048,"description":"Google Ads tracking template applied to the Campaign."},"adGroups":{"minItems":1,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name supplied for this resource or action."},"productAdName":{"type":"string","minLength":1,"maxLength":128,"description":"Human-readable name for the Product Ad inside an Ad Group."},"productGroup":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"ALL_PRODUCTS","description":"Include all products without subdivisions."}},"required":["type"],"additionalProperties":false},{"type":"object","properties":{"root":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["children","value"],"additionalProperties":false}]},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"anyOf":[{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}]},{"type":"object","properties":{"children":{"type":"object","properties":{"children":{"maxItems":10000,"type":"array","items":{"anyOf":[{"type":"object","properties":{"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["value"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."},"value":{"type":"string","minLength":1,"maxLength":500,"description":"Merchant product attribute value matched by this Product Group child."}},"required":["excluded","value"],"additionalProperties":false}]},"description":"Explicit child partitions beneath this Product Group node."},"dimension":{"type":"string","enum":["brand","condition","custom_label_0","custom_label_1","custom_label_2","custom_label_3","custom_label_4"],"description":"Merchant product attribute used to subdivide this branch."},"otherCase":{"oneOf":[{"type":"object","properties":{"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false},{"type":"object","properties":{"excluded":{"type":"boolean","const":true,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"Explicit child partitions beneath this Product Group node."},"excluded":{"type":"boolean","const":false,"description":"Whether this Product Group branch is excluded from bidding and serving."}},"required":["children","excluded"],"additionalProperties":false}],"description":"Required handling for products not matched by an explicit child: include, exclude, or subdivide. Excluded groups and subdivisions cannot carry a CPC bid."}},"required":["children","dimension","otherCase"],"additionalProperties":false,"description":"A finite product partition with at most 7 levels and 10000 total nodes across the whole tree. The total-node limit is enforced when the request is parsed."},"type":{"type":"string","const":"TREE","description":"Use an explicit product-partition tree."}},"required":["root","type"],"additionalProperties":false}],"description":"Products included in this ad group."}},"required":["name","productGroup"],"additionalProperties":false},"description":"Ad Groups to create inside the Standard Shopping Campaign."},"bidding":{"type":"object","properties":{"maxCpcBid":{"description":"Optional maximum CPC bid in major units of the selected account currency.","type":"number","exclusiveMinimum":0,"maximum":9007199254,"multipleOf":0.000001},"strategy":{"type":"string","const":"MAXIMIZE_CLICKS","description":"Campaign bidding strategy identifier."}},"required":["strategy"],"additionalProperties":false,"description":"Campaign bidding strategy and its strategy-specific settings."}},"required":["budget","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","name","priority","searchPartners","adGroups","bidding"],"additionalProperties":false}],"description":"Complete Standard Shopping Campaign draft to validate or create."},"platform":{"type":"string","const":"google_ads","description":"Provider platform handled or matched by this operation."},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Connection used for this Client resource."},"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"contextVersion":{"type":"string","pattern":"^[a-f0-9]{64}$","description":"Opaque context version returned by the matching Campaign preview."}},"type":"object","required":["account","campaignType","draft","platform","providerConnectionId","confirmationToken","contextVersion"]}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","const":"queued"}},"required":["runId","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Create Standard Shopping campaign","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/clients/{clientId}/campaign-creation-runs/{runId}":{"get":{"description":"Return safe, addressable status for one durable Standard Shopping Campaign creation.","operationId":"get_standard_shopping_campaign_creation_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Client within the Agency.","in":"path","name":"clientId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"UUID of the addressable Campaign or Automation Run.","in":"path","name":"runId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Campaign or Automation Run."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"anyOf":[{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"null"},"failure":{"type":"null"},"finishedAt":{"type":"null"},"googleMutationSucceeded":{"type":"null"},"phase":{"type":"string","enum":["queued","dispatching","validating"]},"status":{"type":"string","const":"queued"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"type":"null"},"finishedAt":{"type":"null"},"googleMutationSucceeded":{"type":"null"},"phase":{"type":"string","enum":["validating","provider_submitting","persisting"]},"status":{"type":"string","const":"running"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"type":"null"},"finishedAt":{"type":"null"},"googleMutationSucceeded":{"type":"null"},"phase":{"type":"string","const":"reconciling"},"status":{"type":"string","const":"reconciling"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"failure":{"type":"null"},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"boolean","const":true},"phase":{"type":"string","const":"finished"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","const":"succeeded"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","failure","finishedAt","googleMutationSucceeded","phase","startedAt","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean","const":false,"description":"This accepted operation is terminal; inspect the run before issuing a new command."},"code":{"type":"string","const":"CAMPAIGN_LOCAL_PERSISTENCE_FAILED"}},"required":["message","retryable","code"],"additionalProperties":false},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"boolean","const":true},"phase":{"type":"string","const":"finished"},"status":{"type":"string","const":"failed"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean","const":false,"description":"This accepted operation is terminal; inspect the run before issuing a new command."},"code":{"type":"string","const":"CAMPAIGN_PROVIDER_MUTATION_FAILED"}},"required":["message","retryable","code"],"additionalProperties":false},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"boolean","const":false},"phase":{"type":"string","const":"finished"},"status":{"type":"string","const":"failed"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"null"},"failure":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean","const":false,"description":"This accepted operation is terminal; inspect the run before issuing a new command."},"code":{"type":"string","const":"CAMPAIGN_PREFLIGHT_FAILED"}},"required":["message","retryable","code"],"additionalProperties":false},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"boolean","const":false},"phase":{"type":"string","const":"finished"},"status":{"type":"string","const":"failed"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"campaignId":{"type":"null"},"failure":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean","const":false,"description":"This accepted operation is terminal; inspect the run before issuing a new command."},"code":{"type":"string","const":"CAMPAIGN_VALIDATION_BLOCKED"}},"required":["message","retryable","code"],"additionalProperties":false},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"boolean","const":false},"phase":{"type":"string","const":"finished"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"status":{"type":"string","const":"blocked"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":false},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false}},"required":["createdAt","progress","runId","updatedAt","campaignId","failure","finishedAt","googleMutationSucceeded","phase","startedAt","status","validation"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"failure":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean","const":false,"description":"This accepted operation is terminal; inspect the run before issuing a new command."},"code":{"type":"string","enum":["CAMPAIGN_PROVIDER_OUTCOME_UNCERTAIN","CAMPAIGN_PARTIAL_FAILURE"]}},"required":["message","retryable","code"],"additionalProperties":false},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"null"},"phase":{"type":"string","const":"finished"},"status":{"type":"string","const":"needs_review"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false},{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"progress":{"anyOf":[{"type":"object","properties":{"campaignCreated":{"type":"boolean","description":"Whether Google campaign creation has been confirmed. False is not proof of absence after an uncertain request."},"launchStatus":{"anyOf":[{"type":"string","enum":["PAUSED","ENABLED","UNKNOWN"]},{"type":"null"}]},"adGroups":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":0,"maximum":9007199254740991},"name":{"type":"string","minLength":1,"maxLength":128},"status":{"type":"string","enum":["pending","created","uncertain","failed"]}},"required":["index","name","status"],"additionalProperties":false}}},"required":["campaignCreated","launchStatus","adGroups"],"additionalProperties":false},{"type":"null"}],"description":"Durable creation progress. Null before execution is prepared. Uncertain groups must be reconciled, never recreated. Launch remains paused until the complete structure is created."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"validation":{"type":"object","properties":{"blockingErrors":{"minItems":0,"maxItems":0,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"error"}},"required":["code","message","severity"],"additionalProperties":false}},"valid":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","pattern":"^[a-z][a-z0-9_]*$"},"message":{"type":"string","minLength":1,"maxLength":500},"path":{"type":"string","minLength":1,"maxLength":500},"severity":{"type":"string","const":"warning"}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["blockingErrors","valid","warnings"],"additionalProperties":false},"campaignId":{"type":"null"},"startedAt":{"type":"null"},"failure":{"type":"object","properties":{"message":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean","const":false,"description":"This accepted operation is terminal; inspect the run before issuing a new command."},"code":{"type":"string","const":"CAMPAIGN_WORKFLOW_START_OUTCOME_UNCERTAIN"}},"required":["message","retryable","code"],"additionalProperties":false},"finishedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"googleMutationSucceeded":{"type":"boolean","const":false},"phase":{"type":"string","const":"finished"},"status":{"type":"string","const":"needs_review"}},"required":["createdAt","progress","runId","updatedAt","validation","campaignId","startedAt","failure","finishedAt","googleMutationSucceeded","phase","status"],"additionalProperties":false}]},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Standard Shopping campaign creation status","tags":["campaigns"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automation-definitions":{"get":{"description":"List code-owned Automation Definitions that an Agency may create or already uses.","operationId":"list_automation_definitions","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"activityKeys":{"maxItems":50,"type":"array","items":{"type":"string","minLength":1,"maxLength":100}},"canCreate":{"type":"boolean"},"configurationSchemaVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"description":{"type":"string","minLength":1,"maxLength":1000},"features":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":100},"label":{"type":"string","minLength":1,"maxLength":200},"required":{"type":"boolean"}},"required":["id","label","required"],"additionalProperties":false}},"key":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"provider":{"type":"string","minLength":1,"maxLength":100},"supportedOperations":{"minItems":1,"maxItems":20,"type":"array","items":{"type":"string","enum":["create","update","rebind_account_access","set_status","archive","run","retry_run","preview_structure","run_structure"]}},"tasks":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":100},"minimumIntervalMinutes":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["key","minimumIntervalMinutes"],"additionalProperties":false}},"title":{"type":"string","minLength":1,"maxLength":200}},"required":["activityKeys","canCreate","configurationSchemaVersion","description","features","key","provider","supportedOperations","tasks","title"],"additionalProperties":false}}},"required":["items"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Automation Definitions","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automations":{"get":{"description":"List up to 50 Automations in a bidirectional keyset page without exposing stored provider or workflow internals. Reuse a cursor only with the same Agency, Definition, Client, search, status, Campaign, and run-state filters.","operationId":"list_automations","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Campaign.","in":"query","name":"campaignId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Campaign."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Stable Automation Definition key used to create or filter Automations.","in":"query","name":"definitionKey","required":false,"schema":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."}},{"description":"Pagination direction relative to the supplied Campaign cursor.","in":"query","name":"direction","required":false,"schema":{"default":"after","type":"string","enum":["after","before"],"description":"Pagination direction relative to the supplied Campaign cursor."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":50,"description":"Maximum number of items to return on this page."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive text used to filter matching resources."}},{"description":"Latest Automation Run state to match.","in":"query","name":"runState","required":false,"schema":{"type":"string","enum":["not_started","error","in_progress","succeeded"],"description":"Latest Automation Run state to match."}},{"description":"Status value to apply or match at this position.","in":"query","name":"status","required":false,"schema":{"type":"string","enum":["ACTIVE","PAUSED"],"description":"Status value to apply or match at this position."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"campaignScope":{"anyOf":[{"type":"string","enum":["ALL_ELIGIBLE_SHOPPING_CAMPAIGNS","SELECTED_CAMPAIGNS"]},{"type":"null"}]},"client":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1}},"required":["id","name"],"additionalProperties":false},"controlledCampaignCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Assigned campaigns currently eligible for bid control. Excludes paused, removed, stale or incompatible campaigns; zero does not mean there are no assigned campaigns. The Automation must be active for scheduled work."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSuccessfulRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"latestRun":{"anyOf":[{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","ABANDONED","BLOCKED"]}},"required":["createdAt","id","startedAt","status"],"additionalProperties":false},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":200},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"providerAccountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"settingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["ACTIVE","PAUSED"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["campaignScope","client","controlledCampaignCount","createdAt","definitionKey","id","lastSuccessfulRunAt","latestRun","name","nextRunAt","providerAccountAccessId","settingsVersion","status","updatedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]},"previousCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]},"summary":{"type":"object","properties":{"activeCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"automationCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"controlledCampaignCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Assigned campaigns currently eligible for bid control. Excludes paused, removed, stale or incompatible campaigns; zero does not mean there are no assigned campaigns. The Automation must be active for scheduled work."},"matchingAutomationCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["activeCount","automationCount","controlledCampaignCount","matchingAutomationCount"],"additionalProperties":false}},"required":["items","nextCursor","previousCursor","summary"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Automations","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"post":{"description":"Create an Automation with an exact Client Account Access, campaign scope and definition-owned settings in one transaction. Set initialStatus to PAUSED to create without scheduling work. The chosen automation level supplies standing execution authority.","operationId":"create_automation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"campaignIds":{"maxItems":5000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Campaign UUIDs explicitly assigned to the Automation; duplicates are removed."},"campaignScope":{"type":"string","enum":["ALL_ELIGIBLE_SHOPPING_CAMPAIGNS","SELECTED_CAMPAIGNS"],"description":"Whether the Automation controls every eligible Shopping Campaign or only campaignIds."},"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"name":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable name supplied for this resource or action."},"providerAccountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Account Access assigned to the Automation."},"aiBid":{"default":{"enabled":false},"type":"object","properties":{"enabled":{"type":"boolean","const":false,"description":"Whether this optional Automation feature is enabled."}},"required":["enabled"],"additionalProperties":false,"description":"AI bidding configuration for this Automation."},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"definitionSettings":{"description":"Configuration owned by this automation definition. Saved atomically with campaign scope.","oneOf":[{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"mode":{"type":"string","const":"MATRIX_ONLY","description":"Selection mode for this input object."},"planning":{"anyOf":[{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false},{"type":"null"}],"description":"Planner and bidding policy. Null is allowed for Product groups only."}},"required":["definitionKey","mode","planning"],"additionalProperties":false},{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"mode":{"type":"string","const":"PREVIEW","description":"Preview campaign, ad-group and base-bid changes. Hourly product-group updates remain live while the Automation is active, including without a report."},"planning":{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Required planner and bidding policy for this automation level."}},"required":["definitionKey","mode","planning"],"additionalProperties":false},{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"mode":{"type":"string","const":"AUTOMATIC","description":"Selection mode for this input object."},"planning":{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Required planner and bidding policy for this automation level."}},"required":["definitionKey","mode","planning"],"additionalProperties":false}]},"initialStatus":{"description":"Use PAUSED to create without scheduling work. Defaults to ACTIVE at the chosen automation level.","type":"string","enum":["ACTIVE","PAUSED"]}},"type":"object","required":["campaignIds","campaignScope","clientId","name","providerAccountAccessId","definitionKey"]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"settingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"created":{"type":"boolean","const":true},"status":{"type":"string","enum":["ACTIVE","PAUSED"]}},"required":["automationId","settingsVersion","updatedAt","created","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Create Automation","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/automations/{automationId}":{"get":{"description":"Return one Automation, its editable settings, current version, and allowed operations.","operationId":"get_automation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"campaignScope":{"anyOf":[{"type":"string","enum":["ALL_ELIGIBLE_SHOPPING_CAMPAIGNS","SELECTED_CAMPAIGNS"]},{"type":"null"}]},"client":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1}},"required":["id","name","slug"],"additionalProperties":false},"controlledCampaignCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Assigned campaigns currently eligible for bid control. Excludes paused, removed, stale or incompatible campaigns; zero does not mean there are no assigned campaigns. The Automation must be active for scheduled work."},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSuccessfulRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"latestRun":{"anyOf":[{"type":"object","properties":{"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","ABANDONED","BLOCKED"]}},"required":["createdAt","id","startedAt","status"],"additionalProperties":false},{"type":"null"}]},"name":{"type":"string","minLength":1,"maxLength":200},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"providerAccountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"settingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["ACTIVE","PAUSED"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"definitionState":{"type":"object","properties":{"mode":{"type":"string","enum":["MATRIX_ONLY","PREVIEW","AUTOMATIC"]},"settings":{"anyOf":[{"type":"object","properties":{"enabled":{"type":"boolean","description":"Enable season and brand management under these saved limits."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant account assigned to this Automation's Client."},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."},"mode":{"type":"string","enum":["TEAM_MANAGED","REVIEW_ONLY","AUTO_APPLY"],"description":"Automation authority: TEAM_MANAGED updates product groups hourly only; REVIEW_ONLY previews campaign, ad-group and base-bid changes while hourly product-group updates remain live; AUTO_APPLY also applies campaign, ad-group and base-bid changes. Explicit report tests and dry runs never apply changes."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun","mode"],"additionalProperties":false,"description":"Saved automation mode, stock-review cadence and base-CPC guardrails."}},"required":["enabled","merchantProviderAccountId","maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Planner policy and bid limits saved as part of the Shopping strategy."},{"type":"null"}]},"freshness":{"type":"string","enum":["MISSING","FRESH","STALE"]},"latestPlanner":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filename":{"type":"string"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"uploadedAt":{"type":"string"},"appliedAt":{"type":["string","null"]},"status":{"type":"string","enum":["QUEUED","VALIDATED","ACCEPTED","REJECTED"]},"errorCode":{"type":["string","null"]},"errorMessage":{"type":["string","null"]}},"required":["id","filename","stockDate","uploadedAt","appliedAt","status","errorCode","errorMessage"],"additionalProperties":false},{"type":"null"}]},"latestAccepted":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filename":{"type":"string"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"uploadedAt":{"type":"string"},"appliedAt":{"type":["string","null"]},"status":{"type":"string","enum":["QUEUED","VALIDATED","ACCEPTED","REJECTED"]},"errorCode":{"type":["string","null"]},"errorMessage":{"type":["string","null"]}},"required":["id","filename","stockDate","uploadedAt","appliedAt","status","errorCode","errorMessage"],"additionalProperties":false},{"type":"null"}]},"latestImport":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"filename":{"type":"string"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"uploadedAt":{"type":"string"},"appliedAt":{"type":["string","null"]},"status":{"type":"string","enum":["QUEUED","VALIDATED","ACCEPTED","REJECTED"]},"errorCode":{"type":["string","null"]},"errorMessage":{"type":["string","null"]}},"required":["id","filename","stockDate","uploadedAt","appliedAt","status","errorCode","errorMessage"],"additionalProperties":false},{"type":"null"}]},"latestRun":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","BLOCKED","ABANDONED"]},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]},"importId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"phase":{"type":["string","null"]},"recoveryCompleted":{"type":"boolean"},"recovery":{"anyOf":[{"type":"object","properties":{"canRetry":{"type":"boolean"},"issue":{"anyOf":[{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"hint":{"type":"string"}},"required":["code","message","hint"],"additionalProperties":false},{"type":"null"}]}},"required":["canRetry","issue"],"additionalProperties":false},{"type":"null"}]},"message":{"type":["string","null"]}},"required":["id","status","runMode","importId","phase","recoveryCompleted","recovery","message"],"additionalProperties":false},{"type":"null"}]},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"}},"required":["mode","settings","freshness","latestPlanner","latestAccepted","latestImport","latestRun","definitionKey"],"additionalProperties":false},"definitionSettings":{"anyOf":[{"oneOf":[{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"mode":{"type":"string","const":"MATRIX_ONLY"},"planning":{"anyOf":[{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["merchantProviderAccountId","maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false},{"type":"null"}],"description":"Planner and bidding policy. Null is allowed for Product groups only."}},"required":["definitionKey","mode","planning"],"additionalProperties":false},{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"mode":{"type":"string","const":"PREVIEW","description":"Preview campaign, ad-group and base-bid changes. Hourly product-group updates remain live while the Automation is active, including without a report."},"planning":{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["merchantProviderAccountId","maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Required planner and bidding policy for this automation level."}},"required":["definitionKey","mode","planning"],"additionalProperties":false},{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"mode":{"type":"string","const":"AUTOMATIC"},"planning":{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["merchantProviderAccountId","maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Required planner and bidding policy for this automation level."}},"required":["definitionKey","mode","planning"],"additionalProperties":false}]},{"type":"null"}]},"aiBid":{"oneOf":[{"type":"object","properties":{"enabled":{"type":"boolean","const":false}},"required":["enabled"],"additionalProperties":false},{"type":"object","properties":{"agencyStrategyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"agencyStrategyVersionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"clientGoalId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"clientGoalVersionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dryRun":{"type":"boolean"},"enabled":{"type":"boolean","const":true},"expectedAgencyStrategyHash":{"type":"string","pattern":"^[0-9a-f]{64}$"},"expectedClientGoalHash":{"type":"string","pattern":"^[0-9a-f]{64}$"},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","minimum":1,"maximum":1000},{"type":"null"}]},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"scheduleIntervalHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}]}},"required":["agencyStrategyId","agencyStrategyVersionId","clientGoalId","clientGoalVersionId","dryRun","enabled","expectedAgencyStrategyHash","expectedClientGoalHash","maximumAdGroupsPerRun","maximumChangeBasisPoints","maximumCpcBidMicros","minimumCpcBidMicros","scheduleIntervalHours"],"additionalProperties":false}]},"aiBidStatus":{"type":"object","properties":{"configured":{"type":"boolean"},"contextStale":{"type":"boolean"},"contextStaleReason":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"contextUpdateAvailable":{"type":"boolean"},"contextUpdateReason":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"currencyCode":{"type":["string","null"]},"enabled":{"type":"boolean"},"initial":{"type":"object","properties":{"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","const":""}]},"agencyStrategyVersionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"clientGoalId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"string","const":""}]},"clientGoalVersionId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"dryRun":{"type":"boolean"},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maximumChangePercent":{"type":"number","minimum":0,"maximum":100},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"scheduleIntervalHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}]}},"required":["agencyStrategyId","agencyStrategyVersionId","clientGoalId","clientGoalVersionId","dryRun","maximumAdGroupsPerRun","maximumChangePercent","maximumCpcBidMicros","minimumCpcBidMicros","scheduleIntervalHours"],"additionalProperties":false},"settingsVersion":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"summary":{"anyOf":[{"type":"object","properties":{"agencyStrategy":{"type":"object","properties":{"approvedHash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"locked":{"type":"boolean"},"title":{"type":"string","minLength":1},"versionNumber":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["approvedHash","locked","title","versionNumber"],"additionalProperties":false},"cadenceHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}]},"clientGoal":{"type":"object","properties":{"approvedHash":{"anyOf":[{"type":"string","pattern":"^[0-9a-f]{64}$"},{"type":"null"}]},"locked":{"type":"boolean"},"title":{"type":"string","minLength":1},"versionNumber":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]}},"required":["approvedHash","locked","title","versionNumber"],"additionalProperties":false},"dryRun":{"type":"boolean"},"maxAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},{"type":"null"}]},"maxChangePercent":{"type":"number","minimum":0,"maximum":100},"maxCpcMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"minCpcMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"nextRunAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]}},"required":["agencyStrategy","cadenceHours","clientGoal","dryRun","maxAdGroupsPerRun","maxChangePercent","maxCpcMicros","minCpcMicros","nextRunAt"],"additionalProperties":false},{"type":"null"}]}},"required":["configured","contextStale","contextStaleReason","contextUpdateAvailable","contextUpdateReason","currencyCode","enabled","initial","settingsVersion","summary"],"additionalProperties":false},"canArchive":{"type":"boolean"},"canManage":{"type":"boolean"},"canRun":{"type":"boolean"},"connectionStatus":{"anyOf":[{"type":"string","enum":["active","needs_reauth","disabled"]},{"type":"null"}]},"providerAccount":{"anyOf":[{"type":"object","properties":{"connectionLabel":{"type":"string","minLength":1},"customerId":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":["string","null"]}},"required":["connectionLabel","customerId","id","name"],"additionalProperties":false},{"type":"null"}]},"selectedCampaignIds":{"maxItems":5000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}}},"required":["campaignScope","client","controlledCampaignCount","createdAt","definitionKey","id","lastSuccessfulRunAt","latestRun","name","nextRunAt","providerAccountAccessId","settingsVersion","status","updatedAt","aiBid","aiBidStatus","canArchive","canManage","canRun","connectionStatus","providerAccount","selectedCampaignIds"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Automation","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"},"patch":{"description":"Save campaign scope and definition-owned settings atomically at the observed version. Saving the automation level preserves the current active or paused status.","operationId":"update_automation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"campaignIds":{"maxItems":5000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Campaign UUIDs explicitly assigned to the Automation; duplicates are removed."},"campaignScope":{"type":"string","enum":["ALL_ELIGIBLE_SHOPPING_CAMPAIGNS","SELECTED_CAMPAIGNS"],"description":"Whether the Automation controls every eligible Shopping Campaign or only campaignIds."},"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"name":{"type":"string","minLength":2,"maxLength":200,"description":"Human-readable name supplied for this resource or action."},"providerAccountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Account Access assigned to the Automation."},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"definitionSettings":{"description":"Configuration owned by this automation definition. Saved atomically with campaign scope.","oneOf":[{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"mode":{"type":"string","const":"MATRIX_ONLY","description":"Selection mode for this input object."},"planning":{"anyOf":[{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false},{"type":"null"}],"description":"Planner and bidding policy. Null is allowed for Product groups only."}},"required":["definitionKey","mode","planning"],"additionalProperties":false},{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"mode":{"type":"string","const":"PREVIEW","description":"Preview campaign, ad-group and base-bid changes. Hourly product-group updates remain live while the Automation is active, including without a report."},"planning":{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Required planner and bidding policy for this automation level."}},"required":["definitionKey","mode","planning"],"additionalProperties":false},{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"mode":{"type":"string","const":"AUTOMATIC","description":"Selection mode for this input object."},"planning":{"type":"object","properties":{"merchantProviderAccountId":{"default":null,"description":"Merchant account assigned to the Client. Omit or use null to select and save the sole eligible account; several eligible accounts require an explicit choice.","anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"maximumStockAgeDays":{"type":"integer","exclusiveMinimum":0,"maximum":2147483647,"description":"Maximum permitted age of the stock date in whole days."},"templateCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Eligible Manual CPC Shopping campaign to copy for the first season; null uses the latest eligible managed campaign."},"agencyStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Agency Strategy to read on each run; null uses the standard stock rules."},"clientStrategyId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}],"description":"Current Client Strategy to read on each run; null uses Agency Strategy instructions, or the standard rules when none are selected."},"bidManagement":{"type":"object","properties":{"reviewScheduleHours":{"anyOf":[{"type":"number","const":72},{"type":"number","const":168}],"description":"Hours between scheduled stock and base-CPC reviews. The product-group matrix stays hourly."},"minimumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Lowest permitted base CPC, in account-currency micros. New catch-all groups use the Add seasons starting bid within the saved limits."},"maximumCpcBidMicros":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Highest permitted base CPC, in account-currency micros."},"maximumChangeBasisPoints":{"type":"integer","minimum":0,"maximum":10000,"description":"Maximum automatic base-CPC percentage change expressed in basis points; 2000 means 20%."},"maximumAdGroupsPerRun":{"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":1000},{"type":"null"}],"description":"Optional existing base-CPC review cap; null reviews all eligible groups in bounded batches."}},"required":["reviewScheduleHours","minimumCpcBidMicros","maximumCpcBidMicros","maximumChangeBasisPoints","maximumAdGroupsPerRun"],"additionalProperties":false,"description":"Base-CPC limits and campaign review cadence."}},"required":["maximumStockAgeDays","templateCampaignId","agencyStrategyId","clientStrategyId","bidManagement"],"additionalProperties":false,"description":"Required planner and bidding policy for this automation level."}},"required":["definitionKey","mode","planning"],"additionalProperties":false}]}},"type":"object","required":["campaignIds","campaignScope","clientId","name","providerAccountAccessId","expectedSettingsVersion","expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"settingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"changed":{"type":"boolean"},"status":{"type":"string","enum":["ACTIVE","PAUSED"]}},"required":["automationId","settingsVersion","updatedAt","changed","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Update Automation","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/controlled-campaigns":{"get":{"description":"List the Campaigns currently controlled by one Automation, including dynamic all-eligible ownership, with bounded cursor pagination.","operationId":"list_automation_controlled_campaigns","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"externalCampaignId":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"status":{"type":"string","enum":["enabled","paused","removed","unknown"]}},"required":["externalCampaignId","id","name","status"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Automation Controlled Campaigns","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automation-editor-context":{"get":{"description":"Return bounded Client, Account Access, and campaign selectors for the Automation editor.","operationId":"get_automation_editor_context","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Provider Account Access UUID after which to continue the editor results.","in":"query","name":"accountAccessCursor","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Provider Account Access UUID after which to continue the editor results."}},{"description":"UUID of the Client's Provider Account Access record.","in":"query","name":"accountAccessId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client's Provider Account Access record."}},{"description":"Case-insensitive search text for Provider Account Access options.","in":"query","name":"accountAccessSearch","required":false,"schema":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive search text for Provider Account Access options."}},{"description":"UUID of the Automation.","in":"query","name":"automationId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}},{"description":"Campaign UUID after which to continue the editor results.","in":"query","name":"campaignCursor","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Campaign UUID after which to continue the editor results."}},{"description":"Case-insensitive search text for Campaign options.","in":"query","name":"campaignSearch","required":false,"schema":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive search text for Campaign options."}},{"description":"Client UUID after which to continue the editor results.","in":"query","name":"clientCursor","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Client UUID after which to continue the editor results."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Case-insensitive search text for Client options.","in":"query","name":"clientSearch","required":false,"schema":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive search text for Client options."}},{"description":"Include selected records outside the current page or search. Set false when browsing only matching records.","in":"query","name":"includeSelected","required":false,"schema":{"default":true,"description":"Include selected records outside the current page or search. Set false when browsing only matching records.","type":"boolean"}},{"description":"Campaign UUIDs that the editor must include even when they fall outside the current page.","explode":true,"style":"form","in":"query","name":"selectedCampaignIds","required":false,"schema":{"default":[],"maxItems":5000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Campaign UUIDs that the editor must include even when they fall outside the current page."}},{"description":"Load the first page of all strategy settings selectors, or one named selector, and hydrate saved selections for the specified Automation.","in":"query","name":"stockSetup","required":false,"schema":{"description":"Load the first page of all strategy settings selectors, or one named selector, and hydrate saved selections for the specified Automation.","anyOf":[{"type":"string","const":"all"},{"type":"string","enum":["merchantAccounts","templateCampaigns","agencyStrategies","clientStrategies"]}]}},{"description":"The requested strategy settings selector's nextCursor. Omit for its first page.","in":"query","name":"stockOptionCursor","required":false,"schema":{"description":"The requested strategy settings selector's nextCursor. Omit for its first page.","type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},{"description":"Search names in the requested strategy settings selector within this Automation's permitted scope.","in":"query","name":"stockOptionSearch","required":false,"schema":{"description":"Search names in the requested strategy settings selector within this Automation's permitted scope.","type":"string","minLength":1,"maxLength":160}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"accountAccesses":{"type":"object","properties":{"items":{"maxItems":5050,"type":"array","items":{"type":"object","properties":{"accountCustomerId":{"type":"string","minLength":1},"accountName":{"type":["string","null"]},"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"connectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"connectionLabel":{"type":"string","minLength":1},"connectionStatus":{"type":"string","enum":["active","needs_reauth","disabled"]},"currencyCode":{"type":["string","null"]},"googleAdsAccess":{"type":"object","properties":{"label":{"type":"string","minLength":1},"loginCustomerId":{"type":["string","null"]},"managerCustomerId":{"type":["string","null"]},"managerName":{"type":["string","null"]},"mode":{"type":"string","enum":["direct","manager"]},"source":{"type":"string","enum":["accessible_manager","direct","discovery_scope","management_scope","reporting_scope","stored_access"]}},"required":["label","loginCustomerId","managerCustomerId","managerName","mode","source"],"additionalProperties":false},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"providerAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["accountCustomerId","accountName","clientId","connectionId","connectionLabel","connectionStatus","currencyCode","googleAdsAccess","id","providerAccountId"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"campaigns":{"type":"object","properties":{"items":{"maxItems":5050,"type":"array","items":{"type":"object","properties":{"campaignType":{"type":["string","null"]},"clientId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"externalCampaignId":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"lastSeenAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"name":{"type":"string","minLength":1},"platform":{"type":"string","const":"google_ads"},"providerAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"removedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["enabled","paused","removed","unknown"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["campaignType","clientId","externalCampaignId","id","lastSeenAt","name","platform","providerAccountId","removedAt","status","updatedAt"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"importing":{"type":"boolean"},"ownerships":{"maxItems":5050,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationName":{"type":"string","minLength":1},"automationStatus":{"type":"string","enum":["ACTIVE","PAUSED"]},"campaignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["automationId","automationName","automationStatus","campaignId"],"additionalProperties":false}}},"required":["items","nextCursor","importing","ownerships"],"additionalProperties":false},"clients":{"type":"object","properties":{"items":{"maxItems":5050,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"slug":{"type":"string","minLength":1}},"required":["id","name","slug"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"stockSetup":{"type":"object","properties":{"currencyCode":{"type":["string","null"]},"merchantAccounts":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"selected":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false},{"type":"null"}]},"choiceRequired":{"type":"boolean"}},"required":["items","nextCursor","selected","choiceRequired"],"additionalProperties":false},"templateCampaigns":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"selected":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false},{"type":"null"}]}},"required":["items","nextCursor","selected"],"additionalProperties":false},"agencyStrategies":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"selected":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false},{"type":"null"}]}},"required":["items","nextCursor","selected"],"additionalProperties":false},"clientStrategies":{"type":"object","properties":{"items":{"maxItems":50,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"selected":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"available":{"type":"boolean"}},"required":["id","name","available"],"additionalProperties":false},{"type":"null"}]}},"required":["items","nextCursor","selected"],"additionalProperties":false}},"required":["currencyCode"],"additionalProperties":false}},"required":["accountAccesses","campaigns","clients"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Automation editor context","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["clientId"],"when":[{"exists":true,"path":["accountAccessId"]}]},{"requires":["clientId","accountAccessId"],"when":[{"exists":true,"path":["stockSetup"]},{"exists":false,"path":["automationId"]}]},{"requires":["stockSetup"],"when":[{"exists":true,"path":["stockOptionCursor"]}]},{"requires":["stockSetup"],"when":[{"exists":true,"path":["stockOptionSearch"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/account-access":{"put":{"description":"Rebind the sticky login route for the same assigned provider account at an exact version.","operationId":"rebind_automation_account_access","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedProviderAccountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Provider Account Access UUID currently bound to the Automation."},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"providerAccountAccessId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Provider Account Access assigned to the Automation."}},"type":"object","required":["expectedProviderAccountAccessId","expectedSettingsVersion","expectedUpdatedAt","providerAccountAccessId"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"settingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"changed":{"type":"boolean"}},"required":["automationId","settingsVersion","updatedAt","changed"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Rebind Automation Account Access","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/automation-status-change-previews":{"post":{"description":"Preview a versioned Automation selection before changing its status. Resuming returns a one-time confirmation.","operationId":"preview_automation_status_change","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"selection":{"oneOf":[{"type":"object","properties":{"automations":{"minItems":1,"maxItems":5000,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"required":["automationId","expectedSettingsVersion","expectedUpdatedAt"],"additionalProperties":false},"description":"Exact Automation versions selected for this bulk operation."},"mode":{"type":"string","const":"EXACT","description":"Selection mode for this input object."}},"required":["automations","mode"],"additionalProperties":false},{"type":"object","properties":{"excludedAutomationIds":{"maxItems":5000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Automation UUIDs excluded from an ALL_MATCHING bulk selection."},"expectedAutomations":{"maxItems":5000,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"required":["automationId","expectedSettingsVersion","expectedUpdatedAt"],"additionalProperties":false},"description":"Automation version snapshot that must still match an ALL_MATCHING selection."},"filters":{"type":"object","properties":{"campaignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Campaign."},"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"search":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive text used to filter matching resources."},"runState":{"type":"string","enum":["not_started","error","in_progress","succeeded"],"description":"Latest Automation Run state to match."},"status":{"type":"string","enum":["ACTIVE","PAUSED"],"description":"Status value to apply or match at this position."}},"additionalProperties":false,"description":"Filters that define the ALL_MATCHING Automation selection."},"mode":{"type":"string","const":"ALL_MATCHING","description":"Selection mode for this input object."}},"required":["excludedAutomationIds","expectedAutomations","filters","mode"],"additionalProperties":false}],"description":"Each Automation ID must appear once at most. In ALL_MATCHING mode, excludedAutomationIds and expectedAutomations must be disjoint."},"status":{"type":"string","enum":["ACTIVE","PAUSED"],"description":"Status value to apply or match at this position."}},"type":"object","required":["selection","status"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"anyOf":[{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},{"type":"null"}]},"selectedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["ACTIVE","PAUSED"]}},"required":["confirmation","selectedCount","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Automation status change","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/automation-status-changes":{"post":{"description":"Atomically pause or resume an exact, versioned Automation selection. Resuming requires the preview's one-time confirmation.","operationId":"set_automation_status","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."},"selection":{"oneOf":[{"type":"object","properties":{"automations":{"minItems":1,"maxItems":5000,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"required":["automationId","expectedSettingsVersion","expectedUpdatedAt"],"additionalProperties":false},"description":"Exact Automation versions selected for this bulk operation."},"mode":{"type":"string","const":"EXACT","description":"Selection mode for this input object."}},"required":["automations","mode"],"additionalProperties":false},{"type":"object","properties":{"excludedAutomationIds":{"maxItems":5000,"type":"array","items":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"description":"Automation UUIDs excluded from an ALL_MATCHING bulk selection."},"expectedAutomations":{"maxItems":5000,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"required":["automationId","expectedSettingsVersion","expectedUpdatedAt"],"additionalProperties":false},"description":"Automation version snapshot that must still match an ALL_MATCHING selection."},"filters":{"type":"object","properties":{"campaignId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Campaign."},"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"search":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive text used to filter matching resources."},"runState":{"type":"string","enum":["not_started","error","in_progress","succeeded"],"description":"Latest Automation Run state to match."},"status":{"type":"string","enum":["ACTIVE","PAUSED"],"description":"Status value to apply or match at this position."}},"additionalProperties":false,"description":"Filters that define the ALL_MATCHING Automation selection."},"mode":{"type":"string","const":"ALL_MATCHING","description":"Selection mode for this input object."}},"required":["excludedAutomationIds","expectedAutomations","filters","mode"],"additionalProperties":false}],"description":"Each Automation ID must appear once at most. In ALL_MATCHING mode, excludedAutomationIds and expectedAutomations must be disjoint."},"status":{"type":"string","enum":["ACTIVE","PAUSED"],"description":"Status value to apply or match at this position."}},"type":"object","required":["selection","status"],"allOf":[{"if":{"properties":{"status":{"const":"ACTIVE"}},"required":["status"],"type":"object"},"then":{"required":["confirmationToken"]}},{"if":{"properties":{"status":{"const":"PAUSED"}},"required":["status"],"type":"object"},"then":{"not":{"required":["confirmationToken"]}}}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":5000,"type":"array","items":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"settingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"changed":{"type":"boolean"},"status":{"type":"string","enum":["ACTIVE","PAUSED"]}},"required":["automationId","settingsVersion","updatedAt","changed","status"],"additionalProperties":false}},"selectedCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"status":{"type":"string","enum":["ACTIVE","PAUSED"]},"updatedCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["items","selectedCount","status","updatedCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Set Automation statuses","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"requires":["confirmationToken"],"when":[{"equals":"ACTIVE","path":["status"]}]},{"forbids":["confirmationToken"],"when":[{"equals":"PAUSED","path":["status"]}]}],"x-turbo-ppc-risk":"high_impact"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/archival-previews":{"post":{"description":"Preview archival of one exact Automation version and return a bound one-time confirmation.","operationId":"preview_automation_archival","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."}},"type":"object","required":["expectedSettingsVersion","expectedUpdatedAt"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false}},"required":["confirmation"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Automation archival","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/archival":{"post":{"description":"Archive one exact Automation version with a bound one-time confirmation.","operationId":"archive_automation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"expectedUpdatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Resource updatedAt value observed before this operation."},"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"type":"object","required":["expectedSettingsVersion","expectedUpdatedAt","confirmationToken"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"archived":{"type":"boolean","const":true}},"required":["automationId","archived"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Archive Automation","tags":["automations"],"x-turbo-ppc-effects":{"destructive":true,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"destructive"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/run-previews":{"post":{"description":"Check a manual Automation run or eligible retry. Runs covered by the saved strategy use its authority; other live runs return a one-time confirmation.","operationId":"preview_automation_run","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"operation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"definition","description":"Automation Run operation variant."},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"input":{"oneOf":[{"type":"object","properties":{"intent":{"type":"string","const":"REPLACE_PLANNER","description":"Validate and use this planner for scheduled reviews; execute under the saved automation level."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Season name used to label and group the generated Campaign structure."},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."},"season":{"type":["string","null"],"description":"Season name used to label and group the generated Campaign structure."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false},{"type":"object","properties":{"intent":{"type":"string","const":"TEST_PLANNER","description":"Preview once without Google writes or replacing the scheduled planner."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Season name used to label and group the generated Campaign structure."},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."},"season":{"type":["string","null"],"description":"Season name used to label and group the generated Campaign structure."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false}],"description":"Choose whether this planner replaces the scheduled source or is only tested."}},"required":["kind","definitionKey","input"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"start","description":"Automation Run operation variant."},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"],"description":"Whether the Automation operation writes to Google Ads or performs a dry run."}},"required":["kind","runMode"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"retry","description":"Automation Run operation variant."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Campaign or Automation Run."},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"],"description":"Whether the Automation operation writes to Google Ads or performs a dry run."}},"required":["kind","runId","runMode"],"additionalProperties":false}],"description":"Exact Automation operation to preview or start."}},"type":"object","required":["expectedSettingsVersion","operation"]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"confirmation":{"anyOf":[{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},{"type":"null"}]},"effectiveRunMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["confirmation","effectiveRunMode"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Automation run","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/runs":{"post":{"description":"Start a durable run using the saved strategy, submit definition-owned input, or retry a recorded run. TEST_PLANNER never replaces the scheduled planner; REPLACE_PLANNER uses the saved automation level. Returns a Run ID for progress and outcomes.","operationId":"run_automation","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"operation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"definition","description":"Automation Run operation variant."},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."},"input":{"oneOf":[{"type":"object","properties":{"intent":{"type":"string","const":"REPLACE_PLANNER","description":"Validate and use this planner for scheduled reviews; execute under the saved automation level."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Season name used to label and group the generated Campaign structure."},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."},"season":{"type":["string","null"],"description":"Season name used to label and group the generated Campaign structure."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false},{"type":"object","properties":{"intent":{"type":"string","const":"TEST_PLANNER","description":"Preview once without Google writes or replacing the scheduled planner."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Season name used to label and group the generated Campaign structure."},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}],"description":"Merchant product brand represented by this structure entry."},"season":{"type":["string","null"],"description":"Season name used to label and group the generated Campaign structure."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false}],"description":"Choose whether this planner replaces the scheduled source or is only tested."}},"required":["kind","definitionKey","input"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"start","description":"Automation Run operation variant."},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"],"description":"Whether the Automation operation writes to Google Ads or performs a dry run."}},"required":["kind","runMode"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"retry","description":"Automation Run operation variant."},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Campaign or Automation Run."},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"],"description":"Whether the Automation operation writes to Google Ads or performs a dry run."}},"required":["kind","runId","runMode"],"additionalProperties":false}],"description":"Exact Automation operation to preview or start."},"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"type":"object","required":["expectedSettingsVersion","operation"],"allOf":[{"if":{"properties":{"operation":{"properties":{"runMode":{"const":"DRY_RUN"}},"required":["runMode"],"type":"object"}},"required":["operation"],"type":"object"},"then":{"not":{"required":["confirmationToken"]}}}]}}},"required":true},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"alreadyRunning":{"type":"boolean"},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","ABANDONED","BLOCKED"]}},"required":["alreadyRunning","runId","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Run Automation","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":true,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":true,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"forbids":["confirmationToken"],"when":[{"equals":"DRY_RUN","path":["operation","runMode"]}]}],"x-turbo-ppc-risk":"external_write"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/structure-previews":{"post":{"description":"Discover available Shopping seasons and brands from the selected Merchant account. Without proposedRun, returns inventory only. With proposedRun, validates the explicit selection with the execution planner and returns proposedPlan plus its confirmation. Use only returned season and brand values; this operation does not create feed labels. A run may include a season with no dedicated brands and its All Products group. Only proposedPlan describes the changes that will run.","operationId":"preview_automation_structure","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."},"proposedRun":{"type":"object","properties":{"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."},"seasons":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"allProductsCpcBid":{"description":"Starting CPC for a new All Products ad group in account currency. Omit when reusing an existing group.","type":"number","exclusiveMinimum":0,"maximum":1000},"brands":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":500,"description":"Exact brand value returned for this season by preview_automation_structure. Unavailable values are rejected."},"cpcBid":{"type":"number","exclusiveMinimum":0,"maximum":1000,"description":"Maximum cost-per-click bid in major units of the account currency."},"selected":{"default":true,"type":"boolean","description":"Whether this structure candidate should be included in the run."}},"required":["brand"],"additionalProperties":false},"description":"Brand partitions considered for this seasonal Campaign structure."},"campaignSettings":{"type":"object","properties":{"budgetAmount":{"type":"number","exclusiveMinimum":0,"maximum":1000000,"description":"Daily Campaign budget in major units of the Google Ads account currency."},"containsEuPoliticalAds":{"default":false,"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"default":false,"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"launchStatus":{"default":"ENABLED","type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false,"description":"Complete geographic criteria and presence settings, used instead of country-only targeting."},"locationCountryCodes":{"default":["GB"],"maxItems":100,"type":"array","items":{"type":"string","minLength":2,"maxLength":2},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"priority":{"default":0,"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping Campaign priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"default":true,"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"sharedBudgetResourceName":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"description":"Existing Google Ads shared-budget resource name, or null to create a dedicated budget."}},"required":["budgetAmount"],"additionalProperties":false,"description":"Optional Google Ads settings to apply to this seasonal Campaign."},"conversionGoals":{"type":"object","properties":{"selectedGoalKeys":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":500},"description":"Complete set of Google Ads conversion-goal keys selected for the operation."},"warningSnapshot":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500,"description":"Stable provider conversion-goal key."},"label":{"type":"string","minLength":1,"maxLength":500,"description":"Human-readable provider conversion-goal label."},"source":{"type":"string","minLength":1,"maxLength":500,"description":"Origin of the provider conversion-goal information."},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":1000},"description":"Warnings reported for this conversion goal or action."},"actions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500,"description":"Human-readable name supplied for this resource or action."},"status":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Status value to apply or match at this position."},"valueLabel":{"type":"string","maxLength":500,"description":"Human-readable value associated with a conversion action."},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":1000},"description":"Warnings reported for this conversion goal or action."}},"required":["name","status","valueLabel","warnings"],"additionalProperties":false},"description":"Provider conversion actions included in this goal snapshot."}},"required":["key","label","source","warnings","actions"],"additionalProperties":false},"description":"Conversion-goal warnings reviewed when this command was prepared."}},"required":["selectedGoalKeys","warningSnapshot"],"additionalProperties":false,"description":"Complete conversion-goal selection for this operation."},"season":{"type":"string","minLength":1,"maxLength":500,"description":"Exact season value returned by preview_automation_structure from current Merchant product custom label 0. This operation cannot invent a season or change feed labels."},"selected":{"default":true,"type":"boolean","description":"Whether this structure candidate should be included in the run."}},"required":["brands","season"],"additionalProperties":false},"description":"Seasonal Campaign structures selected for this Automation run."}},"required":["expectedSettingsVersion","merchantProviderAccountId","seasons"],"additionalProperties":false,"description":"Unsaved Automation structure command to validate instead of current saved settings."}},"type":"object"}}},"required":false},"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"client":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1}},"required":["id","name"],"additionalProperties":false},"confirmation":{"anyOf":[{"type":"object","properties":{"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"summary":{"type":"object","properties":{"action":{"type":"string","minLength":1,"maxLength":120},"consequences":{"minItems":1,"maxItems":10,"type":"array","items":{"type":"string","minLength":1,"maxLength":500}},"resource":{"type":"string","minLength":1,"maxLength":200}},"required":["action","consequences","resource"],"additionalProperties":false},"token":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"required":["expiresAt","summary","token"],"additionalProperties":false},{"type":"null"}]},"proposedPlan":{"anyOf":[{"type":"object","properties":{"merchantProviderAccountId":{"type":"string"},"currencyCode":{"type":["string","null"]},"summary":{"type":"object","properties":{"campaignsToAdopt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Existing campaigns to assign to this Automation."},"campaignsToCreate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"New campaigns to create."},"existingSelections":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Selected brand groups already present and preserved."},"itemsToCreate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total new ad groups, including All Products."},"allProductsToCreate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"New All Products groups."},"allProductsToUpdate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Existing All Products groups whose exclusions change."},"selectedBrands":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Dedicated brand groups selected."},"selectedSeasons":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seasons explicitly selected."}},"required":["campaignsToAdopt","campaignsToCreate","existingSelections","itemsToCreate","allProductsToCreate","allProductsToUpdate","selectedBrands","selectedSeasons"],"additionalProperties":false,"description":"Exact counts of the selected changes."},"seasons":{"type":"array","items":{"type":"object","properties":{"season":{"type":"string"},"campaign":{"type":"object","properties":{"id":{"description":"Existing resource UUID, or null when this resource will be created.","type":["string","null"]},"name":{"type":"string"},"operation":{"type":"string","enum":["create","adopt","reuse"],"description":"Whether to create, assign, or reuse this campaign."},"currentStatus":{"description":"Observed status of an existing campaign; preserved by this operation.","type":["string","null"]},"settings":{"anyOf":[{"type":"object","properties":{"budgetAmount":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"containsEuPoliticalAds":{"default":false,"type":"boolean"},"enableLocalProducts":{"default":false,"type":"boolean"},"launchStatus":{"default":"ENABLED","type":"string","enum":["PAUSED","ENABLED"]},"locationTargeting":{"type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false,"description":"Complete geographic criteria and presence settings, used instead of country-only targeting."},"locationCountryCodes":{"default":["GB"],"type":"array","items":{"type":"string","minLength":2,"maxLength":2}},"priority":{"default":0,"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}]},"searchPartners":{"default":true,"type":"boolean"},"sharedBudgetResourceName":{"default":null,"type":["string","null"]}},"required":["budgetAmount","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","priority","searchPartners","sharedBudgetResourceName"],"additionalProperties":false},{"type":"null"}],"description":"Settings applied to a new campaign, including its launch status. Null for an existing campaign, whose settings and status are preserved."},"conversionGoalKeys":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Conversion goals applied to a new campaign; null when existing settings are preserved."}},"required":["id","name","operation","currentStatus","settings","conversionGoalKeys"],"additionalProperties":false,"description":"Campaign identity and proposed effect."},"allProducts":{"type":"object","properties":{"id":{"description":"Existing resource UUID, or null when this resource will be created.","type":["string","null"]},"name":{"type":"string"},"operation":{"type":"string","enum":["create","update","unchanged"],"description":"Change to the All Products group."},"cpcBid":{"type":["number","null"]},"excludedBrands":{"type":"array","items":{"type":"string"},"description":"Brands excluded from All Products to avoid overlapping dedicated groups."}},"required":["id","name","operation","cpcBid","excludedBrands"],"additionalProperties":false,"description":"Shared All Products group identity, bid and resulting exclusions."},"brands":{"type":"array","items":{"type":"object","properties":{"brand":{"type":"string"},"id":{"description":"Existing resource UUID, or null when this resource will be created.","type":["string","null"]},"operation":{"type":"string","enum":["create","reuse"],"description":"Create a new brand group or preserve the existing one."},"cpcBid":{"description":"Starting CPC for a new group. Null for a reused group because its existing bid is preserved.","type":["number","null"]}},"required":["brand","id","operation","cpcBid"],"additionalProperties":false}}},"required":["season","campaign","allProducts","brands"],"additionalProperties":false}}},"required":["merchantProviderAccountId","currencyCode","summary","seasons"],"additionalProperties":false,"description":"Validated changes for the explicit selection only. Inventory totals are not part of this plan. Copy this complete value into reviewedPlan when requesting execution approval."},{"type":"null"}]},"currencyCode":{"type":["string","null"]},"existingMatches":{"type":"object","properties":{"adGroups":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["adGroups","campaigns"],"additionalProperties":false,"description":"Inventory-wide structure matches or gaps across all available seasons. These are not assigned campaign counts or the changes in a selected run; use proposedPlan for execution scope."},"assignedCampaignCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Campaigns assigned to this Automation, including paused campaigns. This is not the count eligible for bid control."},"bidEligibleCampaignCount":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Assigned campaigns currently eligible for bid control. Based on the synchronized campaign directory, matching the dashboard controlledCampaignCount and controlled-campaign list. Paused campaigns are excluded; the Automation must also be active for scheduled work."},"merchantAccounts":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1},"providerAccountId":{"type":"string","minLength":1}},"required":["id","name","providerAccountId"],"additionalProperties":false}},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"merchantProviderConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"merchantProductReadiness":{"type":"object","properties":{"activeSyncRunId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"checkedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"lastSuccessfulSyncAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"latestError":{"anyOf":[{"type":"object","properties":{"code":{"type":"string","const":"MERCHANT_PRODUCT_SYNC_FAILED"},"message":{"type":"string","const":"Merchant product sync failed."}},"required":["code","message"],"additionalProperties":false},{"type":"null"}]},"latestSyncRun":{"anyOf":[{"type":"object","properties":{"errorMessage":{"anyOf":[{"type":"string","const":"Merchant product sync failed."},{"type":"null"}]},"facetCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"productCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["queued","running","succeeded","failed"]}},"required":["errorMessage","facetCount","finishedAt","id","productCount","startedAt","status"],"additionalProperties":false},{"type":"null"}]},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["fresh","syncing","stale","missing","failed"]},"successfulSyncRunId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["activeSyncRunId","agencyId","checkedAt","lastSuccessfulSyncAt","latestError","latestSyncRun","merchantProviderAccountId","status","successfulSyncRunId"],"additionalProperties":false},"missingItems":{"type":"object","properties":{"adGroups":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaigns":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["adGroups","campaigns"],"additionalProperties":false,"description":"Inventory-wide structure matches or gaps across all available seasons. These are not assigned campaign counts or the changes in a selected run; use proposedPlan for execution scope."},"providerAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"providerConnectionId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"seasons":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"allProducts":{"type":"object","properties":{"adGroupId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"googleAdGroupId":{"type":["string","null"]},"name":{"type":"string"},"cpcBid":{"type":["number","null"]},"excludedBrands":{"type":"array","items":{"type":"string"}},"missingExclusions":{"type":"array","items":{"type":"string"}},"state":{"type":"string","enum":["create","update","unchanged","conflict"]},"status":{"type":["string","null"]},"conflictReason":{"type":["string","null"]}},"required":["adGroupId","googleAdGroupId","name","cpcBid","excludedBrands","missingExclusions","state","status","conflictReason"],"additionalProperties":false},"brandCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"brands":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"adGroupId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"brand":{"type":"string","minLength":1},"checked":{"type":"boolean"},"cpcBid":{"type":"number","minimum":0},"existing":{"type":"boolean"},"googleAdGroupId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"locked":{"type":"boolean"},"productCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["adGroupId","brand","checked","cpcBid","existing","googleAdGroupId","locked","productCount"],"additionalProperties":false},"description":"Available brand values for this season in the current Merchant data; use exact values when selecting dedicated groups."},"campaign":{"anyOf":[{"type":"object","properties":{"externalCampaignId":{"type":"string","minLength":1},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"assigned":{"type":"boolean","description":"This campaign is assigned to this Automation, including when paused. Assignment does not establish bid eligibility or serving status."},"name":{"type":"string","minLength":1},"selectable":{"type":"boolean"},"status":{"type":"string","enum":["enabled","paused","removed","unknown"]}},"required":["externalCampaignId","id","assigned","name","selectable","status"],"additionalProperties":false},{"type":"null"}]},"campaignSettings":{"type":"object","properties":{"budgetAmount":{"type":"number","exclusiveMinimum":0,"maximum":1000000},"containsEuPoliticalAds":{"default":false,"type":"boolean"},"enableLocalProducts":{"default":false,"type":"boolean"},"launchStatus":{"default":"ENABLED","type":"string","enum":["PAUSED","ENABLED"]},"locationTargeting":{"type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false,"description":"Complete geographic criteria and presence settings, used instead of country-only targeting."},"locationCountryCodes":{"default":["GB"],"maxItems":100,"type":"array","items":{"type":"string","minLength":2,"maxLength":2}},"priority":{"default":0,"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}]},"searchPartners":{"default":true,"type":"boolean"},"sharedBudgetResourceName":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}]}},"required":["budgetAmount","containsEuPoliticalAds","enableLocalProducts","launchStatus","locationCountryCodes","priority","searchPartners","sharedBudgetResourceName"],"additionalProperties":false},"conversionGoals":{"anyOf":[{"type":"object","properties":{"selectedGoalKeys":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":500}},"warningSnapshot":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500},"label":{"type":"string","minLength":1,"maxLength":500},"source":{"type":"string","minLength":1,"maxLength":500},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":1000}},"actions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500},"status":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}]},"valueLabel":{"type":"string","maxLength":500},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":1000}}},"required":["name","status","valueLabel","warnings"],"additionalProperties":false}}},"required":["key","label","source","warnings","actions"],"additionalProperties":false}}},"required":["selectedGoalKeys","warningSnapshot"],"additionalProperties":false},{"type":"null"}]},"existingBrandCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"missingBrandCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"productCount":{"type":"integer","minimum":0,"maximum":9007199254740991},"campaignSettingsIssue":{"type":"object","properties":{"code":{"type":"string","enum":["automation_not_active","automation_not_found","brand_already_exists","brand_not_found","campaign_managed_elsewhere","campaign_structure_unverified","conversion_goals_required","external_resource_conflict","google_mutation_blocked","google_mutation_failed","internal_error","live_recheck_changed","merchant_account_invalid","merchant_account_required","merchant_product_facets_stale","nothing_to_create","provider_connection_inactive","season_not_found","shared_budget_unavailable","validation_failed"]},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":1000},"path":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false},"requiresConversionGoalReview":{"type":"boolean"},"season":{"type":"string","minLength":1,"description":"Existing Merchant custom_label_0 value, not a free-form campaign label."}},"required":["allProducts","brandCount","brands","campaign","campaignSettings","conversionGoals","existingBrandCount","missingBrandCount","productCount","requiresConversionGoalReview","season"],"additionalProperties":false}},"sharedBudgets":{"maxItems":1000,"type":"array","items":{"type":"object","properties":{"amountMicros":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"name":{"type":"string","minLength":1},"resourceName":{"type":"string","minLength":1}},"required":["amountMicros","name","resourceName"],"additionalProperties":false}},"suggestedDefaults":{"type":"object","properties":{"defaultCpcBid":{"type":"number","exclusiveMinimum":0},"sharedBudgetResourceName":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"sourceCampaignId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]},"sourceCampaignName":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["defaultCpcBid","sharedBudgetResourceName","sourceCampaignId","sourceCampaignName"],"additionalProperties":false},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","enum":["automation_not_active","automation_not_found","brand_already_exists","brand_not_found","campaign_managed_elsewhere","campaign_structure_unverified","conversion_goals_required","external_resource_conflict","google_mutation_blocked","google_mutation_failed","internal_error","live_recheck_changed","merchant_account_invalid","merchant_account_required","merchant_product_facets_stale","nothing_to_create","provider_connection_inactive","season_not_found","shared_budget_unavailable","validation_failed"]},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":1000},"path":{"type":"string","minLength":1,"maxLength":500},"retryable":{"type":"boolean"},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["agencyId","automationId","client","confirmation","proposedPlan","currencyCode","existingMatches","assignedCampaignCount","bidEligibleCampaignCount","merchantAccounts","merchantProviderAccountId","merchantProviderConnectionId","merchantProductReadiness","missingItems","providerAccountId","providerConnectionId","seasons","sharedBudgets","suggestedDefaults","warnings"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Preview Automation structure","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":true,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"preview"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/structure-runs":{"post":{"description":"Start one durable structure run after human approval of the exact proposedPlan returned by preview_automation_structure. Copy that plan into reviewedPlan without alterations. The server revalidates the selection and rejects material plan changes. The returned run is queued or running, not proof of completed Google Ads changes.","operationId":"start_automation_structure_run","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}},{"description":"Caller-generated retry key. Reuse the same key only for the exact same command.","in":"header","name":"Idempotency-Key","required":true,"schema":{"type":"string","minLength":8,"maxLength":200,"description":"Caller-generated retry key. Reuse the same key only for the exact same command."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"Automation settings version observed before this operation."},"merchantProviderAccountId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Merchant Center Provider Account."},"seasons":{"minItems":1,"maxItems":100,"type":"array","items":{"type":"object","properties":{"allProductsCpcBid":{"description":"Starting CPC for a new All Products ad group in account currency. Omit when reusing an existing group.","type":"number","exclusiveMinimum":0,"maximum":1000},"brands":{"maxItems":2000,"type":"array","items":{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":500,"description":"Exact brand value returned for this season by preview_automation_structure. Unavailable values are rejected."},"cpcBid":{"type":"number","exclusiveMinimum":0,"maximum":1000,"description":"Maximum cost-per-click bid in major units of the account currency."},"selected":{"default":true,"type":"boolean","description":"Whether this structure candidate should be included in the run."}},"required":["brand"],"additionalProperties":false},"description":"Brand partitions considered for this seasonal Campaign structure."},"campaignSettings":{"type":"object","properties":{"budgetAmount":{"type":"number","exclusiveMinimum":0,"maximum":1000000,"description":"Daily Campaign budget in major units of the Google Ads account currency."},"containsEuPoliticalAds":{"default":false,"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"default":false,"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"launchStatus":{"default":"ENABLED","type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false,"description":"Complete geographic criteria and presence settings, used instead of country-only targeting."},"locationCountryCodes":{"default":["GB"],"maxItems":100,"type":"array","items":{"type":"string","minLength":2,"maxLength":2},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"priority":{"default":0,"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping Campaign priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"default":true,"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"sharedBudgetResourceName":{"default":null,"anyOf":[{"type":"string","minLength":1,"maxLength":500},{"type":"null"}],"description":"Existing Google Ads shared-budget resource name, or null to create a dedicated budget."}},"required":["budgetAmount"],"additionalProperties":false,"description":"Optional Google Ads settings to apply to this seasonal Campaign."},"conversionGoals":{"type":"object","properties":{"selectedGoalKeys":{"maxItems":500,"type":"array","items":{"type":"string","maxLength":500},"description":"Complete set of Google Ads conversion-goal keys selected for the operation."},"warningSnapshot":{"maxItems":500,"type":"array","items":{"type":"object","properties":{"key":{"type":"string","minLength":1,"maxLength":500,"description":"Stable provider conversion-goal key."},"label":{"type":"string","minLength":1,"maxLength":500,"description":"Human-readable provider conversion-goal label."},"source":{"type":"string","minLength":1,"maxLength":500,"description":"Origin of the provider conversion-goal information."},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":1000},"description":"Warnings reported for this conversion goal or action."},"actions":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"name":{"type":"string","minLength":1,"maxLength":500,"description":"Human-readable name supplied for this resource or action."},"status":{"anyOf":[{"type":"string","maxLength":100},{"type":"null"}],"description":"Status value to apply or match at this position."},"valueLabel":{"type":"string","maxLength":500,"description":"Human-readable value associated with a conversion action."},"warnings":{"maxItems":100,"type":"array","items":{"type":"string","maxLength":1000},"description":"Warnings reported for this conversion goal or action."}},"required":["name","status","valueLabel","warnings"],"additionalProperties":false},"description":"Provider conversion actions included in this goal snapshot."}},"required":["key","label","source","warnings","actions"],"additionalProperties":false},"description":"Conversion-goal warnings reviewed when this command was prepared."}},"required":["selectedGoalKeys","warningSnapshot"],"additionalProperties":false,"description":"Complete conversion-goal selection for this operation."},"season":{"type":"string","minLength":1,"maxLength":500,"description":"Exact season value returned by preview_automation_structure from current Merchant product custom label 0. This operation cannot invent a season or change feed labels."},"selected":{"default":true,"type":"boolean","description":"Whether this structure candidate should be included in the run."}},"required":["brands","season"],"additionalProperties":false},"description":"Seasonal Campaign structures selected for this Automation run."},"reviewedPlan":{"type":"object","properties":{"merchantProviderAccountId":{"type":"string","description":"UUID of the Merchant Center Provider Account."},"currencyCode":{"type":["string","null"],"description":"ISO 4217 currency code used to restrict comparable performance values."},"summary":{"type":"object","properties":{"campaignsToAdopt":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Existing campaigns to assign to this Automation."},"campaignsToCreate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"New campaigns to create."},"existingSelections":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Selected brand groups already present and preserved."},"itemsToCreate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Total new ad groups, including All Products."},"allProductsToCreate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"New All Products groups."},"allProductsToUpdate":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Existing All Products groups whose exclusions change."},"selectedBrands":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Dedicated brand groups selected."},"selectedSeasons":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Seasons explicitly selected."}},"required":["campaignsToAdopt","campaignsToCreate","existingSelections","itemsToCreate","allProductsToCreate","allProductsToUpdate","selectedBrands","selectedSeasons"],"additionalProperties":false,"description":"Exact counts of the selected changes."},"seasons":{"type":"array","items":{"type":"object","properties":{"season":{"type":"string","description":"Season name used to label and group the generated Campaign structure."},"campaign":{"type":"object","properties":{"id":{"description":"Existing resource UUID, or null when this resource will be created.","type":["string","null"]},"name":{"type":"string","description":"Human-readable name supplied for this resource or action."},"operation":{"type":"string","enum":["create","adopt","reuse"],"description":"Whether to create, assign, or reuse this campaign."},"currentStatus":{"description":"Observed status of an existing campaign; preserved by this operation.","type":["string","null"]},"settings":{"anyOf":[{"type":"object","properties":{"budgetAmount":{"type":"number","exclusiveMinimum":0,"maximum":1000000,"description":"Daily Campaign budget in major units of the Google Ads account currency."},"containsEuPoliticalAds":{"default":false,"type":"boolean","description":"Whether the Campaign contains European Union political advertising."},"enableLocalProducts":{"default":false,"type":"boolean","description":"Whether the Shopping Campaign may serve local inventory ads."},"launchStatus":{"default":"ENABLED","type":"string","enum":["PAUSED","ENABLED"],"description":"Initial Google Ads serving status for the Campaign."},"locationTargeting":{"type":"object","properties":{"criteria":{"type":"array","items":{"type":"object","properties":{"location":{"description":"A geographic area. Supply exactly one of location, proximity or locationGroup.","type":"object","properties":{"geoTargetConstant":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$","description":"Google geographic resource for any supported country, region, city, postcode or other area."}},"required":["geoTargetConstant"],"additionalProperties":false},"proximity":{"description":"A radius around an exact coordinate.","type":"object","properties":{"geoPoint":{"type":"object","properties":{"latitudeInMicroDegrees":{"type":"integer","minimum":-90000000,"maximum":90000000,"description":"Latitude in millionths of a degree."},"longitudeInMicroDegrees":{"type":"integer","minimum":-180000000,"maximum":180000000,"description":"Longitude in millionths of a degree."}},"required":["latitudeInMicroDegrees","longitudeInMicroDegrees"],"additionalProperties":false,"description":"Exact centre returned by Google Ads."},"radius":{"type":"number","exclusiveMinimum":0,"description":"Distance from the centre in radiusUnits."},"radiusUnits":{"type":"string","enum":["KILOMETERS","MILES"],"description":"Unit for the proximity radius."},"address":{"description":"Optional address label; coordinates determine targeting.","type":"object","properties":{"cityName":{"description":"Address city label.","type":"string"},"countryCode":{"description":"Address country code.","type":"string"},"postalCode":{"description":"Address postal code.","type":"string"},"provinceCode":{"description":"Address province code.","type":"string"},"provinceName":{"description":"Address province name.","type":"string"},"streetAddress":{"description":"Address street label.","type":"string"},"streetAddress2":{"description":"Additional address label. Google ignores address labels when coordinates are supplied.","type":"string"}},"additionalProperties":false}},"required":["geoPoint","radius","radiusUnits"],"additionalProperties":false},"locationGroup":{"description":"A radius around a Google location source or asset set.","type":"object","properties":{"enableCustomerLevelLocationAssetSet":{"description":"Target the account-level location asset set. Cannot combine with another source.","type":"boolean"},"locationGroupAssetSets":{"description":"Location asset sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/assetSets\\/\\d+$"}},"feedItemSets":{"description":"Location feed item sets belonging to this Google Ads account.","type":"array","items":{"type":"string","pattern":"^customers\\/\\d+\\/feedItemSets\\/\\d+$"}},"geoTargetConstants":{"description":"A single Google geographic resource used as the location-group source.","maxItems":1,"type":"array","items":{"type":"string","pattern":"^geoTargetConstants\\/[1-9]\\d*$"}},"radius":{"type":"string","maxLength":19,"pattern":"^[1-9]\\d*$","description":"Positive int64 distance, encoded as a decimal string as required by Google Ads."},"radiusUnits":{"type":"string","enum":["METERS","MILES","MILLI_MILES"],"description":"Meters, or miles for a geographic source, or thousandths of a mile for assets/feed items."}},"required":["radius","radiusUnits"],"additionalProperties":false},"negative":{"type":"boolean","description":"Exclude this area. Only geographic areas support exclusions."},"status":{"type":"string","enum":["ENABLED","PAUSED"],"description":"Whether this location criterion is active."},"bidModifier":{"description":"Location bid multiplier from 0.1 to 10. Omitted means 1; ignored for exclusions.","type":"number","minimum":0.1,"maximum":10}},"required":["negative","status"],"additionalProperties":false},"description":"Complete location criteria. An empty list explicitly targets all countries and territories."},"geoTargetTypeSetting":{"type":"object","properties":{"positiveGeoTargetType":{"type":"string","enum":["PRESENCE","PRESENCE_OR_INTEREST"],"description":"Include people in the locations, or also people interested in them."},"negativeGeoTargetType":{"type":"string","const":"PRESENCE","description":"Exclude people present in excluded locations."}},"required":["positiveGeoTargetType","negativeGeoTargetType"],"additionalProperties":false,"description":"How Google interprets included and excluded locations."}},"required":["criteria","geoTargetTypeSetting"],"additionalProperties":false,"description":"Complete geographic criteria and presence settings, used instead of country-only targeting."},"locationCountryCodes":{"default":["GB"],"type":"array","items":{"type":"string","minLength":2,"maxLength":2},"description":"Two-letter ISO 3166-1 country codes targeted by the Campaign."},"priority":{"default":0,"anyOf":[{"type":"number","const":0},{"type":"number","const":1},{"type":"number","const":2}],"description":"Google Shopping Campaign priority: 0 low, 1 medium, or 2 high."},"searchPartners":{"default":true,"type":"boolean","description":"Whether the Shopping Campaign may serve on Google search partners."},"sharedBudgetResourceName":{"default":null,"type":["string","null"],"description":"Existing Google Ads shared-budget resource name, or null to create a dedicated budget."}},"required":["budgetAmount"]},{"type":"null"}],"description":"Settings applied to a new campaign, including its launch status. Null for an existing campaign, whose settings and status are preserved."},"conversionGoalKeys":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"Conversion goals applied to a new campaign; null when existing settings are preserved."}},"required":["id","name","operation","currentStatus","settings","conversionGoalKeys"],"additionalProperties":false,"description":"Campaign identity and proposed effect."},"allProducts":{"type":"object","properties":{"id":{"description":"Existing resource UUID, or null when this resource will be created.","type":["string","null"]},"name":{"type":"string","description":"Human-readable name supplied for this resource or action."},"operation":{"type":"string","enum":["create","update","unchanged"],"description":"Change to the All Products group."},"cpcBid":{"type":["number","null"],"description":"Maximum cost-per-click bid in major units of the account currency."},"excludedBrands":{"type":"array","items":{"type":"string"},"description":"Brands excluded from All Products to avoid overlapping dedicated groups."}},"required":["id","name","operation","cpcBid","excludedBrands"],"additionalProperties":false,"description":"Shared All Products group identity, bid and resulting exclusions."},"brands":{"type":"array","items":{"type":"object","properties":{"brand":{"type":"string","description":"Merchant product brand represented by this structure entry."},"id":{"description":"Existing resource UUID, or null when this resource will be created.","type":["string","null"]},"operation":{"type":"string","enum":["create","reuse"],"description":"Create a new brand group or preserve the existing one."},"cpcBid":{"description":"Starting CPC for a new group. Null for a reused group because its existing bid is preserved.","type":["number","null"]}},"required":["brand","id","operation","cpcBid"],"additionalProperties":false},"description":"Brand partitions considered for this seasonal Campaign structure."}},"required":["season","campaign","allProducts","brands"],"additionalProperties":false},"description":"Seasonal Campaign structures selected for this Automation run."}},"required":["merchantProviderAccountId","currencyCode","summary","seasons"],"additionalProperties":false,"description":"Validated changes for the explicit selection only. Inventory totals are not part of this plan. Copy this complete value into reviewedPlan when requesting execution approval."},"confirmationToken":{"type":"string","pattern":"^tppc_cf_[A-Za-z0-9_-]{43}$","description":"One-use confirmation token returned by the matching preview."}},"type":"object","required":["expectedSettingsVersion","merchantProviderAccountId","seasons","reviewedPlan","confirmationToken"]}}},"required":true},"responses":{"202":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"alreadyRunning":{"type":"boolean"},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","ABANDONED","BLOCKED"]}},"required":["alreadyRunning","runId","status"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Start Automation structure run","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":true},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"external_write"}},"/api/v1/agencies/{agencyId}/automation-runs":{"get":{"description":"List Agency Automation Run Journal entries, newest first. Routine runs are omitted by default. Set includeRoutine to true when checking the latest run or complete history.\n\nInput constraints: When both date bounds are present, createdAtFrom must be earlier than or equal to createdAtTo.","operationId":"list_automation_runs","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"query","name":"automationId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}},{"description":"UUID of the Client within the Agency.","in":"query","name":"clientId","required":false,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Client within the Agency."}},{"description":"Inclusive ISO 8601 timestamp for the earliest Automation Run to return.","in":"query","name":"createdAtFrom","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Inclusive ISO 8601 timestamp for the earliest Automation Run to return."}},{"description":"Inclusive ISO 8601 timestamp for the latest Automation Run to return.","in":"query","name":"createdAtTo","required":false,"schema":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$","description":"Inclusive ISO 8601 timestamp for the latest Automation Run to return."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Stable Automation Definition key used to create or filter Automations.","in":"query","name":"definitionKey","required":false,"schema":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING","description":"Stable Automation Definition key used to create or filter Automations."}},{"description":"Include routine runs, including successful runs with no changes. Defaults to false. Set true when checking the latest run or complete run history.","in":"query","name":"includeRoutine","required":false,"schema":{"description":"Include routine runs, including successful runs with no changes. Defaults to false. Set true when checking the latest run or complete run history.","default":false,"type":"boolean"}},{"description":"Transport origin of the user who initiated the Automation Run.","in":"query","name":"initiatorOrigin","required":false,"schema":{"type":"string","enum":["ui","public_api","mcp"],"description":"Transport origin of the user who initiated the Automation Run."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":25,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Automation Run lifecycle state to match.","in":"query","name":"state","required":false,"schema":{"default":"all","type":"string","enum":["all","error","in_progress","succeeded"],"description":"Automation Run lifecycle state to match."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"runMode":{"anyOf":[{"type":"string","enum":["LIVE","DRY_RUN"]},{"type":"null"}]},"activityKey":{"type":"string","minLength":1,"maxLength":100},"automation":{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1}},"required":["definitionKey","id","name"],"additionalProperties":false},"blocksNewRun":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"description":{"type":"string","minLength":1,"maxLength":2000},"initiatedBy":{"anyOf":[{"type":"object","properties":{"origin":{"anyOf":[{"type":"string","enum":["ui","public_api","mcp"]},{"type":"null"}]},"userId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["origin","userId"],"additionalProperties":false},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"issues":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}},"progress":{"anyOf":[{"type":"object","properties":{"counters":{"anyOf":[{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":100},"additionalProperties":{"type":"number"}},{"type":"null"}]},"message":{"type":"string","minLength":1,"maxLength":1000},"phase":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"status":{"type":"string","enum":["running","succeeded","failed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["counters","message","phase","status","updatedAt"],"additionalProperties":false},{"type":"null"}]},"result":{"anyOf":[{"type":"object","properties":{"changed":{"type":"boolean"},"summary":{"type":"string","minLength":1,"maxLength":2000}},"required":["changed","summary"],"additionalProperties":false},{"type":"null"}]},"retry":{"anyOf":[{"type":"object","properties":{"capability":{"type":"string","enum":["preview_automation_run","run_automation"]},"previewInput":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"operation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"definition"},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"input":{"oneOf":[{"type":"object","properties":{"intent":{"type":"string","const":"REPLACE_PLANNER","description":"Validate and use this planner for scheduled reviews; execute under the saved automation level."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"season":{"type":["string","null"]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false},{"type":"object","properties":{"intent":{"type":"string","const":"TEST_PLANNER","description":"Preview once without Google writes or replacing the scheduled planner."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"season":{"type":["string","null"]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false}],"description":"Choose whether this planner replaces the scheduled source or is only tested."}},"required":["kind","definitionKey","input"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"start"},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["kind","runMode"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"retry"},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["kind","runId","runMode"],"additionalProperties":false}]}},"required":["agencyId","automationId","expectedSettingsVersion","operation"],"additionalProperties":false},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["capability","previewInput","runMode"],"additionalProperties":false},{"type":"null"}]},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","ABANDONED","BLOCKED"]},"title":{"type":"string","minLength":1,"maxLength":500},"triggerKey":{"type":"string","minLength":1,"maxLength":100}},"required":["activityKey","automation","blocksNewRun","createdAt","description","initiatedBy","finishedAt","hasChanges","id","issues","progress","result","retry","startedAt","status","title","triggerKey"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]}},"required":["items","nextCursor"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"List Automation runs","tags":["automation_runs"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automation-runs/{runId}":{"get":{"description":"Return one tenant-scoped Automation Run without workflow or raw provider diagnostics.","operationId":"get_automation_run","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the addressable Campaign or Automation Run.","in":"path","name":"runId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Campaign or Automation Run."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"runMode":{"anyOf":[{"type":"string","enum":["LIVE","DRY_RUN"]},{"type":"null"}]},"activityKey":{"type":"string","minLength":1,"maxLength":100},"automation":{"type":"object","properties":{"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"name":{"type":"string","minLength":1}},"required":["definitionKey","id","name"],"additionalProperties":false},"blocksNewRun":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"description":{"type":"string","minLength":1,"maxLength":2000},"initiatedBy":{"anyOf":[{"type":"object","properties":{"origin":{"anyOf":[{"type":"string","enum":["ui","public_api","mcp"]},{"type":"null"}]},"userId":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"null"}]}},"required":["origin","userId"],"additionalProperties":false},{"type":"null"}]},"finishedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"hasChanges":{"type":"boolean"},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"issues":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}},"progress":{"anyOf":[{"type":"object","properties":{"counters":{"anyOf":[{"type":"object","propertyNames":{"type":"string","minLength":1,"maxLength":100},"additionalProperties":{"type":"number"}},{"type":"null"}]},"message":{"type":"string","minLength":1,"maxLength":1000},"phase":{"anyOf":[{"type":"string","minLength":1,"maxLength":100},{"type":"null"}]},"status":{"type":"string","enum":["running","succeeded","failed"]},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}},"required":["counters","message","phase","status","updatedAt"],"additionalProperties":false},{"type":"null"}]},"result":{"anyOf":[{"type":"object","properties":{"changed":{"type":"boolean"},"summary":{"type":"string","minLength":1,"maxLength":2000}},"required":["changed","summary"],"additionalProperties":false},{"type":"null"}]},"retry":{"anyOf":[{"type":"object","properties":{"capability":{"type":"string","enum":["preview_automation_run","run_automation"]},"previewInput":{"type":"object","properties":{"agencyId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"automationId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"expectedSettingsVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"operation":{"oneOf":[{"type":"object","properties":{"kind":{"type":"string","const":"definition"},"definitionKey":{"type":"string","const":"CITRUS_LIME_GOOGLE_SHOPPING"},"input":{"oneOf":[{"type":"object","properties":{"intent":{"type":"string","const":"REPLACE_PLANNER","description":"Validate and use this planner for scheduled reviews; execute under the saved automation level."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"season":{"type":["string","null"]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false},{"type":"object","properties":{"intent":{"type":"string","const":"TEST_PLANNER","description":"Preview once without Google writes or replacing the scheduled planner."},"planner":{"anyOf":[{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"Prepared private planner upload UUID."}},"required":["source","uploadId"],"additionalProperties":false},{"type":"object","properties":{"source":{"type":"object","properties":{"clientId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"stockDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date represented by the stock export, separate from its upload date."},"scope":{"type":"string","const":"COMPLETE_SEASONAL_BUYING_PLANNER","description":"Declaration that this is the complete Seasonal Buying Planner for the selected Client."}},"required":["clientId","stockDate","scope"],"additionalProperties":false,"description":"Client, planner date and complete-file scope."},"snapshot":{"type":"object","properties":{"schemaVersion":{"type":"number","const":1,"description":"Stock snapshot format version."},"sheetName":{"type":"string","minLength":1,"description":"Name of the source worksheet."},"headerRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based row containing the mapped planner headers."},"grandTotal":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original Grand Total row; its margin is the store-average margin."},"seasons":{"minItems":1,"type":"array","items":{"type":"object","properties":{"season":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"total":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns"],"additionalProperties":false,"description":"Original season footer used for threshold and campaign target calculations."},"brands":{"minItems":1,"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand"],"additionalProperties":false},"description":"Every source brand row in this season, including blanks and nonpositive-margin brands."}},"required":["season","total","brands"],"additionalProperties":false},"description":"All reconciled season sections in original file order."},"footerlessRows":{"type":"array","items":{"type":"object","properties":{"costOnHand":{"type":"number","description":"Inventory cost in the source currency; never a quantity or revenue threshold."},"margin":{"type":"number","description":"Gross margin as a decimal fraction; 0.20 means 20%. Nonpositive brand margins are excluded."},"quantityInStock":{"description":"Reported quantity in stock, including negative returns; null when unavailable.","type":["number","null"]},"quantitySold":{"description":"Reported units sold; null when unavailable.","type":["number","null"]},"weeksCover":{"description":"Reported weeks of stock cover; null when unavailable.","type":["number","null"]},"revenueExTax":{"description":"Reported line revenue excluding tax, in the source currency.","type":["number","null"]},"costOfGoodsSold":{"description":"Reported line cost of goods sold, in the source currency.","type":["number","null"]},"profit":{"description":"Reported line profit, in the source currency.","type":["number","null"]},"sellThrough":{"description":"Reported sell-through as a decimal fraction; null when unavailable.","type":["number","null"]},"sourceRow":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991,"description":"One-based source worksheet row number."},"extraColumns":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":["string","number","boolean","null"]},"description":"Additional original columns carried through without interpretation."},"brand":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"season":{"type":["string","null"]}},"required":["costOnHand","margin","quantityInStock","quantitySold","weeksCover","revenueExTax","costOfGoodsSold","profit","sellThrough","sourceRow","extraColumns","brand","season"],"additionalProperties":false},"description":"Rows without a season footer; included in totals but excluded from stock decisions."},"notes":{"type":"array","items":{"type":"string"},"description":"Recorded data anomalies and excluded footerless-section notes."}},"required":["schemaVersion","sheetName","headerRow","grandTotal","seasons","footerlessRows","notes"],"additionalProperties":false,"description":"Structured complete planner, validated before use."}},"required":["source","snapshot"],"additionalProperties":false}],"description":"Complete planner file or structured snapshot with source metadata."}},"required":["intent","planner"],"additionalProperties":false}],"description":"Choose whether this planner replaces the scheduled source or is only tested."}},"required":["kind","definitionKey","input"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"start"},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["kind","runMode"],"additionalProperties":false},{"type":"object","properties":{"kind":{"type":"string","const":"retry"},"runId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["kind","runId","runMode"],"additionalProperties":false}]}},"required":["agencyId","automationId","expectedSettingsVersion","operation"],"additionalProperties":false},"runMode":{"type":"string","enum":["LIVE","DRY_RUN"]}},"required":["capability","previewInput","runMode"],"additionalProperties":false},{"type":"null"}]},"startedAt":{"anyOf":[{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},{"type":"null"}]},"status":{"type":"string","enum":["QUEUED","RUNNING","SUCCEEDED","FAILED","ABANDONED","BLOCKED"]},"title":{"type":"string","minLength":1,"maxLength":500},"triggerKey":{"type":"string","minLength":1,"maxLength":100}},"required":["activityKey","automation","blocksNewRun","createdAt","description","initiatedBy","finishedAt","hasChanges","id","issues","progress","result","retry","startedAt","status","title","triggerKey"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Automation run","tags":["automation_runs"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automation-runs/{runId}/items":{"get":{"description":"List interpreted, cursor-paginated items for one tenant-scoped Automation Run.","operationId":"get_automation_run_items","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the addressable Campaign or Automation Run.","in":"path","name":"runId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the addressable Campaign or Automation Run."}},{"description":"Opaque continuation cursor from the preceding page; keep all filters unchanged.","in":"query","name":"cursor","required":false,"schema":{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$","description":"Opaque continuation cursor from the preceding page; keep all filters unchanged."}},{"description":"Run Journal severity level to match.","in":"query","name":"itemLevel","required":false,"schema":{"type":"string","enum":["ad_group","campaign","product_group","run"],"description":"Run Journal severity level to match."}},{"description":"Run Journal item status to match.","in":"query","name":"itemStatus","required":false,"schema":{"type":"string","enum":["blocked","created","failed","info","planned","skipped","unchanged","updated"],"description":"Run Journal item status to match."}},{"description":"Run Journal item type to match.","in":"query","name":"itemType","required":false,"schema":{"type":"string","minLength":1,"maxLength":100,"description":"Run Journal item type to match."}},{"description":"Maximum number of items to return on this page.","in":"query","name":"limit","required":false,"schema":{"default":50,"type":"integer","minimum":1,"maximum":100,"description":"Maximum number of items to return on this page."}},{"description":"Case-insensitive text used to filter matching resources.","in":"query","name":"search","required":false,"schema":{"type":"string","minLength":1,"maxLength":160,"description":"Case-insensitive text used to filter matching resources."}}],"responses":{"200":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"items":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"action":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"createdAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"},"description":{"anyOf":[{"type":"string","maxLength":2000},{"type":"null"}]},"details":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"label":{"type":"string","minLength":1,"maxLength":500},"tone":{"default":"default","type":"string","enum":["default","destructive"]},"value":{"type":"string","maxLength":2000}},"required":["label","tone","value"],"additionalProperties":false}},"id":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"itemKey":{"type":"string","minLength":1,"maxLength":1000},"itemType":{"type":"string","minLength":1,"maxLength":100},"primaryText":{"type":"string","minLength":1,"maxLength":1000},"reason":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]},"secondaryText":{"anyOf":[{"type":"string","maxLength":1000},{"type":"null"}]},"status":{"type":"string","enum":["blocked","created","failed","info","planned","skipped","unchanged","updated"]}},"required":["action","createdAt","description","details","id","itemKey","itemType","primaryText","reason","secondaryText","status"],"additionalProperties":false}},"nextCursor":{"anyOf":[{"type":"string","minLength":1,"maxLength":2048,"pattern":"^[A-Za-z0-9_-]+$"},{"type":"null"}]},"statusCounts":{"type":"object","properties":{"blocked":{"type":"integer","minimum":0,"maximum":9007199254740991},"created":{"type":"integer","minimum":0,"maximum":9007199254740991},"failed":{"type":"integer","minimum":0,"maximum":9007199254740991},"info":{"type":"integer","minimum":0,"maximum":9007199254740991},"planned":{"type":"integer","minimum":0,"maximum":9007199254740991},"skipped":{"type":"integer","minimum":0,"maximum":9007199254740991},"unchanged":{"type":"integer","minimum":0,"maximum":9007199254740991},"updated":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["blocked","created","failed","info","planned","skipped","unchanged","updated"],"additionalProperties":false},"totalCount":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["items","nextCursor","statusCounts","totalCount"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Get Automation run items","tags":["automation_runs"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":false,"onlyAdditive":false,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":true,"x-turbo-ppc-input-requirements":[{"forbids":["itemType"],"when":[{"exists":true,"path":["itemLevel"]}]},{"forbids":["itemLevel"],"when":[{"exists":true,"path":["itemType"]}]}],"x-turbo-ppc-risk":"read"}},"/api/v1/agencies/{agencyId}/automations/{automationId}/citrus-lime-shopping/planner-uploads":{"post":{"description":"Prepare a private, single-object upload for a Client's complete Seasonal Buying Planner. Upload the bytes to the returned URL, then submit the upload ID.","operationId":"prepare_citrus_lime_shopping_planner_upload","parameters":[{"description":"UUID of the Agency that owns the requested resources.","in":"path","name":"agencyId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Agency that owns the requested resources."}},{"description":"UUID of the Automation.","in":"path","name":"automationId","required":true,"schema":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$","description":"UUID of the Automation."}}],"requestBody":{"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"filename":{"type":"string","minLength":1,"maxLength":255,"description":"Original XLS, XLSX or CSV filename, without directory separators."},"byteLength":{"type":"integer","minimum":1,"maximum":52428800,"description":"Exact file size in bytes, checked again after upload."}},"type":"object","required":["filename","byteLength"]}}},"required":true},"responses":{"201":{"content":{"application/json":{"schema":{"type":"object","properties":{"data":{"type":"object","properties":{"uploadId":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},"uploadUrl":{"type":"string","format":"uri"},"token":{"type":"string","minLength":1},"path":{"type":"string","minLength":1},"expiresAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"}},"required":["uploadId","uploadUrl","token","path","expiresAt"],"additionalProperties":false},"meta":{"type":"object","properties":{"requestId":{"type":"string","minLength":1,"maxLength":128}},"required":["requestId"],"additionalProperties":false},"ok":{"type":"boolean","const":true},"warnings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"code":{"type":"string","maxLength":128,"pattern":"^[A-Z][A-Z0-9_]*$"},"hint":{"type":"string","minLength":1,"maxLength":1000},"message":{"type":"string","minLength":1,"maxLength":2000},"path":{"maxItems":32,"type":"array","items":{"anyOf":[{"type":"string","maxLength":200},{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}]}},"severity":{"type":"string","enum":["error","warning"]}},"required":["code","message","severity"],"additionalProperties":false}}},"required":["data","meta","ok","warnings"],"additionalProperties":false}}},"description":"Success"},"400":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Malformed request"},"401":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Authentication required"},"403":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Not authorized"},"404":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Resource not found"},"409":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Conflict"},"412":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Precondition failed"},"415":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Unsupported media type"},"422":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Invalid capability input"},"429":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Rate limited","headers":{"Retry-After":{"description":"Seconds until this authorization's fixed request window resets.","schema":{"minimum":1,"type":"integer"}}}},"500":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Internal error"},"502":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Upstream provider failed"},"503":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductFailure"}}},"description":"Temporarily unavailable"}},"security":[{"productOAuth":["product:full"]}],"summary":"Prepare Shopping strategy report upload","tags":["automations"],"x-turbo-ppc-effects":{"destructive":false,"highImpact":false,"mutatesState":true,"onlyAdditive":true,"readsExternal":false,"requiresHumanHandoff":false,"usesAi":false,"writesExternal":false},"x-turbo-ppc-idempotent":false,"x-turbo-ppc-risk":"write"}}},"servers":[{"url":"https://ppc.turbomt.app"}],"tags":[{"description":"Manage the current profile, agencies, and agency setup.","name":"identity_agencies","x-displayName":"Identity & agencies"},{"description":"Invite and manage agency members and their roles.","name":"members","x-displayName":"Members"},{"description":"Manage agency clients, goals, and account assignments.","name":"clients","x-displayName":"Clients"},{"description":"Manage Google connections, scopes, and linked accounts.","name":"providers","x-displayName":"Providers"},{"description":"Review performance insights and optimization findings.","name":"performance_findings","x-displayName":"Performance findings"},{"description":"Define and maintain the strategy behind account decisions.","name":"strategies","x-displayName":"Strategies"},{"description":"Create campaigns and manage their operational state.","name":"campaigns","x-displayName":"Campaigns"},{"description":"Configure, schedule, and run account automations.","name":"automations","x-displayName":"Automations"},{"description":"Inspect and control durable automation execution.","name":"automation_runs","x-displayName":"Automation runs"}]}