Ad Group Id mismatch issue between Adwords API and Web Interface

15 views
Skip to first unread message

ag.test...@gmail.com

unread,
Jan 8, 2018, 9:19:32 AM1/8/18
to AdWords API Forum

Hi,

I'd like to get the keywords of the ad group. When I've tried to run GetAdGroups.php file, the resulted ad group id is different than the Adwords Test Client's Ad Group Id. I've tried to use both Ids in GetKeywords.php file. However in each case, I couldn't get keywords of the Ad group. I also couldn't update the Ad group. 

I can get the campaigns or even update it. So, I think the issue is about the Id mismatch.

Do you have any idea about this problem?

Thank you so much for your help.

Dhanya Sundararaju (AdWords API Team)

unread,
Jan 8, 2018, 11:26:24 AM1/8/18
to AdWords API Forum
Hi,

In order to get the keywords of an Ad Group via API, ideally, I would run GetCampaigns.php followed by GetAdGroups.php followed by GetKeywords.php

However, you may run into issues if you are using 32-bit PHP and have not changed all instances of intval() to floatval() as per the guide.

Please reply privately to author, with your SOAP logs and client customer ID, so that I would be able to check further.

Regards,
Dhanya, AdWords API Team

ag.test...@gmail.com

unread,
Jan 9, 2018, 7:09:58 AM1/9/18
to AdWords API Forum
Thank you very much for your help! It works :)

Reply all
Reply to author
Forward
0 new messages