Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202305.LineItemService Class Reference

Provides methods for creating, updating and retrieving LineItem objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202305.LineItemService:
Google.Api.Ads.AdManager.v202305.ILineItemService Google.Api.Ads.AdManager.v202305.LineItemServiceInterface

Public Member Functions

 LineItemService ()
 Creates a new instance of the LineItemService class. More...
 
 LineItemService (string endpointConfigurationName)
 Creates a new instance of the LineItemService class. More...
 
 LineItemService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the LineItemService class. More...
 
 LineItemService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the LineItemService class. More...
 
 LineItemService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the LineItemService class. More...
 
virtual
Google.Api.Ads.AdManager.v202305.LineItem[] 
createLineItems (Google.Api.Ads.AdManager.v202305.LineItem[] lineItems)
 Creates new LineItem objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.LineItem[]> 
createLineItemsAsync (Google.Api.Ads.AdManager.v202305.LineItem[] lineItems)
 
virtual
Google.Api.Ads.AdManager.v202305.LineItemPage 
getLineItemsByStatement (Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 Gets a LineItemPage of LineItem objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.LineItemPage
getLineItemsByStatementAsync (Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202305.UpdateResult 
performLineItemAction (Google.Api.Ads.AdManager.v202305.LineItemAction lineItemAction, Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 Performs actions on LineItem objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.UpdateResult
performLineItemActionAsync (Google.Api.Ads.AdManager.v202305.LineItemAction lineItemAction, Google.Api.Ads.AdManager.v202305.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202305.LineItem[] 
updateLineItems (Google.Api.Ads.AdManager.v202305.LineItem[] lineItems)
 Updates the specified LineItem objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202305.LineItem[]> 
updateLineItemsAsync (Google.Api.Ads.AdManager.v202305.LineItem[] lineItems)
 

Detailed Description

Provides methods for creating, updating and retrieving LineItem objects.

Line items define the campaign. For example, line items define:

  • a budget
  • a span of time to run
  • ad unit targeting

In short, line items connect all of the elements of an ad campaign.

Line items and creatives can be associated with each other through LineItemCreativeAssociation objects. An ad unit will host a creative through both this association and the LineItem::targeting to it. The delivery of a line item depends on its priority. More information on line item priorities can be found on the Ad Manager Help Center.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202305.LineItemService.LineItemService ( )
inline

Creates a new instance of the LineItemService class.

Google.Api.Ads.AdManager.v202305.LineItemService.LineItemService ( string  endpointConfigurationName)
inline

Creates a new instance of the LineItemService class.

Google.Api.Ads.AdManager.v202305.LineItemService.LineItemService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the LineItemService class.

Google.Api.Ads.AdManager.v202305.LineItemService.LineItemService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the LineItemService class.

Google.Api.Ads.AdManager.v202305.LineItemService.LineItemService ( System.ServiceModel.Channels.Binding  binding,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the LineItemService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202305.LineItem [] Google.Api.Ads.AdManager.v202305.LineItemService.createLineItems ( Google.Api.Ads.AdManager.v202305.LineItem[]  lineItems)
inlinevirtual
virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202305.LineItem[]> Google.Api.Ads.AdManager.v202305.LineItemService.createLineItemsAsync ( Google.Api.Ads.AdManager.v202305.LineItem[]  lineItems)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202305.LineItemPage Google.Api.Ads.AdManager.v202305.LineItemService.getLineItemsByStatement ( Google.Api.Ads.AdManager.v202305.Statement  filterStatement)
inlinevirtual

Gets a LineItemPage of LineItem objects that satisfy the given Statement::query. The following fields are supported for filtering:

PQL property

Entity property

CostType

LineItem::costType

CreationDateTime

LineItem::creationDateTime

DeliveryRateType

LineItem::deliveryRateType

EndDateTime

LineItem::endDateTime

ExternalId

LineItem::externalId

Id

LineItem::id

IsMissingCreatives

LineItem::isMissingCreatives

IsSetTopBoxEnabled

LineItem::isSetTopBoxEnabled

LastModifiedDateTime

LineItem::lastModifiedDateTime

LineItemType

LineItem::lineItemType

Name

LineItem::name

OrderId

LineItem::orderId

StartDateTime

LineItem::startDateTime

Status

LineItem::status

UnitsBought

LineItem::unitsBought </tbody>

Implements Google.Api.Ads.AdManager.v202305.LineItemServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202305.LineItemPage> Google.Api.Ads.AdManager.v202305.LineItemService.getLineItemsByStatementAsync ( Google.Api.Ads.AdManager.v202305.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202305.UpdateResult Google.Api.Ads.AdManager.v202305.LineItemService.performLineItemAction ( Google.Api.Ads.AdManager.v202305.LineItemAction  lineItemAction,
Google.Api.Ads.AdManager.v202305.Statement  filterStatement 
)
inlinevirtual

Performs actions on LineItem objects that match the given Statement::query.

Implements Google.Api.Ads.AdManager.v202305.LineItemServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202305.UpdateResult> Google.Api.Ads.AdManager.v202305.LineItemService.performLineItemActionAsync ( Google.Api.Ads.AdManager.v202305.LineItemAction  lineItemAction,
Google.Api.Ads.AdManager.v202305.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202305.LineItem [] Google.Api.Ads.AdManager.v202305.LineItemService.updateLineItems ( Google.Api.Ads.AdManager.v202305.LineItem[]  lineItems)
inlinevirtual

Updates the specified LineItem objects.

Implements Google.Api.Ads.AdManager.v202305.ILineItemService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202305.LineItem[]> Google.Api.Ads.AdManager.v202305.LineItemService.updateLineItemsAsync ( Google.Api.Ads.AdManager.v202305.LineItem[]  lineItems)
inlinevirtual

The documentation for this class was generated from the following file: