Show / Hide Table of Contents

Class AdvertisersResource.AdGroupAdsResource

The "adGroupAds" collection of methods.

Inheritance
object
AdvertisersResource.AdGroupAdsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.DisplayVideo.v3
Assembly: Google.Apis.DisplayVideo.v3.dll
Syntax
public class AdvertisersResource.AdGroupAdsResource

Constructors

AdGroupAdsResource(IClientService)

Constructs a new resource.

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

Methods

Create(AdGroupAd, long)

Creates an ad group ad.

Declaration
public virtual AdvertisersResource.AdGroupAdsResource.CreateRequest Create(AdGroupAd body, long advertiserId)
Parameters
Type Name Description
AdGroupAd body

The body of the request.

long advertiserId

Output only. The unique ID of the advertiser the ad belongs to.

Returns
Type Description
AdvertisersResource.AdGroupAdsResource.CreateRequest

Delete(long, long)

Deletes an ad group ad.

Declaration
public virtual AdvertisersResource.AdGroupAdsResource.DeleteRequest Delete(long advertiserId, long adGroupAdId)
Parameters
Type Name Description
long advertiserId

Required. The ID of the advertiser the ad belongs to.

long adGroupAdId

Required. The ID of the ad to delete.

Returns
Type Description
AdvertisersResource.AdGroupAdsResource.DeleteRequest

Get(long, long)

Gets an ad group ad.

Declaration
public virtual AdvertisersResource.AdGroupAdsResource.GetRequest Get(long advertiserId, long adGroupAdId)
Parameters
Type Name Description
long advertiserId

Required. The ID of the advertiser this ad group ad belongs to.

long adGroupAdId

Required. The ID of the ad to fetch.

Returns
Type Description
AdvertisersResource.AdGroupAdsResource.GetRequest

List(long)

Lists ad group ads.

Declaration
public virtual AdvertisersResource.AdGroupAdsResource.ListRequest List(long advertiserId)
Parameters
Type Name Description
long advertiserId

Required. The ID of the advertiser the ads belong to.

Returns
Type Description
AdvertisersResource.AdGroupAdsResource.ListRequest

Patch(AdGroupAd, long, long)

Updates an ad group ad.

Declaration
public virtual AdvertisersResource.AdGroupAdsResource.PatchRequest Patch(AdGroupAd body, long advertiserId, long adGroupAdId)
Parameters
Type Name Description
AdGroupAd body

The body of the request.

long advertiserId

Output only. The unique ID of the advertiser the ad belongs to.

long adGroupAdId

Output only. The unique ID of the ad. Assigned by the system.

Returns
Type Description
AdvertisersResource.AdGroupAdsResource.PatchRequest
In this article
Back to top Generated by DocFX