Hi guys!

I would like to block ips in some accounts, I looked at google doc but I 
couldn't do the blocking. 

My Python code is as follows:

*campaign_criterion_operation = 
self.client.get_type('CampaignCriterionOperation', version='v11')*
*campaign_service = self.client.get_service("CampaignService", 
version="v11")*
*campaign_criterion_service = 
self.client.get_service("CampaignCriterionService", version="v11")*
*campaign_criterion = self.client.get_type('CampaignCriterion', 
version='v11')*


*campaign_criterion = campaign_criterion_operation.create*but I get an 
error on the line "campaign_criterion.campaign.value
-> 'str' object has no attribute 'value'


How do I continue my script and block it?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f283df60-d14a-4890-a1af-b4610d01610dn%40googlegroups.com.
  • Block Ips 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum
    • Block... 'Luiz Eduardo Da Cruz' via Google Ads API and AdWords API Forum

Reply via email to