module ReportService_types: sig .. end
type __dummy = unit
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 reportJobStatus = [ `Completed | `Failed | `InProgress | `Pending ]
type aggregationType = [ `Daily
| `HourlyByDate
| `HourlyRegardlessDate
| `Monthly
| `Quarterly
| `Summary
| `Yearly ]
type adWordsType = [ `ContentOnly | `SearchOnly ]
type keywordStatus = [ `Deleted | `Disabled | `Disapproved | `InTrial | `Normal | `OnHold ]
type keywordType = [ `Broad | `Exact | `Phrase ]
type campaignStatus = [ `Active | `Deleted | `Ended | `Paused | `Pending | `Suspended ]
type customReportOption = [ `AccountName
| `AdGroup
| `AdGroupId
| `AdGroupStatus
| `AdWordsType
| `AverageConversionValue
| `AveragePosition
| `BottomPosition
| `CPM
| `Campaign
| `CampaignEndDate
| `CampaignId
| `CampaignStatus
| `Clicks
| `ConversionRate
| `ConversionValuePerClick
| `ConversionValuePerCost
| `Conversions
| `Cost
| `CostPerConversion
| `CostPerTransaction
| `Cpc
| `CreativeDestinationUrl
| `CreativeId
| `CreativeStatus
| `CreativeType
| `Ctr
| `CustomerTimeZone
| `DailyBudget
| `DefaultConversionCount
| `DefaultConversionValue
| `DescriptionLine1
| `DescriptionLine2
| `DescriptionLine3
| `DestinationUrl
| `ImageAdName
| `ImageHostingKey
| `Impressions
| `Keyword
| `KeywordDestinationUrl
| `KeywordId
| `KeywordStatus
| `KeywordType
| `LeadCount
| `LeadValue
| `MaxContentCPC
| `MaximumCPM
| `MaximumCpc
| `MinimumCpc
| `PageViewCount
| `PageViewValue
| `SaleCount
| `SaleValue
| `SignupCount
| `SignupValue
| `TopPosition
| `TotalConversionValue
| `Transactions
| `VisibleUrl
| `Website ]
type adGroupStatus = [ `Deleted | `Enabled | `Paused ]
type reportJob_final = {
|
reportJob_final_aggregationType : aggregationType option; |
|
reportJob_final_clientEmails : string list; |
|
reportJob_final_crossClient : bool option; |
|
reportJob_final_endDay : OCSoap.date; |
|
reportJob_final_id : int64 option; |
|
reportJob_final_name : string option; |
|
reportJob_final_startDay : OCSoap.date; |
|
reportJob_final_status : reportJobStatus option; |
}
type keywordReportJob = {
|
keywordReportJob_aggregationType : aggregationType option; |
|
keywordReportJob_clientEmails : string list; |
|
keywordReportJob_crossClient : bool option; |
|
keywordReportJob_endDay : OCSoap.date; |
|
keywordReportJob_id : int64 option; |
|
keywordReportJob_name : string option; |
|
keywordReportJob_startDay : OCSoap.date; |
|
keywordReportJob_status : reportJobStatus option; |
|
keywordReportJob_adWordsType : adWordsType option; |
|
keywordReportJob_campaigns : int32 list; |
|
keywordReportJob_keywordStatuses : keywordStatus list; |
|
keywordReportJob_keywordType : keywordType option; |
|
keywordReportJob_includeZeroImpression : bool option; |
}
type adTextReportJob = {
|
adTextReportJob_aggregationType : aggregationType option; |
|
adTextReportJob_clientEmails : string list; |
|
adTextReportJob_crossClient : bool option; |
|
adTextReportJob_endDay : OCSoap.date; |
|
adTextReportJob_id : int64 option; |
|
adTextReportJob_name : string option; |
|
adTextReportJob_startDay : OCSoap.date; |
|
adTextReportJob_status : reportJobStatus option; |
|
adTextReportJob_adWordsType : adWordsType option; |
|
adTextReportJob_campaigns : int32 list; |
}
type urlReportJob = {
|
urlReportJob_aggregationType : aggregationType option; |
|
urlReportJob_clientEmails : string list; |
|
urlReportJob_crossClient : bool option; |
|
urlReportJob_endDay : OCSoap.date; |
|
urlReportJob_id : int64 option; |
|
urlReportJob_name : string option; |
|
urlReportJob_startDay : OCSoap.date; |
|
urlReportJob_status : reportJobStatus option; |
|
urlReportJob_adWordsType : adWordsType option; |
|
urlReportJob_campaigns : int32 list; |
}
type customReportJob = {
|
customReportJob_aggregationType : aggregationType option; |
|
customReportJob_clientEmails : string list; |
|
customReportJob_crossClient : bool option; |
|
customReportJob_endDay : OCSoap.date; |
|
customReportJob_id : int64 option; |
|
customReportJob_name : string option; |
|
customReportJob_startDay : OCSoap.date; |
|
customReportJob_status : reportJobStatus option; |
|
customReportJob_adGroupStatuses : adGroupStatus list; |
|
customReportJob_adGroups : int32 list; |
|
customReportJob_adWordsType : adWordsType option; |
|
customReportJob_campaignStatuses : campaignStatus list; |
|
customReportJob_campaigns : int32 list; |
|
customReportJob_customOptions : customReportOption list; |
|
customReportJob_keywordStatuses : keywordStatus list; |
|
customReportJob_keywordType : keywordType option; |
|
customReportJob_keywords : string list; |
|
customReportJob_includeZeroImpression : bool option; |
}
type campaignReportJob = {
|
campaignReportJob_aggregationType : aggregationType option; |
|
campaignReportJob_clientEmails : string list; |
|
campaignReportJob_crossClient : bool option; |
|
campaignReportJob_endDay : OCSoap.date; |
|
campaignReportJob_id : int64 option; |
|
campaignReportJob_name : string option; |
|
campaignReportJob_startDay : OCSoap.date; |
|
campaignReportJob_status : reportJobStatus option; |
|
campaignReportJob_adWordsType : adWordsType option; |
|
campaignReportJob_campaigns : int32 list; |
}
type accountReportJob = {
|
accountReportJob_aggregationType : aggregationType option; |
|
accountReportJob_clientEmails : string list; |
|
accountReportJob_crossClient : bool option; |
|
accountReportJob_endDay : OCSoap.date; |
|
accountReportJob_id : int64 option; |
|
accountReportJob_name : string option; |
|
accountReportJob_startDay : OCSoap.date; |
|
accountReportJob_status : reportJobStatus option; |
|
accountReportJob_adWordsType : adWordsType option; |
}
type adGroupReportJob = {
|
adGroupReportJob_aggregationType : aggregationType option; |
|
adGroupReportJob_clientEmails : string list; |
|
adGroupReportJob_crossClient : bool option; |
|
adGroupReportJob_endDay : OCSoap.date; |
|
adGroupReportJob_id : int64 option; |
|
adGroupReportJob_name : string option; |
|
adGroupReportJob_startDay : OCSoap.date; |
|
adGroupReportJob_status : reportJobStatus option; |
|
adGroupReportJob_adWordsType : adWordsType option; |
|
adGroupReportJob_campaigns : int32 list; |
|
adGroupReportJob_adGroupStatuses : adGroupStatus list; |
}
type adImageReportJob = {
|
adImageReportJob_aggregationType : aggregationType option; |
|
adImageReportJob_clientEmails : string list; |
|
adImageReportJob_crossClient : bool option; |
|
adImageReportJob_endDay : OCSoap.date; |
|
adImageReportJob_id : int64 option; |
|
adImageReportJob_name : string option; |
|
adImageReportJob_startDay : OCSoap.date; |
|
adImageReportJob_status : reportJobStatus option; |
|
adImageReportJob_campaigns : int32 list; |
}
type fault = unit
type email = string
type clientEmail = string
type password = string
type useragent = string
type token = string
type applicationToken = string
type developerToken = string
type responseTime = int64
type operations = int64
type units = int64
type scheduleReportJob = {
}
type scheduleReportJobResponse = {
|
scheduleReportJobResponse_scheduleReportJobReturn : int64; |
}
type getReportJobStatus = {
|
getReportJobStatus_reportJobId : int64; |
}
type getReportJobStatusResponse = {
}
type getReportDownloadUrl = {
|
getReportDownloadUrl_reportJobId : int64; |
}
type getReportDownloadUrlResponse = {
|
getReportDownloadUrlResponse_getReportDownloadUrlReturn : string; |
}
type getGzipReportDownloadUrl = {
|
getGzipReportDownloadUrl_reportJobId : int64; |
}
type getGzipReportDownloadUrlResponse = {
|
getGzipReportDownloadUrlResponse_getGzipReportDownloadUrlReturn : string; |
}
type getAllJobs = unit
type getAllJobsResponse = {
|
getAllJobsResponse_getAllJobsReturn : reportJob list; |
}
type deleteReport = {
|
deleteReport_reportJobId : int64; |
}
type deleteReportResponse = unit
type reportJob = [ `AccountReportJob of accountReportJob
| `AdGroupReportJob of adGroupReportJob
| `AdImageReportJob of adImageReportJob
| `AdTextReportJob of adTextReportJob
| `CampaignReportJob of campaignReportJob
| `CustomReportJob of customReportJob
| `KeywordReportJob of keywordReportJob
| `UrlReportJob of urlReportJob ]
val __dummy : unit
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_reportJobStatus : ?a:(string * string) list ->
OCSoap.ctx -> string -> reportJobStatus -> OCSoap.node
val reportJobStatus_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
reportJobStatus
val string_of_reportJobStatus : [< `Completed | `Failed | `InProgress | `Pending ] -> string
val reportJobStatus_of_string : string -> reportJobStatus
val node_of_aggregationType : ?a:(string * string) list ->
OCSoap.ctx -> string -> aggregationType -> OCSoap.node
val aggregationType_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
aggregationType
val string_of_aggregationType : [< `Daily
| `HourlyByDate
| `HourlyRegardlessDate
| `Monthly
| `Quarterly
| `Summary
| `Yearly ] ->
string
val aggregationType_of_string : string -> aggregationType
val node_of_adWordsType : ?a:(string * string) list ->
OCSoap.ctx -> string -> adWordsType -> OCSoap.node
val adWordsType_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
adWordsType
val string_of_adWordsType : [< `ContentOnly | `SearchOnly ] -> string
val adWordsType_of_string : string -> adWordsType
val node_of_keywordStatus : ?a:(string * string) list ->
OCSoap.ctx -> string -> keywordStatus -> OCSoap.node
val keywordStatus_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
keywordStatus
val string_of_keywordStatus : [< `Deleted | `Disabled | `Disapproved | `InTrial | `Normal | `OnHold ] ->
string
val keywordStatus_of_string : string -> keywordStatus
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_campaignStatus : ?a:(string * string) list ->
OCSoap.ctx -> string -> campaignStatus -> OCSoap.node
val campaignStatus_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
campaignStatus
val string_of_campaignStatus : [< `Active | `Deleted | `Ended | `Paused | `Pending | `Suspended ] -> string
val campaignStatus_of_string : string -> campaignStatus
val node_of_customReportOption : ?a:(string * string) list ->
OCSoap.ctx -> string -> customReportOption -> OCSoap.node
val customReportOption_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
customReportOption
val string_of_customReportOption : [< `AccountName
| `AdGroup
| `AdGroupId
| `AdGroupStatus
| `AdWordsType
| `AverageConversionValue
| `AveragePosition
| `BottomPosition
| `CPM
| `Campaign
| `CampaignEndDate
| `CampaignId
| `CampaignStatus
| `Clicks
| `ConversionRate
| `ConversionValuePerClick
| `ConversionValuePerCost
| `Conversions
| `Cost
| `CostPerConversion
| `CostPerTransaction
| `Cpc
| `CreativeDestinationUrl
| `CreativeId
| `CreativeStatus
| `CreativeType
| `Ctr
| `CustomerTimeZone
| `DailyBudget
| `DefaultConversionCount
| `DefaultConversionValue
| `DescriptionLine1
| `DescriptionLine2
| `DescriptionLine3
| `DestinationUrl
| `ImageAdName
| `ImageHostingKey
| `Impressions
| `Keyword
| `KeywordDestinationUrl
| `KeywordId
| `KeywordStatus
| `KeywordType
| `LeadCount
| `LeadValue
| `MaxContentCPC
| `MaximumCPM
| `MaximumCpc
| `MinimumCpc
| `PageViewCount
| `PageViewValue
| `SaleCount
| `SaleValue
| `SignupCount
| `SignupValue
| `TopPosition
| `TotalConversionValue
| `Transactions
| `VisibleUrl
| `Website ] ->
string
val customReportOption_of_string : string -> customReportOption
val node_of_adGroupStatus : ?a:(string * string) list ->
OCSoap.ctx -> string -> adGroupStatus -> OCSoap.node
val adGroupStatus_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
adGroupStatus
val string_of_adGroupStatus : [< `Deleted | `Enabled | `Paused ] -> string
val adGroupStatus_of_string : string -> adGroupStatus
val node_of_reportJob_final : ?a:(string * string) list ->
OCSoap.ctx -> string -> reportJob_final -> OCSoap.node
val reportJob_final_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
reportJob_final
val node_of_keywordReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> keywordReportJob -> OCSoap.node
val keywordReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
keywordReportJob
val node_of_adTextReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> adTextReportJob -> OCSoap.node
val adTextReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
adTextReportJob
val node_of_urlReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> urlReportJob -> OCSoap.node
val urlReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
urlReportJob
val node_of_customReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> customReportJob -> OCSoap.node
val customReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
customReportJob
val node_of_campaignReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> campaignReportJob -> OCSoap.node
val campaignReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
campaignReportJob
val node_of_accountReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> accountReportJob -> OCSoap.node
val accountReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
accountReportJob
val node_of_adGroupReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> adGroupReportJob -> OCSoap.node
val adGroupReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
adGroupReportJob
val node_of_adImageReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> adImageReportJob -> OCSoap.node
val adImageReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
adImageReportJob
val node_of_fault : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val fault_of_node : 'a -> 'b -> unit
val node_of_scheduleReportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> scheduleReportJob -> OCSoap.node
val scheduleReportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
scheduleReportJob
val node_of_scheduleReportJobResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> scheduleReportJobResponse -> OCSoap.node
val scheduleReportJobResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
scheduleReportJobResponse
val node_of_getReportJobStatus : ?a:(string * string) list ->
OCSoap.ctx -> string -> getReportJobStatus -> OCSoap.node
val getReportJobStatus_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getReportJobStatus
val node_of_getReportJobStatusResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getReportJobStatusResponse -> OCSoap.node
val getReportJobStatusResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getReportJobStatusResponse
val node_of_getReportDownloadUrl : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getReportDownloadUrl -> OCSoap.node
val getReportDownloadUrl_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getReportDownloadUrl
val node_of_getReportDownloadUrlResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getReportDownloadUrlResponse -> OCSoap.node
val getReportDownloadUrlResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getReportDownloadUrlResponse
val node_of_getGzipReportDownloadUrl : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getGzipReportDownloadUrl -> OCSoap.node
val getGzipReportDownloadUrl_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getGzipReportDownloadUrl
val node_of_getGzipReportDownloadUrlResponse : ?a:(string * string) list ->
OCSoap.ctx ->
string -> getGzipReportDownloadUrlResponse -> OCSoap.node
val getGzipReportDownloadUrlResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getGzipReportDownloadUrlResponse
val node_of_getAllJobs : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val getAllJobs_of_node : 'a -> 'b -> unit
val node_of_getAllJobsResponse : ?a:(string * string) list ->
OCSoap.ctx -> string -> getAllJobsResponse -> OCSoap.node
val getAllJobsResponse_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
getAllJobsResponse
val node_of_deleteReport : ?a:(string * string) list ->
OCSoap.ctx -> string -> deleteReport -> OCSoap.node
val deleteReport_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
deleteReport
val node_of_deleteReportResponse : ?a:(string * string) list -> OCSoap.ctx -> string -> unit -> OCSoap.node
val deleteReportResponse_of_node : 'a -> 'b -> unit
val node_of_reportJob : ?a:(string * string) list ->
OCSoap.ctx -> string -> reportJob -> OCSoap.node
val reportJob_of_node : string ->
('a Pxp_document.node Pxp_document.extension as 'a) Pxp_document.node ->
reportJob