Re: Campaign settings using Google Ads API

2021-03-03 Thread Google Ads API Forum Advisor Prod
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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/P0KL80QPELTC00_panvlPKSKaTP6VjYbhzAA%40sfdc.net.


Re: Campaign settings using Google Ads API

2021-03-03 Thread cv
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) {
$freCaps[] = array($frequencyCapEntry->getCap());
}

   foreach ($campaign->getFrequencyCaps() as 
$frequencyCapEntry) {
$freCaps[] = array(
'key' => array(
'level'=> 
$frequencyCapEntry->getKey()->getLevel(),
'event_type'=> 
$frequencyCapEntry->getKey()->getEventType(),
'time_unit'=> 
$frequencyCapEntry->getKey()->getTimeUnit(),
'time_length'=> 
$frequencyCapEntry->getKey()->getTimeLength()
),
'cap' => $frequencyCapEntry->getCap()
);
}





On Wednesday, 3 March 2021 at 13:23:44 UTC+5:30 cv wrote:

> 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:41 UTC+5:30 adsapiforumadvisor wrote:
>
>> 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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 
"AdWords API and Google Ads 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/65deedcc-50e2-42f1-b2a5-5f6451a8b63cn%40googlegroups.com.


Re: Campaign settings using Google Ads API

2021-03-02 Thread cv
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:41 UTC+5:30 adsapiforumadvisor wrote:

> 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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 
"AdWords API and Google Ads 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/343d344a-d0aa-4fbf-82ee-bc1297fb21c5n%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-14 Thread Google Ads API Forum Advisor Prod
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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 
"AdWords API and Google Ads 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/Dsq0t0QF2BOK00rL-M5wiTTIyv3LLHQiYHWg%40sfdc.net.


Re: Campaign settings using Google Ads API

2020-08-14 Thread cv
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 
> 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 identify what view need to be use to get 
> those data?
> There must be simpler API explanation which view I need to use?
>
> I am using like this
>
> $googleAdsRow->getCampaignCriterion()->getLocation()->getGeoTargetConstantUnwrapped()
>  
>
> $googleAdsRow->getCampaignCriterion()->getLanguage()->getLanguageConstantUnwrapped()
>
> when doc said I can get those using campaign_criterion resource It must be 
> used.
> https://developers.google.com/google-ads/api/fields/v4/campaign_criterion
>
> Thanks
> On Friday, 14 August 2020 at 00:21:08 UTC+5:30 adsapiforumadvisor wrote:
>
>> 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 you 
>> also please share the complete request and response logs along with the 
>> client customer id and the report results via the *Reply privately to 
>> author* option?
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>
>>
>> ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/a7c0aa69-2b80-4bcd-a0e0-a90e1c98fffan%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-13 Thread cv
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 *campaign_criterion.location.geo_target_constant using *
*campaign_criterion *view?
If this is the case how I can identify what view need to be use to get 
those data?
There must be simpler API explanation which view I need to use?

I am using like this
$googleAdsRow->getCampaignCriterion()->getLocation()->getGeoTargetConstantUnwrapped()
 
$googleAdsRow->getCampaignCriterion()->getLanguage()->getLanguageConstantUnwrapped()

when doc said I can get those using campaign_criterion resource It must be 
used.
https://developers.google.com/google-ads/api/fields/v4/campaign_criterion

Thanks
On Friday, 14 August 2020 at 00:21:08 UTC+5:30 adsapiforumadvisor wrote:

> 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 you 
> also please share the complete request and response logs along with the 
> client customer id and the report results via the *Reply privately to 
> author* option?
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/60e65ee8-13af-4895-8a94-136bf6b7a8a0n%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-13 Thread Google Ads API Forum Advisor Prod
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 you also please 
share the complete request and response logs along with the client customer id 
and the report results via the Reply privately to author option?

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/vknai0QF0N0N00xuBK6AnrQRCHN_lq9KCVvw%40sfdc.net.


Re: Campaign settings using Google Ads API

2020-08-13 Thread cv
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 identify what view need to be use to get 
those data?
There must be simpler API explanation which view I need to use?

I am using like this
$googleAdsRow->getCampaignCriterion()->getLocation()->getGeoTargetConstantUnwrapped()
 
$googleAdsRow->getCampaignCriterion()->getLanguage()->getLanguageConstantUnwrapped()

when doc said I can get those using campaign_criterion resource It must be 
used.
https://developers.google.com/google-ads/api/fields/v4/campaign_criterion


Thanks


On Thursday, 13 August 2020 at 10:58:34 UTC+5:30 cv wrote:

>
> 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 values 
> through API. I am not setting any values.
> For that I was using campaign_criterion resource as suggested by you.
>
> I want to get those values.
>
> For that I was using as explained in my previous reply.
>
> For frequency cap as well. I was getting the value but it only return 
> object instead value.
> As you can see that I was quesrying campaign resource only 
> $googleAdsRow->getCampaign()->getFrequencyCaps() 
>
> So my question here is how I can get those repeated fields object using 
> API?
>
> Thanks,
> On Thursday, 13 August 2020 at 00:42:38 UTC+5:30 adsapiforumadvisor wrote:
>
>> 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 
>> 
>> . 
>>
>>
>>
>> Thanks and regards,
>> Xiaoming, Google Ads API Team
>>
>>
>>
>> ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/8b6e8830-281d-4e8b-83f1-4b9a80df1202n%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-12 Thread cv

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 values 
through API. I am not setting any values.
For that I was using campaign_criterion resource as suggested by you.

I want to get those values.

For that I was using as explained in my previous reply.

For frequency cap as well. I was getting the value but it only return 
object instead value.
As you can see that I was quesrying campaign resource only 
$googleAdsRow->getCampaign()->getFrequencyCaps() 

So my question here is how I can get those repeated fields object using API?

Thanks,
On Thursday, 13 August 2020 at 00:42:38 UTC+5:30 adsapiforumadvisor wrote:

> 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 
> 
> . 
>
>
>
> Thanks and regards,
> Xiaoming, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/ca529d67-023c-47b9-b159-05dcdfbd0ed3n%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-12 Thread Google Ads API Forum Advisor Prod
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.

Thanks and regards,
Xiaoming, Google Ads API Team
ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/s2hYp0QEYTC800Ng1_Ws2JRV2Rn2zQMhihnw%40sfdc.net.


Re: Campaign settings using Google Ads API

2020-08-12 Thread cv
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,
campaign.network_settings.target_content_network,

campaign.network_settings.target_partner_search_network,
campaign.network_settings.target_google_search,
campaign.network_settings.target_search_network,
campaign_criterion.location.geo_target_constant,
campaign_criterion.language.language_constant,
campaign.advertising_channel_type,
campaign.ad_serving_optimization_status,
campaign.bidding_strategy,
campaign.bidding_strategy_type,
campaign.frequency_caps
FROM
   campaign_criterion

and Reading google Ads row reason

$googleAdsRow->getCampaignCriterion()->getLocation()->getGeoTargetConstantUnwrapped()
 
$googleAdsRow->getCampaignCriterion()->getLanguage()->getLanguageConstantUnwrapped()
 

This is giving error.

Also I would like to use repeat fields like frequency caps is giving object 
how I can retrive same?
$googleAdsRow->getCampaign()->getFrequencyCaps() 

Google\Protobuf\Internal\RepeatedField Object

(

)
Thanks,

On Monday, 10 August 2020 at 23:56:23 UTC+5:30 adsapiforumadvisor wrote:

> 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 Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/19090b51-6792-43a1-bb7a-5f458a34320an%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-10 Thread Google Ads API Forum Advisor Prod
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 Ads API Team
ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/2v_bH0QEV1V900BpmXpHJfQw2wLUYHPRjvgg%40sfdc.net.


Re: Campaign settings using Google Ads API

2020-08-10 Thread cv
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 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, Google Ads API Team
>
>
>
> ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/9664e098-5758-4b89-bc5b-36be88d2df96n%40googlegroups.com.


Re: Campaign settings using Google Ads API

2020-08-07 Thread Google Ads API Forum Advisor Prod
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, Google Ads API Team
ref:_00D1U1174p._5004Q23I8vx: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 
"AdWords API and Google Ads 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/J-Srd0QEPBG5006gfFgAV_RgiLaciCpeAXEg%40sfdc.net.


Re: Campaign settings using Google Ads API

2020-08-06 Thread cv
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 
>  
> 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
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/92ae07ac-3e98-408d-abd8-5eef70d1bffdn%40googlegroups.com.


RE: Campaign settings using Google Ads API

2020-08-06 Thread Google Ads API Forum Advisor Prod
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

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/OCHzb0QENR9X00efeHe9PaSbqeugkKRpRNag%40sfdc.net.


Campaign settings using Google Ads API

2020-08-06 Thread cv
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,



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 
"AdWords API and Google Ads 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/6e0769c7-caee-4058-ba32-b52eee7b5bcdn%40googlegroups.com.