Show / Hide Table of Contents

Class AdsResource

The "ads" collection of methods.

Inheritance
object
AdsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Dfareporting.v3_5
Assembly: Google.Apis.Dfareporting.v3_5.dll
Syntax
public class AdsResource

Constructors

AdsResource(IClientService)

Constructs a new resource.

Declaration
public AdsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Get(long, long)

Gets one ad by ID.

Declaration
public virtual AdsResource.GetRequest Get(long profileId, long id)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

long id

Ad ID.

Returns
Type Description
AdsResource.GetRequest

Insert(Ad, long)

Inserts a new ad.

Declaration
public virtual AdsResource.InsertRequest Insert(Ad body, long profileId)
Parameters
Type Name Description
Ad body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
AdsResource.InsertRequest

List(long)

Retrieves a list of ads, possibly filtered. This method supports paging.

Declaration
public virtual AdsResource.ListRequest List(long profileId)
Parameters
Type Name Description
long profileId

User profile ID associated with this request.

Returns
Type Description
AdsResource.ListRequest

Patch(Ad, long, long)

Updates an existing ad. This method supports patch semantics.

Declaration
public virtual AdsResource.PatchRequest Patch(Ad body, long profileId, long id)
Parameters
Type Name Description
Ad body

The body of the request.

long profileId

User profile ID associated with this request.

long id

Ad ID.

Returns
Type Description
AdsResource.PatchRequest

Update(Ad, long)

Updates an existing ad.

Declaration
public virtual AdsResource.UpdateRequest Update(Ad body, long profileId)
Parameters
Type Name Description
Ad body

The body of the request.

long profileId

User profile ID associated with this request.

Returns
Type Description
AdsResource.UpdateRequest
In This Article
Back to top Generated by DocFX