advertisers

POST /v4/advertisers

Changed on

Creates a new advertiser. Returns the newly created advertiser if successful. This method regularly experiences high latency. We recommend increasing your default timeout to avoid errors.

Request

  • Base URL
    https://displayvideo.googleapis.com
  • Auth
    OAuth 2 and OAuth 2
    Implicithttps://accounts.google.com/o/oauth2/auth
    Scopeshttps://www.googleapis.com/auth/display-video
    Authorization codehttps://accounts.google.com/o/oauth2/auth
    Token URLhttps://accounts.google.com/o/oauth2/token
    Scopeshttps://www.googleapis.com/auth/display-video

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

Request body

Advertiser required

A single advertiser in Display & Video 360 (DV360).

adServerConfig, AdvertiserAdServerConfig

Ad server related settings of an advertiser.

advertiserId, string int64

Output only. The unique ID of the advertiser. Assigned by the system.

billingConfig, AdvertiserBillingConfig

Billing related settings of an advertiser.

containsEuPoliticalAds, 'EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN' | 'CONTAINS_EU_POLITICAL_ADVERTISING' | 'DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING'

Optional. Whether this advertiser contains line items that serve European Union political ads. If this field is set to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING, then the following will happen: * Any new line items created under this advertiser will be assigned DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING if not otherwise specified. * Any existing line items under this advertiser that do not have a set value be updated to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING within a day.

creativeConfig, AdvertiserCreativeConfig

Creatives related settings of an advertiser.

dataAccessConfig, AdvertiserDataAccessConfig

Settings that control how advertiser related data may be accessed.

defaultBusinessName, string

Optional. The default business name for the advertiser. This is the value used by YouTube and Demand Gen ads under this advertiser if a business name is not provided.

defaultLogoAssetId, string int64

Optional. The asset ID of the default logo image for the advertiser. This is the asset ID that will be used by YouTube and Demand ads under this advertiser if a logo asset is not provided. You must use advertisers.adAssets.upload to upload this asset using the API.

displayName, string

Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes.

entityStatus, 'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION'

Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets and bid on inventory. * Accepted values are ENTITY_STATUS_ACTIVE, ENTITY_STATUS_PAUSED and ENTITY_STATUS_SCHEDULED_FOR_DELETION. * If set to ENTITY_STATUS_SCHEDULED_FOR_DELETION, the advertiser will be deleted 30 days from when it was first scheduled for deletion.

generalConfig, AdvertiserGeneralConfig

General settings of an advertiser.

integrationDetails, IntegrationDetails

Integration details of an entry.

name, string

Output only. The resource name of the advertiser.

partnerId, string int64

Required. Immutable. The unique ID of the partner that the advertiser belongs to.

prismaEnabled, boolean

Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you agree to the following: On behalf of my company, I authorize Mediaocean (Prisma) to send budget segment plans to Google, and I authorize Google to send corresponding reporting and invoices from DV360 to Mediaocean for the purposes of budget planning, billing, and reconciliation for this advertiser.

servingConfig, AdvertiserTargetingConfig

Targeting settings related to ad serving of an advertiser.

updateTime, string google-datetime

Output only. The timestamp when the advertiser was last updated. Assigned by the system.

Response

Successful response

Advertiser required

A single advertiser in Display & Video 360 (DV360).

adServerConfig, AdvertiserAdServerConfig

Ad server related settings of an advertiser.

advertiserId, string int64

Output only. The unique ID of the advertiser. Assigned by the system.

billingConfig, AdvertiserBillingConfig

Billing related settings of an advertiser.

containsEuPoliticalAds, 'EU_POLITICAL_ADVERTISING_STATUS_UNKNOWN' | 'CONTAINS_EU_POLITICAL_ADVERTISING' | 'DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING'

Optional. Whether this advertiser contains line items that serve European Union political ads. If this field is set to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING, then the following will happen: * Any new line items created under this advertiser will be assigned DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING if not otherwise specified. * Any existing line items under this advertiser that do not have a set value be updated to DOES_NOT_CONTAIN_EU_POLITICAL_ADVERTISING within a day.

creativeConfig, AdvertiserCreativeConfig

Creatives related settings of an advertiser.

dataAccessConfig, AdvertiserDataAccessConfig

Settings that control how advertiser related data may be accessed.

defaultBusinessName, string

Optional. The default business name for the advertiser. This is the value used by YouTube and Demand Gen ads under this advertiser if a business name is not provided.

defaultLogoAssetId, string int64

Optional. The asset ID of the default logo image for the advertiser. This is the asset ID that will be used by YouTube and Demand ads under this advertiser if a logo asset is not provided. You must use advertisers.adAssets.upload to upload this asset using the API.

displayName, string

Required. The display name of the advertiser. Must be UTF-8 encoded with a maximum size of 240 bytes.

entityStatus, 'ENTITY_STATUS_UNSPECIFIED' | 'ENTITY_STATUS_ACTIVE' | 'ENTITY_STATUS_ARCHIVED' | 'ENTITY_STATUS_DRAFT' | 'ENTITY_STATUS_PAUSED' | 'ENTITY_STATUS_SCHEDULED_FOR_DELETION'

Required. Controls whether or not insertion orders and line items of the advertiser can spend their budgets and bid on inventory. * Accepted values are ENTITY_STATUS_ACTIVE, ENTITY_STATUS_PAUSED and ENTITY_STATUS_SCHEDULED_FOR_DELETION. * If set to ENTITY_STATUS_SCHEDULED_FOR_DELETION, the advertiser will be deleted 30 days from when it was first scheduled for deletion.

generalConfig, AdvertiserGeneralConfig

General settings of an advertiser.

integrationDetails, IntegrationDetails

Integration details of an entry.

name, string

Output only. The resource name of the advertiser.

partnerId, string int64

Required. Immutable. The unique ID of the partner that the advertiser belongs to.

prismaEnabled, boolean

Whether integration with Mediaocean (Prisma) is enabled. By enabling this, you agree to the following: On behalf of my company, I authorize Mediaocean (Prisma) to send budget segment plans to Google, and I authorize Google to send corresponding reporting and invoices from DV360 to Mediaocean for the purposes of budget planning, billing, and reconciliation for this advertiser.

servingConfig, AdvertiserTargetingConfig

Targeting settings related to ad serving of an advertiser.

updateTime, string google-datetime

Output only. The timestamp when the advertiser was last updated. Assigned by the system.

Changes

    • breaking

      removed the request body

    • breaking

      removed the media type */* for the response with the status

    • warning

      added the new SDF_VERSION_10_1 enum value to the dataAccessConfig/sdfConfig/sdfConfig/version response property for the response status

    5 more changes in this revision