Class AccountsResource.MediationGroupsResource.PatchRequest
Update the specified mediation group under the specified AdMob account. This method has limited access. If you see a 403 permission denied error, please reach out to your account manager for access.
Inheritance
Inherited Members
Namespace: Google.Apis.AdMob.v1beta
Assembly: Google.Apis.AdMob.v1beta.dll
Syntax
public class AccountsResource.MediationGroupsResource.PatchRequest : AdMobBaseServiceRequest<MediationGroup>, IClientServiceRequest<MediationGroup>, IClientServiceRequest
Constructors
PatchRequest(IClientService, MediationGroup, string)
Constructs a new Patch request.
Declaration
public PatchRequest(IClientService service, MediationGroup body, string name)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
MediationGroup | body | |
string | name |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Name
Resource name for this mediation group. Format is: accounts/{publisher_id}/mediationGroups/{mediation_group_id} Example: accounts/pub-9876543210987654/mediationGroups/0123456789
Declaration
[RequestParameter("name", RequestParameterType.Path)]
public virtual string Name { get; }
Property Value
Type | Description |
---|---|
string |
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
UpdateMask
List of mediation group fields to be updated. Updates to repeated fields such as items in a list will fully replace the existing value(s) with the new value(s). Updates to individual values in a map can be done by indexing by the key. The following field masks are supported for mediation group updates: - "mediation_group_lines["{mediation_group_line_id}"]" clang-format off - "mediation_group_lines["{mediation_group_line_id}"].ad_unit_mappings["{ad_unit_id}"]" clang-format on - "mediation_group_lines["{mediation_group_line_id}"].cpm_micros" - "mediation_group_lines["{mediation_group_line_id}"].cpm_mode" - "mediation_group_lines["{mediation_group_line_id}"].state" - "mediation_group_lines["{mediation_group_line_id}"].display_name" - "targeting.ad_unit_ids" To update a mediation group with a new mediation group line, use a distinct negative number for the "mediation_group_line_id". For Example: update_mask { paths: "mediation_group_lines["123456789012345"].cpm_micros" }
Declaration
[RequestParameter("updateMask", RequestParameterType.Query)]
public virtual object UpdateMask { get; set; }
Property Value
Type | Description |
---|---|
object |
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
InitParameters()
Initializes Patch parameter list.
Declaration
protected override void InitParameters()