Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202108.SiteService Class Reference
Inheritance diagram for Google.Api.Ads.AdManager.v202108.SiteService:
Google.Api.Ads.AdManager.v202108.ISiteService Google.Api.Ads.AdManager.v202108.SiteServiceInterface

Public Member Functions

 SiteService ()
 Creates a new instance of the SiteService class. More...
 
 SiteService (string endpointConfigurationName)
 Creates a new instance of the SiteService class. More...
 
 SiteService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the SiteService class. More...
 
 SiteService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the SiteService class. More...
 
 SiteService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the SiteService class. More...
 
virtual
Google.Api.Ads.AdManager.v202108.Site[] 
createSites (Google.Api.Ads.AdManager.v202108.Site[] sites)
 Creates new Site objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.Site[]> 
createSitesAsync (Google.Api.Ads.AdManager.v202108.Site[] sites)
 
virtual
Google.Api.Ads.AdManager.v202108.SitePage 
getSitesByStatement (Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 Gets a SitePage of Site objects that satisfy the given Statement::query. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.SitePage
getSitesByStatementAsync (Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202108.UpdateResult 
performSiteAction (Google.Api.Ads.AdManager.v202108.SiteAction siteAction, Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 Performs actions on Site objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.UpdateResult
performSiteActionAsync (Google.Api.Ads.AdManager.v202108.SiteAction siteAction, Google.Api.Ads.AdManager.v202108.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202108.Site[] 
updateSites (Google.Api.Ads.AdManager.v202108.Site[] sites)
 Updates the specified Site objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202108.Site[]> 
updateSitesAsync (Google.Api.Ads.AdManager.v202108.Site[] sites)
 

Constructor & Destructor Documentation

Google.Api.Ads.AdManager.v202108.SiteService.SiteService ( )
inline

Creates a new instance of the SiteService class.

Google.Api.Ads.AdManager.v202108.SiteService.SiteService ( string  endpointConfigurationName)
inline

Creates a new instance of the SiteService class.

Google.Api.Ads.AdManager.v202108.SiteService.SiteService ( string  endpointConfigurationName,
string  remoteAddress 
)
inline

Creates a new instance of the SiteService class.

Google.Api.Ads.AdManager.v202108.SiteService.SiteService ( string  endpointConfigurationName,
System.ServiceModel.EndpointAddress  remoteAddress 
)
inline

Creates a new instance of the SiteService class.

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

Creates a new instance of the SiteService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202108.Site [] Google.Api.Ads.AdManager.v202108.SiteService.createSites ( Google.Api.Ads.AdManager.v202108.Site[]  sites)
inlinevirtual

Creates new Site objects.

Parameters
sitesthe sites to create
Returns
the created sites with their IDs filled in

Implements Google.Api.Ads.AdManager.v202108.ISiteService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.Site[]> Google.Api.Ads.AdManager.v202108.SiteService.createSitesAsync ( Google.Api.Ads.AdManager.v202108.Site[]  sites)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202108.SitePage Google.Api.Ads.AdManager.v202108.SiteService.getSitesByStatement ( Google.Api.Ads.AdManager.v202108.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
id Site::id
url Site::url
childNetworkCode Site::childNetworkCode
approvalStatus Site::approvalStatus
active Site::active
Parameters
filterStatementa Publisher Query Language statement used to filter a set of sites
Returns
the sites that match the given filter

Implements Google.Api.Ads.AdManager.v202108.SiteServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.SitePage> Google.Api.Ads.AdManager.v202108.SiteService.getSitesByStatementAsync ( Google.Api.Ads.AdManager.v202108.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202108.UpdateResult Google.Api.Ads.AdManager.v202108.SiteService.performSiteAction ( Google.Api.Ads.AdManager.v202108.SiteAction  siteAction,
Google.Api.Ads.AdManager.v202108.Statement  filterStatement 
)
inlinevirtual

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

Parameters
siteActionthe action to perform
filterStatementa Publisher Query Language statement used to filter a set of sites
Returns
the result of the action performed

Implements Google.Api.Ads.AdManager.v202108.SiteServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.UpdateResult> Google.Api.Ads.AdManager.v202108.SiteService.performSiteActionAsync ( Google.Api.Ads.AdManager.v202108.SiteAction  siteAction,
Google.Api.Ads.AdManager.v202108.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202108.Site [] Google.Api.Ads.AdManager.v202108.SiteService.updateSites ( Google.Api.Ads.AdManager.v202108.Site[]  sites)
inlinevirtual

Updates the specified Site objects.

The Site::childNetworkCode can be updated in order to 1) change the child network, 2) move a site from O&O to represented, or 3) move a site from represented to O&O.

Parameters
sitesthe sites to update
Returns
the updated sites

Implements Google.Api.Ads.AdManager.v202108.ISiteService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202108.Site[]> Google.Api.Ads.AdManager.v202108.SiteService.updateSitesAsync ( Google.Api.Ads.AdManager.v202108.Site[]  sites)
inlinevirtual

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