Class PropertiesResource.AdSenseLinksResource
The "adSenseLinks" collection of methods.
Inherited Members
Namespace: Google.Apis.GoogleAnalyticsAdmin.v1alpha
Assembly: Google.Apis.GoogleAnalyticsAdmin.v1alpha.dll
Syntax
public class PropertiesResource.AdSenseLinksResource
Constructors
AdSenseLinksResource(IClientService)
Constructs a new resource.
Declaration
public AdSenseLinksResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Methods
Create(GoogleAnalyticsAdminV1alphaAdSenseLink, string)
Creates an AdSenseLink.
Declaration
public virtual PropertiesResource.AdSenseLinksResource.CreateRequest Create(GoogleAnalyticsAdminV1alphaAdSenseLink body, string parent)
Parameters
Type | Name | Description |
---|---|---|
GoogleAnalyticsAdminV1alphaAdSenseLink | body | The body of the request. |
string | parent | Required. The property for which to create an AdSense Link. Format: properties/{propertyId} Example: properties/1234 |
Returns
Type | Description |
---|---|
PropertiesResource.AdSenseLinksResource.CreateRequest |
Delete(string)
Deletes an AdSenseLink.
Declaration
public virtual PropertiesResource.AdSenseLinksResource.DeleteRequest Delete(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link to be deleted. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
Returns
Type | Description |
---|---|
PropertiesResource.AdSenseLinksResource.DeleteRequest |
Get(string)
Looks up a single AdSenseLink.
Declaration
public virtual PropertiesResource.AdSenseLinksResource.GetRequest Get(string name)
Parameters
Type | Name | Description |
---|---|---|
string | name | Required. Unique identifier for the AdSense Link requested. Format: properties/{propertyId}/adSenseLinks/{linkId} Example: properties/1234/adSenseLinks/5678 |
Returns
Type | Description |
---|---|
PropertiesResource.AdSenseLinksResource.GetRequest |
List(string)
Lists AdSenseLinks on a property.
Declaration
public virtual PropertiesResource.AdSenseLinksResource.ListRequest List(string parent)
Parameters
Type | Name | Description |
---|---|---|
string | parent | Required. Resource name of the parent property. Format: properties/{propertyId} Example: properties/1234 |
Returns
Type | Description |
---|---|
PropertiesResource.AdSenseLinksResource.ListRequest |