Documentation
¶
Index ¶
- type AnyType
- type AnyURI
- type ApiError
- type ApiException
- type ApiExceptionFault
- type ApiVersionError
- type ApiVersionError_Reason
- type ApplicationException
- type ApprovalStatus
- type AuthenticationError
- type AuthenticationError_Reason
- type BooleanValue
- type CollectionSizeError
- type CollectionSizeError_Reason
- type CommonError
- type CommonError_Reason
- type CreateSites
- type CreateSitesResponse
- type Date
- type DateTime
- type DateTimeValue
- type DateValue
- type DeactivateSite
- type DisapprovalReason
- type DisapprovalReason_Type
- type EntityLimitReachedError
- type EntityLimitReachedError_Reason
- type FeatureError
- type FeatureError_Reason
- type FieldPathElement
- type GetSitesByStatement
- type GetSitesByStatementResponse
- type InternalApiError
- type InternalApiError_Reason
- type NCName
- type NotNullError
- type NotNullError_Reason
- type NullError
- type NullError_Reason
- type NumberValue
- type ObjectValue
- type ParseError
- type ParseError_Reason
- type PerformSiteAction
- type PerformSiteActionResponse
- type PermissionError
- type PermissionError_Reason
- type PublisherQueryLanguageContextError
- type PublisherQueryLanguageContextError_Reason
- type PublisherQueryLanguageSyntaxError
- type PublisherQueryLanguageSyntaxError_Reason
- type QuotaError
- type QuotaError_Reason
- type RequestHeader
- type RequiredCollectionError
- type RequiredCollectionError_Reason
- type RequiredError
- type RequiredError_Reason
- type ResponseHeader
- type ServerError
- type ServerError_Reason
- type SetValue
- type Site
- type SiteAction
- type SiteError
- type SiteError_Reason
- type SitePage
- type SiteServiceInterface
- type SoapRequestHeader
- type SoapResponseHeader
- type Statement
- type StatementError
- type StatementError_Reason
- type StringFormatError
- type StringFormatError_Reason
- type StringLengthError
- type StringLengthError_Reason
- type String_ValueMapEntry
- type SubmitSiteForApproval
- type TextValue
- type UpdateResult
- type UpdateSites
- type UpdateSitesResponse
- type UrlError
- type UrlError_Reason
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApiError ¶
type ApiError struct { FieldPath string `xml:"fieldPath,omitempty" json:"fieldPath,omitempty"` FieldPathElements []*FieldPathElement `xml:"fieldPathElements,omitempty" json:"fieldPathElements,omitempty"` Trigger string `xml:"trigger,omitempty" json:"trigger,omitempty"` ErrorString string `xml:"errorString,omitempty" json:"errorString,omitempty"` }
type ApiException ¶
type ApiException struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 ApiExceptionFault"` *ApplicationException Errors []*ApiError `xml:"errors,omitempty" json:"errors,omitempty"` }
type ApiExceptionFault ¶
type ApiExceptionFault ApiException
type ApiVersionError ¶
type ApiVersionError struct { *ApiError Reason *ApiVersionError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type ApiVersionError_Reason ¶
type ApiVersionError_Reason string
const ( ApiVersionError_ReasonUPDATE_TO_NEWER_VERSION ApiVersionError_Reason = "UPDATE_TO_NEWER_VERSION" ApiVersionError_ReasonUNKNOWN ApiVersionError_Reason = "UNKNOWN" )
type ApplicationException ¶
type ApplicationException struct {
Message string `xml:"message,omitempty" json:"message,omitempty"`
}
type ApprovalStatus ¶
type ApprovalStatus string
const ( ApprovalStatusDRAFT ApprovalStatus = "DRAFT" ApprovalStatusUNCHECKED ApprovalStatus = "UNCHECKED" ApprovalStatusAPPROVED ApprovalStatus = "APPROVED" ApprovalStatusDISAPPROVED ApprovalStatus = "DISAPPROVED" ApprovalStatusREQUIRES_REVIEW ApprovalStatus = "REQUIRES_REVIEW" ApprovalStatusUNKNOWN ApprovalStatus = "UNKNOWN" )
type AuthenticationError ¶
type AuthenticationError struct { *ApiError Reason *AuthenticationError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type AuthenticationError_Reason ¶
type AuthenticationError_Reason string
const ( AuthenticationError_ReasonAMBIGUOUS_SOAP_REQUEST_HEADER AuthenticationError_Reason = "AMBIGUOUS_SOAP_REQUEST_HEADER" AuthenticationError_ReasonINVALID_EMAIL AuthenticationError_Reason = "INVALID_EMAIL" AuthenticationError_ReasonAUTHENTICATION_FAILED AuthenticationError_Reason = "AUTHENTICATION_FAILED" AuthenticationError_ReasonINVALID_OAUTH_SIGNATURE AuthenticationError_Reason = "INVALID_OAUTH_SIGNATURE" AuthenticationError_ReasonINVALID_SERVICE AuthenticationError_Reason = "INVALID_SERVICE" AuthenticationError_ReasonMISSING_SOAP_REQUEST_HEADER AuthenticationError_Reason = "MISSING_SOAP_REQUEST_HEADER" AuthenticationError_ReasonMISSING_AUTHENTICATION_HTTP_HEADER AuthenticationError_Reason = "MISSING_AUTHENTICATION_HTTP_HEADER" AuthenticationError_ReasonMISSING_AUTHENTICATION AuthenticationError_Reason = "MISSING_AUTHENTICATION" AuthenticationError_ReasonNETWORK_API_ACCESS_DISABLED AuthenticationError_Reason = "NETWORK_API_ACCESS_DISABLED" AuthenticationError_ReasonNO_NETWORKS_TO_ACCESS AuthenticationError_Reason = "NO_NETWORKS_TO_ACCESS" AuthenticationError_ReasonNETWORK_NOT_FOUND AuthenticationError_Reason = "NETWORK_NOT_FOUND" AuthenticationError_ReasonNETWORK_CODE_REQUIRED AuthenticationError_Reason = "NETWORK_CODE_REQUIRED" AuthenticationError_ReasonCONNECTION_ERROR AuthenticationError_Reason = "CONNECTION_ERROR" AuthenticationError_ReasonGOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK AuthenticationError_Reason = "GOOGLE_ACCOUNT_ALREADY_ASSOCIATED_WITH_NETWORK" AuthenticationError_ReasonUNDER_INVESTIGATION AuthenticationError_Reason = "UNDER_INVESTIGATION" AuthenticationError_ReasonUNKNOWN AuthenticationError_Reason = "UNKNOWN" )
type BooleanValue ¶
type BooleanValue struct { Value bool `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type CollectionSizeError ¶
type CollectionSizeError struct { *ApiError Reason *CollectionSizeError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type CollectionSizeError_Reason ¶
type CollectionSizeError_Reason string
const ( CollectionSizeError_ReasonTOO_LARGE CollectionSizeError_Reason = "TOO_LARGE" CollectionSizeError_ReasonUNKNOWN CollectionSizeError_Reason = "UNKNOWN" )
type CommonError ¶
type CommonError struct { *ApiError Reason *CommonError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type CommonError_Reason ¶
type CommonError_Reason string
const ( CommonError_ReasonNOT_FOUND CommonError_Reason = "NOT_FOUND" CommonError_ReasonALREADY_EXISTS CommonError_Reason = "ALREADY_EXISTS" CommonError_ReasonNOT_APPLICABLE CommonError_Reason = "NOT_APPLICABLE" CommonError_ReasonDUPLICATE_OBJECT CommonError_Reason = "DUPLICATE_OBJECT" CommonError_ReasonCANNOT_UPDATE CommonError_Reason = "CANNOT_UPDATE" CommonError_ReasonUNSUPPORTED_OPERATION CommonError_Reason = "UNSUPPORTED_OPERATION" CommonError_ReasonCONCURRENT_MODIFICATION CommonError_Reason = "CONCURRENT_MODIFICATION" CommonError_ReasonUNKNOWN CommonError_Reason = "UNKNOWN" )
type CreateSites ¶
type CreateSitesResponse ¶
type DateTime ¶
type DateTime struct { Date soap.XSDDate `xml:"date,omitempty" json:"date,omitempty"` Hour int32 `xml:"hour,omitempty" json:"hour,omitempty"` Minute int32 `xml:"minute,omitempty" json:"minute,omitempty"` Second int32 `xml:"second,omitempty" json:"second,omitempty"` TimeZoneId string `xml:"timeZoneId,omitempty" json:"timeZoneId,omitempty"` }
type DateTimeValue ¶
type DateTimeValue struct { Value soap.XSDDateTime `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type DeactivateSite ¶
type DeactivateSite struct {
*SiteAction
}
type DisapprovalReason ¶
type DisapprovalReason struct { Type_ *DisapprovalReason_Type `xml:"type,omitempty" json:"type,omitempty"` Details string `xml:"details,omitempty" json:"details,omitempty"` }
type DisapprovalReason_Type ¶
type DisapprovalReason_Type string
const ( DisapprovalReason_TypeCONTENT DisapprovalReason_Type = "CONTENT" DisapprovalReason_TypeOWNERSHIP DisapprovalReason_Type = "OWNERSHIP" DisapprovalReason_TypeOTHER DisapprovalReason_Type = "OTHER" DisapprovalReason_TypeUNKNOWN DisapprovalReason_Type = "UNKNOWN" )
type EntityLimitReachedError ¶
type EntityLimitReachedError struct { *ApiError Reason *EntityLimitReachedError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type EntityLimitReachedError_Reason ¶
type EntityLimitReachedError_Reason string
const ( EntityLimitReachedError_ReasonCUSTOM_TARGETING_VALUES_LIMIT_REACHED EntityLimitReachedError_Reason = "CUSTOM_TARGETING_VALUES_LIMIT_REACHED" EntityLimitReachedError_ReasonAD_EXCLUSION_RULES_LIMIT_REACHED EntityLimitReachedError_Reason = "AD_EXCLUSION_RULES_LIMIT_REACHED" EntityLimitReachedError_ReasonFIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED EntityLimitReachedError_Reason = "FIRST_PARTY_AUDIENCE_SEGMENTS_LIMIT_REACHED" EntityLimitReachedError_ReasonPLACEMENTS_LIMIT_REACHED EntityLimitReachedError_Reason = "PLACEMENTS_LIMIT_REACHED" EntityLimitReachedError_ReasonLINE_ITEMS_LIMIT_REACHED EntityLimitReachedError_Reason = "LINE_ITEMS_LIMIT_REACHED" EntityLimitReachedError_ReasonACTIVE_LINE_ITEMS_LIMIT_REACHED EntityLimitReachedError_Reason = "ACTIVE_LINE_ITEMS_LIMIT_REACHED" EntityLimitReachedError_ReasonDAI_ENCODING_PROFILES_LIMIT_REACHED EntityLimitReachedError_Reason = "DAI_ENCODING_PROFILES_LIMIT_REACHED" EntityLimitReachedError_ReasonTRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED EntityLimitReachedError_Reason = "TRAFFIC_FORECAST_SEGMENTS_LIMIT_REACHED" EntityLimitReachedError_ReasonFORECAST_ADJUSTMENTS_LIMIT_REACHED EntityLimitReachedError_Reason = "FORECAST_ADJUSTMENTS_LIMIT_REACHED" EntityLimitReachedError_ReasonACTIVE_EXPERIMENTS_LIMIT_REACHED EntityLimitReachedError_Reason = "ACTIVE_EXPERIMENTS_LIMIT_REACHED" EntityLimitReachedError_ReasonSITES_LIMIT_REACHED EntityLimitReachedError_Reason = "SITES_LIMIT_REACHED" EntityLimitReachedError_ReasonUNKNOWN EntityLimitReachedError_Reason = "UNKNOWN" )
type FeatureError ¶
type FeatureError struct { *ApiError Reason *FeatureError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type FeatureError_Reason ¶
type FeatureError_Reason string
const ( FeatureError_ReasonMISSING_FEATURE FeatureError_Reason = "MISSING_FEATURE" FeatureError_ReasonUNKNOWN FeatureError_Reason = "UNKNOWN" )
type FieldPathElement ¶
type GetSitesByStatement ¶
type InternalApiError ¶
type InternalApiError struct { *ApiError Reason *InternalApiError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type InternalApiError_Reason ¶
type InternalApiError_Reason string
const ( InternalApiError_ReasonUNEXPECTED_INTERNAL_API_ERROR InternalApiError_Reason = "UNEXPECTED_INTERNAL_API_ERROR" InternalApiError_ReasonTRANSIENT_ERROR InternalApiError_Reason = "TRANSIENT_ERROR" InternalApiError_ReasonUNKNOWN InternalApiError_Reason = "UNKNOWN" InternalApiError_ReasonDOWNTIME InternalApiError_Reason = "DOWNTIME" InternalApiError_ReasonERROR_GENERATING_RESPONSE InternalApiError_Reason = "ERROR_GENERATING_RESPONSE" )
type NotNullError ¶
type NotNullError struct { *ApiError Reason *NotNullError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type NotNullError_Reason ¶
type NotNullError_Reason string
const ( NotNullError_ReasonARG1_NULL NotNullError_Reason = "ARG1_NULL" NotNullError_ReasonARG2_NULL NotNullError_Reason = "ARG2_NULL" NotNullError_ReasonARG3_NULL NotNullError_Reason = "ARG3_NULL" NotNullError_ReasonNULL NotNullError_Reason = "NULL" NotNullError_ReasonUNKNOWN NotNullError_Reason = "UNKNOWN" )
type NullError ¶
type NullError struct { *ApiError Reason *NullError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type NullError_Reason ¶
type NullError_Reason string
const ( NullError_ReasonNOT_NULL NullError_Reason = "NOT_NULL" NullError_ReasonUNKNOWN NullError_Reason = "UNKNOWN" )
type NumberValue ¶
type NumberValue struct { Value string `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type ObjectValue ¶
type ObjectValue struct {
// contains filtered or unexported fields
}
type ParseError ¶
type ParseError struct { *ApiError Reason *ParseError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type ParseError_Reason ¶
type ParseError_Reason string
const ( ParseError_ReasonUNPARSABLE ParseError_Reason = "UNPARSABLE" ParseError_ReasonUNKNOWN ParseError_Reason = "UNKNOWN" )
type PerformSiteAction ¶
type PerformSiteAction struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 performSiteAction"` SiteAction *SiteAction `xml:"siteAction,omitempty" json:"siteAction,omitempty"` FilterStatement *Statement `xml:"filterStatement,omitempty" json:"filterStatement,omitempty"` }
type PerformSiteActionResponse ¶
type PerformSiteActionResponse struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 performSiteActionResponse"` Rval *UpdateResult `xml:"rval,omitempty" json:"rval,omitempty"` }
type PermissionError ¶
type PermissionError struct { *ApiError Reason *PermissionError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type PermissionError_Reason ¶
type PermissionError_Reason string
const ( PermissionError_ReasonPERMISSION_DENIED PermissionError_Reason = "PERMISSION_DENIED" PermissionError_ReasonUNKNOWN PermissionError_Reason = "UNKNOWN" )
type PublisherQueryLanguageContextError ¶
type PublisherQueryLanguageContextError struct { *ApiError Reason *PublisherQueryLanguageContextError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type PublisherQueryLanguageContextError_Reason ¶
type PublisherQueryLanguageContextError_Reason string
const ( PublisherQueryLanguageContextError_ReasonUNEXECUTABLE PublisherQueryLanguageContextError_Reason = "UNEXECUTABLE" PublisherQueryLanguageContextError_ReasonUNKNOWN PublisherQueryLanguageContextError_Reason = "UNKNOWN" )
type PublisherQueryLanguageSyntaxError ¶
type PublisherQueryLanguageSyntaxError struct { *ApiError Reason *PublisherQueryLanguageSyntaxError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type PublisherQueryLanguageSyntaxError_Reason ¶
type PublisherQueryLanguageSyntaxError_Reason string
const ( PublisherQueryLanguageSyntaxError_ReasonUNPARSABLE PublisherQueryLanguageSyntaxError_Reason = "UNPARSABLE" PublisherQueryLanguageSyntaxError_ReasonUNKNOWN PublisherQueryLanguageSyntaxError_Reason = "UNKNOWN" )
type QuotaError ¶
type QuotaError struct { *ApiError Reason *QuotaError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type QuotaError_Reason ¶
type QuotaError_Reason string
const ( QuotaError_ReasonEXCEEDED_QUOTA QuotaError_Reason = "EXCEEDED_QUOTA" QuotaError_ReasonUNKNOWN QuotaError_Reason = "UNKNOWN" QuotaError_ReasonREPORT_JOB_LIMIT QuotaError_Reason = "REPORT_JOB_LIMIT" QuotaError_ReasonSEGMENT_POPULATION_LIMIT QuotaError_Reason = "SEGMENT_POPULATION_LIMIT" )
type RequestHeader ¶
type RequestHeader SoapRequestHeader
type RequiredCollectionError ¶
type RequiredCollectionError struct { *ApiError Reason *RequiredCollectionError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type RequiredCollectionError_Reason ¶
type RequiredCollectionError_Reason string
const ( RequiredCollectionError_ReasonREQUIRED RequiredCollectionError_Reason = "REQUIRED" RequiredCollectionError_ReasonTOO_LARGE RequiredCollectionError_Reason = "TOO_LARGE" RequiredCollectionError_ReasonTOO_SMALL RequiredCollectionError_Reason = "TOO_SMALL" RequiredCollectionError_ReasonUNKNOWN RequiredCollectionError_Reason = "UNKNOWN" )
type RequiredError ¶
type RequiredError struct { *ApiError Reason *RequiredError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type RequiredError_Reason ¶
type RequiredError_Reason string
const (
RequiredError_ReasonREQUIRED RequiredError_Reason = "REQUIRED"
)
type ResponseHeader ¶
type ResponseHeader SoapResponseHeader
type ServerError ¶
type ServerError struct { *ApiError Reason *ServerError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type ServerError_Reason ¶
type ServerError_Reason string
const ( ServerError_ReasonSERVER_ERROR ServerError_Reason = "SERVER_ERROR" ServerError_ReasonSERVER_BUSY ServerError_Reason = "SERVER_BUSY" ServerError_ReasonUNKNOWN ServerError_Reason = "UNKNOWN" )
type SetValue ¶
type SetValue struct { Values []*_Value `xml:"values,omitempty" json:"values,omitempty"` // contains filtered or unexported fields }
type Site ¶
type Site struct { Id int64 `xml:"id,omitempty" json:"id,omitempty"` Url string `xml:"url,omitempty" json:"url,omitempty"` ChildNetworkCode string `xml:"childNetworkCode,omitempty" json:"childNetworkCode,omitempty"` ApprovalStatus *ApprovalStatus `xml:"approvalStatus,omitempty" json:"approvalStatus,omitempty"` Active bool `xml:"active,omitempty" json:"active,omitempty"` DisapprovalReasons []*DisapprovalReason `xml:"disapprovalReasons,omitempty" json:"disapprovalReasons,omitempty"` }
type SiteAction ¶
type SiteAction struct { }
type SiteError ¶
type SiteError struct { *ApiError Reason *SiteError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type SiteError_Reason ¶
type SiteError_Reason string
const ( SiteError_ReasonINVALID_CHILD_NETWORK_CODE SiteError_Reason = "INVALID_CHILD_NETWORK_CODE" SiteError_ReasonCANNOT_ARCHIVE_SITE_WITH_SUBSITES SiteError_Reason = "CANNOT_ARCHIVE_SITE_WITH_SUBSITES" SiteError_ReasonINVALID_URL_FOR_SITE SiteError_Reason = "INVALID_URL_FOR_SITE" SiteError_ReasonMULTIPLE_UPDATES_FOR_SAME_SITE SiteError_Reason = "MULTIPLE_UPDATES_FOR_SAME_SITE" SiteError_ReasonTOO_MANY_SITES_PER_REVIEW_REQUEST SiteError_Reason = "TOO_MANY_SITES_PER_REVIEW_REQUEST" SiteError_ReasonTOO_MANY_REVIEW_REQUESTS_FOR_SITE SiteError_Reason = "TOO_MANY_REVIEW_REQUESTS_FOR_SITE" SiteError_ReasonINVALID_APPROVAL_STATUS_FOR_REVIEW SiteError_Reason = "INVALID_APPROVAL_STATUS_FOR_REVIEW" SiteError_ReasonUNKNOWN SiteError_Reason = "UNKNOWN" )
type SiteServiceInterface ¶
type SiteServiceInterface interface { // Error can be either of the following types: // // - ApiException /* Creates new {@link Site} objects. */ CreateSites(request *CreateSites) (*CreateSitesResponse, error) CreateSitesContext(ctx context.Context, request *CreateSites) (*CreateSitesResponse, error) // Error can be either of the following types: // // - ApiException /* Gets a {@link SitePage} of {@link Site} objects that satisfy the given {@link Statement#query}. The following fields are supported for filtering: <table> <tr> <th scope="col">PQL Property</th> <th scope="col">Object Property</th> </tr> <tr> <td>{@code id}</td> <td>{@link Site#id}</td> </tr> <tr> <td>{@code url}</td> <td>{@link Site#url}</td> </tr> <tr> <td>{@code childNetworkCode}</td> <td>{@link Site#childNetworkCode}</td> </tr> <tr> <td>{@code approvalStatus}</td> <td>{@link Site#approvalStatus}</td> </tr> <tr> <td>{@code active}</td> <td>{@link Site#active}</td> </tr> <tr> <td>{@code lastModifiedApprovalStatusDateTime}</td> <td></td> </tr> </table> Restriction: The {@code lastModifiedApprovalStatusDateTime} PQL property can only be used in a top-level expression scoping the {@code filterStatement} to {@link Site}s whose {@code approvalStatus} was modified on or after a specified date and time. (e.x. {@code "WHERE lastModifiedApprovalStatusDateTime >= '2022-01-01T00:00:00'"}). */ GetSitesByStatement(request *GetSitesByStatement) (*GetSitesByStatementResponse, error) GetSitesByStatementContext(ctx context.Context, request *GetSitesByStatement) (*GetSitesByStatementResponse, error) // Error can be either of the following types: // // - ApiException /* Performs actions on {@link Site} objects that match the given {@link Statement#query}. */ PerformSiteAction(request *PerformSiteAction) (*PerformSiteActionResponse, error) PerformSiteActionContext(ctx context.Context, request *PerformSiteAction) (*PerformSiteActionResponse, error) // Error can be either of the following types: // // - ApiException /* Updates the specified {@link Site} objects. <p>The {@link 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. */ UpdateSites(request *UpdateSites) (*UpdateSitesResponse, error) UpdateSitesContext(ctx context.Context, request *UpdateSites) (*UpdateSitesResponse, error) }
func NewSiteServiceInterface ¶
func NewSiteServiceInterface(client *soap.Client) SiteServiceInterface
type SoapRequestHeader ¶
type SoapResponseHeader ¶
type Statement ¶
type Statement struct { Query string `xml:"query,omitempty" json:"query,omitempty"` Values []*String_ValueMapEntry `xml:"values,omitempty" json:"values,omitempty"` }
type StatementError ¶
type StatementError struct { *ApiError Reason *StatementError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type StatementError_Reason ¶
type StatementError_Reason string
const ( StatementError_ReasonVARIABLE_NOT_BOUND_TO_VALUE StatementError_Reason = "VARIABLE_NOT_BOUND_TO_VALUE" StatementError_ReasonUNKNOWN StatementError_Reason = "UNKNOWN" )
type StringFormatError ¶
type StringFormatError struct { *ApiError Reason *StringFormatError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type StringFormatError_Reason ¶
type StringFormatError_Reason string
const ( StringFormatError_ReasonUNKNOWN StringFormatError_Reason = "UNKNOWN" StringFormatError_ReasonILLEGAL_CHARS StringFormatError_Reason = "ILLEGAL_CHARS" StringFormatError_ReasonINVALID_FORMAT StringFormatError_Reason = "INVALID_FORMAT" )
type StringLengthError ¶
type StringLengthError struct { *ApiError Reason *StringLengthError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type StringLengthError_Reason ¶
type StringLengthError_Reason string
const ( StringLengthError_ReasonTOO_LONG StringLengthError_Reason = "TOO_LONG" StringLengthError_ReasonTOO_SHORT StringLengthError_Reason = "TOO_SHORT" StringLengthError_ReasonUNKNOWN StringLengthError_Reason = "UNKNOWN" )
type String_ValueMapEntry ¶
type String_ValueMapEntry struct { Key string `xml:"key,omitempty" json:"key,omitempty"` Value *_Value `xml:"value,omitempty" json:"value,omitempty"` }
type SubmitSiteForApproval ¶
type SubmitSiteForApproval struct {
*SiteAction
}
type TextValue ¶
type TextValue struct { Value string `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type UpdateResult ¶
type UpdateResult struct {
NumChanges int32 `xml:"numChanges,omitempty" json:"numChanges,omitempty"`
}
type UpdateSites ¶
type UpdateSitesResponse ¶
type UrlError ¶
type UrlError struct { *ApiError Reason *UrlError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type UrlError_Reason ¶
type UrlError_Reason string
const ( UrlError_ReasonCANNOT_USE_RESERVED_URL UrlError_Reason = "CANNOT_USE_RESERVED_URL" UrlError_ReasonCANNOT_USE_GOOGLE_URL UrlError_Reason = "CANNOT_USE_GOOGLE_URL" UrlError_ReasonINVALID_URL UrlError_Reason = "INVALID_URL" UrlError_ReasonUNKNOWN UrlError_Reason = "UNKNOWN" )
Click to show internal directories.
Click to hide internal directories.