Hello, I have a question about getDomainCategory function in DataService.
Do I understand it correctly that it's possible to get topic of given
domain name or it's specific for shopping ads etc?
Sample code does not return anything:
<?php
$domain="youtube.com"
$service = $this->user->GetService ( 'DataService', ADWORDS_VERSION );
// Create selector.
$selector = new Selector ();
$selector->fields = array (
"IsoLanguage","RecommendedCpc",
'Category',
'CategoryRank',"Coverage","DomainName",
);
$selector->predicates [] = new Predicate ( 'DomainName', 'EQUALS',
array ($domain) );
$selector->paging = new Paging ( 0, 100);
$camps=array();
$page = $service->getDomainCategory ( $selector );
var_dump($page);
foreach ( $page->entries as $c ) {
var_dump($c);
}
var_dump($page);
foreach ( $page->entries as $campaign ) {
var_dump($campaign);
}
I have searched before posting but even mighty Google return just WSDL spam
sites.
Thank you for clarification!
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and Google+:
https://googleadsdeveloper.blogspot.com/
https://plus.google.com/+GoogleAdsDevelopers/posts
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
You received this message because you are subscribed to the Google
Groups "AdWords API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/f69e3f87-18cb-425a-81c8-7dcc738d5839%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.