The table below lists the attributes that can be set with the
googletag.PubAdsService.set(key, value)
or
googletag.Slot.set(key, value)
methods. These AdSense attributes are typically set when creating or editing ad slots in
DFP. These methods allow the publisher to override these server-side settings on a
per-request basis.
New attribute | Legacy attribute | Example | Allowed values |
---|---|---|---|
|
|
|
valid AdSense channel IDs, separated by '+' |
|
|
|
|
|
|
|
|
|
|
|
hexadecimal colors |
|
|
|
hexadecimal colors |
|
|
|
hexadecimal colors |
|
|
|
hexadecimal colors |
|
|
|
hexadecimal colors |
|
|
|
|
|
|
|
valid URL |
The table below lists the attributes that can be set with the
googletag.PassbackSlot.set(key, value)
method. These methods allow the publisher to override these settings for the Passback context.
New attribute | Legacy attribute | Example | Allowed values |
---|---|---|---|
|
|
|
valid URL |