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

Provides methods for adding, updating and retrieving Proposal objects. More...

Inheritance diagram for Google.Api.Ads.AdManager.v202208.ProposalService:
Google.Api.Ads.AdManager.v202208.IProposalService Google.Api.Ads.AdManager.v202208.ProposalServiceInterface

Public Member Functions

 ProposalService ()
 Creates a new instance of the ProposalService class. More...
 
 ProposalService (string endpointConfigurationName)
 Creates a new instance of the ProposalService class. More...
 
 ProposalService (string endpointConfigurationName, string remoteAddress)
 Creates a new instance of the ProposalService class. More...
 
 ProposalService (string endpointConfigurationName, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the ProposalService class. More...
 
 ProposalService (System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress)
 Creates a new instance of the ProposalService class. More...
 
virtual
Google.Api.Ads.AdManager.v202208.Proposal[] 
createProposals (Google.Api.Ads.AdManager.v202208.Proposal[] proposals)
 Creates new Proposal objects. For each proposal, the following fields are required: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Proposal[]> 
createProposalsAsync (Google.Api.Ads.AdManager.v202208.Proposal[] proposals)
 
virtual
Google.Api.Ads.AdManager.v202208.MarketplaceCommentPage 
getMarketplaceCommentsByStatement (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Gets a MarketplaceCommentPage of MarketplaceComment objects that satisfy the given Statement::query. This method only returns comments already sent to Marketplace, local draft ProposalMarketplaceInfo::marketplaceComment are not included. The following fields are supported for filtering: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.MarketplaceCommentPage
getMarketplaceCommentsByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.ProposalPage 
getProposalsByStatement (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Gets a ProposalPage of Proposal 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.ProposalPage
getProposalsByStatementAsync (Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.UpdateResult 
performProposalAction (Google.Api.Ads.AdManager.v202208.ProposalAction proposalAction, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 Performs actions on Proposal objects that match the given Statement::query. The following fields are also required when submitting proposals for approval: More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.UpdateResult
performProposalActionAsync (Google.Api.Ads.AdManager.v202208.ProposalAction proposalAction, Google.Api.Ads.AdManager.v202208.Statement filterStatement)
 
virtual
Google.Api.Ads.AdManager.v202208.Proposal[] 
updateProposals (Google.Api.Ads.AdManager.v202208.Proposal[] proposals)
 Updates the specified Proposal objects. More...
 
virtual
System.Threading.Tasks.Task
< Google.Api.Ads.AdManager.v202208.Proposal[]> 
updateProposalsAsync (Google.Api.Ads.AdManager.v202208.Proposal[] proposals)
 

Detailed Description

Provides methods for adding, updating and retrieving Proposal objects.

Constructor & Destructor Documentation

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

Creates a new instance of the ProposalService class.

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

Creates a new instance of the ProposalService class.

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

Creates a new instance of the ProposalService class.

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

Creates a new instance of the ProposalService class.

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

Creates a new instance of the ProposalService class.

Member Function Documentation

virtual Google.Api.Ads.AdManager.v202208.Proposal [] Google.Api.Ads.AdManager.v202208.ProposalService.createProposals ( Google.Api.Ads.AdManager.v202208.Proposal[]  proposals)
inlinevirtual

Creates new Proposal objects. For each proposal, the following fields are required:

Parameters
proposalsthe proposals to create
Returns
the created proposals with their IDs filled in

Implements Google.Api.Ads.AdManager.v202208.IProposalService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Proposal[]> Google.Api.Ads.AdManager.v202208.ProposalService.createProposalsAsync ( Google.Api.Ads.AdManager.v202208.Proposal[]  proposals)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.MarketplaceCommentPage Google.Api.Ads.AdManager.v202208.ProposalService.getMarketplaceCommentsByStatement ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual

Gets a MarketplaceCommentPage of MarketplaceComment objects that satisfy the given Statement::query. This method only returns comments already sent to Marketplace, local draft ProposalMarketplaceInfo::marketplaceComment are not included. The following fields are supported for filtering:

PQL Property Object Property
proposalId MarketplaceComment::proposalId

The query must specify a proposalId, and only supports a subset of PQL syntax:
[WHERE <condition> {AND <condition> ...}]
[ORDER BY <property> [ASC | DESC]]
[LIMIT {[<offset>,] <count>} | {<count> OFFSET <offset>}]

<condition>
#x160;#x160;#x160;#x160; := <property> = <value>
<condition> := <property> IN <list>
Only supports ORDER BY MarketplaceComment::creationTime.

Parameters
filterStatementa Publisher Query Language statement used to filter a set of marketplace comments
Returns
the marketplace comments that match the given filter

Implements Google.Api.Ads.AdManager.v202208.ProposalServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.MarketplaceCommentPage> Google.Api.Ads.AdManager.v202208.ProposalService.getMarketplaceCommentsByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.ProposalPage Google.Api.Ads.AdManager.v202208.ProposalService.getProposalsByStatement ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual

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

PQL Property Object Property
id Proposal::id
dfpOrderId Proposal::dfpOrderId
name Proposal::name
status Proposal::status
isArchived Proposal::isArchived
approvalStatus
Only applicable for proposals using sales management
Proposal::approvalStatus
lastModifiedDateTime Proposal::lastModifiedDateTime
isProgrammatic Proposal::isProgrammatic
negotiationStatus
Only applicable for programmatic proposals
ProposalMarketplaceInfo::negotiationStatus
Parameters
filterStatementa Publisher Query Language statement used to filter a set of proposals
Returns
the proposals that match the given filter

Implements Google.Api.Ads.AdManager.v202208.ProposalServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.ProposalPage> Google.Api.Ads.AdManager.v202208.ProposalService.getProposalsByStatementAsync ( Google.Api.Ads.AdManager.v202208.Statement  filterStatement)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.UpdateResult Google.Api.Ads.AdManager.v202208.ProposalService.performProposalAction ( Google.Api.Ads.AdManager.v202208.ProposalAction  proposalAction,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual

Performs actions on Proposal objects that match the given Statement::query. The following fields are also required when submitting proposals for approval:

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

Implements Google.Api.Ads.AdManager.v202208.ProposalServiceInterface.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.UpdateResult> Google.Api.Ads.AdManager.v202208.ProposalService.performProposalActionAsync ( Google.Api.Ads.AdManager.v202208.ProposalAction  proposalAction,
Google.Api.Ads.AdManager.v202208.Statement  filterStatement 
)
inlinevirtual
virtual Google.Api.Ads.AdManager.v202208.Proposal [] Google.Api.Ads.AdManager.v202208.ProposalService.updateProposals ( Google.Api.Ads.AdManager.v202208.Proposal[]  proposals)
inlinevirtual

Updates the specified Proposal objects.

Parameters
proposalsthe proposals to update
Returns
the updated proposals

Implements Google.Api.Ads.AdManager.v202208.IProposalService.

virtual System.Threading.Tasks.Task<Google.Api.Ads.AdManager.v202208.Proposal[]> Google.Api.Ads.AdManager.v202208.ProposalService.updateProposalsAsync ( Google.Api.Ads.AdManager.v202208.Proposal[]  proposals)
inlinevirtual

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