Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccessTokenExpire = 40102 // access token过期 InvalidAccessToken = 40105 //access token错误 )
View Source
const ApiPrefixUrl = "https://ad.oceanengine.com/open_api"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AccessToken ¶
type AccessToken struct { AcsToken string `json:"access_token"` RefToken string `json:"refresh_token"` AcsExpireIn int64 `json:"expires_in"` RefExpireIn int64 `json:"refresh_token_expires_in"` }
func (AccessToken) GetAccessToken ¶
func (a AccessToken) GetAccessToken() access.Value
access.Token interface implement
func (AccessToken) GetRefAccessToken ¶
func (a AccessToken) GetRefAccessToken() access.Value
type AcsData ¶
type AcsData struct { AccessToken AdIds []int64 `json:"advertiser_ids,omitempty"` }
type AuthAdvertiser ¶
type AuthInfo ¶
type AuthInfo struct {
Advertisers []AuthAdvertiser `json:"list,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.