| <html><body> | |
| <style> | |
| body, h1, h2, h3, div, span, p, pre, a { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| font-weight: inherit; | |
| font-style: inherit; | |
| font-size: 100%; | |
| font-family: inherit; | |
| vertical-align: baseline; | |
| } | |
| body { | |
| font-size: 13px; | |
| padding: 1em; | |
| } | |
| h1 { | |
| font-size: 26px; | |
| margin-bottom: 1em; | |
| } | |
| h2 { | |
| font-size: 24px; | |
| margin-bottom: 1em; | |
| } | |
| h3 { | |
| font-size: 20px; | |
| margin-bottom: 1em; | |
| margin-top: 1em; | |
| } | |
| pre, code { | |
| line-height: 1.5; | |
| font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace; | |
| } | |
| pre { | |
| margin-top: 0.5em; | |
| } | |
| h1, h2, h3, p { | |
| font-family: Arial, sans serif; | |
| } | |
| h1, h2, h3 { | |
| border-bottom: solid #CCC 1px; | |
| } | |
| .toc_element { | |
| margin-top: 0.5em; | |
| } | |
| .firstline { | |
| margin-left: 2 em; | |
| } | |
| .method { | |
| margin-top: 1em; | |
| border: solid 1px #CCC; | |
| padding: 1em; | |
| background: #EEE; | |
| } | |
| .details { | |
| font-weight: bold; | |
| font-size: 14px; | |
| } | |
| </style> | |
| <h1><a href="searchads360_v23.html">Search Ads 360 Reporting API</a> . <a href="searchads360_v23.customers.html">customers</a> . <a href="searchads360_v23.customers.customerManagerLinks.html">customerManagerLinks</a></h1> | |
| <h2>Instance Methods</h2> | |
| <p class="toc_element"> | |
| <code><a href="#close">close()</a></code></p> | |
| <p class="firstline">Close httplib2 connections.</p> | |
| <p class="toc_element"> | |
| <code><a href="#moveManagerLink">moveManagerLink(customerId, body=None, x__xgafv=None)</a></code></p> | |
| <p class="firstline">Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager, for example: 1. Update operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE (new manager). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()</p> | |
| <p class="toc_element"> | |
| <code><a href="#mutate">mutate(customerId, body=None, x__xgafv=None)</a></code></p> | |
| <p class="firstline">Updates customer manager links. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() [QuotaError]() [RequestError]()</p> | |
| <h3>Method Details</h3> | |
| <div class="method"> | |
| <code class="details" id="close">close()</code> | |
| <pre>Close httplib2 connections.</pre> | |
| </div> | |
| <div class="method"> | |
| <code class="details" id="moveManagerLink">moveManagerLink(customerId, body=None, x__xgafv=None)</code> | |
| <pre>Moves a client customer to a new manager customer. This simplifies the complex request that requires two operations to move a client customer to a new manager, for example: 1. Update operation with Status INACTIVE (previous manager) and, 2. Update operation with Status ACTIVE (new manager). List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]() | |
| Args: | |
| customerId: string, Required. The ID of the client customer that is being moved. (required) | |
| body: object, The request body. | |
| The object takes the form of: | |
| { # Request message for CustomerManagerLinkService.MoveManagerLink. | |
| "newManager": "A String", # Required. The resource name of the new manager customer that the client wants to move to. Customer resource names have the format: "customers/{customer_id}" | |
| "previousCustomerManagerLink": "A String", # Required. The resource name of the previous CustomerManagerLink. The resource name has the form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` | |
| "validateOnly": True or False, # If true, the request is validated but not executed. Only errors are returned, not results. | |
| } | |
| x__xgafv: string, V1 error format. | |
| Allowed values | |
| 1 - v1 error format | |
| 2 - v2 error format | |
| Returns: | |
| An object of the form: | |
| { # Response message for a CustomerManagerLink moveManagerLink. | |
| "resourceName": "A String", # Returned for successful operations. Represents a CustomerManagerLink resource of the newly created link between client customer and new manager customer. | |
| }</pre> | |
| </div> | |
| <div class="method"> | |
| <code class="details" id="mutate">mutate(customerId, body=None, x__xgafv=None)</code> | |
| <pre>Updates customer manager links. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [DatabaseError]() [FieldError]() [FieldMaskError]() [HeaderError]() [InternalError]() [ManagerLinkError]() [MutateError]() [QuotaError]() [RequestError]() | |
| Args: | |
| customerId: string, Required. The ID of the customer whose customer manager links are being modified. (required) | |
| body: object, The request body. | |
| The object takes the form of: | |
| { # Request message for CustomerManagerLinkService.MutateCustomerManagerLink. | |
| "operations": [ # Required. The list of operations to perform on individual customer manager links. | |
| { # Updates the status of a CustomerManagerLink. The following actions are possible: 1. Update operation with status ACTIVE accepts a pending invitation. 2. Update operation with status REFUSED declines a pending invitation. 3. Update operation with status INACTIVE terminates link to manager. | |
| "update": { # Represents customer-manager link relationship. # Update operation: The link is expected to have a valid resource name. | |
| "managerCustomer": "A String", # Output only. The manager customer linked to the customer. | |
| "managerLinkId": "A String", # Output only. ID of the customer-manager link. This field is read only. | |
| "resourceName": "A String", # Immutable. Name of the resource. CustomerManagerLink resource names have the form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` | |
| "startTime": "A String", # Output only. The timestamp when the CustomerManagerLink was created. The timestamp is in the customer's time zone and in "yyyy-MM-dd HH:mm:ss" format. | |
| "status": "A String", # Status of the link between the customer and the manager. | |
| }, | |
| "updateMask": "A String", # FieldMask that determines which resource fields are modified in an update. | |
| }, | |
| ], | |
| "validateOnly": True or False, # If true, the request is validated but not executed. Only errors are returned, not results. | |
| } | |
| x__xgafv: string, V1 error format. | |
| Allowed values | |
| 1 - v1 error format | |
| 2 - v2 error format | |
| Returns: | |
| An object of the form: | |
| { # Response message for a CustomerManagerLink mutate. | |
| "results": [ # A result that identifies the resource affected by the mutate request. | |
| { # The result for the customer manager link mutate. | |
| "resourceName": "A String", # Returned for successful operations. | |
| }, | |
| ], | |
| }</pre> | |
| </div> | |
| </body></html> |