module CriterionService_types: sig .. end
type __dummy = unit
type email = string
type password = string
type useragent = string
type token = string
type applicationToken = string
type developerToken = string
type clientEmail = string
type responseTime = int64
type operations = int64
type units = int64
type getAllCriteria = {
|
getAllCriteria_adGroupId : int32; |
}
type getAllCriteriaResponse = {
|
getAllCriteriaResponse_getAllCriteriaReturn : criterion list; |
}
type criterionStatus = [ `Deleted | `Disabled | `Disapproved | `InTrial | `Normal | `OnHold ]
type keywordType = [ `Broad | `Exact | `Phrase ]
type criterion_final = {
|
criterion_final_adGroupId : int32; |
|
criterion_final_criterionType : string option; |
|
criterion_final_destinationUrl : string option; |
|
criterion_final_exemptionRequest : string option; |
|
criterion_final_id : int64; |
|
criterion_final_language : string option; |
|
criterion_final_negative : bool option; |
|
criterion_final_status : criterionStatus option; |
}
type keyword = {
|
keyword_adGroupId : int32; |
|
keyword_criterionType : string option; |
|
keyword_destinationUrl : string option; |
|
keyword_exemptionRequest : string option; |
|
keyword_id : int64; |
|
keyword_language : string option; |
|
keyword_negative : bool option; |
|
keyword_status : criterionStatus option; |
|
keyword_maxCpc : int64 option; |
|
keyword_minCpc : int64 option; |
|
keyword_text : string option; |
|
keyword_type : keywordType option; |
}
type website = {
|
website_adGroupId : int32; |
|
website_criterionType : string option; |
|
website_destinationUrl : string option; |
|
website_exemptionRequest : string option; |
|
website_id : int64; |
|
website_language : string option; |
|
website_negative : bool option; |
|
website_status : criterionStatus option; |
|
website_maxCpm : int64 option; |
|
website_url : string option; |
}
type apiException = {
|
apiException_code : int32; |
|
apiException_internal : bool; |
|
apiException_message : string option; |
|
apiException_trigger : string option; |
|
apiException_errors : apiError list; |
}
type apiError = {
|
apiError_index : int32; |
|
apiError_field : string option; |
|
apiError_textIndex : int32 option; |
|
apiError_textLength : int32 option; |
|
apiError_trigger : string option; |
|
apiError_code : int32; |
|
apiError_isExemptable : bool; |
|
apiError_detail : string; |
}
type fault = unit
type getCriteria = {
|
getCriteria_adGroupId : int32; |
|
getCriteria_criterionIds : int64 list; |
}
type getCriteriaResponse = {
|
getCriteriaResponse_getCriteriaReturn : criterion list; |
}
type updateCriteria = {
}
type updateCriteriaResponse = unit
type addCriteria = {
}
type addCriteriaResponse = {
|
addCriteriaResponse_addCriteriaReturn : criterion list; |
}
type removeCriteria = {
|
removeCriteria_adGroupId : int32; |
|
removeCriteria_criterionIds : int64 list; |
}
type removeCriteriaResponse = unit
type getCriterionStats = {
|
getCriterionStats_adGroupId : int32; |
|
getCriterionStats_criterionIds : int64 list; |
|
getCriterionStats_startDay : OCSoap.date; |
|
getCriterionStats_endDay : OCSoap.date; |
|
getCriterionStats_inPST : bool; |
}
type getCriterionStatsResponse = {
|
getCriterionStatsResponse_getCriterionStatsReturn : statsRecord list; |
}
type statsRecord = {
|
statsRecord_averagePosition : float; |
|
statsRecord_clicks : int64; |
|
statsRecord_conversionRate : float; |
|
statsRecord_conversions : int64; |
|
statsRecord_cost : int64; |
|
statsRecord_id : int64; |
|
statsRecord_impressions : int64; |
}
type getCampaignNegativeCriteria = {
|
getCampaignNegativeCriteria_campaignId : int32; |
}
type getCampaignNegativeCriteriaResponse = {
|
getCampaignNegativeCriteriaResponse_getCampaignNegativeCriteriaReturn : criterion list; |
}
type setCampaignNegativeCriteria = {
|
setCampaignNegativeCriteria_campaignId : int32; |
|
setCampaignNegativeCriteria_criteria : criterion list; |
}
type setCampaignNegativeCriteriaResponse = unit
type criterion = [ `Keyword of keyword
| `Website of website ]
val __dummy : unit
val node_of_getAllCriteria : ?a:(string * string) list ->
OCSoap.ctx -> string -> getAllCriteria -> OCSoap.node
val getAllCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getAllCriteria
val node_of_getAllCriteriaResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getAllCriteriaResponse -> OCSoap.node
val getAllCriteriaResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getAllCriteriaResponse
val node_of_criterionStatus : ?a:(string * string) list ->
OCSoap.ctx -> string -> criterionStatus -> OCSoap.node
val criterionStatus_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
criterionStatus
val string_of_criterionStatus : [< `Deleted | `Disabled | `Disapproved | `InTrial | `Normal | `OnHold ] ->
string
val criterionStatus_of_string : string -> criterionStatus
val node_of_keywordType : ?a:(string * string) list ->
OCSoap.ctx -> string -> keywordType -> OCSoap.node
val keywordType_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
keywordType
val string_of_keywordType : [< `Broad | `Exact | `Phrase ] -> string
val keywordType_of_string : string -> keywordType
val node_of_criterion_final : ?a:(string * string) list ->
OCSoap.ctx -> string -> criterion_final -> OCSoap.node
val criterion_final_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
criterion_final
val node_of_keyword : ?a:(string * string) list ->
OCSoap.ctx -> string -> keyword -> OCSoap.node
val keyword_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
keyword
val node_of_website : ?a:(string * string) list ->
OCSoap.ctx -> string -> website -> OCSoap.node
val website_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
website
val node_of_apiException : ?a:(string * string) list ->
OCSoap.ctx -> string -> apiException -> OCSoap.node
val apiException_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
apiException
val node_of_apiError : ?a:(string * string) list ->
OCSoap.ctx -> string -> apiError -> OCSoap.node
val apiError_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
apiError
val node_of_fault : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val fault_of_node : 'a -> 'b -> unit
val node_of_getCriteria : ?a:(string * string) list ->
OCSoap.ctx -> string -> getCriteria -> OCSoap.node
val getCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getCriteria
val node_of_getCriteriaResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getCriteriaResponse -> OCSoap.node
val getCriteriaResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getCriteriaResponse
val node_of_updateCriteria : ?a:(string * string) list ->
OCSoap.ctx -> string -> updateCriteria -> OCSoap.node
val updateCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
updateCriteria
val node_of_updateCriteriaResponse : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val updateCriteriaResponse_of_node : 'a -> 'b -> unit
val node_of_addCriteria : ?a:(string * string) list ->
OCSoap.ctx -> string -> addCriteria -> OCSoap.node
val addCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
addCriteria
val node_of_addCriteriaResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> addCriteriaResponse -> OCSoap.node
val addCriteriaResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
addCriteriaResponse
val node_of_removeCriteria : ?a:(string * string) list ->
OCSoap.ctx -> string -> removeCriteria -> OCSoap.node
val removeCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
removeCriteria
val node_of_removeCriteriaResponse : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val removeCriteriaResponse_of_node : 'a -> 'b -> unit
val node_of_getCriterionStats : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getCriterionStats -> OCSoap.node
val getCriterionStats_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getCriterionStats
val node_of_getCriterionStatsResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getCriterionStatsResponse -> OCSoap.node
val getCriterionStatsResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getCriterionStatsResponse
val node_of_statsRecord : ?a:(string * string) list ->
OCSoap.ctx -> string -> statsRecord -> OCSoap.node
val statsRecord_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
statsRecord
val node_of_getCampaignNegativeCriteria : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getCampaignNegativeCriteria -> OCSoap.node
val getCampaignNegativeCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getCampaignNegativeCriteria
val node_of_getCampaignNegativeCriteriaResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string ->
getCampaignNegativeCriteriaResponse -> OCSoap.node
val getCampaignNegativeCriteriaResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getCampaignNegativeCriteriaResponse
val node_of_setCampaignNegativeCriteria : ?a:(string * string) list ->
OCSoap.ctx ->
string -> setCampaignNegativeCriteria -> OCSoap.node
val setCampaignNegativeCriteria_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
setCampaignNegativeCriteria
val node_of_setCampaignNegativeCriteriaResponse : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val setCampaignNegativeCriteriaResponse_of_node : 'a -> 'b -> unit
val node_of_criterion : ?a:(string * string) list ->
OCSoap.ctx -> string -> criterion -> OCSoap.node
val criterion_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
criterion