Re: Google Ads REST API - Block IP Address - Get All Blocked IP addresses

2019-05-23 Thread John Tzanidakis
Hi, Thank you for that information, I am now able to add ip addresses with the create operation and remove ip addresses with the remove operation from a campaign. I am also able to query for all campaign criterion that are of type IP_BLOCK to get all those blocked ip addresses. But im not abl

Re: Google Ads REST API - Block IP Address - Get All Blocked IP addresses

2019-05-23 Thread John Tzanidakis
Hi, Thank you for that JSON and the links to the protos, it seems to clear up how the body of requests should be formed for each call. But running it against my test account's campaigns I am getting this error returned: { "error": { "code": 400, "message": "Request contai

Re: Google Ads REST API - Block IP Address - Get All Blocked IP addresses

2019-05-21 Thread John Tzanidakis
Hey Mike, Thank you that link clears up most of my confusion with URL patterns for each request. I am still having trouble forming my request though. The documented example uses a json file for the body, how would the body look for a request like adding IP addresses, and/or fetching all? I kn

Re: Google Ads REST API - Block IP Address - Get All Blocked IP addresses

2019-05-20 Thread John Tzanidakis
Hi Dave, Thank you for the response, if blocking ip address and getting blocked ip addresses is not currently possible, then what is the IpBlockInfo resource name used for as it is listed here: https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google

Google Ads REST API - Block IP Address - Get All Blocked IP addresses

2019-05-19 Thread John Tzanidakis
Hello, I am trying to use the Google Ads API with REST, I have followed all the steps including authentication, getting my developer token, creating test accounts, and am able to make a test api call to get a response with: customers:listAccessibleCustomers and do receive a response for my Ac