I want to exclude a placement from a campaign The campaign is for Mobile, if that's relevant; I know the value for these variables:
- Campaign ID (let's call it CID) - Placement ID (PID), - and the Placement URL (PURL) I'm trying to follow examples and docs but I can't get it to work. Here's the campaign There's an example code called "add_campaign_targeting_criteria.py" -- *negative_campaign_criterion_operand = {* * 'xsi_type': 'NegativeCampaignCriterion',* * 'campaignId': campaign_id,* * 'criterion': {* * 'xsi_type': 'Keyword',* * 'matchType': 'BROAD',* * 'text': 'jupiter cruise'* * }* *}* Here's my code *negative_campaign_criterion_operand = {* * 'operator': 'ADD',* * 'operand': {* * 'xsi_type': 'NegativeCampaignCriterion',* * 'campaignId': campaign_id,* * 'criterion': {* * 'xsi_type': 'Placement',* * 'url': placement_url, # is it necessary?* * },* * }* * }* the end of the error is: File "/usr/local/lib/python2.7/dist-packages/suds_jurko-0.6-py2.7.egg/suds/mx/literal.py", line 86, in start raise TypeNotFound(content.tag) suds.TypeNotFound: Type not found: 'type' -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com 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 adwords-api+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.