AdGroupId Ebing set to Zero

17 views
Skip to first unread message

testa...@geeks.ltd.uk

unread,
Sep 23, 2014, 10:17:25 AM9/23/14
to adwor...@googlegroups.com
Hi All,

When creating an AdGroup using the AdWords API, it appears that the id field of the group is set to 0. This happened for fifty-three ad groups in a row. Is this correct behaviour? Are the groups only assigned a 'proper' id after they are created using the mutate method? How do I access the id for use elsewhere in the code?

Thanks,
Conor

Josh Radcliff (AdWords API Team)

unread,
Sep 23, 2014, 2:43:46 PM9/23/14
to adwor...@googlegroups.com
Hi Conor,

You'll have to create the AdGroups first via AdGroupService.mutate, and then use the IDs returned from that for subsequent calls against other services. The client libraries do not assign IDs automatically - those come from the API service.

Best regards,
Josh, AdWords API Team
Reply all
Reply to author
Forward
0 new messages