Hi,
Thank you for reaching out. You could query the campaign.frequency_caps from
the campaign resource. You could refer to this code snippet on how to for loop
the results.
Thanks and regards,
Xiaoming, Google Ads API Team
Xiaoming
Google Ads API Team
ref:_00D1U1174p._5004Q23I8vx:ref
--
--
Hi,
When I tried to retrieved frequency cap like this It is giving me error.
*Call to undefined method Google\Protobuf\Internal\RepeatedField::getCap()*
Is this not correct way to get repeated fields?
foreach ($campaign->getFrequencyCaps() as
$frequencyCapEntry) {
Hi,
I need to get FrequencyCapMaxImpressions from Adwords API to Google Ads API.
I am not able to get those details in Google Ads API.
I am using campaign.frequency_caps fields in SELECT agsing FROM campaign.
Can you please check which fields I need to use?
On Friday, 14 August 2020 at 22:11:4
Hi,
We have received the logs and will discuss further in the new thread.
Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q23I8vx:ref
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=
I have shared the log on the email.
On Friday, 14 August 2020 at 10:51:59 UTC+5:30 cv wrote:
> Hi Xiaoming,
>
> *Reply privately to author* is disabled for me. I am not able to post.
>
> But My main question is ignored.
>
> When I tried to fetch Location and Language through campaign_criterion
Hi Xiaoming,
*Reply privately to author* is disabled for me. I am not able to post.
But My main question is ignored.
When I tried to fetch Location and Language through campaign_criterion view.
I am getting error that *Call to a member function getLanguageConstant() on
null*
I cannot use *camp
Hi,
Thank you for reaching out. For the frequency cap, you would need to query
campaign.frequency_caps from campaign resource first and then you can use
$googleAdsRow->getCampaign()->getFrequencyCaps() to get the object. The result
is object representing key-value pair which is expected. Could
Hi,
When I tried to fetch Location and Language through campaign_criterion view.
I am getting error that *Call to a member function getLanguageConstant() on
null*
I cannot use *campaign_criterion.location.geo_target_constant using *
*campaign_criterion *view?
If this is the case how I can identi
Hello Xiaoming,
Yes, I was fetching like this only.
$googleAdsRow->getCampaignCriterion()->getLocation()->getGeoTargetConstantUnwrapped()
$googleAdsRow->getCampaignCriterion()->getLanguage()->getLanguageConstantUnwrapped()
It was already set by the user in the UI, I am just getting those v
Hi,
Thank you for reaching out. Please confirm that you have set the Location and
Language using CampaignCriterionService. For frequency_caps, as it contains
both key and value so it is returned as an object. You would need to query the
campaign resource to fetch the campaign.frequency_caps.
T
Hi Xiaoming,
I am not able to get Location and Language using campaignCriterion Service.
I was using like this
Query:
SELECT
campaign.id,
campaign.name,
campaign.status,
campaign.serving_status,
Hi,
Thank you for reaching out. Yes, you could get the same results by calling the
service CampaignCriterionService.GetCampaignCriterion() but getting them
through the report is always recommended since the get call in the Google Ads
API is more expensive.
Thanks and regards,
Xiaoming, Google
Hello Xiaoming,
campaign_criterion I can only access through GAQL?
Is there no other way to directly get those values? Means like v201809 we
can get the data through service usage.
Thanks,
On Friday, 7 August 2020 at 21:37:44 UTC+5:30 adsapiforumadvisor wrote:
> Hi,
>
> Thank you for reachin
Hi,
Thank you for reaching out. You could see a list of the CampaignCriterion that
you can apply to the campaign and then query the campaign_criterion resource to
fetch the corresponding data. For Network and Budget, you could query them from
the campaign resource.
Thanks and regards,
Xiaoming
Hi, Xiaoming,
I wanted to get those data and not set the data.
If you could help how I can get all campaign settings would be helpful.
Thanks,
On Friday, 7 August 2020 at 01:24:14 UTC+5:30 adsapiforumadvisor wrote:
> Hi,
>
> Thank you for reaching out. You could refer to this code sample
>
Hi,
Thank you for reaching out. You could refer to this code sample on how to set
the budget on the campaign. You could refer to this code sample on how to set
the targeting criteria on the campaign.
Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q23I8vx:ref
--
--
=~=
Hi,
I wanted to get All Campaign settings, how would I get same using Google
Ads API beta?
I wanted to get
Network Targetting
Set Locations
Set Languages
Set Budget Settings (Accelarate/Standard etc..)
Any other settings we can set for campaigns.
Thanks,
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=
17 matches
Mail list logo