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

Provides operations for creating, updating and retrieving Company objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202208.CompanyService:
Google.Api.Ads.AdManager.v202208.ICompanyService Google.Api.Ads.AdManager.v202208.CompanyServiceInterface

Public Member Functions

 CompanyService ()
 Creates a new instance of the CompanyService class. More...
 
 CompanyService (string endpointConfigurationName)
 Creates a new instance of the CompanyService class. More...
 
 CompanyService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the CompanyService class. More...
 
 CompanyService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CompanyService class. More...
 
 CompanyService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the CompanyService class. More...
 
virtual
Google.Api.Ads.AdManager.v202208.Company[] 
createCompanies (Google.Api.Ads.AdManager.v202208.Company[] companies)
 Creates new Company objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Company[]> 
createCompaniesAsync (Google.Api.Ads.AdManager.v202208.Company[] companies)
 
virtual
Google.Api.Ads.AdManager.v202208.CompanyPage 
getCompaniesByStatement (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Gets a CompanyPage of Company objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.CompanyPage
getCompaniesByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.UpdateResult 
performCompanyAction (Google.Api.Ads.AdManager.v202208.CompanyAction companyAction, Google.Api.Ads.AdManager.v202208.Statement statement)
 Performs actions on Company objects that match the given More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.UpdateResult
performCompanyActionAsync (Google.Api.Ads.AdManager.v202208.CompanyAction companyAction, Google.Api.Ads.AdManager.v202208.Statement statement)
 
virtual
Google.Api.Ads.AdManager.v202208.Company[] 
updateCompanies (Google.Api.Ads.AdManager.v202208.Company[] companies)
 Updates the specified Company objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Company[]> 
updateCompaniesAsync (Google.Api.Ads.AdManager.v202208.Company[] companies)
 

Detailed Description

Provides operations for creating, updating and retrieving Company objects.

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202208.CompanyService.CompanyService ( )
inline

Creates a new instance of the CompanyService class.

Google.Api.Ads.AdManager.v202208.CompanyService.CompanyService ( string  endpointConfigurationName)
inline

Creates a new instance of the CompanyService class.

Google.Api.Ads.AdManager.v202208.CompanyService.CompanyService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the CompanyService class.

Google.Api.Ads.AdManager.v202208.CompanyService.CompanyService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the CompanyService class.

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

Creates a new instance of the CompanyService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202208.Company [] Google.Api.Ads.AdManager.v202208.CompanyService.createCompanies ( Google.Api.Ads.AdManager.v202208.Company[]  companies)
inlinevirtual

Creates new Company objects.

Parameters
companiesthe companies to create
Returns
the created companies with their IDs filled in

Implements Google.Api.Ads.AdManager.v202208.ICompanyService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Company[]> Google.Api.Ads.AdManager.v202208.CompanyService.createCompaniesAsync ( Google.Api.Ads.AdManager.v202208.Company[]  companies)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.CompanyPage Google.Api.Ads.AdManager.v202208.CompanyService.getCompaniesByStatement ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
id Company::id
name Company::name
type Company::type
lastModifiedDateTime Company::lastModifiedDateTime
Parameters
filterStatementa Publisher Query Language statement used to filter a set of companies
Returns
the companies that match the given filter

Implements Google.Api.Ads.AdManager.v202208.CompanyServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.CompanyPage> Google.Api.Ads.AdManager.v202208.CompanyService.getCompaniesByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.UpdateResult Google.Api.Ads.AdManager.v202208.CompanyService.performCompanyAction ( Google.Api.Ads.AdManager.v202208.CompanyAction  companyAction,
Google.Api.Ads.AdManager.v202208.Statement  statement 
)
inlinevirtual

Performs actions on Company objects that match the given

Statement.

Parameters
companyActionthe action to perform
statementa PQL statement used to filter companies
Returns
the result of the action performed

ApiException

Implements Google.Api.Ads.AdManager.v202208.CompanyServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.UpdateResult> Google.Api.Ads.AdManager.v202208.CompanyService.performCompanyActionAsync ( Google.Api.Ads.AdManager.v202208.CompanyAction  companyAction,
Google.Api.Ads.AdManager.v202208.Statement  statement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.Company [] Google.Api.Ads.AdManager.v202208.CompanyService.updateCompanies ( Google.Api.Ads.AdManager.v202208.Company[]  companies)
inlinevirtual

Updates the specified Company objects.

Parameters
companiesthe companies to update
Returns
the updated companies

Implements Google.Api.Ads.AdManager.v202208.ICompanyService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Company[]> Google.Api.Ads.AdManager.v202208.CompanyService.updateCompaniesAsync ( Google.Api.Ads.AdManager.v202208.Company[]  companies)
inlinevirtual

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