Hi,
You can get it by CampaignService. You get a standart campaign with
campaignid, you must define fieldname in fields list of selector what you
want to get target services.
Ex:
$cs = $adwordsuser->GetService('CampaignService', 'v201109');
$cselector = new Selector();
$cselector->fields =
array('TargetGoogleSearch','TargetSearchNetwork','TargetContentNetwork','TargetContentContextual','TargetPartnerSearchNetwork');
$campidPredicate = new Predicate('CampaignId', 'IN', array($campaignid));
$cselector->predicates = array($campidPredicate);
$campaign = $cs->get($cselector);
you can get it by $campaign->entries[0]->networkSetting->targetGoogleSearch
vs..
28 Şubat 2012 Salı 13:38:05 UTC+2 tarihinde Horhe yazdı:
>
> Hello,
>
> I have a question. I used to save in my database also a campaign
> network(SEARCH, CONTENT). *But I am wondering how can I get this piece of
> information in new version of AdWords API, v201109?*
> *
> *
> I am getting this info using CampaignTargetService and NetworkTarget.
>
> Thanks for info.
>
> Regards,
>
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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