# AdSense Platform API API

> AdSense Platform API API on Apizie: 10 endpoints (Closes a sub-account., Lists a partial view of sub-accounts for a specific parent account., Creates a sub-account., Gets a site from a specified sub-account., …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `dev-tools:google-adsenseplatform`
- Category: Dev Tools
- Status: byok
- Source: https://developers.google.com/adsense/platforms/
- Page: https://zieapi.vercel.app/api/dev-tools/google-adsenseplatform
- OpenAPI: https://zieapi.vercel.app/api/dev-tools/google-adsenseplatform/openapi.json



## Endpoints

### Closes a sub-account.
`POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-close` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. Account to close. Format: platforms/{platform}/accounts/{account_id} |
| body | object | yes | JSON request body |

### Lists a partial view of sub-accounts for a specific parent account.
`GET https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | Optional. The maximum number of accounts to include in the response, used for paging. If unspecified, at most 10000 accounts will be… |
| pageToken | string | no | Optional. A page token, received from a previous `ListAccounts` call. Provide this to retrieve the subsequent page. |
| parent | string | yes | Required. Platform who parents the accounts. Format: platforms/{platform} |

### Creates a sub-account.
`POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Platform to create an account for. Format: platforms/{platform} |
| body | object | yes | JSON request body |

### Gets a site from a specified sub-account.
`GET https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-sites-get` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the site to retrieve. Format: platforms/{platform}/accounts/{account}/sites/{site} |

### Deletes a site from a specified account.
`POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-sites-delete` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the site to delete. Format: platforms/{platform}/accounts/{account}/sites/{site} |

### Looks up information about a sub-account for a specified creation_request_id. If no account exists for the…
`GET https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-lookup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| creationRequestId | string | no | Optional. The creation_request_id provided when calling createAccount. |
| parent | string | yes | Required. Platform who parents the account. Format: platforms/{platform} |

### Creates an account event.
`POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-events-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Account to log events about. Format: platforms/{platform}/accounts/{account} |
| body | object | yes | JSON request body |

### Lists sites for a specific account.
`GET https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-sites-list` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| pageSize | integer | no | The maximum number of sites to include in the response, used for paging. If unspecified, at most 10000 sites will be returned. The maximum… |
| pageToken | string | no | A page token, received from a previous `ListSites` call. Provide this to retrieve the subsequent page. When paginating, all other… |
| parent | string | yes | Required. The account which owns the sites. Format: platforms/{platform}/accounts/{account} |

### Creates a site for a specified account.
`POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-sites-create` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| parent | string | yes | Required. Account to create site. Format: platforms/{platform}/accounts/{account_id} |
| body | object | yes | JSON request body |

### Requests the review of a site. The site should be in REQUIRES_REVIEW or NEEDS_ATTENTION state. Note: Make…
`POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-sites-request-review` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| name | string | yes | Required. The name of the site to submit for review. Format: platforms/{platform}/accounts/{account}/sites/{site} |

## Example
```
curl "https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-close" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the AdSense Platform API API?
Create a free Apizie key, then send POST https://zieapi.vercel.app/v1/dev-tools:google-adsenseplatform/adsenseplatform-platforms-accounts-close with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the AdSense Platform API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. AdSense Platform API itself also needs your own key from googleapis.com.

### Can AI agents use the AdSense Platform API API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key dev-tools:google-adsenseplatform.

### What is the status of the AdSense Platform API API?
Needs your own provider key (bring your own key)
