Monday, 8 February 2016

Missing data from CampaignCriterionService.get (C#, v201601)

I'm querying a campaign using the CampaignCriterionService class

Querying the campaign's excluded IP list, I do get the enteries back from the API, however, they do not contain the actual IP address in the returned value

Here is a sample returned value from the API (after being converted to JSON by Json.Net Serialization): I bolded the value in question. I get everything I need about the Criterion except the actual data (the ip address).

{      "campaignId":347371961,     "campaignIdSpecified":true,     "isNegative":true,     "isNegativeSpecified":true,     "criterion":{                  "ipAddress":null,
                "id":23078300211,
                "idSpecified":true,
                "type":9,
                "typeSpecified":true,
                "CriterionType":"IpBlock"
    },      "bidModifierSpecified":false,      "forwardCompatibilityMap":null,      "CampaignCriterionType":"NegativeCampaignCriterion"  }    

Any help would be appreciated.



--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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+unsubscribe@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+unsubscribe@googlegroups.com.
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/ee51eb47-316d-4d0e-bd68-99ce5700c1c2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment