Ads API .NET library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Macros
Google.Api.Ads.AdManager.v202311.SiteService Class Reference
Inheritance diagram for Google.Api.Ads.AdManager.v202311.SiteService:
Google.Api.Ads.AdManager.v202311.ISiteService Google.Api.Ads.AdManager.v202311.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.v202311.Site[] 
createSites (Google.Api.Ads.AdManager.v202311.Site[] sites)
 Creates new Site objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.Site[]> 
createSitesAsync (Google.Api.Ads.AdManager.v202311.Site[] sites)
 
virtual
Google.Api.Ads.AdManager.v202311.SitePage 
getSitesByStatement (Google.Api.Ads.AdManager.v202311.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.v202311.SitePage
getSitesByStatementAsync (Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.UpdateResult 
performSiteAction (Google.Api.Ads.AdManager.v202311.SiteAction siteAction, Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 Performs actions on Site objects that match the given Statement::query. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.UpdateResult
performSiteActionAsync (Google.Api.Ads.AdManager.v202311.SiteAction siteAction, Google.Api.Ads.AdManager.v202311.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202311.Site[] 
updateSites (Google.Api.Ads.AdManager.v202311.Site[] sites)
 Updates the specified Site objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202311.Site[]> 
updateSitesAsync (Google.Api.Ads.AdManager.v202311.Site[] sites)
 

Constructor & Destructor Documentation

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

Creates a new instance of the SiteService class.

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

Creates a new instance of the SiteService class.

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

Creates a new instance of the SiteService class.

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

Creates a new instance of the SiteService class.

Google.Api.Ads.AdManager.v202311.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.v202311.Site [] Google.Api.Ads.AdManager.v202311.SiteService.createSites ( Google.Api.Ads.AdManager.v202311.Site[]  sites)
inlinevirtual

Creates new Site objects.

Implements Google.Api.Ads.AdManager.v202311.ISiteService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.Site[]> Google.Api.Ads.AdManager.v202311.SiteService.createSitesAsync ( Google.Api.Ads.AdManager.v202311.Site[]  sites)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.SitePage Google.Api.Ads.AdManager.v202311.SiteService.getSitesByStatement ( Google.Api.Ads.AdManager.v202311.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
lastModifiedApprovalStatusDateTime

Restriction: The lastModifiedApprovalStatusDateTime PQL property can only be used in a top-level expression scoping the filterStatement to Sites whose was modified on or after a specified date and time. (e.x. "WHERE lastModifiedApprovalStatusDateTime &gt;= '2022-01-01T00:00:00'").

Implements Google.Api.Ads.AdManager.v202311.SiteServiceInterface.

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

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

Implements Google.Api.Ads.AdManager.v202311.SiteServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202311.UpdateResult> Google.Api.Ads.AdManager.v202311.SiteService.performSiteActionAsync ( Google.Api.Ads.AdManager.v202311.SiteAction  siteAction,
Google.Api.Ads.AdManager.v202311.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202311.Site [] Google.Api.Ads.AdManager.v202311.SiteService.updateSites ( Google.Api.Ads.AdManager.v202311.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.

Implements Google.Api.Ads.AdManager.v202311.ISiteService.

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

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