Resource: AdClient
Representation of an ad client. An ad client represents a user's subscription with a specific AdSense product.
JSON representation |
---|
{
"name": string,
"reportingDimensionId": string,
"productCode": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. Resource name of the ad client. Format: accounts/{account}/adclients/{adclient} |
reportingDimensionId |
Output only. Unique ID of the ad client as used in the |
productCode |
Output only. Reporting product code of the ad client. For example, "AFC" for AdSense for Content. Corresponds to the |
state |
Output only. State of the ad client. |
State
Possible states of the ad client.
Enums | |
---|---|
STATE_UNSPECIFIED |
State unspecified. |
READY |
The ad client is ready to show ads. |
GETTING_READY |
Running some checks on the ad client before it is ready to serve ads. |
REQUIRES_REVIEW |
The ad client hasn't been checked yet. There are tasks pending before AdSense will start the review. |
Methods |
|
---|---|
|
Gets the ad client from the given resource name. |
|
Gets the AdSense code for a given ad client. |
|
Lists all the ad clients available in an account. |