Quinta-feira, 2 de Fevereiro de 2012 10:19:12 UTC-1, robert.j...@adwire.se
escreveu:
>
> Hi,
>
> I'm unable to add platform targets when creating a campaign. All other
> targets are accepted by the API, but not platform targets. I don't receive
> any error message and when printing the result
Hi,
It's a problem with using the 2-arg constructor for CampaignCriterion,
see here for
details: https://groups.google.com/d/msg/adwords-api/A9m4SB-Jmtc/DhyILEXnqv4J
- Kevin Winter
AdWords API Team
On Monday, August 27, 2012 12:36:59 AM UTC-4, Amit Badkas wrote:
>
> I tried to add particular
I tried to add particular platform after adding a campaign using following
code
$platform = new Platform();
$platform->id = 30001;
$operation = new CampaignCriterionOperation(new
CampaignCriterion($campaign->id, $platform), 'ADD');
$campaignCriterionService = $user->GetService('CampaignCriterion
Thank you so much, Margaret! I totally agree with you, it's not very
intuitive :-)
Best Regards,
Robert
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=
Hey Robert -
It is not very intuitive, but as you have already discovered, when a
campaign is created it has all 3 platform targets associated with it.
This means that after creating a campaign what you have to do is
remove the targets that you don't want rather than add the targets
that you do.
T
Hi,
I'm unable to add platform targets when creating a campaign. All other
targets are accepted by the API, but not platform targets. I don't receive
any error message and when printing the result set I can see that I'm
sending in the right values (in this case I don't want to show ads on
mobi