Class BiddersResource.PretargetingConfigsResource
The "pretargetingConfigs" collection of methods.
Inherited Members
Namespace: Google.Apis.RealTimeBidding.v1
Assembly: Google.Apis.RealTimeBidding.v1.dll
Syntax
public class BiddersResource.PretargetingConfigsResource
Constructors
PretargetingConfigsResource(IClientService)
Constructs a new resource.
Declaration
public PretargetingConfigsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Activate(ActivatePretargetingConfigRequest, string)
Activates a pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.ActivateRequest Activate(ActivatePretargetingConfigRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
ActivatePretargetingConfigRequest | body | The body of the request. |
string | name | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.ActivateRequest |
AddTargetedApps(AddTargetedAppsRequest, string)
Adds targeted apps to the pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.AddTargetedAppsRequest AddTargetedApps(AddTargetedAppsRequest body, string pretargetingConfig)
Parameters
Type | Name | Description |
---|---|---|
AddTargetedAppsRequest | body | The body of the request. |
string | pretargetingConfig | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.AddTargetedAppsRequest |
AddTargetedPublishers(AddTargetedPublishersRequest, string)
Adds targeted publishers to the pretargeting config.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.AddTargetedPublishersRequest AddTargetedPublishers(AddTargetedPublishersRequest body, string pretargetingConfig)
Parameters
Type | Name | Description |
---|---|---|
AddTargetedPublishersRequest | body | The body of the request. |
string | pretargetingConfig | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.AddTargetedPublishersRequest |
AddTargetedSites(AddTargetedSitesRequest, string)
Adds targeted sites to the pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.AddTargetedSitesRequest AddTargetedSites(AddTargetedSitesRequest body, string pretargetingConfig)
Parameters
Type | Name | Description |
---|---|---|
AddTargetedSitesRequest | body | The body of the request. |
string | pretargetingConfig | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.AddTargetedSitesRequest |
Create(PretargetingConfig, string)
Creates a pretargeting configuration. A pretargeting configuration's state (PretargetingConfig.state) is active upon creation, and it will start to affect traffic shortly after. A bidder may create a maximum of 10 pretargeting configurations. Attempts to exceed this maximum results in a 400 bad request error.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.CreateRequest Create(PretargetingConfig body, string parent)
Parameters
Type | Name | Description |
---|---|---|
PretargetingConfig | body | The body of the request. |
string | parent | Required. Name of the bidder to create the pretargeting configuration for. Format: bidders/{bidderAccountId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.CreateRequest |
Delete(string)
Deletes a pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. The name of the pretargeting configuration to delete. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.DeleteRequest |
Get(string)
Gets a pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Name of the pretargeting configuration to get. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.GetRequest |
List(string)
Lists all pretargeting configurations for a single bidder.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Name of the bidder whose pretargeting configurations will be listed. Format: bidders/{bidderAccountId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.ListRequest |
Patch(PretargetingConfig, string)
Updates a pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.PatchRequest Patch(PretargetingConfig body, string name)
Parameters
Type | Name | Description |
---|---|---|
PretargetingConfig | body | The body of the request. |
string | name | Output only. Name of the pretargeting configuration that must follow the pattern
|
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.PatchRequest |
RemoveTargetedApps(RemoveTargetedAppsRequest, string)
Removes targeted apps from the pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.RemoveTargetedAppsRequest RemoveTargetedApps(RemoveTargetedAppsRequest body, string pretargetingConfig)
Parameters
Type | Name | Description |
---|---|---|
RemoveTargetedAppsRequest | body | The body of the request. |
string | pretargetingConfig | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.RemoveTargetedAppsRequest |
RemoveTargetedPublishers(RemoveTargetedPublishersRequest, string)
Removes targeted publishers from the pretargeting config.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.RemoveTargetedPublishersRequest RemoveTargetedPublishers(RemoveTargetedPublishersRequest body, string pretargetingConfig)
Parameters
Type | Name | Description |
---|---|---|
RemoveTargetedPublishersRequest | body | The body of the request. |
string | pretargetingConfig | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.RemoveTargetedPublishersRequest |
RemoveTargetedSites(RemoveTargetedSitesRequest, string)
Removes targeted sites from the pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.RemoveTargetedSitesRequest RemoveTargetedSites(RemoveTargetedSitesRequest body, string pretargetingConfig)
Parameters
Type | Name | Description |
---|---|---|
RemoveTargetedSitesRequest | body | The body of the request. |
string | pretargetingConfig | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.RemoveTargetedSitesRequest |
Suspend(SuspendPretargetingConfigRequest, string)
Suspends a pretargeting configuration.
Declaration
public virtual BiddersResource.PretargetingConfigsResource.SuspendRequest Suspend(SuspendPretargetingConfigRequest body, string name)
Parameters
Type | Name | Description |
---|---|---|
SuspendPretargetingConfigRequest | body | The body of the request. |
string | name | Required. The name of the pretargeting configuration. Format: bidders/{bidderAccountId}/pretargetingConfig/{configId} |
Returns
Type | Description |
---|---|
BiddersResource.PretargetingConfigsResource.SuspendRequest |