REST Resource: accounts.adclients

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 (State)
}
Fields
name

string

Output only. Resource name of the ad client. Format: accounts/{account}/adclients/{adclient}

reportingDimensionId

string

Output only. Unique ID of the ad client as used in the AD_CLIENT_ID reporting dimension. Present only if the ad client supports reporting.

productCode

string

Output only. Reporting product code of the ad client. For example, "AFC" for AdSense for Content. Corresponds to the PRODUCT_CODE dimension, and present only if the ad client supports reporting.

state

enum (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

get

Gets the ad client from the given resource name.

getAdcode

Gets the AdSense code for a given ad client.

list

Lists all the ad clients available in an account.