GoogleAdsAPI: How to change individual keyword bids back to the ad group default bid?

2019-09-29 Thread かねこ
I use Google Ads API Client Library for Java v2.


I edited individual keyword bid.

Long bidMicroAmount = Long.parseLong("100");
AdGroupCriterion adGroupCriterion =
AdGroupCriterion.newBuilder()
.setResourceName(ResourceNames.adGroupCriterion(customerId, 
adGroupId, criterionId))
.setCpcBidMicros(Int64Value.of(bidMicroAmount))
.build();
AdGroupCriterionOperation operation =
AdGroupCriterionOperation.newBuilder()
.setUpdate(adGroupCriterion)
.setUpdateMask(FieldMasks.allSetFieldsOf(adGroupCriterion))
.build();
MutateAdGroupCriteriaResponse response =
adGroupCriterionServiceClient.mutateAdGroupCriteria(
Long.toString(customerId), ImmutableList.of(operation));
It works.


Now, I need to change back to the ad group default bid.

First, I tried set bidMicroAmount to 0.

Long bidMicroAmount = Long.parseLong("0");

but it failed with INVALID_VALUE error.
  message: "The field's value is invalid."
  trigger: { int64_value: 0 }

Next, I tried clearCpcBidMicros() at build AdGroupCriterion.

AdGroupCriterion adGroupCriterion =
AdGroupCriterion.newBuilder()
.setResourceName(ResourceNames.adGroupCriterion(customerId, 
adGroupId, criterionId))
.clearCpcBidMicros()
.build();

It works without errors, bud no change keyword bid and bid source.

And I use setEffectiveCpcBidSource(BiddingSource.AD_GROUP) instead of 
clearCpcBidMicros(),
that works equally clearCpcBidMicros(), with no change.


How can I change back to ad group default bid ?

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/526a41b1-6582-4671-babd-ca4979716d14%40googlegroups.com.


RE: How to retrieve a full list of placements when planning a campaign

2019-09-29 Thread Google Ads API Forum Advisor Prod
Hi Luca,

Thank you for reaching out.

It appears that your concern is related to the Google Ads UI. Since this our 
team specializes more on AdWords API and Google Ads API related concerns, you 
can reach out to the product experts instead via the Google Ads Help Community 
forum for further guidance.

Best regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UKLRGZ: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/CTW5w0PYMNB800YeaPZHebTGu6GvLc5ZzUlQ%40sfdc.net.


Re: Send request to link google my business

2019-09-29 Thread Vaithee Baskaran
Hi, my application manages ad campaigns and accounts of my customers, 
however, all my customers have their own GMB accounts; how do I go about 
helping them setup location ad extension ? please help unblock us with 
alternatives if the APIs to do this does not exist.

thanks,
-Vaithee.

On Friday, June 21, 2019 at 1:34:03 PM UTC-7, adsapiforumadvisor wrote:
>
> Hi,
>
> Thank you for contacting support. With regards to your concern, it is not 
> possible to request access to another Google My Business account via API. 
> You could refer to the Location extension 
> 
>  
> guide for more details on creating business locations using the Google My 
> Business API and to link them to your ads using the AdWords API. Let us now 
> if you need additional information.
>
> Regards,
> Nikisha Patel, Google Ads API Team
>
>
> ref:_00D1U1174p._5001UCYmCt: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/7b7d18d5-b42b-4ba2-bced-2091896e25ff%40googlegroups.com.


RE: AdwordsUserListService fields

2019-09-29 Thread Google Ads API Forum Advisor Prod
Hi,

Thank you for posting your concern.

You may refer to this guide to see the available field for the 
AdwordsUserListService. However, currently it's not possible to get create time 
of the userlist via this service. With regard to use status, there are several 
available status fields below. You may check if these are the fields you are 
looking for.

AccountUserListStatus
PrepopulationStatus
SeedUserListStatus
Status

Please let me know if you have further clarifications.

Regards,
Hiroyuki
Google Ads API Team
ref:_00D1U1174p._5001UKLPwE: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/Ly0fM0PYMLOL00G03gnd8vTHiadYgwnVtZJg%40sfdc.net.


Re: Keywords status

2019-09-29 Thread duong xuan toi
Hi Bharani,

for status RARELY_SERVED it will show "low search volume" on UI, my expect 
is "Rarely shown(low Quality Score)",
and serving status have only 4 types : 
ELIGIBLE
RARELY_SERVED
UNKNOWN
UNSPECIFIED

is there another ways ?

On Saturday, September 21, 2019 at 12:03:18 AM UTC+7, adsapiforumadvisor 
wrote:
>
> Hi Duong, 
>
> The closest we have is the SystemServingStatus 
> 
>  in 
> AdWords API and the ad_group_criterion.system_serving_status 
> 
>  in 
> Google Ads API which will return the serving status of the criteria as 
> RARELY_SERVED value. Let us know if you have any further questions.
>
> Thanks,
> Bharani, Google Ads API Team
>
> ref:_00D1U1174p._5001UHHPpM: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/52bfa73d-900c-412e-b485-9b5ab180efc0%40googlegroups.com.


RE: Issue with adding members to the existing CrmBasedUserList using Adwords API

2019-09-29 Thread Google Ads API Forum Advisor Prod
Hi Lars,

Instead of calling $userListService->mutate($operations), can you please try 
$userListService->mutateMembers($operations)? This sample code shows the exact 
details for adding members to a user list. Please let me know if that solves 
your issue.


Thanks,
Poki, Google Ads API Team
ref:_00D1U1174p._5001UHHvPi: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/ssMdb0PYMJ3N00F_4p3NrpQPqOEHckUWRxvA%40sfdc.net.


RE: Class Google\AdsApi\AdWords\v201809\cm\CampaignService does not exist laravel Sample App

2019-09-29 Thread Google Ads API Forum Advisor Prod
Hi,

To better investigate the issue, could you provide more details regarding the 
error you encountered? Also, could you confirm if you were able to completely 
configure the client library before you made the AdWords API's CampaignService 
call?

Thanks and regards,
Peter
Google Ads API Team
ref:_00D1U1174p._5001UHIASF: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/z3PB30PYMIDI006xKVVWeMQzqYQfhL6YXX4w%40sfdc.net.


How to retrieve a full list of placements when planning a campaign

2019-09-29 Thread Luca DL
Hi there, 

When we are building a display campaign we have the option to search for 
placements to chose. The results are displayed showing 5 results in the 
default result window, if we want to see more we can scroll and after a 
while we are able to click on "show more" to load more placementes. I'm 
looking for a way to retrieve let's say at least a hundred placement 
results in a single view to speed up the process and select the one are 
interesting to me.
Is this possible somehow?
Thank you

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6c00348d-ce44-42f6-91f4-9879f8e306ad%40googlegroups.com.