Hi,

The following PHP code example shows how to retrieve all keywords for
a given adGroup id.

http://code.google.com/p/google-api-adwords-php/source/browse/trunk/examples/v201008/GetAllActiveAdGroupCriteria.php

You need to make some modifications in this code example to suit your
needs:

1. If $adGroupCriterion->criterion->CriterionType == Keyword on line
74, you can cast your criterion object into a Keyword object and
access its properties.

2. If you need all keywords (and not just the active ones), then add
the required UserStatus on line 58. See
http://code.google.com/apis/adwords/docs/reference/latest/AdGroupCriterionService.AdGroupCriterionSelector.html#userStatuses
for possible values.

Cheers,
Anash P. Oommen,
AdWords API Advisor.

On Oct 24, 3:54 am, amezghal abdelilah <[email protected]> wrote:
> Hello,
> How to retrieve all keywords for a given groupAds id, I'm using the
> google php lib, and i dont found in the examples list, and I don't
> found how to do that,
> any idea ?
> thanks

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://adwordsapi.blogspot.com
http://groups.google.com/group/adwords-api
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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
  • keywords amezghal abdelilah
    • Re: keywords AdWords API Advisor

Reply via email to