Documentation ¶
Index ¶
- type AbstractDisplaySettings
- type AdUnitTargeting
- type AnyType
- type AnyURI
- type ApiError
- type ApiException
- type ApiExceptionFault
- type ApiVersionError
- type ApiVersionError_Reason
- type ApplicationException
- type AudienceSegmentCriteria
- type AudienceSegmentCriteria_ComparisonOperator
- type AuthenticationError
- type AuthenticationError_Reason
- type BandwidthGroup
- type BandwidthGroupTargeting
- type BooleanValue
- type Browser
- type BrowserLanguage
- type BrowserLanguageTargeting
- type BrowserTargeting
- type BuyerUserListTargeting
- type CmsMetadataCriteria
- type CmsMetadataCriteria_ComparisonOperator
- type CollectionSizeError
- type CollectionSizeError_Reason
- type CommonError
- type CommonError_Reason
- type ContentTargeting
- type CreateYieldGroups
- type CreateYieldGroupsResponse
- type CustomCriteria
- type CustomCriteriaLeaf
- type CustomCriteriaNode
- type CustomCriteriaSet
- type CustomCriteriaSet_LogicalOperator
- type CustomCriteria_ComparisonOperator
- type CustomTargetingError
- type CustomTargetingError_Reason
- type Date
- type DateTime
- type DateTimeRange
- type DateTimeRangeTargeting
- type DateTimeRangeTargetingError
- type DateTimeRangeTargetingError_Reason
- type DateTimeValue
- type DateValue
- type DayOfWeek
- type DayPart
- type DayPartTargeting
- type DayPartTargetingError
- type DayPartTargetingError_Reason
- type DeliveryTimeZone
- type DeviceCapability
- type DeviceCapabilityTargeting
- type DeviceCategory
- type DeviceCategoryTargeting
- type DeviceManufacturer
- type DeviceManufacturerTargeting
- type DistinctError
- type DistinctError_Reason
- type EntityChildrenLimitReachedError
- type EntityChildrenLimitReachedError_Reason
- type EntityLimitReachedError
- type EntityLimitReachedError_Reason
- type FeatureError
- type FeatureError_Reason
- type FieldPathElement
- type GenericTargetingError
- type GenericTargetingError_Reason
- type GeoTargeting
- type GeoTargetingError
- type GeoTargetingError_Reason
- type GetYieldGroupsByStatement
- type GetYieldGroupsByStatementResponse
- type GetYieldPartners
- type GetYieldPartnersResponse
- type IdError
- type IdError_Reason
- type InternalApiError
- type InternalApiError_Reason
- type InvalidUrlError
- type InvalidUrlError_Reason
- type InventorySizeTargeting
- type InventoryTargeting
- type InventoryTargetingError
- type InventoryTargetingError_Reason
- type InventoryUrl
- type InventoryUrlTargeting
- type Location
- type MinuteOfHour
- type MobileApplicationTargeting
- type MobileApplicationTargetingError
- type MobileApplicationTargetingError_Reason
- type MobileCarrier
- type MobileCarrierTargeting
- type MobileDevice
- type MobileDeviceSubmodel
- type MobileDeviceSubmodelTargeting
- type MobileDeviceTargeting
- type Money
- type NCName
- type NotNullError
- type NotNullError_Reason
- type NumberValue
- type ObjectValue
- type OpenBiddingSetting
- type OperatingSystem
- type OperatingSystemTargeting
- type OperatingSystemVersion
- type OperatingSystemVersionTargeting
- type ParseError
- type ParseError_Reason
- type PartnerSettingStatus
- type PermissionError
- type PermissionError_Reason
- type PublisherQueryLanguageContextError
- type PublisherQueryLanguageContextError_Reason
- type PublisherQueryLanguageSyntaxError
- type PublisherQueryLanguageSyntaxError_Reason
- type QuotaError
- type QuotaError_Reason
- type RequestHeader
- type RequestPlatform
- type RequestPlatformTargeting
- type RequestPlatformTargetingError
- type RequestPlatformTargetingError_Reason
- type RequiredCollectionError
- type RequiredCollectionError_Reason
- type RequiredError
- type RequiredError_Reason
- type RequiredNumberError
- type RequiredNumberError_Reason
- type ResponseHeader
- type SdkMediationSettings
- type ServerError
- type ServerError_Reason
- type SetValue
- type Size
- 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 TargetedSize
- type Targeting
- type Technology
- type TechnologyTargeting
- type TechnologyTargetingError
- type TechnologyTargetingError_Reason
- type TextValue
- type TimeOfDay
- type UniqueError
- type UpdateYieldGroups
- type UpdateYieldGroupsResponse
- type UserDomainTargeting
- type UserDomainTargetingError
- type UserDomainTargetingError_Reason
- type VideoBumperType
- type VideoPosition
- type VideoPositionTarget
- type VideoPositionTargeting
- type VideoPositionTargetingError
- type VideoPositionTargetingError_Reason
- type VideoPositionWithinPod
- type VideoPosition_Type
- type YieldAdSource
- type YieldEntityStatus
- type YieldEnvironmentType
- type YieldError
- type YieldError_Reason
- type YieldFormat
- type YieldGroup
- type YieldGroupPage
- type YieldGroupServiceInterface
- type YieldIntegrationType
- type YieldParameter
- type YieldParameter_StringMapEntry
- type YieldPartner
- type YieldPartnerSettings
- type YieldPlatform
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbstractDisplaySettings ¶
type AbstractDisplaySettings struct { }
type AdUnitTargeting ¶
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 AudienceSegmentCriteria ¶
type AudienceSegmentCriteria struct { *CustomCriteriaLeaf Operator *AudienceSegmentCriteria_ComparisonOperator `xml:"operator,omitempty" json:"operator,omitempty"` AudienceSegmentIds []int64 `xml:"audienceSegmentIds,omitempty" json:"audienceSegmentIds,omitempty"` }
type AudienceSegmentCriteria_ComparisonOperator ¶
type AudienceSegmentCriteria_ComparisonOperator string
const ( AudienceSegmentCriteria_ComparisonOperatorIS AudienceSegmentCriteria_ComparisonOperator = "IS" AudienceSegmentCriteria_ComparisonOperatorIS_NOT AudienceSegmentCriteria_ComparisonOperator = "IS_NOT" )
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 BandwidthGroup ¶
type BandwidthGroup struct {
*Technology
}
type BandwidthGroupTargeting ¶
type BandwidthGroupTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` BandwidthGroups []*Technology `xml:"bandwidthGroups,omitempty" json:"bandwidthGroups,omitempty"` }
type BooleanValue ¶
type BooleanValue struct { Value bool `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type Browser ¶
type Browser struct { *Technology MajorVersion string `xml:"majorVersion,omitempty" json:"majorVersion,omitempty"` MinorVersion string `xml:"minorVersion,omitempty" json:"minorVersion,omitempty"` }
type BrowserLanguage ¶
type BrowserLanguage struct {
*Technology
}
type BrowserLanguageTargeting ¶
type BrowserLanguageTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` BrowserLanguages []*Technology `xml:"browserLanguages,omitempty" json:"browserLanguages,omitempty"` }
type BrowserTargeting ¶
type BrowserTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` Browsers []*Technology `xml:"browsers,omitempty" json:"browsers,omitempty"` }
type BuyerUserListTargeting ¶
type BuyerUserListTargeting struct {
HasBuyerUserListTargeting bool `xml:"hasBuyerUserListTargeting,omitempty" json:"hasBuyerUserListTargeting,omitempty"`
}
type CmsMetadataCriteria ¶
type CmsMetadataCriteria struct { *CustomCriteriaLeaf Operator *CmsMetadataCriteria_ComparisonOperator `xml:"operator,omitempty" json:"operator,omitempty"` CmsMetadataValueIds []int64 `xml:"cmsMetadataValueIds,omitempty" json:"cmsMetadataValueIds,omitempty"` }
type CmsMetadataCriteria_ComparisonOperator ¶
type CmsMetadataCriteria_ComparisonOperator string
const ( CmsMetadataCriteria_ComparisonOperatorEQUALS CmsMetadataCriteria_ComparisonOperator = "EQUALS" CmsMetadataCriteria_ComparisonOperatorNOT_EQUALS CmsMetadataCriteria_ComparisonOperator = "NOT_EQUALS" )
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 ContentTargeting ¶
type ContentTargeting struct { TargetedContentIds []int64 `xml:"targetedContentIds,omitempty" json:"targetedContentIds,omitempty"` ExcludedContentIds []int64 `xml:"excludedContentIds,omitempty" json:"excludedContentIds,omitempty"` TargetedVideoContentBundleIds []int64 `xml:"targetedVideoContentBundleIds,omitempty" json:"targetedVideoContentBundleIds,omitempty"` ExcludedVideoContentBundleIds []int64 `xml:"excludedVideoContentBundleIds,omitempty" json:"excludedVideoContentBundleIds,omitempty"` }
type CreateYieldGroups ¶
type CreateYieldGroups struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 createYieldGroups"` YieldGroups []*YieldGroup `xml:"yieldGroups,omitempty" json:"yieldGroups,omitempty"` }
type CreateYieldGroupsResponse ¶
type CreateYieldGroupsResponse struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 createYieldGroupsResponse"` Rval []*YieldGroup `xml:"rval,omitempty" json:"rval,omitempty"` }
type CustomCriteria ¶
type CustomCriteria struct { *CustomCriteriaLeaf KeyId int64 `xml:"keyId,omitempty" json:"keyId,omitempty"` ValueIds []int64 `xml:"valueIds,omitempty" json:"valueIds,omitempty"` Operator *CustomCriteria_ComparisonOperator `xml:"operator,omitempty" json:"operator,omitempty"` }
type CustomCriteriaLeaf ¶
type CustomCriteriaLeaf struct {
*CustomCriteriaNode
}
type CustomCriteriaNode ¶
type CustomCriteriaNode struct { }
type CustomCriteriaSet ¶
type CustomCriteriaSet struct { *CustomCriteriaNode // // <span class="constraint Required">This attribute is required.</span> // LogicalOperator *CustomCriteriaSet_LogicalOperator `xml:"logicalOperator,omitempty" json:"logicalOperator,omitempty"` Children []*CustomCriteriaNode `xml:"children,omitempty" json:"children,omitempty"` }
type CustomCriteriaSet_LogicalOperator ¶
type CustomCriteriaSet_LogicalOperator string
const ( CustomCriteriaSet_LogicalOperatorAND CustomCriteriaSet_LogicalOperator = "AND" CustomCriteriaSet_LogicalOperatorOR CustomCriteriaSet_LogicalOperator = "OR" )
type CustomCriteria_ComparisonOperator ¶
type CustomCriteria_ComparisonOperator string
const ( CustomCriteria_ComparisonOperatorIS CustomCriteria_ComparisonOperator = "IS" CustomCriteria_ComparisonOperatorIS_NOT CustomCriteria_ComparisonOperator = "IS_NOT" )
type CustomTargetingError ¶
type CustomTargetingError struct { *ApiError Reason *CustomTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type CustomTargetingError_Reason ¶
type CustomTargetingError_Reason string
const ( CustomTargetingError_ReasonKEY_NOT_FOUND CustomTargetingError_Reason = "KEY_NOT_FOUND" CustomTargetingError_ReasonKEY_COUNT_TOO_LARGE CustomTargetingError_Reason = "KEY_COUNT_TOO_LARGE" CustomTargetingError_ReasonKEY_NAME_DUPLICATE CustomTargetingError_Reason = "KEY_NAME_DUPLICATE" CustomTargetingError_ReasonKEY_NAME_EMPTY CustomTargetingError_Reason = "KEY_NAME_EMPTY" CustomTargetingError_ReasonKEY_NAME_INVALID_LENGTH CustomTargetingError_Reason = "KEY_NAME_INVALID_LENGTH" CustomTargetingError_ReasonKEY_NAME_INVALID_CHARS CustomTargetingError_Reason = "KEY_NAME_INVALID_CHARS" CustomTargetingError_ReasonKEY_NAME_RESERVED CustomTargetingError_Reason = "KEY_NAME_RESERVED" CustomTargetingError_ReasonKEY_DISPLAY_NAME_INVALID_LENGTH CustomTargetingError_Reason = "KEY_DISPLAY_NAME_INVALID_LENGTH" CustomTargetingError_ReasonKEY_STATUS_NOT_ACTIVE CustomTargetingError_Reason = "KEY_STATUS_NOT_ACTIVE" CustomTargetingError_ReasonVALUE_NOT_FOUND CustomTargetingError_Reason = "VALUE_NOT_FOUND" CustomTargetingError_ReasonGET_VALUES_BY_STATEMENT_MUST_CONTAIN_KEY_ID CustomTargetingError_Reason = "GET_VALUES_BY_STATEMENT_MUST_CONTAIN_KEY_ID" CustomTargetingError_ReasonVALUE_COUNT_FOR_KEY_TOO_LARGE CustomTargetingError_Reason = "VALUE_COUNT_FOR_KEY_TOO_LARGE" CustomTargetingError_ReasonVALUE_NAME_DUPLICATE CustomTargetingError_Reason = "VALUE_NAME_DUPLICATE" CustomTargetingError_ReasonVALUE_NAME_EMPTY CustomTargetingError_Reason = "VALUE_NAME_EMPTY" CustomTargetingError_ReasonVALUE_NAME_INVALID_LENGTH CustomTargetingError_Reason = "VALUE_NAME_INVALID_LENGTH" CustomTargetingError_ReasonVALUE_NAME_INVALID_CHARS CustomTargetingError_Reason = "VALUE_NAME_INVALID_CHARS" CustomTargetingError_ReasonVALUE_DISPLAY_NAME_INVALID_LENGTH CustomTargetingError_Reason = "VALUE_DISPLAY_NAME_INVALID_LENGTH" CustomTargetingError_ReasonVALUE_MATCH_TYPE_NOT_ALLOWED CustomTargetingError_Reason = "VALUE_MATCH_TYPE_NOT_ALLOWED" CustomTargetingError_ReasonVALUE_MATCH_TYPE_NOT_EXACT_FOR_PREDEFINED_KEY CustomTargetingError_Reason = "VALUE_MATCH_TYPE_NOT_EXACT_FOR_PREDEFINED_KEY" CustomTargetingError_ReasonSUFFIX_MATCH_TYPE_NOT_ALLOWED CustomTargetingError_Reason = "SUFFIX_MATCH_TYPE_NOT_ALLOWED" CustomTargetingError_ReasonCONTAINS_MATCH_TYPE_NOT_ALLOWED CustomTargetingError_Reason = "CONTAINS_MATCH_TYPE_NOT_ALLOWED" CustomTargetingError_ReasonVALUE_STATUS_NOT_ACTIVE CustomTargetingError_Reason = "VALUE_STATUS_NOT_ACTIVE" CustomTargetingError_ReasonKEY_WITH_MISSING_VALUES CustomTargetingError_Reason = "KEY_WITH_MISSING_VALUES" CustomTargetingError_ReasonINVALID_VALUE_FOR_KEY CustomTargetingError_Reason = "INVALID_VALUE_FOR_KEY" CustomTargetingError_ReasonCANNOT_OR_DIFFERENT_KEYS CustomTargetingError_Reason = "CANNOT_OR_DIFFERENT_KEYS" CustomTargetingError_ReasonINVALID_TARGETING_EXPRESSION CustomTargetingError_Reason = "INVALID_TARGETING_EXPRESSION" CustomTargetingError_ReasonDELETED_KEY_CANNOT_BE_USED_FOR_TARGETING CustomTargetingError_Reason = "DELETED_KEY_CANNOT_BE_USED_FOR_TARGETING" CustomTargetingError_ReasonDELETED_VALUE_CANNOT_BE_USED_FOR_TARGETING CustomTargetingError_Reason = "DELETED_VALUE_CANNOT_BE_USED_FOR_TARGETING" CustomTargetingError_ReasonVIDEO_BROWSE_BY_KEY_CANNOT_BE_USED_FOR_CUSTOM_TARGETING CustomTargetingError_Reason = "VIDEO_BROWSE_BY_KEY_CANNOT_BE_USED_FOR_CUSTOM_TARGETING" CustomTargetingError_ReasonCANNOT_DELETE_CUSTOM_KEY_USED_IN_CONTENT_METADATA_MAPPING CustomTargetingError_Reason = "CANNOT_DELETE_CUSTOM_KEY_USED_IN_CONTENT_METADATA_MAPPING" CustomTargetingError_ReasonCANNOT_DELETE_CUSTOM_VALUE_USED_IN_CONTENT_METADATA_MAPPING CustomTargetingError_Reason = "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_CONTENT_METADATA_MAPPING" CustomTargetingError_ReasonCANNOT_DELETE_CUSTOM_KEY_USED_IN_PARTNER_ASSIGNMENT_TARGETING CustomTargetingError_Reason = "CANNOT_DELETE_CUSTOM_KEY_USED_IN_PARTNER_ASSIGNMENT_TARGETING" CustomTargetingError_ReasonCANNOT_DELETE_CUSTOM_VALUE_USED_IN_PARTNER_ASSIGNMENT_TARGETING CustomTargetingError_Reason = "CANNOT_DELETE_CUSTOM_VALUE_USED_IN_PARTNER_ASSIGNMENT_TARGETING" CustomTargetingError_ReasonCANNOT_TARGET_AUDIENCE_SEGMENT CustomTargetingError_Reason = "CANNOT_TARGET_AUDIENCE_SEGMENT" CustomTargetingError_ReasonCANNOT_TARGET_THIRD_PARTY_AUDIENCE_SEGMENT CustomTargetingError_Reason = "CANNOT_TARGET_THIRD_PARTY_AUDIENCE_SEGMENT" CustomTargetingError_ReasonCANNOT_TARGET_INACTIVE_AUDIENCE_SEGMENT CustomTargetingError_Reason = "CANNOT_TARGET_INACTIVE_AUDIENCE_SEGMENT" CustomTargetingError_ReasonINVALID_AUDIENCE_SEGMENTS CustomTargetingError_Reason = "INVALID_AUDIENCE_SEGMENTS" CustomTargetingError_ReasonCANNOT_TARGET_MAPPED_METADATA CustomTargetingError_Reason = "CANNOT_TARGET_MAPPED_METADATA" CustomTargetingError_ReasonONLY_APPROVED_AUDIENCE_SEGMENTS_CAN_BE_TARGETED CustomTargetingError_Reason = "ONLY_APPROVED_AUDIENCE_SEGMENTS_CAN_BE_TARGETED" CustomTargetingError_ReasonUNKNOWN CustomTargetingError_Reason = "UNKNOWN" )
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 DateTimeRange ¶
type DateTimeRange struct { StartDateTime soap.XSDDateTime `xml:"startDateTime,omitempty" json:"startDateTime,omitempty"` EndDateTime soap.XSDDateTime `xml:"endDateTime,omitempty" json:"endDateTime,omitempty"` }
type DateTimeRangeTargeting ¶
type DateTimeRangeTargeting struct {
TargetedDateTimeRanges []*DateTimeRange `xml:"targetedDateTimeRanges,omitempty" json:"targetedDateTimeRanges,omitempty"`
}
type DateTimeRangeTargetingError ¶
type DateTimeRangeTargetingError struct { *ApiError Reason *DateTimeRangeTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type DateTimeRangeTargetingError_Reason ¶
type DateTimeRangeTargetingError_Reason string
const ( DateTimeRangeTargetingError_ReasonEMPTY_RANGES DateTimeRangeTargetingError_Reason = "EMPTY_RANGES" DateTimeRangeTargetingError_ReasonNOT_SPONSORSHIP_LINEITEM DateTimeRangeTargetingError_Reason = "NOT_SPONSORSHIP_LINEITEM" DateTimeRangeTargetingError_ReasonNOT_SPONSORSHIP_OR_STANDARD_LINEITEM DateTimeRangeTargetingError_Reason = "NOT_SPONSORSHIP_OR_STANDARD_LINEITEM" DateTimeRangeTargetingError_ReasonUNSUPPORTED_LINEITEM_RESERVATION_TYPE DateTimeRangeTargetingError_Reason = "UNSUPPORTED_LINEITEM_RESERVATION_TYPE" DateTimeRangeTargetingError_ReasonPAST_RANGES_CHANGED DateTimeRangeTargetingError_Reason = "PAST_RANGES_CHANGED" DateTimeRangeTargetingError_ReasonRANGES_OVERLAP DateTimeRangeTargetingError_Reason = "RANGES_OVERLAP" DateTimeRangeTargetingError_ReasonFIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME DateTimeRangeTargetingError_Reason = "FIRST_DATE_TIME_DOES_NOT_MATCH_START_TIME" DateTimeRangeTargetingError_ReasonLAST_DATE_TIME_DOES_NOT_MATCH_END_TIME DateTimeRangeTargetingError_Reason = "LAST_DATE_TIME_DOES_NOT_MATCH_END_TIME" DateTimeRangeTargetingError_ReasonRANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD DateTimeRangeTargetingError_Reason = "RANGES_OUT_OF_LINEITEM_ACTIVE_PERIOD" DateTimeRangeTargetingError_ReasonSTART_TIME_IS_NOT_START_OF_DAY DateTimeRangeTargetingError_Reason = "START_TIME_IS_NOT_START_OF_DAY" DateTimeRangeTargetingError_ReasonEND_TIME_IS_NOT_END_OF_DAY DateTimeRangeTargetingError_Reason = "END_TIME_IS_NOT_END_OF_DAY" DateTimeRangeTargetingError_ReasonSTART_DATE_TIME_IS_IN_PAST DateTimeRangeTargetingError_Reason = "START_DATE_TIME_IS_IN_PAST" DateTimeRangeTargetingError_ReasonMODIFY_START_DATE_TIME_TO_PAST DateTimeRangeTargetingError_Reason = "MODIFY_START_DATE_TIME_TO_PAST" DateTimeRangeTargetingError_ReasonRANGE_END_TIME_BEFORE_START_TIME DateTimeRangeTargetingError_Reason = "RANGE_END_TIME_BEFORE_START_TIME" DateTimeRangeTargetingError_ReasonEND_DATE_TIME_IS_TOO_LATE DateTimeRangeTargetingError_Reason = "END_DATE_TIME_IS_TOO_LATE" DateTimeRangeTargetingError_ReasonLIMITED_RANGES_IN_UNLIMITED_LINEITEM DateTimeRangeTargetingError_Reason = "LIMITED_RANGES_IN_UNLIMITED_LINEITEM" DateTimeRangeTargetingError_ReasonUNKNOWN DateTimeRangeTargetingError_Reason = "UNKNOWN" )
type DateTimeValue ¶
type DateTimeValue struct { Value soap.XSDDateTime `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type DayPartTargeting ¶
type DayPartTargeting struct { DayParts []*DayPart `xml:"dayParts,omitempty" json:"dayParts,omitempty"` TimeZone *DeliveryTimeZone `xml:"timeZone,omitempty" json:"timeZone,omitempty"` }
type DayPartTargetingError ¶
type DayPartTargetingError struct { *ApiError Reason *DayPartTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type DayPartTargetingError_Reason ¶
type DayPartTargetingError_Reason string
const ( DayPartTargetingError_ReasonINVALID_HOUR DayPartTargetingError_Reason = "INVALID_HOUR" DayPartTargetingError_ReasonINVALID_MINUTE DayPartTargetingError_Reason = "INVALID_MINUTE" DayPartTargetingError_ReasonEND_TIME_NOT_AFTER_START_TIME DayPartTargetingError_Reason = "END_TIME_NOT_AFTER_START_TIME" DayPartTargetingError_ReasonTIME_PERIODS_OVERLAP DayPartTargetingError_Reason = "TIME_PERIODS_OVERLAP" DayPartTargetingError_ReasonUNKNOWN DayPartTargetingError_Reason = "UNKNOWN" )
type DeliveryTimeZone ¶
type DeliveryTimeZone string
const ( DeliveryTimeZonePUBLISHER DeliveryTimeZone = "PUBLISHER" DeliveryTimeZoneBROWSER DeliveryTimeZone = "BROWSER" )
type DeviceCapability ¶
type DeviceCapability struct {
*Technology
}
type DeviceCapabilityTargeting ¶
type DeviceCapabilityTargeting struct { TargetedDeviceCapabilities []*Technology `xml:"targetedDeviceCapabilities,omitempty" json:"targetedDeviceCapabilities,omitempty"` ExcludedDeviceCapabilities []*Technology `xml:"excludedDeviceCapabilities,omitempty" json:"excludedDeviceCapabilities,omitempty"` }
type DeviceCategory ¶
type DeviceCategory struct {
*Technology
}
type DeviceCategoryTargeting ¶
type DeviceCategoryTargeting struct { TargetedDeviceCategories []*Technology `xml:"targetedDeviceCategories,omitempty" json:"targetedDeviceCategories,omitempty"` ExcludedDeviceCategories []*Technology `xml:"excludedDeviceCategories,omitempty" json:"excludedDeviceCategories,omitempty"` }
type DeviceManufacturer ¶
type DeviceManufacturer struct {
*Technology
}
type DeviceManufacturerTargeting ¶
type DeviceManufacturerTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` DeviceManufacturers []*Technology `xml:"deviceManufacturers,omitempty" json:"deviceManufacturers,omitempty"` }
type DistinctError ¶
type DistinctError struct { *ApiError Reason *DistinctError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type DistinctError_Reason ¶
type DistinctError_Reason string
const ( DistinctError_ReasonDUPLICATE_ELEMENT DistinctError_Reason = "DUPLICATE_ELEMENT" DistinctError_ReasonDUPLICATE_TYPE DistinctError_Reason = "DUPLICATE_TYPE" )
type EntityChildrenLimitReachedError ¶
type EntityChildrenLimitReachedError struct { *ApiError Reason *EntityChildrenLimitReachedError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type EntityChildrenLimitReachedError_Reason ¶
type EntityChildrenLimitReachedError_Reason string
const ( EntityChildrenLimitReachedError_ReasonLINE_ITEM_LIMIT_FOR_ORDER_REACHED EntityChildrenLimitReachedError_Reason = "LINE_ITEM_LIMIT_FOR_ORDER_REACHED" EntityChildrenLimitReachedError_ReasonCREATIVE_ASSOCIATION_LIMIT_FOR_LINE_ITEM_REACHED EntityChildrenLimitReachedError_Reason = "CREATIVE_ASSOCIATION_LIMIT_FOR_LINE_ITEM_REACHED" EntityChildrenLimitReachedError_ReasonAD_UNIT_LIMIT_FOR_PLACEMENT_REACHED EntityChildrenLimitReachedError_Reason = "AD_UNIT_LIMIT_FOR_PLACEMENT_REACHED" EntityChildrenLimitReachedError_ReasonTARGETING_EXPRESSION_LIMIT_FOR_LINE_ITEM_REACHED EntityChildrenLimitReachedError_Reason = "TARGETING_EXPRESSION_LIMIT_FOR_LINE_ITEM_REACHED" EntityChildrenLimitReachedError_ReasonTARGETING_EXPRESSION_SIZE_LIMIT_REACHED EntityChildrenLimitReachedError_Reason = "TARGETING_EXPRESSION_SIZE_LIMIT_REACHED" EntityChildrenLimitReachedError_ReasonCUSTOM_TARGETING_VALUES_FOR_KEY_LIMIT_REACHED EntityChildrenLimitReachedError_Reason = "CUSTOM_TARGETING_VALUES_FOR_KEY_LIMIT_REACHED" EntityChildrenLimitReachedError_ReasonTARGETING_EXPRESSION_LIMIT_FOR_CREATIVES_ON_LINE_ITEM_REACHED EntityChildrenLimitReachedError_Reason = "TARGETING_EXPRESSION_LIMIT_FOR_CREATIVES_ON_LINE_ITEM_REACHED" EntityChildrenLimitReachedError_ReasonATTACHMENT_LIMIT_FOR_PROPOSAL_REACHED EntityChildrenLimitReachedError_Reason = "ATTACHMENT_LIMIT_FOR_PROPOSAL_REACHED" EntityChildrenLimitReachedError_ReasonPROPOSAL_LINE_ITEM_LIMIT_FOR_PROPOSAL_REACHED EntityChildrenLimitReachedError_Reason = "PROPOSAL_LINE_ITEM_LIMIT_FOR_PROPOSAL_REACHED" EntityChildrenLimitReachedError_ReasonPRODUCT_LIMIT_FOR_PRODUCT_PACKAGE_REACHED EntityChildrenLimitReachedError_Reason = "PRODUCT_LIMIT_FOR_PRODUCT_PACKAGE_REACHED" EntityChildrenLimitReachedError_ReasonPRODUCT_TEMPLATE_AND_PRODUCT_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED EntityChildrenLimitReachedError_Reason = "PRODUCT_TEMPLATE_AND_PRODUCT_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED" EntityChildrenLimitReachedError_ReasonPRODUCT_PACKAGE_ITEM_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED EntityChildrenLimitReachedError_Reason = "PRODUCT_PACKAGE_ITEM_BASE_RATE_LIMIT_FOR_RATE_CARD_REACHED" EntityChildrenLimitReachedError_ReasonPREMIUM_LIMIT_FOR_RATE_CARD_REACHED EntityChildrenLimitReachedError_Reason = "PREMIUM_LIMIT_FOR_RATE_CARD_REACHED" EntityChildrenLimitReachedError_ReasonAD_UNIT_LIMIT_FOR_AD_EXCLUSION_RULE_TARGETING_REACHED EntityChildrenLimitReachedError_Reason = "AD_UNIT_LIMIT_FOR_AD_EXCLUSION_RULE_TARGETING_REACHED" EntityChildrenLimitReachedError_ReasonNATIVE_STYLE_LIMIT_FOR_NATIVE_AD_FORMAT_REACHED EntityChildrenLimitReachedError_Reason = "NATIVE_STYLE_LIMIT_FOR_NATIVE_AD_FORMAT_REACHED" EntityChildrenLimitReachedError_ReasonTARGETING_EXPRESSION_LIMIT_FOR_PRESENTATION_ASSIGNMENT_REACHED EntityChildrenLimitReachedError_Reason = "TARGETING_EXPRESSION_LIMIT_FOR_PRESENTATION_ASSIGNMENT_REACHED" EntityChildrenLimitReachedError_ReasonUNKNOWN EntityChildrenLimitReachedError_Reason = "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 GenericTargetingError ¶
type GenericTargetingError struct { *ApiError Reason *GenericTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type GenericTargetingError_Reason ¶
type GenericTargetingError_Reason string
const ( GenericTargetingError_ReasonCONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS GenericTargetingError_Reason = "CONFLICTING_INCLUSION_OR_EXCLUSION_OF_SIBLINGS" GenericTargetingError_ReasonINCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA GenericTargetingError_Reason = "INCLUDING_DESCENDANTS_OF_EXCLUDED_CRITERIA" GenericTargetingError_ReasonUNKNOWN GenericTargetingError_Reason = "UNKNOWN" )
type GeoTargeting ¶
type GeoTargetingError ¶
type GeoTargetingError struct { *ApiError Reason *GeoTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type GeoTargetingError_Reason ¶
type GeoTargetingError_Reason string
const ( GeoTargetingError_ReasonTARGETED_LOCATIONS_NOT_EXCLUDABLE GeoTargetingError_Reason = "TARGETED_LOCATIONS_NOT_EXCLUDABLE" GeoTargetingError_ReasonEXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED GeoTargetingError_Reason = "EXCLUDED_LOCATIONS_CANNOT_HAVE_CHILDREN_TARGETED" GeoTargetingError_ReasonPOSTAL_CODES_CANNOT_BE_EXCLUDED GeoTargetingError_Reason = "POSTAL_CODES_CANNOT_BE_EXCLUDED" GeoTargetingError_ReasonUNTARGETABLE_LOCATION GeoTargetingError_Reason = "UNTARGETABLE_LOCATION" GeoTargetingError_ReasonUNKNOWN GeoTargetingError_Reason = "UNKNOWN" )
type GetYieldGroupsByStatementResponse ¶
type GetYieldGroupsByStatementResponse struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 getYieldGroupsByStatementResponse"` Rval *YieldGroupPage `xml:"rval,omitempty" json:"rval,omitempty"` }
type GetYieldPartners ¶
type GetYieldPartnersResponse ¶
type GetYieldPartnersResponse struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 getYieldPartnersResponse"` Rval []*YieldPartner `xml:"rval,omitempty" json:"rval,omitempty"` }
type IdError ¶
type IdError struct { *ApiError Reason *IdError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type IdError_Reason ¶
type IdError_Reason string
const (
IdError_ReasonNOT_FOUND IdError_Reason = "NOT_FOUND"
)
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 InvalidUrlError ¶
type InvalidUrlError struct { *ApiError Reason *InvalidUrlError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type InvalidUrlError_Reason ¶
type InvalidUrlError_Reason string
const ( InvalidUrlError_ReasonILLEGAL_CHARACTERS InvalidUrlError_Reason = "ILLEGAL_CHARACTERS" InvalidUrlError_ReasonINVALID_FORMAT InvalidUrlError_Reason = "INVALID_FORMAT" InvalidUrlError_ReasonINSECURE_SCHEME InvalidUrlError_Reason = "INSECURE_SCHEME" InvalidUrlError_ReasonNO_SCHEME InvalidUrlError_Reason = "NO_SCHEME" InvalidUrlError_ReasonUNKNOWN InvalidUrlError_Reason = "UNKNOWN" )
type InventorySizeTargeting ¶
type InventorySizeTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` TargetedSizes []*TargetedSize `xml:"targetedSizes,omitempty" json:"targetedSizes,omitempty"` }
type InventoryTargeting ¶
type InventoryTargeting struct { TargetedAdUnits []*AdUnitTargeting `xml:"targetedAdUnits,omitempty" json:"targetedAdUnits,omitempty"` ExcludedAdUnits []*AdUnitTargeting `xml:"excludedAdUnits,omitempty" json:"excludedAdUnits,omitempty"` TargetedPlacementIds []int64 `xml:"targetedPlacementIds,omitempty" json:"targetedPlacementIds,omitempty"` }
type InventoryTargetingError ¶
type InventoryTargetingError struct { *ApiError Reason *InventoryTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type InventoryTargetingError_Reason ¶
type InventoryTargetingError_Reason string
const ( InventoryTargetingError_ReasonAT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED InventoryTargetingError_Reason = "AT_LEAST_ONE_PLACEMENT_OR_INVENTORY_UNIT_REQUIRED" InventoryTargetingError_ReasonINVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED InventoryTargetingError_Reason = "INVENTORY_CANNOT_BE_TARGETED_AND_EXCLUDED" InventoryTargetingError_ReasonINVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED InventoryTargetingError_Reason = "INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_TARGETED" InventoryTargetingError_ReasonINVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED InventoryTargetingError_Reason = "INVENTORY_UNIT_CANNOT_BE_TARGETED_IF_ANCESTOR_IS_EXCLUDED" InventoryTargetingError_ReasonINVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED InventoryTargetingError_Reason = "INVENTORY_UNIT_CANNOT_BE_EXCLUDED_IF_ANCESTOR_IS_EXCLUDED" InventoryTargetingError_ReasonEXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED InventoryTargetingError_Reason = "EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_TARGETED" InventoryTargetingError_ReasonEXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED InventoryTargetingError_Reason = "EXPLICITLY_TARGETED_INVENTORY_UNIT_CANNOT_BE_EXCLUDED" InventoryTargetingError_ReasonSELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED InventoryTargetingError_Reason = "SELF_ONLY_INVENTORY_UNIT_NOT_ALLOWED" InventoryTargetingError_ReasonSELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS InventoryTargetingError_Reason = "SELF_ONLY_INVENTORY_UNIT_WITHOUT_DESCENDANTS" InventoryTargetingError_ReasonYOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY InventoryTargetingError_Reason = "YOUTUBE_AUDIENCE_SEGMENTS_CAN_ONLY_BE_TARGETED_WITH_YOUTUBE_SHARED_INVENTORY" InventoryTargetingError_ReasonUNKNOWN InventoryTargetingError_Reason = "UNKNOWN" )
type InventoryUrl ¶
type InventoryUrl struct {
Id int64 `xml:"id,omitempty" json:"id,omitempty"`
}
type InventoryUrlTargeting ¶
type InventoryUrlTargeting struct { TargetedUrls []*InventoryUrl `xml:"targetedUrls,omitempty" json:"targetedUrls,omitempty"` ExcludedUrls []*InventoryUrl `xml:"excludedUrls,omitempty" json:"excludedUrls,omitempty"` }
type Location ¶
type Location struct { Id int64 `xml:"id,omitempty" json:"id,omitempty"` Type_ string `xml:"type,omitempty" json:"type,omitempty"` CanonicalParentId int32 `xml:"canonicalParentId,omitempty" json:"canonicalParentId,omitempty"` DisplayName string `xml:"displayName,omitempty" json:"displayName,omitempty"` }
type MinuteOfHour ¶
type MinuteOfHour string
const ( MinuteOfHourZERO MinuteOfHour = "ZERO" MinuteOfHourFIFTEEN MinuteOfHour = "FIFTEEN" MinuteOfHourTHIRTY MinuteOfHour = "THIRTY" MinuteOfHourFORTY_FIVE MinuteOfHour = "FORTY_FIVE" )
type MobileApplicationTargetingError ¶
type MobileApplicationTargetingError struct { *ApiError Reason *MobileApplicationTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type MobileApplicationTargetingError_Reason ¶
type MobileApplicationTargetingError_Reason string
const ( MobileApplicationTargetingError_ReasonCANNOT_TARGET_UNLINKED_APPLICATION MobileApplicationTargetingError_Reason = "CANNOT_TARGET_UNLINKED_APPLICATION" MobileApplicationTargetingError_ReasonUNKNOWN MobileApplicationTargetingError_Reason = "UNKNOWN" )
type MobileCarrier ¶
type MobileCarrier struct {
*Technology
}
type MobileCarrierTargeting ¶
type MobileCarrierTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` MobileCarriers []*Technology `xml:"mobileCarriers,omitempty" json:"mobileCarriers,omitempty"` }
type MobileDevice ¶
type MobileDevice struct { *Technology ManufacturerCriterionId int64 `xml:"manufacturerCriterionId,omitempty" json:"manufacturerCriterionId,omitempty"` }
type MobileDeviceSubmodel ¶
type MobileDeviceSubmodel struct { *Technology MobileDeviceCriterionId int64 `xml:"mobileDeviceCriterionId,omitempty" json:"mobileDeviceCriterionId,omitempty"` DeviceManufacturerCriterionId int64 `xml:"deviceManufacturerCriterionId,omitempty" json:"deviceManufacturerCriterionId,omitempty"` }
type MobileDeviceSubmodelTargeting ¶
type MobileDeviceSubmodelTargeting struct { TargetedMobileDeviceSubmodels []*Technology `xml:"targetedMobileDeviceSubmodels,omitempty" json:"targetedMobileDeviceSubmodels,omitempty"` ExcludedMobileDeviceSubmodels []*Technology `xml:"excludedMobileDeviceSubmodels,omitempty" json:"excludedMobileDeviceSubmodels,omitempty"` }
type MobileDeviceTargeting ¶
type MobileDeviceTargeting struct { TargetedMobileDevices []*Technology `xml:"targetedMobileDevices,omitempty" json:"targetedMobileDevices,omitempty"` ExcludedMobileDevices []*Technology `xml:"excludedMobileDevices,omitempty" json:"excludedMobileDevices,omitempty"` }
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 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 OpenBiddingSetting ¶
type OpenBiddingSetting struct { *AbstractDisplaySettings YieldIntegrationType *YieldIntegrationType `xml:"yieldIntegrationType,omitempty" json:"yieldIntegrationType,omitempty"` }
type OperatingSystem ¶
type OperatingSystem struct {
*Technology
}
type OperatingSystemTargeting ¶
type OperatingSystemTargeting struct { IsTargeted bool `xml:"isTargeted,omitempty" json:"isTargeted,omitempty"` OperatingSystems []*Technology `xml:"operatingSystems,omitempty" json:"operatingSystems,omitempty"` }
type OperatingSystemVersion ¶
type OperatingSystemVersion struct { *Technology MajorVersion int32 `xml:"majorVersion,omitempty" json:"majorVersion,omitempty"` MinorVersion int32 `xml:"minorVersion,omitempty" json:"minorVersion,omitempty"` MicroVersion int32 `xml:"microVersion,omitempty" json:"microVersion,omitempty"` }
type OperatingSystemVersionTargeting ¶
type OperatingSystemVersionTargeting struct { TargetedOperatingSystemVersions []*Technology `xml:"targetedOperatingSystemVersions,omitempty" json:"targetedOperatingSystemVersions,omitempty"` ExcludedOperatingSystemVersions []*Technology `xml:"excludedOperatingSystemVersions,omitempty" json:"excludedOperatingSystemVersions,omitempty"` }
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 PartnerSettingStatus ¶
type PartnerSettingStatus string
const ( PartnerSettingStatusUNKNOWN PartnerSettingStatus = "UNKNOWN" PartnerSettingStatusPENDING PartnerSettingStatus = "PENDING" PartnerSettingStatusACTIVE PartnerSettingStatus = "ACTIVE" PartnerSettingStatusDEPRECATED PartnerSettingStatus = "DEPRECATED" )
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 RequestPlatform ¶
type RequestPlatform string
const ( RequestPlatformUNKNOWN RequestPlatform = "UNKNOWN" RequestPlatformBROWSER RequestPlatform = "BROWSER" RequestPlatformMOBILE_APP RequestPlatform = "MOBILE_APP" RequestPlatformVIDEO_PLAYER RequestPlatform = "VIDEO_PLAYER" )
type RequestPlatformTargeting ¶
type RequestPlatformTargeting struct {
TargetedRequestPlatforms []*RequestPlatform `xml:"targetedRequestPlatforms,omitempty" json:"targetedRequestPlatforms,omitempty"`
}
type RequestPlatformTargetingError ¶
type RequestPlatformTargetingError struct { *ApiError Reason *RequestPlatformTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type RequestPlatformTargetingError_Reason ¶
type RequestPlatformTargetingError_Reason string
const ( RequestPlatformTargetingError_ReasonREQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE RequestPlatformTargetingError_Reason = "REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_LINE_ITEM_TYPE" RequestPlatformTargetingError_ReasonREQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE RequestPlatformTargetingError_Reason = "REQUEST_PLATFORM_TYPE_NOT_SUPPORTED_BY_ENVIRONMENT_TYPE" RequestPlatformTargetingError_ReasonUNKNOWN RequestPlatformTargetingError_Reason = "UNKNOWN" )
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 RequiredNumberError ¶
type RequiredNumberError struct { *ApiError Reason *RequiredNumberError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type RequiredNumberError_Reason ¶
type RequiredNumberError_Reason string
const ( RequiredNumberError_ReasonREQUIRED RequiredNumberError_Reason = "REQUIRED" RequiredNumberError_ReasonTOO_LARGE RequiredNumberError_Reason = "TOO_LARGE" RequiredNumberError_ReasonTOO_SMALL RequiredNumberError_Reason = "TOO_SMALL" RequiredNumberError_ReasonTOO_LARGE_WITH_DETAILS RequiredNumberError_Reason = "TOO_LARGE_WITH_DETAILS" RequiredNumberError_ReasonTOO_SMALL_WITH_DETAILS RequiredNumberError_Reason = "TOO_SMALL_WITH_DETAILS" RequiredNumberError_ReasonUNKNOWN RequiredNumberError_Reason = "UNKNOWN" )
type ResponseHeader ¶
type ResponseHeader SoapResponseHeader
type SdkMediationSettings ¶
type SdkMediationSettings struct { *AbstractDisplaySettings Parameters []*YieldParameter_StringMapEntry `xml:"parameters,omitempty" json:"parameters,omitempty"` YieldIntegrationType *YieldIntegrationType `xml:"yieldIntegrationType,omitempty" json:"yieldIntegrationType,omitempty"` Platform *YieldPlatform `xml:"platform,omitempty" json:"platform,omitempty"` }
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 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 TargetedSize ¶
type TargetedSize struct {
Size *Size `xml:"size,omitempty" json:"size,omitempty"`
}
type Targeting ¶
type Targeting struct { GeoTargeting *GeoTargeting `xml:"geoTargeting,omitempty" json:"geoTargeting,omitempty"` InventoryTargeting *InventoryTargeting `xml:"inventoryTargeting,omitempty" json:"inventoryTargeting,omitempty"` DayPartTargeting *DayPartTargeting `xml:"dayPartTargeting,omitempty" json:"dayPartTargeting,omitempty"` DateTimeRangeTargeting *DateTimeRangeTargeting `xml:"dateTimeRangeTargeting,omitempty" json:"dateTimeRangeTargeting,omitempty"` TechnologyTargeting *TechnologyTargeting `xml:"technologyTargeting,omitempty" json:"technologyTargeting,omitempty"` CustomTargeting *CustomCriteriaSet `xml:"customTargeting,omitempty" json:"customTargeting,omitempty"` UserDomainTargeting *UserDomainTargeting `xml:"userDomainTargeting,omitempty" json:"userDomainTargeting,omitempty"` ContentTargeting *ContentTargeting `xml:"contentTargeting,omitempty" json:"contentTargeting,omitempty"` VideoPositionTargeting *VideoPositionTargeting `xml:"videoPositionTargeting,omitempty" json:"videoPositionTargeting,omitempty"` MobileApplicationTargeting *MobileApplicationTargeting `xml:"mobileApplicationTargeting,omitempty" json:"mobileApplicationTargeting,omitempty"` BuyerUserListTargeting *BuyerUserListTargeting `xml:"buyerUserListTargeting,omitempty" json:"buyerUserListTargeting,omitempty"` InventoryUrlTargeting *InventoryUrlTargeting `xml:"inventoryUrlTargeting,omitempty" json:"inventoryUrlTargeting,omitempty"` RequestPlatformTargeting *RequestPlatformTargeting `xml:"requestPlatformTargeting,omitempty" json:"requestPlatformTargeting,omitempty"` InventorySizeTargeting *InventorySizeTargeting `xml:"inventorySizeTargeting,omitempty" json:"inventorySizeTargeting,omitempty"` }
type Technology ¶
type TechnologyTargeting ¶
type TechnologyTargeting struct { BandwidthGroupTargeting *BandwidthGroupTargeting `xml:"bandwidthGroupTargeting,omitempty" json:"bandwidthGroupTargeting,omitempty"` BrowserTargeting *BrowserTargeting `xml:"browserTargeting,omitempty" json:"browserTargeting,omitempty"` BrowserLanguageTargeting *BrowserLanguageTargeting `xml:"browserLanguageTargeting,omitempty" json:"browserLanguageTargeting,omitempty"` DeviceCapabilityTargeting *DeviceCapabilityTargeting `xml:"deviceCapabilityTargeting,omitempty" json:"deviceCapabilityTargeting,omitempty"` DeviceCategoryTargeting *DeviceCategoryTargeting `xml:"deviceCategoryTargeting,omitempty" json:"deviceCategoryTargeting,omitempty"` DeviceManufacturerTargeting *DeviceManufacturerTargeting `xml:"deviceManufacturerTargeting,omitempty" json:"deviceManufacturerTargeting,omitempty"` MobileCarrierTargeting *MobileCarrierTargeting `xml:"mobileCarrierTargeting,omitempty" json:"mobileCarrierTargeting,omitempty"` MobileDeviceTargeting *MobileDeviceTargeting `xml:"mobileDeviceTargeting,omitempty" json:"mobileDeviceTargeting,omitempty"` MobileDeviceSubmodelTargeting *MobileDeviceSubmodelTargeting `xml:"mobileDeviceSubmodelTargeting,omitempty" json:"mobileDeviceSubmodelTargeting,omitempty"` OperatingSystemTargeting *OperatingSystemTargeting `xml:"operatingSystemTargeting,omitempty" json:"operatingSystemTargeting,omitempty"` OperatingSystemVersionTargeting *OperatingSystemVersionTargeting `xml:"operatingSystemVersionTargeting,omitempty" json:"operatingSystemVersionTargeting,omitempty"` }
type TechnologyTargetingError ¶
type TechnologyTargetingError struct { *ApiError Reason *TechnologyTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type TechnologyTargetingError_Reason ¶
type TechnologyTargetingError_Reason string
const ( TechnologyTargetingError_ReasonMOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA TechnologyTargetingError_Reason = "MOBILE_LINE_ITEM_CONTAINS_WEB_TECH_CRITERIA" TechnologyTargetingError_ReasonWEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA TechnologyTargetingError_Reason = "WEB_LINE_ITEM_CONTAINS_MOBILE_TECH_CRITERIA" TechnologyTargetingError_ReasonMOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED TechnologyTargetingError_Reason = "MOBILE_CARRIER_TARGETING_FEATURE_NOT_ENABLED" TechnologyTargetingError_ReasonDEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED TechnologyTargetingError_Reason = "DEVICE_CAPABILITY_TARGETING_FEATURE_NOT_ENABLED" TechnologyTargetingError_ReasonUNKNOWN TechnologyTargetingError_Reason = "UNKNOWN" )
type TextValue ¶
type TextValue struct { Value string `xml:"value,omitempty" json:"value,omitempty"` // contains filtered or unexported fields }
type TimeOfDay ¶
type TimeOfDay struct { Hour int32 `xml:"hour,omitempty" json:"hour,omitempty"` Minute *MinuteOfHour `xml:"minute,omitempty" json:"minute,omitempty"` }
type UniqueError ¶
type UniqueError struct {
*ApiError
}
type UpdateYieldGroups ¶
type UpdateYieldGroups struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 updateYieldGroups"` YieldGroups []*YieldGroup `xml:"yieldGroups,omitempty" json:"yieldGroups,omitempty"` }
type UpdateYieldGroupsResponse ¶
type UpdateYieldGroupsResponse struct { XMLName xml.Name `xml:"https://www.google.com/apis/ads/publisher/v202311 updateYieldGroupsResponse"` Rval []*YieldGroup `xml:"rval,omitempty" json:"rval,omitempty"` }
type UserDomainTargeting ¶
type UserDomainTargetingError ¶
type UserDomainTargetingError struct { *ApiError Reason *UserDomainTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type UserDomainTargetingError_Reason ¶
type UserDomainTargetingError_Reason string
const ( UserDomainTargetingError_ReasonINVALID_DOMAIN_NAMES UserDomainTargetingError_Reason = "INVALID_DOMAIN_NAMES" UserDomainTargetingError_ReasonUNKNOWN UserDomainTargetingError_Reason = "UNKNOWN" )
type VideoBumperType ¶
type VideoBumperType string
const ( VideoBumperTypeBEFORE VideoBumperType = "BEFORE" VideoBumperTypeAFTER VideoBumperType = "AFTER" )
type VideoPosition ¶
type VideoPosition struct { PositionType *VideoPosition_Type `xml:"positionType,omitempty" json:"positionType,omitempty"` MidrollIndex int32 `xml:"midrollIndex,omitempty" json:"midrollIndex,omitempty"` }
type VideoPositionTarget ¶
type VideoPositionTarget struct { VideoPosition *VideoPosition `xml:"videoPosition,omitempty" json:"videoPosition,omitempty"` VideoBumperType *VideoBumperType `xml:"videoBumperType,omitempty" json:"videoBumperType,omitempty"` VideoPositionWithinPod *VideoPositionWithinPod `xml:"videoPositionWithinPod,omitempty" json:"videoPositionWithinPod,omitempty"` AdSpotId int64 `xml:"adSpotId,omitempty" json:"adSpotId,omitempty"` }
type VideoPositionTargeting ¶
type VideoPositionTargeting struct {
TargetedPositions []*VideoPositionTarget `xml:"targetedPositions,omitempty" json:"targetedPositions,omitempty"`
}
type VideoPositionTargetingError ¶
type VideoPositionTargetingError struct { *ApiError Reason *VideoPositionTargetingError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type VideoPositionTargetingError_Reason ¶
type VideoPositionTargetingError_Reason string
const ( VideoPositionTargetingError_ReasonCANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING VideoPositionTargetingError_Reason = "CANNOT_MIX_BUMPER_AND_NON_BUMPER_TARGETING" VideoPositionTargetingError_ReasonINVALID_BUMPER_TARGETING VideoPositionTargetingError_Reason = "INVALID_BUMPER_TARGETING" VideoPositionTargetingError_ReasonCAN_ONLY_TARGET_CUSTOM_AD_SPOTS VideoPositionTargetingError_Reason = "CAN_ONLY_TARGET_CUSTOM_AD_SPOTS" VideoPositionTargetingError_ReasonUNKNOWN VideoPositionTargetingError_Reason = "UNKNOWN" )
type VideoPositionWithinPod ¶
type VideoPositionWithinPod struct {
Index int32 `xml:"index,omitempty" json:"index,omitempty"`
}
type VideoPosition_Type ¶
type VideoPosition_Type string
const ( VideoPosition_TypeUNKNOWN VideoPosition_Type = "UNKNOWN" VideoPosition_TypeALL VideoPosition_Type = "ALL" VideoPosition_TypePREROLL VideoPosition_Type = "PREROLL" VideoPosition_TypeMIDROLL VideoPosition_Type = "MIDROLL" VideoPosition_TypePOSTROLL VideoPosition_Type = "POSTROLL" )
type YieldAdSource ¶
type YieldAdSource struct { AdSourceId int64 `xml:"adSourceId,omitempty" json:"adSourceId,omitempty"` CompanyId int64 `xml:"companyId,omitempty" json:"companyId,omitempty"` DisplaySettings *AbstractDisplaySettings `xml:"displaySettings,omitempty" json:"displaySettings,omitempty"` Status *YieldEntityStatus `xml:"status,omitempty" json:"status,omitempty"` ManualCpm *Money `xml:"manualCpm,omitempty" json:"manualCpm,omitempty"` OverrideDynamicCpm bool `xml:"overrideDynamicCpm,omitempty" json:"overrideDynamicCpm,omitempty"` }
type YieldEntityStatus ¶
type YieldEntityStatus string
const ( YieldEntityStatusUNKNOWN YieldEntityStatus = "UNKNOWN" YieldEntityStatusEXPERIMENTING YieldEntityStatus = "EXPERIMENTING" YieldEntityStatusACTIVE YieldEntityStatus = "ACTIVE" YieldEntityStatusINACTIVE YieldEntityStatus = "INACTIVE" YieldEntityStatusDELETED YieldEntityStatus = "DELETED" )
type YieldEnvironmentType ¶
type YieldEnvironmentType string
const ( YieldEnvironmentTypeUNKNOWN YieldEnvironmentType = "UNKNOWN" YieldEnvironmentTypeMOBILE YieldEnvironmentType = "MOBILE" YieldEnvironmentTypeVIDEO_VAST YieldEnvironmentType = "VIDEO_VAST" YieldEnvironmentTypeWEB YieldEnvironmentType = "WEB" )
type YieldError ¶
type YieldError struct { *ApiError Reason *YieldError_Reason `xml:"reason,omitempty" json:"reason,omitempty"` }
type YieldError_Reason ¶
type YieldError_Reason string
const ( YieldError_ReasonINVALID_BACKEND_DATA YieldError_Reason = "INVALID_BACKEND_DATA" YieldError_ReasonINVALID_REQUEST_DATA YieldError_Reason = "INVALID_REQUEST_DATA" YieldError_ReasonAD_SOURCE_COMPANY_CHANGE YieldError_Reason = "AD_SOURCE_COMPANY_CHANGE" YieldError_ReasonUNSUPPORTED_COMPANY_INTEGRATION_TYPE YieldError_Reason = "UNSUPPORTED_COMPANY_INTEGRATION_TYPE" YieldError_ReasonUNSUPPORTED_BUYER_SETTINGS YieldError_Reason = "UNSUPPORTED_BUYER_SETTINGS" YieldError_ReasonDEPRECATED_AD_NETWORK_ADAPTER YieldError_Reason = "DEPRECATED_AD_NETWORK_ADAPTER" YieldError_ReasonTOO_MANY_UPDATES YieldError_Reason = "TOO_MANY_UPDATES" YieldError_ReasonDUPLICATE_YIELD_PARTNER YieldError_Reason = "DUPLICATE_YIELD_PARTNER" YieldError_ReasonDUPLICATE_HEADER_BIDDER YieldError_Reason = "DUPLICATE_HEADER_BIDDER" YieldError_ReasonINTERNAL_ERROR YieldError_Reason = "INTERNAL_ERROR" YieldError_ReasonINVALID_EXCHANGE_STATUS YieldError_Reason = "INVALID_EXCHANGE_STATUS" YieldError_ReasonINVALID_AD_SOURCE_STATUS YieldError_Reason = "INVALID_AD_SOURCE_STATUS" YieldError_ReasonINVALID_SDK_ADAPTER_KEY_NAME YieldError_Reason = "INVALID_SDK_ADAPTER_KEY_NAME" YieldError_ReasonINVENTORY_UNIT_MAPPING_NOT_FOUND YieldError_Reason = "INVENTORY_UNIT_MAPPING_NOT_FOUND" YieldError_ReasonNO_COMPANIES_PERMISSION YieldError_Reason = "NO_COMPANIES_PERMISSION" YieldError_ReasonINVENTORY_UNIT_MAPPING_INVALID_PARAMETER YieldError_Reason = "INVENTORY_UNIT_MAPPING_INVALID_PARAMETER" YieldError_ReasonUNSUPPORTED_FORMAT_AND_ENVIRONMENT YieldError_Reason = "UNSUPPORTED_FORMAT_AND_ENVIRONMENT" YieldError_ReasonUNKNOWN YieldError_Reason = "UNKNOWN" )
type YieldFormat ¶
type YieldFormat string
const ( YieldFormatUNKNOWN YieldFormat = "UNKNOWN" YieldFormatBANNER YieldFormat = "BANNER" YieldFormatINTERSTITIAL YieldFormat = "INTERSTITIAL" YieldFormatNATIVE YieldFormat = "NATIVE" YieldFormatVIDEO_VAST YieldFormat = "VIDEO_VAST" YieldFormatREWARDED YieldFormat = "REWARDED" YieldFormatREWARDED_INTERSTITIAL YieldFormat = "REWARDED_INTERSTITIAL" YieldFormatAPP_OPEN YieldFormat = "APP_OPEN" )
type YieldGroup ¶
type YieldGroup struct { YieldGroupId int64 `xml:"yieldGroupId,omitempty" json:"yieldGroupId,omitempty"` YieldGroupName string `xml:"yieldGroupName,omitempty" json:"yieldGroupName,omitempty"` ExchangeStatus *YieldEntityStatus `xml:"exchangeStatus,omitempty" json:"exchangeStatus,omitempty"` Format *YieldFormat `xml:"format,omitempty" json:"format,omitempty"` EnvironmentType *YieldEnvironmentType `xml:"environmentType,omitempty" json:"environmentType,omitempty"` Targeting *Targeting `xml:"targeting,omitempty" json:"targeting,omitempty"` AdSources []*YieldAdSource `xml:"adSources,omitempty" json:"adSources,omitempty"` }
type YieldGroupPage ¶
type YieldGroupPage struct { TotalResultSetSize int32 `xml:"totalResultSetSize,omitempty" json:"totalResultSetSize,omitempty"` StartIndex int32 `xml:"startIndex,omitempty" json:"startIndex,omitempty"` Results []*YieldGroup `xml:"results,omitempty" json:"results,omitempty"` }
type YieldGroupServiceInterface ¶
type YieldGroupServiceInterface interface { // Error can be either of the following types: // // - ApiException /* Creates yield groups in bulk. */ CreateYieldGroups(request *CreateYieldGroups) (*CreateYieldGroupsResponse, error) CreateYieldGroupsContext(ctx context.Context, request *CreateYieldGroups) (*CreateYieldGroupsResponse, error) // Error can be either of the following types: // // - ApiException /* Gets a page of yield groups, with child tags, filtered by the given statement. */ GetYieldGroupsByStatement(request *GetYieldGroupsByStatement) (*GetYieldGroupsByStatementResponse, error) GetYieldGroupsByStatementContext(ctx context.Context, request *GetYieldGroupsByStatement) (*GetYieldGroupsByStatementResponse, error) // Error can be either of the following types: // // - ApiException /* Returns the available partners for yield groups, each one of them is backed by a company. */ GetYieldPartners(request *GetYieldPartners) (*GetYieldPartnersResponse, error) GetYieldPartnersContext(ctx context.Context, request *GetYieldPartners) (*GetYieldPartnersResponse, error) // Error can be either of the following types: // // - ApiException /* Updates a list of yield groups. */ UpdateYieldGroups(request *UpdateYieldGroups) (*UpdateYieldGroupsResponse, error) UpdateYieldGroupsContext(ctx context.Context, request *UpdateYieldGroups) (*UpdateYieldGroupsResponse, error) }
func NewYieldGroupServiceInterface ¶
func NewYieldGroupServiceInterface(client *soap.Client) YieldGroupServiceInterface
type YieldIntegrationType ¶
type YieldIntegrationType string
const ( YieldIntegrationTypeUNKNOWN YieldIntegrationType = "UNKNOWN" YieldIntegrationTypeCUSTOM_EVENT YieldIntegrationType = "CUSTOM_EVENT" YieldIntegrationTypeSDK YieldIntegrationType = "SDK" YieldIntegrationTypeOPEN_BIDDING YieldIntegrationType = "OPEN_BIDDING" YieldIntegrationTypeNETWORK_BIDDING YieldIntegrationType = "NETWORK_BIDDING" )
type YieldParameter ¶
type YieldParameter_StringMapEntry ¶
type YieldParameter_StringMapEntry struct { Key *YieldParameter `xml:"key,omitempty" json:"key,omitempty"` Value string `xml:"value,omitempty" json:"value,omitempty"` }
type YieldPartner ¶
type YieldPartner struct { CompanyId int64 `xml:"companyId,omitempty" json:"companyId,omitempty"` Settings []*YieldPartnerSettings `xml:"settings,omitempty" json:"settings,omitempty"` }
type YieldPartnerSettings ¶
type YieldPartnerSettings struct { Status *PartnerSettingStatus `xml:"status,omitempty" json:"status,omitempty"` Environment *YieldEnvironmentType `xml:"environment,omitempty" json:"environment,omitempty"` Format *YieldFormat `xml:"format,omitempty" json:"format,omitempty"` IntegrationType *YieldIntegrationType `xml:"integrationType,omitempty" json:"integrationType,omitempty"` Platform *YieldPlatform `xml:"platform,omitempty" json:"platform,omitempty"` Parameters []*YieldParameter `xml:"parameters,omitempty" json:"parameters,omitempty"` }
type YieldPlatform ¶
type YieldPlatform string
const ( YieldPlatformUNKNOWN YieldPlatform = "UNKNOWN" YieldPlatformANDROID YieldPlatform = "ANDROID" YieldPlatformIOS YieldPlatform = "IOS" )
Click to show internal directories.
Click to hide internal directories.