[[["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-20 UTC."],[],[],null,["# Method: networks.sites.batchUpdate\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n - [JSON representation](#body.request_body.SCHEMA_REPRESENTATION)\n- [Response body](#body.response_body)\n - [JSON representation](#body.BatchUpdateSitesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n- [UpdateSiteRequest](#UpdateSiteRequest)\n - [JSON representation](#UpdateSiteRequest.SCHEMA_REPRESENTATION)\n- [Try it!](#try-it)\n\nAPI to batch update `Site` objects.\n\n### HTTP request\n\n`POST https://admanager.googleapis.com/v1/{parent}/sites:batchUpdate`\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `parent` | `string` Required. The parent resource where `Sites` will be updated. Format: `networks/{networkCode}` The parent field in the UpdateSiteRequest must match this field. |\n\n### Request body\n\nThe request body contains data with the following structure:\n\n| JSON representation |\n|------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"requests\": [ { object (/ad-manager/api/beta/reference/rest/v1/networks.sites/batchUpdate#UpdateSiteRequest) } ] } ``` |\n\n| Fields ||\n|--------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `requests[]` | `object (`[UpdateSiteRequest](/ad-manager/api/beta/reference/rest/v1/networks.sites/batchUpdate#UpdateSiteRequest)`)` Required. The `Site` objects to update. A maximum of 100 objects can be updated in a batch. |\n\n### Response body\n\nResponse object for `sites.batchUpdate` method.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|--------------------------------------------------------------------------------------------------|\n| ``` { \"sites\": [ { object (/ad-manager/api/beta/reference/rest/v1/networks.sites#Site) } ] } ``` |\n\n| Fields ||\n|-----------|-------------------------------------------------------------------------------------------------------------|\n| `sites[]` | `object (`[Site](/ad-manager/api/beta/reference/rest/v1/networks.sites#Site)`)` The `Site` objects updated. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/admanager`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2).\n\nUpdateSiteRequest\n-----------------\n\nRequest object for `sites.patch` method.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------|\n| ``` { \"site\": { object (/ad-manager/api/beta/reference/rest/v1/networks.sites#Site) }, \"updateMask\": string } ``` |\n\n| Fields ||\n|--------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `site` | `object (`[Site](/ad-manager/api/beta/reference/rest/v1/networks.sites#Site)`)` Required. The `Site` to update. The `Site`'s `name` is used to identify the `Site` to update. |\n| `updateMask` | `string (`[FieldMask](https://protobuf.dev/reference/protobuf/google.protobuf/#field-mask)` format)` Required. The list of fields to update. This is a comma-separated list of fully qualified names of fields. Example: `\"user.displayName,photo\"`. |"]]