You are here

public function TagView::getRawTargeting in Doubleclick for Publishers (DFP) 8

Gets the raw ad targeting from the DFP tag.

Return value

array[] Each value is a array containing two keys: 'target' and 'value'. Both values are strings. Multiple value values are delimited by a comma.

1 call to TagView::getRawTargeting()
TagView::getShortTagQueryString in src/View/TagView.php
Gets the short tag query string.

File

src/View/TagView.php, line 167
Contains \Drupal\dfp\View\TagView.

Class

TagView
A value object to combine a DFP tag with global settings for display.

Namespace

Drupal\dfp\View

Code

public function getRawTargeting() {
  return $this->tag
    ->targeting();
}