Hello there!
Sorry for my bad english.
How to use targeting to device platform from Dot NET API?
I was set the checkbox Mobile and unchecked the checkboxes Computers and
Tablet on the adwords web site page Campaign Settings >> Advanced settings
>> Devices.
Then I executed my code
CampaignCriterionService campaignCriterionService =
(CampaignCriterionService)_user.GetService(AdWordsService.v201609.CampaignCriterionService);
Selector criterionPageSelector = new Selector { fields =
"BaseCampaignId,BidModifier,CampaignId,IsNegative,CampaignCriterionStatus".Split(',')
, paging = new Paging(), predicates = new[] {
new Predicate()
{
field = "CampaignId",
@operator = PredicateOperator.EQUALS,
values = new[] { campNetId }
} } };
CampaignCriterionPage campaignCriterionPage = new CampaignCriterionPage();
criterionPageSelector.paging.startIndex = offset;
criterionPageSelector.paging.numberResults = pageSize;
campaignCriterionPage = campaignCriterionService.get(criterionPageSelector);
var campPlatformCriterions = campaignCriterionPage.entries.Where(it =>
it.criterion is Platform).ToList();
Well and what I saw in campPlatformCriterions that there are all the
platforms in the criterions: mobile, and tablet, and desctop.
I tried to remove platform criterions and the BatchJobOperation was ended
success, unfortunatelly on the web site nothing changed.
Tell me please, how I can get real platform targetings and how I can change
it?
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/312b1c1e-a99e-4268-8fa4-f56bcb725efc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.