Hi Aryeh,

Thanks for your help and support and I manage to make it work. Now I found 
one more issue. I create a KeywordPlanCampaign with one location, it worked 
fine. I need to create a KeywordPlanCampaign with multiple locations, how 
can I send multiple locations. Below you can see the code to set one 
location:

$keywordPlanCampaign->setGeoTargets([
                new KeywordPlanGeoTarget([
                    'geo_target_constant' => 
ResourceNames::forGeoTargetConstant(2250)
                ])
            ]);

Looking for quick help. Thanks

On Thursday, 14 April 2022 at 23:47:37 UTC+5 adsapi wrote:

> Hi Aqeel, 
>
> You may try in Ads API to set the KeywordPlanNetwork field 
> to GOOGLE_SEARCH_AND_PARTNERS, or use the network settings 
> <https://developers.google.com/adwords/api/docs/reference/v201809/TrafficEstimatorService.NetworkSetting>
>  
> in AdWords API and then multiply the results from AdWords API by the amount 
> of days in one quarter of a year to match your next quarter setting as 
> close as possible. For PHP samples you may reach out to the issue tracker 
> of each library.
>
> Regards,
>
> [image: Google Logo] 
> Aryeh 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2W5LON:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads 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
--- 
You received this message because you are subscribed to the Google Groups 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe5dbf11-7515-42cf-80e9-453b7f9f3615n%40googlegroups.com.
  • Re... Aqeel Ashraf
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Aqeel Ashraf
        • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
          • ... Aqeel Ashraf
            • ... Harshitha Moka

Reply via email to