Thanks for your response.

But i am adding a new AdGroupCriterion with a different AdGroupId:

$adGroupCriterion = new BiddableAdGroupCriterion();
$adGroupCriterion->setAdGroupId(42180344626);


The following keyword already exists in AdWords:

Group Id: 42999949136
Keyword Id: *324002149674*
Type: broad
Text: +Heftruck +Basis +cursus

But when i insert a new Keyword with the same type and text in a different 
group (given above), the BatchJob returns the following...

<https://cloud.githubusercontent.com/assets/12934957/26301527/c75bb4a6-3ee1-11e7-9545-ec394d0b342a.png>


I give a completely other GroupId so why does the BatchJob return an 
already existing Id?

Op maandag 22 mei 2017 16:59:11 UTC+2 schreef Shwetha Vastrad (AdWords API 
Team):
>
> Hi Youri, 
>
> The AdGroupCriterion is not globally unique. It is unique only in the 
> scope of the AdGroup. The (AdGroupCriterionId, AdGroupId) pair is globally 
> unique. Please see this guide 
> <https://developers.google.com/adwords/api/docs/guides/objects-methods#object_hierarchy_and_scope>
>  for 
> more details on the uniqueness of object Ids in AdWords. 
>
> Regards,
> Shwetha, AdWords API Team.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 [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 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/2572ed3f-b84b-405d-a4c9-975fc9ed776a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • Are Keywords (C... Youri van Mill
    • Re: Are Ke... Youri van Mill
      • Re: Ar... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum
        • Re... Youri van Mill
          • ... 'Shwetha Vastrad (AdWords API Team)' via AdWords API Forum

Reply via email to