Possible to get keywordPlanCampaign or it's resource name from a KeywordPlan?

13 views
Skip to first unread message

William Turrell

unread,
Oct 22, 2021, 9:37:47 AM10/22/21
to AdWords API and Google Ads API Forum
(I am using v8 of the PHP api client library). 

Is it possible to load a keywordPlanCampaign when you only know the keywordPlan, or when you create a keywordPlanCampaign, must you store it's resource yourself so you can find it later.

Use case: establishing if a particular keywordPlan uses geoTargets.

the only keywordPlan resource methods I can see are ones to get the Id (integer), the name/title and the resource_name (URL/endpoint).

Thanks,
William

Google Ads API Forum Advisor

unread,
Oct 25, 2021, 3:18:46 AM10/25/21
to adwor...@googlegroups.com
Hi William,

Thank you for reaching out to our API support team.

For any keywordPlanCampaigns existing in your account, you should be able to use the keyword_plan_campaign report to retrieve its details, including any keyword_plan_campaign.geo_targets being used.

Let me know if this is what you're looking for.

Best regards,

Google Logo
Peter Laurence Napa Oliquino
Google Ads API Team
 


ref:_00D1U1174p._5004Q2QEOR4:ref
Reply all
Reply to author
Forward
0 new messages