Google Ad-Manager (client lib PHP) 如何列出技术下的所有数据?
Google Ad-Manager (client lib PHP) How to list all data under technology?
for ref, CreateLineItems.php
// Target just the Chrome browser.
$browserTechnology = new Technology();
$browserTechnology->setId(500072);
// Create technology targeting.
$browserTargeting = new BrowserTargeting();
$browserTargeting->setBrowsers([$browserTechnology]);
$technologyTargeting = new TechnologyTargeting();
$technologyTargeting->setBrowserTargeting($browserTargeting);
所以 ID (500072) 是给 chrome 浏览器的,现在我在哪里可以得到 list/table 来获取其他浏览器 ID。另外,我想针对特定设备,即仅桌面设备,那么该怎么做?
提前致谢
对于 V201905,您可以使用 PublisherQueryLanguageService
检索浏览器列表以获得所需的映射:
https://developers.google.com/ad-manager/api/reference/v201905/PublisherQueryLanguageService#browser
for ref, CreateLineItems.php
// Target just the Chrome browser.
$browserTechnology = new Technology();
$browserTechnology->setId(500072);
// Create technology targeting.
$browserTargeting = new BrowserTargeting();
$browserTargeting->setBrowsers([$browserTechnology]);
$technologyTargeting = new TechnologyTargeting();
$technologyTargeting->setBrowserTargeting($browserTargeting);
所以 ID (500072) 是给 chrome 浏览器的,现在我在哪里可以得到 list/table 来获取其他浏览器 ID。另外,我想针对特定设备,即仅桌面设备,那么该怎么做?
提前致谢
对于 V201905,您可以使用 PublisherQueryLanguageService
检索浏览器列表以获得所需的映射:
https://developers.google.com/ad-manager/api/reference/v201905/PublisherQueryLanguageService#browser