Debian Codegraph @

docs/dyn/datamanager_v1.accountTypes.accounts.partnerLinks.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="datamanager_v1.html">Data Manager API</a> . <a href="datamanager_v1.accountTypes.html">accountTypes</a> . <a href="datamanager_v1.accountTypes.accounts.html">accounts</a> . <a href="datamanager_v1.accountTypes.accounts.partnerLinks.html">partnerLinks</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`</p>
86 <p class="toc_element">
87 <code><a href="#search">search(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Searches for all partner links to and from a given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`</p>
89 <p class="toc_element">
90 <code><a href="#search_next">search_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <h3>Method Details</h3>
93 <div class="method">
94 <code class="details" id="close">close()</code>
95 <pre>Close httplib2 connections.</pre>
96 </div>
97
98 <div class="method">
99 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
100 <pre>Creates a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
101
102 Args:
103 parent: string, Required. The parent, which owns this collection of partner links. Format: accountTypes/{account_type}/accounts/{account} (required)
104 body: object, The request body.
105 The object takes the form of:
106
107 { # A partner link between an owning account and a partner account.
108 &quot;featureSet&quot;: &quot;A String&quot;, # Optional. Immutable. The set of features supported for the partner link. If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.
109 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the partner link. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}
110 &quot;owningAccount&quot;: { # Represents a specific account. # Required. The owning account granting access to the partner account.
111 &quot;accountId&quot;: &quot;A String&quot;, # Required. The ID of the account. For example, your Google Ads account ID.
112 &quot;accountType&quot;: &quot;A String&quot;, # Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
113 &quot;product&quot;: &quot;A String&quot;, # Deprecated. Use `account_type` instead.
114 },
115 &quot;partnerAccount&quot;: { # Represents a specific account. # Required. The partner account granted access by the owning account.
116 &quot;accountId&quot;: &quot;A String&quot;, # Required. The ID of the account. For example, your Google Ads account ID.
117 &quot;accountType&quot;: &quot;A String&quot;, # Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
118 &quot;product&quot;: &quot;A String&quot;, # Deprecated. Use `account_type` instead.
119 },
120 &quot;partnerCustomerAccount&quot;: { # Represents a customer account in the partner&#x27;s system. # Optional. The customer account in the partner system. This is required for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT feature set.
121 &quot;accountId&quot;: &quot;A String&quot;, # Required. The identifier of the customer account in the partner&#x27;s ID space.
122 &quot;accountName&quot;: &quot;A String&quot;, # Optional. The name of the account.
123 &quot;accountType&quot;: &quot;A String&quot;, # Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
124 },
125 &quot;partnerLinkId&quot;: &quot;A String&quot;, # Output only. The partner link ID.
126 &quot;partnerLinkMetadata&quot;: { # Represents metadata associated with a partner link. # Optional. Metadata associated with the partner link. This is optional and only accepted for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT.
127 &quot;implicitAccounts&quot;: [ # Optional. The list of implicit accounts.
128 { # Represents a customer account in the partner&#x27;s system.
129 &quot;accountId&quot;: &quot;A String&quot;, # Required. The identifier of the customer account in the partner&#x27;s ID space.
130 &quot;accountName&quot;: &quot;A String&quot;, # Optional. The name of the account.
131 &quot;accountType&quot;: &quot;A String&quot;, # Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
132 },
133 ],
134 },
135 }
136
137 x__xgafv: string, V1 error format.
138 Allowed values
139 1 - v1 error format
140 2 - v2 error format
141
142 Returns:
143 An object of the form:
144
145 { # A partner link between an owning account and a partner account.
146 &quot;featureSet&quot;: &quot;A String&quot;, # Optional. Immutable. The set of features supported for the partner link. If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.
147 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the partner link. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}
148 &quot;owningAccount&quot;: { # Represents a specific account. # Required. The owning account granting access to the partner account.
149 &quot;accountId&quot;: &quot;A String&quot;, # Required. The ID of the account. For example, your Google Ads account ID.
150 &quot;accountType&quot;: &quot;A String&quot;, # Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
151 &quot;product&quot;: &quot;A String&quot;, # Deprecated. Use `account_type` instead.
152 },
153 &quot;partnerAccount&quot;: { # Represents a specific account. # Required. The partner account granted access by the owning account.
154 &quot;accountId&quot;: &quot;A String&quot;, # Required. The ID of the account. For example, your Google Ads account ID.
155 &quot;accountType&quot;: &quot;A String&quot;, # Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
156 &quot;product&quot;: &quot;A String&quot;, # Deprecated. Use `account_type` instead.
157 },
158 &quot;partnerCustomerAccount&quot;: { # Represents a customer account in the partner&#x27;s system. # Optional. The customer account in the partner system. This is required for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT feature set.
159 &quot;accountId&quot;: &quot;A String&quot;, # Required. The identifier of the customer account in the partner&#x27;s ID space.
160 &quot;accountName&quot;: &quot;A String&quot;, # Optional. The name of the account.
161 &quot;accountType&quot;: &quot;A String&quot;, # Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
162 },
163 &quot;partnerLinkId&quot;: &quot;A String&quot;, # Output only. The partner link ID.
164 &quot;partnerLinkMetadata&quot;: { # Represents metadata associated with a partner link. # Optional. Metadata associated with the partner link. This is optional and only accepted for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT.
165 &quot;implicitAccounts&quot;: [ # Optional. The list of implicit accounts.
166 { # Represents a customer account in the partner&#x27;s system.
167 &quot;accountId&quot;: &quot;A String&quot;, # Required. The identifier of the customer account in the partner&#x27;s ID space.
168 &quot;accountName&quot;: &quot;A String&quot;, # Optional. The name of the account.
169 &quot;accountType&quot;: &quot;A String&quot;, # Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
170 },
171 ],
172 },
173 }</pre>
174 </div>
175
176 <div class="method">
177 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
178 <pre>Deletes a partner link for the given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
179
180 Args:
181 name: string, Required. The resource name of the partner link to delete. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link} (required)
182 x__xgafv: string, V1 error format.
183 Allowed values
184 1 - v1 error format
185 2 - v2 error format
186
187 Returns:
188 An object of the form:
189
190 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
191 }</pre>
192 </div>
193
194 <div class="method">
195 <code class="details" id="search">search(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
196 <pre>Searches for all partner links to and from a given account. Authorization Headers: This method supports the following optional headers to define how the API authorizes access for the request: * `login-account`: (Optional) The resource name of the account where the Google Account of the credentials is a user. If not set, defaults to the account of the request. Format: `accountTypes/{loginAccountType}/accounts/{loginAccountId}`
197
198 Args:
199 parent: string, Required. Account to search for partner links. If no `filter` is specified, all partner links where this account is either the `owning_account` or `partner_account` are returned. Format: `accountTypes/{account_type}/accounts/{account}` (required)
200 filter: string, Optional. A [filter string](https://google.aip.dev/160). All fields need to be on the left hand side of each condition (for example: `partner_link_id = 123456789`). Fields must be specified using either all [camel case](https://en.wikipedia.org/wiki/Camel_case) or all [snake case](https://en.wikipedia.org/wiki/Snake_case). Don&#x27;t use a combination of camel case and snake case. Supported operations: - `AND` - `=` - `!=` Supported fields: - `partner_link_id` - `owning_account.account_type` - `owning_account.account_id` - `partner_account.account_type` - `partner_account.account_id` Example: `owning_account.account_type = &quot;GOOGLE_ADS&quot; AND partner_account.account_id = 987654321`
201 pageSize: integer, The maximum number of partner links to return. The service may return fewer than this value. If unspecified, at most 10 partner links will be returned. The maximum value is 100; values above 100 will be coerced to 100.
202 pageToken: string, A page token, received from a previous `SearchPartnerLinks` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `SearchPartnerLinks` must match the call that provided the page token.
203 x__xgafv: string, V1 error format.
204 Allowed values
205 1 - v1 error format
206 2 - v2 error format
207
208 Returns:
209 An object of the form:
210
211 { # Response from the SearchPartnerLinksRequest.
212 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
213 &quot;partnerLinks&quot;: [ # The partner links for the given account.
214 { # A partner link between an owning account and a partner account.
215 &quot;featureSet&quot;: &quot;A String&quot;, # Optional. Immutable. The set of features supported for the partner link. If not specified, the system behavior defaults to FEATURE_SET_AUDIENCE_AND_EVENT_MANAGEMENT.
216 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the partner link. Format: accountTypes/{account_type}/accounts/{account}/partnerLinks/{partner_link}
217 &quot;owningAccount&quot;: { # Represents a specific account. # Required. The owning account granting access to the partner account.
218 &quot;accountId&quot;: &quot;A String&quot;, # Required. The ID of the account. For example, your Google Ads account ID.
219 &quot;accountType&quot;: &quot;A String&quot;, # Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
220 &quot;product&quot;: &quot;A String&quot;, # Deprecated. Use `account_type` instead.
221 },
222 &quot;partnerAccount&quot;: { # Represents a specific account. # Required. The partner account granted access by the owning account.
223 &quot;accountId&quot;: &quot;A String&quot;, # Required. The ID of the account. For example, your Google Ads account ID.
224 &quot;accountType&quot;: &quot;A String&quot;, # Required. The type of the account. For example, `GOOGLE_ADS`. Either `account_type` or the deprecated `product` is required. If both are set, the values must match.
225 &quot;product&quot;: &quot;A String&quot;, # Deprecated. Use `account_type` instead.
226 },
227 &quot;partnerCustomerAccount&quot;: { # Represents a customer account in the partner&#x27;s system. # Optional. The customer account in the partner system. This is required for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT feature set.
228 &quot;accountId&quot;: &quot;A String&quot;, # Required. The identifier of the customer account in the partner&#x27;s ID space.
229 &quot;accountName&quot;: &quot;A String&quot;, # Optional. The name of the account.
230 &quot;accountType&quot;: &quot;A String&quot;, # Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
231 },
232 &quot;partnerLinkId&quot;: &quot;A String&quot;, # Output only. The partner link ID.
233 &quot;partnerLinkMetadata&quot;: { # Represents metadata associated with a partner link. # Optional. Metadata associated with the partner link. This is optional and only accepted for partner links with the FEATURE_SET_AD_EVENT_MANAGEMENT.
234 &quot;implicitAccounts&quot;: [ # Optional. The list of implicit accounts.
235 { # Represents a customer account in the partner&#x27;s system.
236 &quot;accountId&quot;: &quot;A String&quot;, # Required. The identifier of the customer account in the partner&#x27;s ID space.
237 &quot;accountName&quot;: &quot;A String&quot;, # Optional. The name of the account.
238 &quot;accountType&quot;: &quot;A String&quot;, # Optional. The type of the account. Can be used to distinguish between advertiser accounts and business level accounts, for example.
239 },
240 ],
241 },
242 },
243 ],
244 }</pre>
245 </div>
246
247 <div class="method">
248 <code class="details" id="search_next">search_next()</code>
249 <pre>Retrieves the next page of results.
250
251 Args:
252 previous_request: The request for the previous page. (required)
253 previous_response: The response from the request for the previous page. (required)
254
255 Returns:
256 A request object that you can call &#x27;execute()&#x27; on to request the next
257 page. Returns None if there are no more items in the collection.
258 </pre>
259 </div>
260
261 </body></html>