You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<pclass="firstline">Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.</p>
channelId: string, Required. The ID of the parent channel to which the requested sites belong. (required)
201
204
filter: string, Allows filtering by site fields. Supported syntax: * Filter expressions for site currently can only contain at most one * restriction. * A restriction has the form of `{field} {operator} {value}`. * The operator must be `CONTAINS (:)`. * Supported fields: - `urlOrAppId` Examples: * All sites for which the URL or app ID contains "google": `urlOrAppId : "google"`
202
205
orderBy: string, Field by which to sort the list. Acceptable values are: * `urlOrAppId` (default) The default sorting order is ascending. To specify descending order for a field, a suffix " desc" should be added to the field name. Example: `urlOrAppId desc`.
203
-
pageSize: integer, Requested page size. Must be between `1` and `100`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
206
+
pageSize: integer, Requested page size. Must be between `1` and `10000`. If unspecified will default to `100`. Returns error code `INVALID_ARGUMENT` if an invalid value is specified.
204
207
pageToken: string, A token identifying a page of results the server should return. Typically, this is the value of next_page_token returned from the previous call to `ListSites` method. If not specified, the first page of results will be returned.
205
208
partnerId: string, The ID of the partner that owns the parent channel.
<pre>Replaces all of the sites under a single channel. The operation will replace the sites under a channel with the sites provided in ReplaceSitesRequest.new_sites.
245
+
246
+
Args:
247
+
advertiserId: string, The ID of the advertiser that owns the parent channel. (required)
248
+
channelId: string, Required. The ID of the parent channel whose sites will be replaced. (required)
249
+
body: object, The request body.
250
+
The object takes the form of:
251
+
252
+
{ # Request message for SiteService.ReplaceSites.
253
+
"advertiserId": "A String", # The ID of the advertiser that owns the parent channel.
254
+
"newSites": [ # The sites that will replace the existing sites assigned to the channel, specified as a list of Sites.
255
+
{ # A single site. Sites are apps or websites belonging to a channel.
256
+
"name": "A String", # Output only. The resource name of the site.
257
+
"urlOrAppId": "A String", # Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.
258
+
},
259
+
],
260
+
"partnerId": "A String", # The ID of the partner that owns the parent channel.
261
+
}
262
+
263
+
x__xgafv: string, V1 error format.
264
+
Allowed values
265
+
1 - v1 error format
266
+
2 - v2 error format
267
+
268
+
Returns:
269
+
An object of the form:
270
+
271
+
{ # Response message for SiteService.ReplaceSites.
272
+
"sites": [ # The list of sites in the channel after replacing.
273
+
{ # A single site. Sites are apps or websites belonging to a channel.
274
+
"name": "A String", # Output only. The resource name of the site.
275
+
"urlOrAppId": "A String", # Required. The app ID or URL of the site. Must be UTF-8 encoded with a maximum length of 240 bytes.
Copy file name to clipboardExpand all lines: docs/dyn/displayvideo_v1.advertisers.html
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -210,6 +210,7 @@ <h3>Method Details</h3>
210
210
},
211
211
"appDetails": { # Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. # App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`.
212
212
"appId": "A String", # Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`.
213
+
"appPlatform": "A String", # Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.
213
214
"displayName": "A String", # Output only. The display name of the app.
214
215
"negative": True or False, # Indicates if this option is being negatively targeted.
215
216
},
@@ -495,6 +496,7 @@ <h3>Method Details</h3>
495
496
},
496
497
"appDetails": { # Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. # App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`.
497
498
"appId": "A String", # Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`.
499
+
"appPlatform": "A String", # Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.
498
500
"displayName": "A String", # Output only. The display name of the app.
499
501
"negative": True or False, # Indicates if this option is being negatively targeted.
500
502
},
@@ -780,6 +782,7 @@ <h3>Method Details</h3>
780
782
},
781
783
"appDetails": { # Details for assigned app targeting option. This will be populated in the details field of an AssignedTargetingOption when targeting_type is `TARGETING_TYPE_APP`. # App details. This field will be populated when the targeting_type is `TARGETING_TYPE_APP`.
782
784
"appId": "A String", # Required. The ID of the app. Android's Play store app uses bundle ID, for example `com.google.android.gm`. Apple's App store app ID uses 9 digit string, for example `422689480`.
785
+
"appPlatform": "A String", # Indicates the platform of the targeted app. If this field is not specified, the app platform will be assumed to be mobile (i.e., Android or iOS), and we will derive the appropriate mobile platform from the app ID.
783
786
"displayName": "A String", # Output only. The display name of the app.
784
787
"negative": True or False, # Indicates if this option is being negatively targeted.
0 commit comments