in V13 we have this method
AdwordsCampaigns.Campaign.geoTargeting.targetAll

Now in v2009, to get this value, do we have to loop through the
TargetList Type to figure this out, if so

Try
                            Dim CampaignTargetPage As
CampaignTargetPage = CampaignTargetService.get(CampaignTargetSelector)

                            ' Display campaigns Targets.
                            If (((CampaignTargetPage) IsNot Nothing)
AndAlso ((CampaignTargetPage.entries) IsNot Nothing)) Then
                                For Each TargetList As TargetList In
CampaignTargetPage.entries
                                    Log("GetAdwordsListingsV2009",
"Campaign target of type = " & TargetList.TargetListType & " was found
for campaign with ID = " & TargetList.campaignId)

                                   If TargetList.TargetListType =
"GeoTargetList" Then
                                        Dim geoTargetList As
GeoTargetList = New GeoTargetList()
                                        geoTargetList.campaignId =
AdwordsCampaignID
 
geoTargetList.campaignIdSpecified = True
                                        For Each GeoTarget As
GeoTarget In geoTargetList.targets

                                        Next
                                    End If

                                Next
                            Else
                                Log("GetAdwordsListingsV2009", "No
campaigns targets were found.")
                            End If
                        Catch ex As Exception
                            Throw New Exception("googleV2009
GetAllCampaignsForIndividualAccount Error: " & ex.Message &
ex.StackTrace)
                        End Try

would this be the way to go about this?

-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Have you migrated to v200909 yet?
The v13 sunset is on April 22, 2010.

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 adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en

Reply via email to