Debian Codegraph @

docs/dyn/youtube_v3.thirdPartyLinks.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="youtube_v3.html">YouTube Data API v3</a> . <a href="youtube_v3.thirdPartyLinks.html">thirdPartyLinks</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="#delete">delete(linkingToken, type, externalChannelId=None, part=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes a resource.</p>
83 <p class="toc_element">
84 <code><a href="#insert">insert(part, body=None, externalChannelId=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Inserts a new resource into this collection.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(part, externalChannelId=None, linkingToken=None, type=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Retrieves a list of resources, possibly filtered.</p>
89 <p class="toc_element">
90 <code><a href="#update">update(part, body=None, externalChannelId=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Updates an existing resource.</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="delete">delete(linkingToken, type, externalChannelId=None, part=None, x__xgafv=None)</code>
100 <pre>Deletes a resource.
101
102 Args:
103 linkingToken: string, Delete the partner links with the given linking token. (required)
104 type: string, Type of the link to be deleted. (required)
105 Allowed values
106 linkUnspecified -
107 channelToStoreLink - A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube.
108 channelToAffiliateProgramLink - A link that is connecting (or about to connect) a channel with an affiliate program of a partner to enable that channel to earn commissions from that partner through affiliate links.
109 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
110 part: string, Do not use. Required for compatibility. (repeated)
111 x__xgafv: string, V1 error format.
112 Allowed values
113 1 - v1 error format
114 2 - v2 error format
115 </pre>
116 </div>
117
118 <div class="method">
119 <code class="details" id="insert">insert(part, body=None, externalChannelId=None, x__xgafv=None)</code>
120 <pre>Inserts a new resource into this collection.
121
122 Args:
123 part: string, The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. (required) (repeated)
124 body: object, The request body.
125 The object takes the form of:
126
127 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
128 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
129 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
130 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
131 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
132 &quot;channelToAffiliateProgramLink&quot;: { # Information specific to a creator in an affiliate program linked to a YouTube channel. # Information specific to a link between a channel and an affiliate program of a partner.
133 &quot;merchantId&quot;: &quot;A String&quot;, # Required. Google Merchant Center ID of the partner.
134 &quot;programStatus&quot;: &quot;A String&quot;, # Required. Affiliate program status.
135 &quot;statusUpdateReason&quot;: &quot;A String&quot;, # Optional. Reason for the last update of the affiliate program status.
136 &quot;statusUpdateTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the affiliate program status was last updated.
137 },
138 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
139 &quot;billingDetails&quot;: { # Information specific to billing. # Information specific to billing (read-only).
140 &quot;billingStatus&quot;: &quot;A String&quot;, # The current billing profile status.
141 },
142 &quot;merchantAffiliateProgramDetails&quot;: { # Information specific to merchant affiliate program. # Information specific to merchant affiliate program (read-only).
143 &quot;status&quot;: &quot;A String&quot;, # The current merchant affiliate program status.
144 },
145 &quot;merchantId&quot;: &quot;A String&quot;, # Google Merchant Center id of the store.
146 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
147 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
148 },
149 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
150 },
151 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
152 &quot;linkStatus&quot;: &quot;A String&quot;,
153 },
154 }
155
156 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
157 x__xgafv: string, V1 error format.
158 Allowed values
159 1 - v1 error format
160 2 - v2 error format
161
162 Returns:
163 An object of the form:
164
165 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
166 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
167 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
168 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
169 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
170 &quot;channelToAffiliateProgramLink&quot;: { # Information specific to a creator in an affiliate program linked to a YouTube channel. # Information specific to a link between a channel and an affiliate program of a partner.
171 &quot;merchantId&quot;: &quot;A String&quot;, # Required. Google Merchant Center ID of the partner.
172 &quot;programStatus&quot;: &quot;A String&quot;, # Required. Affiliate program status.
173 &quot;statusUpdateReason&quot;: &quot;A String&quot;, # Optional. Reason for the last update of the affiliate program status.
174 &quot;statusUpdateTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the affiliate program status was last updated.
175 },
176 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
177 &quot;billingDetails&quot;: { # Information specific to billing. # Information specific to billing (read-only).
178 &quot;billingStatus&quot;: &quot;A String&quot;, # The current billing profile status.
179 },
180 &quot;merchantAffiliateProgramDetails&quot;: { # Information specific to merchant affiliate program. # Information specific to merchant affiliate program (read-only).
181 &quot;status&quot;: &quot;A String&quot;, # The current merchant affiliate program status.
182 },
183 &quot;merchantId&quot;: &quot;A String&quot;, # Google Merchant Center id of the store.
184 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
185 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
186 },
187 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
188 },
189 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
190 &quot;linkStatus&quot;: &quot;A String&quot;,
191 },
192 }</pre>
193 </div>
194
195 <div class="method">
196 <code class="details" id="list">list(part, externalChannelId=None, linkingToken=None, type=None, x__xgafv=None)</code>
197 <pre>Retrieves a list of resources, possibly filtered.
198
199 Args:
200 part: string, The *part* parameter specifies the thirdPartyLink resource parts that the API response will include. Supported values are linkingToken, status, and snippet. (required) (repeated)
201 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
202 linkingToken: string, Get a third party link with the given linking token.
203 type: string, Get a third party link of the given type.
204 Allowed values
205 linkUnspecified -
206 channelToStoreLink - A link that is connecting (or about to connect) a channel with a store on a merchandising platform in order to enable retail commerce capabilities for that channel on YouTube.
207 channelToAffiliateProgramLink - A link that is connecting (or about to connect) a channel with an affiliate program of a partner to enable that channel to earn commissions from that partner through affiliate links.
208 x__xgafv: string, V1 error format.
209 Allowed values
210 1 - v1 error format
211 2 - v2 error format
212
213 Returns:
214 An object of the form:
215
216 {
217 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource.
218 &quot;items&quot;: [
219 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
220 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
221 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
222 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
223 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
224 &quot;channelToAffiliateProgramLink&quot;: { # Information specific to a creator in an affiliate program linked to a YouTube channel. # Information specific to a link between a channel and an affiliate program of a partner.
225 &quot;merchantId&quot;: &quot;A String&quot;, # Required. Google Merchant Center ID of the partner.
226 &quot;programStatus&quot;: &quot;A String&quot;, # Required. Affiliate program status.
227 &quot;statusUpdateReason&quot;: &quot;A String&quot;, # Optional. Reason for the last update of the affiliate program status.
228 &quot;statusUpdateTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the affiliate program status was last updated.
229 },
230 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
231 &quot;billingDetails&quot;: { # Information specific to billing. # Information specific to billing (read-only).
232 &quot;billingStatus&quot;: &quot;A String&quot;, # The current billing profile status.
233 },
234 &quot;merchantAffiliateProgramDetails&quot;: { # Information specific to merchant affiliate program. # Information specific to merchant affiliate program (read-only).
235 &quot;status&quot;: &quot;A String&quot;, # The current merchant affiliate program status.
236 },
237 &quot;merchantId&quot;: &quot;A String&quot;, # Google Merchant Center id of the store.
238 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
239 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
240 },
241 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
242 },
243 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
244 &quot;linkStatus&quot;: &quot;A String&quot;,
245 },
246 },
247 ],
248 &quot;kind&quot;: &quot;youtube#thirdPartyLinkListResponse&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLinkListResponse&quot;.
249 }</pre>
250 </div>
251
252 <div class="method">
253 <code class="details" id="update">update(part, body=None, externalChannelId=None, x__xgafv=None)</code>
254 <pre>Updates an existing resource.
255
256 Args:
257 part: string, The *part* parameter specifies the thirdPartyLink resource parts that the API request and response will include. Supported values are linkingToken, status, and snippet. (required) (repeated)
258 body: object, The request body.
259 The object takes the form of:
260
261 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
262 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
263 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
264 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
265 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
266 &quot;channelToAffiliateProgramLink&quot;: { # Information specific to a creator in an affiliate program linked to a YouTube channel. # Information specific to a link between a channel and an affiliate program of a partner.
267 &quot;merchantId&quot;: &quot;A String&quot;, # Required. Google Merchant Center ID of the partner.
268 &quot;programStatus&quot;: &quot;A String&quot;, # Required. Affiliate program status.
269 &quot;statusUpdateReason&quot;: &quot;A String&quot;, # Optional. Reason for the last update of the affiliate program status.
270 &quot;statusUpdateTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the affiliate program status was last updated.
271 },
272 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
273 &quot;billingDetails&quot;: { # Information specific to billing. # Information specific to billing (read-only).
274 &quot;billingStatus&quot;: &quot;A String&quot;, # The current billing profile status.
275 },
276 &quot;merchantAffiliateProgramDetails&quot;: { # Information specific to merchant affiliate program. # Information specific to merchant affiliate program (read-only).
277 &quot;status&quot;: &quot;A String&quot;, # The current merchant affiliate program status.
278 },
279 &quot;merchantId&quot;: &quot;A String&quot;, # Google Merchant Center id of the store.
280 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
281 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
282 },
283 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
284 },
285 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
286 &quot;linkStatus&quot;: &quot;A String&quot;,
287 },
288 }
289
290 externalChannelId: string, Channel ID to which changes should be applied, for delegation.
291 x__xgafv: string, V1 error format.
292 Allowed values
293 1 - v1 error format
294 2 - v2 error format
295
296 Returns:
297 An object of the form:
298
299 { # A *third party account link* resource represents a link between a YouTube account or a channel and an account on a third-party service.
300 &quot;etag&quot;: &quot;A String&quot;, # Etag of this resource
301 &quot;kind&quot;: &quot;youtube#thirdPartyLink&quot;, # Identifies what kind of resource this is. Value: the fixed string &quot;youtube#thirdPartyLink&quot;.
302 &quot;linkingToken&quot;: &quot;A String&quot;, # The linking_token identifies a YouTube account and channel with which the third party account is linked.
303 &quot;snippet&quot;: { # Basic information about a third party account link, including its type and type-specific information. # The snippet object contains basic details about the third- party account link.
304 &quot;channelToAffiliateProgramLink&quot;: { # Information specific to a creator in an affiliate program linked to a YouTube channel. # Information specific to a link between a channel and an affiliate program of a partner.
305 &quot;merchantId&quot;: &quot;A String&quot;, # Required. Google Merchant Center ID of the partner.
306 &quot;programStatus&quot;: &quot;A String&quot;, # Required. Affiliate program status.
307 &quot;statusUpdateReason&quot;: &quot;A String&quot;, # Optional. Reason for the last update of the affiliate program status.
308 &quot;statusUpdateTime&quot;: &quot;A String&quot;, # Optional. Timestamp when the affiliate program status was last updated.
309 },
310 &quot;channelToStoreLink&quot;: { # Information specific to a store on a merchandising platform linked to a YouTube channel. # Information specific to a link between a channel and a store on a merchandising platform.
311 &quot;billingDetails&quot;: { # Information specific to billing. # Information specific to billing (read-only).
312 &quot;billingStatus&quot;: &quot;A String&quot;, # The current billing profile status.
313 },
314 &quot;merchantAffiliateProgramDetails&quot;: { # Information specific to merchant affiliate program. # Information specific to merchant affiliate program (read-only).
315 &quot;status&quot;: &quot;A String&quot;, # The current merchant affiliate program status.
316 },
317 &quot;merchantId&quot;: &quot;A String&quot;, # Google Merchant Center id of the store.
318 &quot;storeName&quot;: &quot;A String&quot;, # Name of the store.
319 &quot;storeUrl&quot;: &quot;A String&quot;, # Landing page of the store.
320 },
321 &quot;type&quot;: &quot;A String&quot;, # Type of the link named after the entities that are being linked.
322 },
323 &quot;status&quot;: { # The third-party link status object contains information about the status of the link. # The status object contains information about the status of the link.
324 &quot;linkStatus&quot;: &quot;A String&quot;,
325 },
326 }</pre>
327 </div>
328
329 </body></html>