Hi Rafa,

Kindly refer to my response below.

- Is it possible to mutate an AdGroupCriterion without getting the
criterion_id previously?
The criteria_id is a required field when indicating the resource_name in
the AdGroupCriterion
<https://developers.google.com/google-ads/api/reference/rpc/google.ads.googleads.v1.resources#google.ads.googleads.v1.resources.AdGroupCriterion>
.
- Is the criterion_id unique? In that case, would be the same criterion_id
for that hotel_id? I would like to know when the the criterion_id for that
customer, ad_group and/or hotel_id could change, in case it changes.
The criterion_id is not individually unique. criterion_id is usually paired
with ad_group_id or campaign_id to make it unique depending on the entity
it is associated to.

Let me know if you have further concerns.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
    https://ads-developers.googleblog.com/search/label/google_ads_api
    https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/03/19 17:30:31 [email protected] wrote:

Hi! I'm using Google Ads API v1 and I want to set Max. CPC values in a
hotel id (Hotel Groups).

From the API I'm using AdGroupCriterion and I have the customer_id,
ad_group_id and a list of hotel_id that I can set in a listing_group. But
when I set the resource_name I see that I need a criterion_id and it's
mandatory.

To get the criterion_id I can do a query and it's working fine.

But I have a couple of questions regarding this:
- Is it possible to mutate an AdGroupCriterion without getting the
criterion_id previously?
- Is the criterion_id unique? In that case, would be the same criterion_id
for that hotel_id? I would like to know when the the criterion_id for that
customer, ad_group and/or hotel_id could change, in case it changes.

Thanks!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/71b68e00-2c98-4717-aa63-91d8e43456f3%40googlegroups.com
<https://groups.google.com/d/msgid/adwords-api/71b68e00-2c98-4717-aa63-91d8e43456f3%40googlegroups.com?utm_medium=email&utm_source=footer>
.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/4g2oguts7g000000g67in00007k0uaw68mj6c1j6ko30c1g68qjcd9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
  • Criteri... Rafa Ramírez
    • RE... googleadsapi-forumadvisor via AdWords API and Google Ads API Forum

Reply via email to