[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-06 UTC."],[[["\u003cp\u003e\u003ccode\u003eSiteError.Reason\u003c/code\u003e defines the various reasons for errors encountered when working with sites in Google Ad Manager.\u003c/p\u003e\n"],["\u003cp\u003eThese reasons include issues such as invalid network codes, archiving sites with subsites, and invalid URLs.\u003c/p\u003e\n"],["\u003cp\u003eErrors can also arise from exceeding limits on review requests or attempting invalid approval status changes.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSiteError.Reason\u003c/code\u003e enumeration provides specific codes for each error type, allowing for targeted debugging and resolution.\u003c/p\u003e\n"]]],["The `SiteError.Reason` enumeration lists potential errors within the `SiteService`. Key errors include: an invalid child network code, attempting to archive a site with active subsites, an invalid site URL, multiple updates for a single site in a batch, exceeding the site limit per review request, repeated review submissions for a site, and trying to review a site not in `DRAFT`, `DISAPPROVED`, or `REQUIRES_REVIEW` status. The service uses a defined namespace, and an `UNKNOWN` value indicates an unexposed error.\n"],null,["# enum SiteError.Reason (v202411)\n\n**Service** \n**CompanyService** [SiteService](/ad-manager/api/reference/v202411/SiteService.SiteError.Reason) **Dependencies** \n[SiteError](/ad-manager/api/reference/v202411/CompanyService.SiteError) \n▼\n**SiteError.Reason**\n\nThe reasons for the target error.\n\n*** ** * ** ***\n\nNamespace\n:\n `https://www.google.com/apis/ads/publisher/v202411`\n\n| Enumeration | Description |\n|--------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `INVALID_CHILD_NETWORK_CODE` | The network code must belong to an MCM child network. |\n| `CANNOT_ARCHIVE_SITE_WITH_SUBSITES` | Archive all subsites before archiving the site. |\n| `INVALID_URL_FOR_SITE` | The URL is invalid for a top-level site. |\n| `MULTIPLE_UPDATES_FOR_SAME_SITE` | The batch of sites could not be updated because the same site was updated multiple times in the batch. |\n| `TOO_MANY_SITES_PER_REVIEW_REQUEST` | Too many sites in the request to submit them for review. |\n| `TOO_MANY_REVIEW_REQUESTS_FOR_SITE` | The site has been submitted for review too many times. |\n| `INVALID_APPROVAL_STATUS_FOR_REVIEW` | Only sites with approval status [ApprovalStatus.DRAFT](/ad-manager/api/reference/v202411/SiteService.ApprovalStatus#DRAFT), [ApprovalStatus.DISAPPROVED](/ad-manager/api/reference/v202411/SiteService.ApprovalStatus#DISAPPROVED) and [ApprovalStatus.REQUIRES_REVIEW](/ad-manager/api/reference/v202411/SiteService.ApprovalStatus#REQUIRES_REVIEW) can be submitted for review. |\n| `UNKNOWN` | The value returned if the actual value is not exposed by the requested API version. |"]]