googleads / googleads-php-lib

Google Ad Manager SOAP API Client Library for PHP
Apache License 2.0
655 stars 770 forks source link

How did you get ID for chrome browser? #542

Closed inandi closed 5 years ago

inandi commented 5 years ago

I want to target the only desktop which has Mozilla browser. so if I am not wrong i will need all lists of technology.

fiboknacky commented 5 years ago

Hi,

Excuse me but is your question related to AdWords API or Ad Manager API?

Best, Knack

inandi commented 5 years ago

yes to the Google ad-manager

fiboknacky commented 5 years ago

OK. Thang, could you take a look please?

inandi commented 5 years ago

for ref i saw this code on class CreateLineItems

        // 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);

so that ID (500072) is for chrome browser, now where can I get list/table to get other browser IDs. also, I want to target a particular device i.e. desktop only, so how to do that?

Thanks in advance

fiboknacky commented 5 years ago

No, I asked my colleague to have a look. Anyway, thanks for your more details. :)

fiboknacky commented 5 years ago

In the meantime, your question looks more like related to the Ad Manager API in general, rather than the client library itself. I would suggest you ask in its forum instead.

thangduo commented 5 years ago

Hi Gobinda,

Sorry for the delayed answer here.

You can obtained the ID values by querying the PQL tables.

playground

inandi commented 5 years ago

it helped...thank you guys !!!

vijayfelixraj commented 5 years ago

How can i get the Mobile Application details from Admanager API. Please help. Below i have attached the image google ad manager orders

Thanks in advance!