# Set Cover Ad Bit Switch Status

Interface should be called on the server side, seeHattori API

# Interface Dxplaination

# Interface name

SetCoverAdposStatus

# Functional description

this API Used to set the switch state of the Mini Program cover ad bit. If you encounter problems during use, you canOpen Platform Service Provider Zone Exchange Zone | WeChat Open CommunityPosting exchanges.

# Note

Where access_Token forauthorizer_access_Token

# Calling mode

# HTTPS call


POST https://api.weixin.qq.com/wxa/operationams?action=agency_set_cover_adpos_status&access_token=xxxxxxxxxxxxxxx 

# Request parameters

attribute type Required Introductions
status number yes Switch Status: 1 On, 4 Off

# Return parameters

attribute type Introductions
ret number Error code
err_msg string Error message

# Call Example

Example Dxplaination: HTTPS requests

# Sample Request Data


{
    "status": 1
} 

# Return Data Example


{
    "ret": 0,
    "err_msg":""
} 

# Error code

Error code Error code Solutions
0 ok ok
1700 Parameter error Verify that the input parameters conform to the documentation
1701 Parameter error Verify that the input parameters conform to the documentation
1735 The merchant has not completed the agreement signing process Complete the signing operation
1737 Operating too fast Wait a minute and reoperate
1807 Invalid Flow Master Turn on the traffic master for this appid through the turn on traffic master interface
2009 Invalid Flow Master Turn on the traffic master for this appid through the turn on traffic master interface
2056 The service provider does not open an account in the cash area Launch services in the monetization area of the third-party platform page
2067 Opened No need to open again Already opened the cover ad, no need to open again
2008 Switching Time Interval Limit Opened last time./Close the cover ad less than 1 hour, please try again in 1 hour.
2068 New Traffic Main You can try again in an hour.