add keywords in the API v201008 in PHP

25 views
Skip to first unread message

shi

unread,
Oct 26, 2010, 7:03:34 AM10/26/10
to adwor...@googlegroups.com
How do i add keywords in the API v201008 in PHP?
 I can't find any examples of this?

AdWords API Advisor

unread,
Oct 27, 2010, 12:05:00 AM10/27/10
to AdWords API Forum
Hi shi,

See http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/AddAdGroupCriteria.php
for an example on how to add keywords in AdWords API v201008, using
PHP library.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

shi

unread,
Oct 28, 2010, 5:50:27 AM10/28/10
to adwor...@googlegroups.com
thx it worked for me

shi

unread,
Oct 28, 2010, 5:52:22 AM10/28/10
to adwor...@googlegroups.com
my another question is when the
$placement->url = 'http://mars.google.com';
or
$placement->url = 'http://mars.google.com/1/2/';
it works fine but when the url is having

$placement->url = 'http://mars.google.com/1/2/3/';

$placement->url = 'http://mars.google.com1/2/3/4';
it give me error [AdGroupCriterionError.ILLEGAL_URL @ operations[1].operand.criterion.url; trigger:

Please tell me the reason behind it ?


AdWords API Advisor

unread,
Oct 29, 2010, 8:51:57 PM10/29/10
to AdWords API Forum
Hi,

I believe this is a general limitation on the depth of placement in
AdWords and it not specific to the API.

Best,
- Eric Koleda, AdWords API Team
Reply all
Reply to author
Forward
0 new messages