Hi again

I'd like to UN-excluding some placements, via API.

They were excluded either manually or via API's "negative campaign 
criterion" (see code below).

As far as i know now (which is why I ask), unxcluding a placement would be 
by removing the criterion in which it's 'negatively' defined. 
But I don't always have the Criterion Id to use for deleting that criterion.


1. Can I un-exclude placement only by "PlacementUrl" ?

2. Otherwise, how can I get the negative criterion by it's Placement URL ?
I tried "select Id, CriteriaDestinationUrl, FinalMobileUrl, FinalUrls from 
CRITERIA_PERFORMANCE_REPORT during 20140820,20140905", which gave errors
I tried "select Id, CriteriaDestinationUrl from CRITERIA_PERFORMANCE_REPORT 
during 20140820,20140905", but that returned only Criterion Ids, not the 
placement URLS ...


here's How I exclude placemnets via API:

operations = [ {
                'operator': 'ADD',
                'operand': {
                    'xsi_type': 'NegativeCampaignCriterion',
                    'campaignId': campaign_id,
                    'criterion': {
                        'xsi_type': 'MobileApplication',   # 
MOBILE_APPLICATION ?
                        'appId': placement_url,
                    },
                }
            }, ]
Enter code here...

(and thank you for helping me with the previous questions 
<https://groups.google.com/forum/#!msg/adwords-api/vrBUWZmQ6z4/UQqBs_n793gJ>
)

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at http://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fb23e054-a679-45e0-b803-8193edcb3973%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to