blob: 0f638f7893b1d8304fd80a7dc54d171aea0ac4a5 [file] [edit]
<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.
&quot;newManager&quot;: &quot;A String&quot;, # Required. The resource name of the new manager customer that the client wants to move to. Customer resource names have the format: &quot;customers/{customer_id}&quot;
&quot;previousCustomerManagerLink&quot;: &quot;A String&quot;, # Required. The resource name of the previous CustomerManagerLink. The resource name has the form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
&quot;validateOnly&quot;: 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.
&quot;resourceName&quot;: &quot;A String&quot;, # 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.
&quot;operations&quot;: [ # 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.
&quot;update&quot;: { # Represents customer-manager link relationship. # Update operation: The link is expected to have a valid resource name.
&quot;managerCustomer&quot;: &quot;A String&quot;, # Output only. The manager customer linked to the customer.
&quot;managerLinkId&quot;: &quot;A String&quot;, # Output only. ID of the customer-manager link. This field is read only.
&quot;resourceName&quot;: &quot;A String&quot;, # Immutable. Name of the resource. CustomerManagerLink resource names have the form: `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}`
&quot;startTime&quot;: &quot;A String&quot;, # Output only. The timestamp when the CustomerManagerLink was created. The timestamp is in the customer&#x27;s time zone and in &quot;yyyy-MM-dd HH:mm:ss&quot; format.
&quot;status&quot;: &quot;A String&quot;, # Status of the link between the customer and the manager.
},
&quot;updateMask&quot;: &quot;A String&quot;, # FieldMask that determines which resource fields are modified in an update.
},
],
&quot;validateOnly&quot;: 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.
&quot;results&quot;: [ # A result that identifies the resource affected by the mutate request.
{ # The result for the customer manager link mutate.
&quot;resourceName&quot;: &quot;A String&quot;, # Returned for successful operations.
},
],
}</pre>
</div>
</body></html>