Ads API .NET library
|
Use this service to manage ads. Available ad types are subclasses of the base Ad type and are shown in the AdGroupAd.ad documentation. Here are some of the commonly used ad types: More...
Public Member Functions | |
AdGroupAdService () | |
Creates a new instance of the AdGroupAdService class. More... | |
AdGroupAdService (string endpointConfigurationName) | |
Creates a new instance of the AdGroupAdService class. More... | |
AdGroupAdService (string endpointConfigurationName, string remoteAddress) | |
Creates a new instance of the AdGroupAdService class. More... | |
AdGroupAdService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress) | |
Creates a new instance of the AdGroupAdService class. More... | |
AdGroupAdService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) | |
Creates a new instance of the AdGroupAdService class. More... | |
virtual Google.Api.Ads.AdWords.v201809.AdGroupAdPage | get (Google.Api.Ads.AdWords.v201809.Selector serviceSelector) |
Returns a list of AdGroupAds. AdGroupAds that had been removed are not returned by default. More... | |
virtual System.Threading.Tasks.Task < Google.Api.Ads.AdWords.v201809.AdGroupAdPage > | getAsync (Google.Api.Ads.AdWords.v201809.Selector serviceSelector) |
virtual Google.Api.Ads.AdWords.v201809.AdGroupAdReturnValue | mutate (Google.Api.Ads.AdWords.v201809.AdGroupAdOperation[] operations) |
Applies the list of mutate operations (ie. add, set, remove): More... | |
virtual System.Threading.Tasks.Task < Google.Api.Ads.AdWords.v201809.AdGroupAdReturnValue > | mutateAsync (Google.Api.Ads.AdWords.v201809.AdGroupAdOperation[] operations) |
virtual Google.Api.Ads.AdWords.v201809.AdGroupAdLabelReturnValue | mutateLabel (Google.Api.Ads.AdWords.v201809.AdGroupAdLabelOperation[] operations) |
Adds labels to the AdGroupAd or removes labels from the AdGroupAd. More... | |
virtual System.Threading.Tasks.Task < Google.Api.Ads.AdWords.v201809.AdGroupAdLabelReturnValue > | mutateLabelAsync (Google.Api.Ads.AdWords.v201809.AdGroupAdLabelOperation[] operations) |
virtual Google.Api.Ads.AdWords.v201809.AdGroupAdPage | query (string query1) |
Returns a list of AdGroupAds based on the query. More... | |
virtual System.Threading.Tasks.Task < Google.Api.Ads.AdWords.v201809.AdGroupAdPage > | queryAsync (string query) |
Use this service to manage ads. Available ad types are subclasses of the base Ad type and are shown in the AdGroupAd.ad documentation. Here are some of the commonly used ad types:
|
inline |
Creates a new instance of the AdGroupAdService class.
|
inline |
Creates a new instance of the AdGroupAdService class.
|
inline |
Creates a new instance of the AdGroupAdService class.
|
inline |
Creates a new instance of the AdGroupAdService class.
|
inline |
Creates a new instance of the AdGroupAdService class.
|
inlinevirtual |
Returns a list of AdGroupAds. AdGroupAds that had been removed are not returned by default.
serviceSelector | The selector specifying the AdGroupAds to return. |
AdWordsApiException | when there is at least one error with the request. |
Implements Google.Api.Ads.AdWords.v201809.AdGroupAdServiceInterface.
|
inlinevirtual |
|
inlinevirtual |
Applies the list of mutate operations (ie. add, set, remove):
Add - Creates a new ad group ad. The adGroupId
must reference an existing ad group. The child Ad
must be sufficiently specified by constructing a concrete ad type (such as TextAd
) and setting its fields accordingly.
Set - Updates an ad group ad. Except for status
, ad group ad fields are not mutable. Status updates are straightforward - the status of the ad group ad is updated as specified. If any other field has changed, it will be ignored. If you want to change any of the fields other than status, you must make a new ad and then remove the old one.
Remove - Removes the link between the specified AdGroup and Ad.
operations | The operations to apply. |
Implements Google.Api.Ads.AdWords.v201809.IAdGroupAdService.
|
inlinevirtual |
Implements Google.Api.Ads.AdWords.v201809.IAdGroupAdService.
|
inlinevirtual |
Adds labels to the AdGroupAd or removes labels from the AdGroupAd.
Add - Apply an existing label to an existing ad group ad. The adGroupId
and adId
must reference an existing ad group ad. The labelId
must reference an existing label.
Remove - Removes the link between the specified ad group ad and label.
operations | The operations to apply. |
AdWordsApiException | when there are one or more errors with the request. |
Implements Google.Api.Ads.AdWords.v201809.IAdGroupAdService.
|
inlinevirtual |
Implements Google.Api.Ads.AdWords.v201809.IAdGroupAdService.
|
inlinevirtual |
Returns a list of AdGroupAds based on the query.
query1 | The SQL-like AWQL query string. |
AdWordsApiException | if problems occur while parsing the query or fetching AdGroupAds. |
Implements Google.Api.Ads.AdWords.v201809.AdGroupAdServiceInterface.
|
inlinevirtual |