- HTTP request
- Path parameters
- Query parameters
- Request body
- Response body
- Authorization scopes
- McmEarnings
- DelegationType
- EarningsProductBreakdown
- McmEarningsProductType
- Try it!
API to retrieve a list of McmEarnings objects.
HTTP request
GET https://admanager.googleapis.com/v1/{parent}/mcmEarnings:fetch
Path parameters
| Parameters | |
|---|---|
parent |
Required. The parent, which owns this collection of McmEarnings. Format: |
Query parameters
| Parameters | |
|---|---|
pageSize |
Optional. The maximum number of |
pageToken |
Optional. A page token, received from a previous When paginating, all other parameters provided to |
filter |
Optional. Expression to filter the response. See syntax details at https://developers.google.com/ad-manager/api/beta/filters |
orderBy |
Optional. Expression to specify sorting order. See syntax details at https://developers.google.com/ad-manager/api/beta/filters#order |
skip |
Optional. Number of individual resources to skip while paginating. |
month |
Required. The month to fetch earnings for. The date will be specified as the first of the month. |
Request body
The request body must be empty.
Response body
Response object for FetchMcmEarningsRequest containing matching McmEarnings objects.
If successful, the response body contains data with the following structure:
| JSON representation |
|---|
{
"mcmEarnings": [
{
object ( |
| Fields | |
|---|---|
mcmEarnings[] |
The |
nextPageToken |
A token, which can be sent as |
totalSize |
Total number of
For more information, see https://developers.google.com/ad-manager/api/beta/field-masks |
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/admanagerhttps://www.googleapis.com/auth/admanager.readonly
For more information, see the OAuth 2.0 Overview.
McmEarnings
The earnings for a given month between a parent and child publisher in MCM
| JSON representation |
|---|
{ "parent": string, "child": string, "earningsProductBreakdown": [ { object ( |
| Fields | |
|---|---|
parent |
Output only. The parent publisher in the MCM relationship. Format: |
child |
Output only. The resource name of the |
earningsProductBreakdown[] |
Output only. The product type breakdown of earnings for a given month between a parent and child publisher in MCM. |
month |
Output only. The year and month that the MCM earnings data applies to. The date will be specified as the first of the month. |
delegationType |
Output only. The current type of MCM delegation between the parent and child publisher. |
parentDisplayName |
Output only. The name of the parent publisher. |
childPublisher |
Output only. The resource name of the child publisher in the MCM relationship. Format: "networks/{networkCode}/childPublishers/{child_publisher_id}" |
childDisplayName |
Output only. The name of the child publisher in the MCM relationship. |
totalEarnings |
Output only. The total earnings for the month. |
parentPayment |
Output only. The portion of the total earnings paid to the parent publisher. |
childPayment |
Output only. The portion of the total earnings paid to the child publisher. |
deductions |
Output only. The deductions for the month due to spam in micro units. Null for earnings prior to August 2020. |
DelegationType
The delegation type of the MCM child publisher.
| Enums | |
|---|---|
DELEGATION_TYPE_UNSPECIFIED |
No value specified |
MANAGE_ACCOUNT |
Indicates the parent network gets complete access to the child network's account. |
MANAGE_INVENTORY |
Indicates a subset of the ad requests from the child are delegated to the parent, determined by the tag on the child network's web pages. The parent network does not have access to the child network, as a subset of the inventory could be owned and operated by the child network. |
EarningsProductBreakdown
The product type breakdown of earnings for a given month between a parent and child publisher in MCM.
| JSON representation |
|---|
{ "productType": enum ( |
| Fields | |
|---|---|
productType |
The syndication product type of the child's earnings in MCM. |
totalEarnings |
The total earnings for the specified product type for the month. |
parentPayment |
The portion of the total earnings for the specified product type paid to the parent publisher. |
childPayment |
The portion of the total earnings for the specified product type paid to the child publisher. |
deductions |
The deductions for the specified product type for the month due to spam. |
McmEarningsProductType
The syndication product type of the child's earnings in MCM.
| Enums | |
|---|---|
MCM_EARNINGS_PRODUCT_TYPE_UNSPECIFIED |
No value specified |
AD_EXCHANGE_CONTENT |
Indicates the child network's earnings from Google Ad Exchange Content. |
AD_EXCHANGE_CONTENT_HOST |
Indicates the child network's earnings from Google Ad Exchange Content made by a host. |
AD_EXCHANGE_GAMES |
Indicates the child network's earnings from Google Ad Exchange Games. |
AD_EXCHANGE_GAMES_HOST |
Indicates the child network's earnings from Google Ad Exchange Games made by a host. |
AD_EXCHANGE_MOBILE_CONTENT_APP |
Indicates the child network's earnings from Google Ad Exchange Content Applications. |
AD_EXCHANGE_MOBILE_CONTENT_APP_HOST |
Indicates the child network's earnings from Google Ad Exchange Content Applications made by a host. |
AD_EXCHANGE_VIDEO |
Indicates the child network's earnings from Google Ad Exchange Video. |
AD_EXCHANGE_VIDEO_HOST |
Indicates the child network's earnings from Google Ad Exchange Video made by a host. |
AD_EXCHANGE_RESERVATIONS |
Indicates the child network's earnings from Ad Exchange Reservations deals (known externally as Programmatic Reservations). |
AD_EXCHANGE_PREFERRED_DEALS |
Indicates the child network's earnings from Ad Exchange Preferred deals. |
OFFERWALL |
Indicates the child network's earnings from Monteverdi Offerwall. |
BUYER_DIRECT |
Indicates the child network's earnings from Agency Direct. |