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 know the URL will look
like: /v1/customers/{customer_id=*}/campaignCriteria:mutate.
Along with the criterion ip_block and update operation. How would the full
request look like in this case?(a curl example would be fine) I suppose I
would also need an API call to get all the campaigns for their IDs to set
the blocked ip addresses to, or do the blocked ip addresses fall under all
campaigns?
Thanks
On Tuesday, May 21, 2019 at 8:21:11 AM UTC-4, adsapiforumadvisor wrote:
>
> Hello,
>
> The pattern is the same across all mutate requests.
>
> /v{x}/customers/{customer_id}/{resource_name_pluralized}:mutate
>
> You can always fall back on looking at the exact proto definition if
> there's any doubt. Here's the one for campaign budgets, for example:
> https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v1/services/campaign_budget_service.proto#L48
>
> In that same folder on GitHub you'll find the protos for every service,
> which will be defined similarly and explicitly mention the endpoint for
> every type of request.
>
> Let me know if you need any more help understanding how to form REST
> requests with JSON; unfortunately we haven't been able to document this
> process thoroughly yet.
>
> Regards,
> Mike, Google Ads API Team
>
> ref:_00D1U1174p._5001UAq6wm:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
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/7b42d66c-44f3-4a51-ab2a-caa3d79aa068%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.