RE: Unable to add user interest to a display type campaign's adgroup

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Could you try to use the ADD operator instead and only set the
userInterestId
  
to  
92911.

Let me know if it works.

Thanks and regards,
Luis
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/13/19 14:08:23 msi.saur...@gmail.com wrote:

The other code was wrong
if i set as userInteresetId says id required, if i set as id says invalid id


$adGroupCriterionService = $this->adWordServices->get($this->session,  
AdGroupCriterionService::class);

$operations  = [];

$userInterest = new CriterionUserInterest();
$userInterest->setUserInterestId(92911);
$genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
$genderBiddableAdGroupCriterion->setAdGroupId($adGroup->getId());
$genderBiddableAdGroupCriterion->setCriterion($userInterest);

$adgroupOperation = new AdGroupCriterionOperation();
$adgroupOperation->setOperator(Operator::SET);
$adgroupOperation->setOperand($genderBiddableAdGroupCriterion);
$operations[] = $adgroupOperation;

$result = false;
if (!empty($operations)) {
$result = $adGroupCriterionService->mutate($operations);
}

return $result;


On Wednesday, February 13, 2019 at 11:52:37 AM UTC+6, MSI Saurovh wrote:

Hi,
https://developers.google.com/adwords/api/docs/appendix/codes-formats
here you will find all affinity user interest, and

92911 : /Technology/Social Media Enthusiasts is valid affinity

$adGroupCriterionService = $this->adWordServices->get($this->session,  
AdGroupCriterionService::class);

$operations  = [];

$userInterest = new CriterionUserInterest(92911);
$userInterest->setUserInterestId($userInterest->getId());
$genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
$genderBiddableAdGroupCriterion->setCriterion($userInterest);

$adgroupOperation = new AdGroupCriterionOperation();
$adgroupOperation->setOperator(Operator::SET);
$adgroupOperation->setOperand($genderBiddableAdGroupCriterion);
$operations[] = $adgroupOperation;

$result = false;
if (!empty($operations)) {
$result = $adGroupCriterionService->mutate($operations);
}

return $result;

but this shows invalid_id error, please help me out here

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/564366b6-57d6-4a83-a074-58e720eeb7a9%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hgcog010aijto000d4jtox6gmj2e9n60o30c1g68qj8d1j%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API Accessible Customers

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Kevin,

Could you confirm if you have set the login-customer-id in your request
  
to

match the manager you're logging in as? If this header is not set, you may
begin seeing the error: USER_PERMISSION_DENIED.

Regarding the result of the CustomerService.ListAccessibleCustomers  
request, could

you provide the code segment you used and the logs returned so I could
further check this on my end? You may use the *reply privately to author*
option.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/13/19 08:49:15 lopsidedm...@gmail.com wrote:

Hi,

I saw this post:
https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html  
and

added the requested manager customer id.

However, I can't seem to access accounts that are directly managed by that
customer anymore.
I get a "PermissionDenied" status code when I try to query with a managed
customer id.
In addition, when I make the CustomerService.ListAccessibleCustomers
  
request,

I only get the manager account back.

Is there another step I need to explicitly give permission for the manager
to access the managed account's data?

Best,
Kevin

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/a41c2d41-984c-435d-96cc-3e22de4406c5%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19h480g1gkg5gsj5tqx70mjie9o60o30c1g68qj6c1k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Google Ads API Accessible Customers

2019-02-12 Thread Ananth Sakthivel
Hi Kevin,
I have also had the same issue. but how I fixed this is,
I Called the "GoogleAdsSerive" and queried below,

 GoogleAdsServiceClient googleAdsService = 
Client.GetService(Services.V0.GoogleAdsService);
SearchGoogleAdsRequest request = new 
SearchGoogleAdsRequest()
{
Query = @"SELECT customer_client.client_customer 
FROM customer_client",
CustomerId = Client.Config.LoginCustomerId
};
PagedEnumerable 
searchPagedResponse = googleAdsService.Search(request);

when I Looping through this Response and I will get the AdsAccount Details.

On Wednesday, 13 February 2019 06:19:15 UTC+5:30, Kevin wrote:
>
> Hi,
>
> I saw this post: 
> https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html
>  and 
> added the requested manager customer id.
>
> However, I can't seem to access accounts that are directly managed by that 
> customer anymore.
> I get a "PermissionDenied" status code when I try to query with a managed 
> customer id.
> In addition, when I make the CustomerService.ListAccessibleCustomers 
> 
>  request, 
> I only get the manager account back.
>
> Is there another step I need to explicitly give permission for the manager 
> to access the managed account's data?
>
> Best,
> Kevin
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/71dafc25-4a95-4bd1-8b56-85061f6ac3d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Unable to add user interest to a display type campaign's adgroup

2019-02-12 Thread MSI Saurovh


The other code was wrong
if i set as userInteresetId says id required, if i set as id says invalid id


$adGroupCriterionService = $this->adWordServices->get($this->session, 
AdGroupCriterionService::class);
$operations  = [];

$userInterest = new CriterionUserInterest();
$userInterest->setUserInterestId(92911);
$genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
$genderBiddableAdGroupCriterion->setAdGroupId($adGroup->getId());
$genderBiddableAdGroupCriterion->setCriterion($userInterest);

$adgroupOperation = new AdGroupCriterionOperation();
$adgroupOperation->setOperator(Operator::SET);
$adgroupOperation->setOperand($genderBiddableAdGroupCriterion);
$operations[] = $adgroupOperation;

$result = false;
if (!empty($operations)) {
$result = $adGroupCriterionService->mutate($operations);
}

return $result;


On Wednesday, February 13, 2019 at 11:52:37 AM UTC+6, MSI Saurovh wrote:
>
> Hi,
> https://developers.google.com/adwords/api/docs/appendix/codes-formats
> here you will find all affinity user interest, and 
>
> 92911 : /Technology/Social Media Enthusiasts is valid affinity
>
> $adGroupCriterionService = $this->adWordServices->get($this->session, 
> AdGroupCriterionService::class);
> $operations  = [];
>
> $userInterest = new CriterionUserInterest(92911);
> $userInterest->setUserInterestId($userInterest->getId());
> $genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
> $genderBiddableAdGroupCriterion->setCriterion($userInterest);
>
> $adgroupOperation = new AdGroupCriterionOperation();
> $adgroupOperation->setOperator(Operator::SET);
> $adgroupOperation->setOperand($genderBiddableAdGroupCriterion);
> $operations[] = $adgroupOperation;
>
> $result = false;
> if (!empty($operations)) {
> $result = $adGroupCriterionService->mutate($operations);
> }
>
> return $result;
>
> but this shows invalid_id error, please help me out here
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/564366b6-57d6-4a83-a074-58e720eeb7a9%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Why are certain segments required to be present in the SELECT clause if present in the WHERE clause (google ads api)?

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

I was able to replicate this scenario on my end as well. I can file a
feature request on your behalf for "allowing device filtering in reports
without including the device field in the selected fields to prevent
segmentation of results". However, i could not provide a comment whether
this will be implemented or not.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/13/19 09:23:14 pste...@wordstream.com wrote:

I'm dealing with a specific example in mind in the new Google Ads API
whereby if I include a filter on segments.device in the WHERE clause of the
query, I'm also required to add it to the SELECT clause.  In the AdWords
API we were able to add predicates in order to filter data without
affecting the aggregation process.  Adding a segment to the SELECT clause
causes the resultant data to be broken down by that segment.  This is
undesirable, as it breaks the ability to filter prior to aggregation.

As an example, supposing I wanted to see all ad performance metrics
aggregated by ad id, but only including those of devices (A and B).
Forcing the inclusion of the segmentation in the SELECT clause means I'll
be aggregating by both ad id AND device, meaning multiple line items per id
(if more than 1 device applies).  Can anyone confirm this behavior and help
rationalize it for me?  Perhaps this is something that's going to change in
the near future.  I'd at least like to express my concern here though if
I'm correct about the situation.  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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/ms
gid/adwords-api/5cbf6c4d-23eb-42a0-9abc-0d846607ce87%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12gms28018etshq000i9468z74mj0e9m74o30c1g68qj4cpo%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Unable to add user interest to a display type campaign's adgroup

2019-02-12 Thread MSI Saurovh
Hi,
https://developers.google.com/adwords/api/docs/appendix/codes-formats
here you will find all affinity user interest, and 

92911 : /Technology/Social Media Enthusiasts is valid affinity

$adGroupCriterionService = $this->adWordServices->get($this->session, 
AdGroupCriterionService::class);
$operations  = [];

$userInterest = new CriterionUserInterest(92911);
$userInterest->setUserInterestId($userInterest->getId());
$genderBiddableAdGroupCriterion = new BiddableAdGroupCriterion();
$genderBiddableAdGroupCriterion->setCriterion($userInterest);

$adgroupOperation = new AdGroupCriterionOperation();
$adgroupOperation->setOperator(Operator::SET);
$adgroupOperation->setOperand($genderBiddableAdGroupCriterion);
$operations[] = $adgroupOperation;

$result = false;
if (!empty($operations)) {
$result = $adGroupCriterionService->mutate($operations);
}

return $result;

but this shows invalid_id error, please help me out here

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/c0589fd1-3c1e-43a4-9af5-5b686172eae7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: customer sync service changed criteria

2019-02-12 Thread cv
Hello Bharani,

Thanks for the update , but I know how the customerSyncService is worked.

My original question is the changes shown under the response as

[changedCriteria:protected] => Array

(
[0] => 32314XX32630
[1] => 37203XX13364
)

this.

Should this changes shown under the changedCriteria:protected also part of 
changes for changed history?





On Wednesday, 13 February 2019 01:54:26 UTC+5:30, googleadsapi-forumadvisor 
wrote:
>
> Hello Chirag, 
>
> The CustomerSyncService.get() 
> 
>  operation 
> will return the changed entities for a customer account or campaign based 
> on the given date range. You will be able to use the lastChangeTimestamp 
> 
>  from 
> the response to determine the validity period for the data. The 
> dateTimeRange 
> 
>  will 
> return the entities that have changed during the specified time range. 
>
> Let me know if you have any other questions. 
>
> Regards,
> Bharani, AdWords API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a86a7476-23b6-435a-bc8f-a01946e12139%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: [1-1254000025157] How can I get YouTube video's file name?

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Yoshimasa,

Unfortunately, no updates yet.
I'm following up this with Engineering.

Best,
Thanet, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/12/19 07:53:16 lanabe.lan...@gmail.com wrote:

Hi Thanet,

Has there been any news about sourceUrl?

Thanks!

---

Yoshimasa

On Thursday, January 31, 2019 at 4:17:40 PM UTC+9, Thanet Knack
Praneenararat (AdWords API Team) wrote:

Hello Tanabe,

I'll check with Engineering and get back to you soon.

Best,
Thanet, AdWords API Team

On Tuesday, January 29, 2019 at 9:41:59 PM UTC+9, Yoshimasa Tanabe wrote:

Hi,

Is there any way to get YouTube video's original file name(like foo.mp4)
the user uploaded?

I referred the API doc[1] and found the following fields look like related.

* sourceUrl: The URL of where the original media was downloaded from (or a
file name).
* name: The name of the media. The name can be used by clients to help
identify previously uploaded media.

But I get the Video object has the empty sourceUrl and the name is
Video(YouTube) title, not the file name.


{
  name=,
  sourceUrl=, // empty
  // other fields
  ...
}


Am I missing something?

...

Code snippet is here(Scala).

* "com.google.api-ads" % "ads-lib"  % 4.1.0
* "com.google.api-ads" % "adwords-axis" % 4.1.0

import com.google.api.ads.adwords.axis.factory.AdWordsServices
import com.google.api.ads.adwords.axis.utils.v201806.SelectorBuilder
import com.google.api.ads.adwords.axis.v201806.cm.MediaServiceInterface
import com.google.api.ads.adwords.lib.client.AdWordsSession
import com.google.api.ads.adwords.lib.selectorfields.v201806.cm.MediaField


val mediaServiceSelector = new SelectorBuilder()
  .fields(
MediaField.MediaId,
MediaField.YouTubeVideoIdString,
MediaField.Name,
MediaField.SourceUrl,
MediaField.StreamingUrl
  )
  .in(MediaField.Type, "VIDEO")
  .build()


val session = new AdWordsSession.Builder()
  .withOAuth2Credential()
  .withDeveloperToken()
  .withClientCustomerId()
  .build()


AdWordsServices.getInstance()
  .get(session, classOf[MediaServiceInterface])
  .get(mediaServiceSelector)


[1] https://developers.google.com/adwords/api/docs/reference/
v201806/MediaService.Video
[2] https://developers.google.com/youtube/v3/docs/videos#header_2

---

Yoshimasa

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/845814d2-48a1-4866-8637-cde9a1613fa2%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/19h49m808gqs3ifunqz64mj2chl6go30c1g68qj2d9n%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Scope of uniqueness for "assetId" identifiers?

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Al,

I can see the documentation you provided and you are right that the assetId
is not explained in the scope of uniqueness. I will discuss this with the
team and get back to you with more information about this.

Regards,
Dannison
AdWords API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/13/19 06:20:49 adiven...@wordstream.com wrote:

Hello,

Can you tell me what the "scope of uniqueness" is for assetId

values used within Assets?

For example, are these values unique within the scope of a single Google
Ads account, unique across all Google Ads accounts? etc.

I tried to obtain this information from the "Objects, Methods, and
Services"  Objects, Methods, and Services
 -
but "assetId" identifiers are not covered in that guide.

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/d37823d3-41d6-48a3-b636-67615b53dcc0%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12hgcog010iqmls000cnr8iy68mjec1g6ko30c1g68qj8dph%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Why are certain segments required to be present in the SELECT clause if present in the WHERE clause (google ads api)?

2019-02-12 Thread Phil
I'm dealing with a specific example in mind in the new Google Ads API 
whereby if I include a filter on segments.device in the WHERE clause of the 
query, I'm also required to add it to the SELECT clause.  In the AdWords 
API we were able to add predicates in order to filter data without 
affecting the aggregation process.  Adding a segment to the SELECT clause 
causes the resultant data to be broken down by that segment.  This is 
undesirable, as it breaks the ability to filter prior to aggregation.

As an example, supposing I wanted to see all ad performance metrics 
aggregated by ad id, but only including those of devices (A and B).  
Forcing the inclusion of the segmentation in the SELECT clause means I'll 
be aggregating by both ad id AND device, meaning multiple line items per id 
(if more than 1 device applies).  Can anyone confirm this behavior and help 
rationalize it for me?  Perhaps this is something that's going to change in 
the near future.  I'd at least like to express my concern here though if 
I'm correct about the situation.  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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/5cbf6c4d-23eb-42a0-9abc-0d846607ce87%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API Accessible Customers

2019-02-12 Thread Kevin
Hi,

I saw this post: 
https://ads-developers.googleblog.com/2019/01/new-required-header-for-google-ads-api.html
 and 
added the requested manager customer id.

However, I can't seem to access accounts that are directly managed by that 
customer anymore.
I get a "PermissionDenied" status code when I try to query with a managed 
customer id.
In addition, when I make the CustomerService.ListAccessibleCustomers 

 request, 
I only get the manager account back.

Is there another step I need to explicitly give permission for the manager 
to access the managed account's data?

Best,
Kevin

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/a41c2d41-984c-435d-96cc-3e22de4406c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: TOO_MANY_CHANGES error when access customersync service

2019-02-12 Thread Tirtha Ghosh Dastidar
Hi Sree,

Few followup questions.

The documentation says that the *changedCampaigns* object contains all 
campaign ids from the selector even if the campaign *did not change*. But 
ad_group_ids which show up within the *changedAdGroups* have some changes 
in them. I was testing with an account which underwent changes. I cant seem 
to find any object with *adGroupChangeStatus* <> FIELDS_UNCHANGED.

*Question*:
1. If a campaign has no change but adgroups under it have changed. Would 
the parent campaign have a change status? As I understand, any adgroup_id 
which shows up should have some changes. 

I am trying to understand how the syncservice object status change for 
given actions. If it helps, I can share the sample data I downloaded from 
the sync service in private.

Thanks
Tirtha


On Monday, February 11, 2019 at 3:09:06 PM UTC-8, googleadsapi-forumadvisor 
wrote:
>
> Hi Tirtha, 
>
> Please find my responses inline:
>
>1. How small of a time window can i provide to the customersync 
>service?
>The dateTimeRange 
>
> 
>  is 
>expected in the following format : MMdd HHmmss. Which means, the 
>shortest time interval that you can get the changes for is a second. 
>2. Any advised best practices when using this service?
>If you are encountering TOO_MANY_CHANGES 
>
> 
>  
>error, as you are trying to do, reducing the time interval should help in 
>getting the changes. If that does not help, you should assume that the 
>entire object has changed and retrieve the object using the specific 
>service. If you are trying to gather the performance stats of a new 
>keywords added during a time frame, you could also have a logic at your 
> end 
>to make a note of the keyword ids along with the ad group Id of these 
> newly 
>created keywords and use that as a predicate in your report definition. 
>Please note that CustomerSyncService only supports queries for dates 
> within 
>the last 90 days.
>
> Please let me know if you have any additional questions. 
>
> Thanks,
> Sreelakshmi, AdWords API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 02/11/19 13:37:50 maveri...@gmail.com  wrote:
>
> Hi team,
>
> I am trying to get delta changes from adwords API (using sample code from 
> https://github.com/googleads/googleads-python-lib/blob/master/examples/adwords/v201809/account_management/get_account_changes.py
> )
>
> I get error when accessing the changes.
> Error message: googleads.errors.GoogleAdsServerFault: 
> [CustomerSyncError.TOO_MANY_CHANGES @ selector]
>
> 1. How small of a time window can i provide to the customersync service?
> 2. Any advised best practices when using this service?
>
> We have 100s of millions of keywords on adwords. The idea is to download 
> only the delta and not the full keyword performance report. Hence we are 
> exploring the customersync service. 
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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.
> Visit this group at https://groups.google.com/group/adwords-api.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/adwords-api/030fec64-f166-4862-88b5-ad934283a039%40googlegroups.com
>  
> 

RE: Getting Error: connect ETIMEDOUT for adgroup performance report

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thanks for letting me know which client libraries you are using. Could
either of you share the following from a request that timed out *only with
me* by clicking *Reply privately to author* on this message?

   - The client customer ID in the request
   - The report definition or AWQL statement of the request
   - The *requestId* in the response, if available. If not, please provide
   the date and time (including timezone) of the request.

Once I have an example or two, I can look into the specific request to
determine why it failed.

Cheers,
Josh, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/11/19 23:39:21 chirag.erepo...@gmail.com wrote:

Hello Josh,

I am using googleads-php-lib.

Also, as a workaround in the meantime, you can increase the timeout in your
requests as described in the reporting section of the library's README
.
->Yes  I have done the same to get reports, but that too are timeout. And
to more specific it is taking more than 2 mins to get single campaign
performance report for single day without any segments usage .

Thanks,

On Tuesday, 12 February 2019 09:53:16 UTC+5:30, Jofin Kuriakose wrote:

Hi Josh,

I am using NodeJS (node-adwords npm package).

When can I expect this to be resolved?

On Monday, February 11, 2019 at 11:31:58 PM UTC+5:30, Jofin Kuriakose wrote:

I am getting following error from today afternoon for Adgroup Performance
Report.

{ Error: connect ETIMEDOUT 74.125.200.100:443
at Object._errnoException (util.js:1041:11)
at _exceptionWithHostPort (util.js:1064:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1153:14)
  code: 'ETIMEDOUT',
  errno: 'ETIMEDOUT',
  syscall: 'connect',
  address: '74.125.200.100',
  port: 443 }

I am using v201806.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/b63ae669-5a64-4f79-a2f3-b021004c0f0e%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12ikuo000olk01c006uup0cw6cmjgd1k6go30c1g68qjcc1o%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to test ads from different locations?

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

The AdWords API services
  
will

pull the ads data from the AdWords accounts. You will be able to build such
tool using the similar API services. Please note that not all the features
available in this tool can be implemented directly through the API services.

Let me know if you have any other questions.

Regards,
Bharani, AdWords API Team

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18i3j5g1g5pe0g0070asemw6omj6dpl6so30c1g68qjac9k%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Scope of uniqueness for "assetId" identifiers?

2019-02-12 Thread Al
Hello,

Can you tell me what the "scope of uniqueness" is for assetId 

 
values used within Assets?

For example, are these values unique within the scope of a single Google 
Ads account, unique across all Google Ads accounts? etc.

I tried to obtain this information from the "Objects, Methods, and 
Services"  Objects, Methods, and Services 
 - 
but "assetId" identifiers are not covered in that guide.

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/d37823d3-41d6-48a3-b636-67615b53dcc0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: customer sync service changed criteria

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Chirag,

The CustomerSyncService.get()
  
operation

will return the changed entities for a customer account or campaign based
on the given date range. You will be able to use the lastChangeTimestamp
  
from

the response to determine the validity period for the data. The
dateTimeRange
  
will

return the entities that have changed during the specified time range.

Let me know if you have any other questions.

Regards,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/186upko18e2n02000ola6mw6kmjgd1i64o30c1g68qj6c1l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Two canceled BatchJobs during two days

2019-02-12 Thread Ершов Александр
Hi Josh!

Thanks! Appreciate your response!

Best regards,
Alexander!

On Monday, February 11, 2019 at 11:57:26 PM UTC+3, 
googleadsapi-forumadvisor wrote:
>
> Hi Alexander,
>
> I'm following up with the batch job engineers to get more details on the 
> internal error. I'll reply back as soon as I have an update.
>
> Cheers,
> Josh, AdWords API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Hi Alexander,
>
> Thank you for providing detailed information on you issue. We will check 
> this with the team and will provide you an update as soon as available.
>
> Thanks and regards,
> Luis
> AdWords API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>
>
> Second batchJob id is 1051814965
>
> On Saturday, February 9, 2019 at 3:26:56 AM UTC+3, Ершов Александр wrote:
>
> Hello!
>
> We've seen two batch jobs canceled on Adwords API side recently.
>
> batchJob IDs
> - 1051814965
> - 
>
> Logs
>  [14:02:58 07.02.2019] - [ADWORDS PUSHER]Uploaded 2029. operations for 
> batch job with ID: 1048178962
>  [14:02:58 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:02 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:02 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:06 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:06 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:10 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:10 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:15 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:15 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:19 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:19 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:23 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:23 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:27 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:27 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:31 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:31 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:36 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:36 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:40 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:40 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:44 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:44 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:48 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:48 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:52 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:52 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:03:56 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:03:56 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:04:01 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status ACTIVE. percents: 0
>  [14:04:01 07.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [14:04:05 07.02.2019] - [ADWORDS PUSHER]Batch job ID 1048178962 has 
> status CANCELED. percents: 0
>
> =
>  [15:38:31 08.02.2019] - [ADWORDS PUSHER]Uploaded 5355. operations for 
> batch job with ID: 1051814965
>  [15:38:31 08.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [15:38:36 08.02.2019] - [ADWORDS PUSHER]Batch job ID 1051814965 has 
> status ACTIVE. percents: 0
>  [15:38:36 08.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [15:38:40 08.02.2019] - [ADWORDS PUSHER]Batch job ID 1051814965 has 
> status ACTIVE. percents: 0
>  [15:38:40 08.02.2019] - [ADWORDS PUSHER]Sleeping 4 seconds...
>  [15:38:44 08.02.2019] - [ADWORDS PUSHER]Batch job ID 1051814965 has 
> status ACTIVE. percents: 0
>  [15:38:44 08.02.2019] - [ADWORDS PUSHER]Sleeping 4 

How to test ads from different locations?

2019-02-12 Thread fp . mmc . mail
There is a tool http://isearchfrom.com/ - it helps to see how ads looks 
like from different location (Country, city).
Does AdWords api allow to build such test tool?

Or do I need to use another google api to build such tool?
Thank you in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/91ef1f93-bce6-4d1e-ad29-40e21e0d28f8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Still want to use AdWords v201802

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Prashant,

It is currently not possible to extend this deadline. The AdWords API
v201802 was sunset and the API calls to this version would have failed from
January 30, 2018. You can skip v201806 and migrate to v201809 and try
making the API calls again. You may refer to this blog post
  
for

more information.

Thanks,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12jt03g010sccl6000orr5sw64mjic9i74o30c1g68qj6c9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Error with basic token access level

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Tuan,

The MCC account 759-599-3754 has approved developer token. The API call
with this developer token should work. Could you please share the SOAP
request and response logs without redacting any information so that I can
troubleshoot the issue? You can use 'Reply privately to author' option
while responding.

Thanks,
Milind, AdWords API Team
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12i8kmg01ge037o000d6aiay6smjgc1i6oo30c1g68qj8c9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Household income demographic

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Anil,

Thank you for sharing the details privately. Based on this article
  
Household

Income is only supported for Video Campaigns in the old UI and it is
supported for Display, Search and Video campaigns in the New UI. There is
now a new AdWords UI available that does display income ranges for various
types of campaigns. The old AdWords UI only supports income ranges for
video campaigns. The AdWords API is only currently able to display the same
data as the old AdWords UI, and the AdWords API does tend to lag a little
behind in picking up new features in the AdWords UI. In your case, you
don't have any video campaigns; that's why you're not seeing income range.
We have raised a feature request with the team. Please keep an eye on our
blog  for
more updates.

Regards,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/00d12i8kmg01g5406u000d52n6x6kmjidhg6co30c1g68qj6cph%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Issue with report download

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Chirag,

I see that you're already in touch with our team Josh and Knack who are
assisting you on this issue. Let's continue the discussion on the forum
thread
  
and

the issue tracker
. If others are
facing the same issue, please post on the main forum thread

.

Thanks,
Bharani, AdWords API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/186upko18tva3u000o68csx6cmj0chk60o30c1g68q3idpg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Error with basic token access level

2019-02-12 Thread Tuan Nguyen Minh


Hi,

 

We have a problem when using our token to call API.  Our MCC account 
759-599-3754 has basic access level however I received error 
DEVELOPER_TOKEN_NOT_APPROVED  when call API with this token.

Please support us as soon as possible!

 

Thanks,

Tuan Nguyen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/7be4bd73-0edd-4986-b0c9-4b54743c1a15%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AuthorizationError.USER_PERMISSION_DENIED BigQuery Transfer Service

2019-02-12 Thread Ethan Lyon
Hi Sai,

Thanks for the quick reply. It looks like Google uses the Google Ads API 
according to the 
documentation: https://cloud.google.com/bigquery/docs/adwords-transfer.

Considering the calls are managed by Google, where can I go to check Google 
is making the API calls correctly?

I've confirmed the owner of the Google Cloud project is the same as the 
owner of the AdWords account.

Is there any additional information I can provide you?

- Ethan

On Monday, February 11, 2019 at 4:00:25 PM UTC-5, googleadsapi-forumadvisor 
wrote:
>
> Hello Ethan,
>
> If you are using the Google Ads API 
>  to make 
> the API call, you should pass the login-customer-id in the header of the 
> API call. You could refer this blog post 
> 
>  for 
> more information. 
>
> If you are using AdWords API 
> 
>  then 
> the USER_ 
> 
> PERMISSION_DENIED 
> 
>  error 
> occurs, when there is no link between the manager account authenticated in 
> the request and the client account specified in the headers. Please check 
> whether you are using the credentials of the right user.
>
> If you are still facing the issue, could you please confirm the API you 
> are using and error logs/screenshots without redacting any information?
>
> Regards,
> Sai Teja, AdWords API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> Was your question answered? Please rate your experience with us by taking 
> a short survey.
> If not -- reply to this email and tell us what else we can do to help.
>
> Take Survey 
> 
>
> Also find us on our blog and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/f72e38d1-45bf-4fcf-9da0-4342c2ddb330%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


customer sync service changed criteria

2019-02-12 Thread cv
Hello,

I am getting CampaignChangeData object as this.

Google\AdsApi\AdWords\v201809\ch\CampaignChangeData Object
(
[campaignId:protected] => 1649XX1490
[campaignChangeStatus:protected] => FIELDS_UNCHANGED
[changedAdGroups:protected] => Array
(
[0] => 
Google\AdsApi\AdWords\v201809\ch\AdGroupChangeData Object
(
[adGroupId:protected] => 6324XX47495
[adGroupChangeStatus:protected] => 
FIELDS_UNCHANGED
[changedAds:protected] => 
[changedCriteria:protected] => Array
(
[0] => 32449XX34890
)

[removedCriteria:protected] => 
[changedFeeds:protected] => 
[removedFeeds:protected] => 

[changedAdGroupBidModifierCriteria:protected] => 

[removedAdGroupBidModifierCriteria:protected] => 
)

[1] => 
Google\AdsApi\AdWords\v201809\ch\AdGroupChangeData Object
(
[adGroupId:protected] => 6359XX28219
[adGroupChangeStatus:protected] => 
FIELDS_UNCHANGED
[changedAds:protected] => 
[changedCriteria:protected] => Array
(
[0] => 38254XX98087
)

[removedCriteria:protected] => 
[changedFeeds:protected] => 
[removedFeeds:protected] => 

[changedAdGroupBidModifierCriteria:protected] => 

[removedAdGroupBidModifierCriteria:protected] => 
)

[2] => 
Google\AdsApi\AdWords\v201809\ch\AdGroupChangeData Object
(
[adGroupId:protected] => 6359XX28379
[adGroupChangeStatus:protected] => 
FIELDS_UNCHANGED
[changedAds:protected] => 
[changedCriteria:protected] => Array
(
[0] => 32314XX32630
[1] => 37203XX13364
)

[removedCriteria:protected] => 
[changedFeeds:protected] => 
[removedFeeds:protected] => 

[changedAdGroupBidModifierCriteria:protected] => 

[removedAdGroupBidModifierCriteria:protected] => 
)

)

[addedCampaignCriteria:protected] => 
[removedCampaignCriteria:protected] => 
[changedFeeds:protected] => 
[removedFeeds:protected] => 
)


Can I consider changedCriteria, towards changes done on that particular 
timeframe?


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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/9b8ad2d1-f001-4a45-9e4a-628ca8a8311b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Still want to use AdWords v201802

2019-02-12 Thread Prashant Pandey
Just to follow up, would like to use v201802 API of AdWords.

On Tuesday, 12 February 2019 17:11:51 UTC+5:30, Prashant Pandey wrote:
>
> Hi Guys,
> Due to some reasons/circumstances, I would still like to use v201802. Is 
> this possible? 
> Prashant
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/938d2741-b905-4572-99a4-d202ecebf88a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Still want to use AdWords v201802

2019-02-12 Thread Prashant Pandey
Hi Guys,
Due to some reasons/circumstances, I would still like to use v201802. Is 
this possible? 
Prashant

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/62b6c7a7-5bdb-478b-9948-fcdc04e10856%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to get Campaign Goals through Google Ads API

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Tran,

Campaign goals are not yet supported in Google Ads API as well. For any
updated on this feature, I would suggest to follow our blog
.

Thanks and regards,
Luis
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
http://googleadsdeveloper.blogspot.com/search/label/adwords_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 02/12/19 12:47:29 spkt10110...@gmail.com wrote:

Hi,

As far as I know, Campaign Goals are not supported through the AdWords API,
but can we get Campaign Goals through Google Ads API?

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit https://groups.google.com/d/
msgid/adwords-api/8a3059ef-476e-4676-9ad5-0c122dbbeaa8%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/18i091o00vq1ni005ihmkcx74mj6e9m6go30c1g68qj4dhi%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: 'invalid_grant: Bad Request' for AdwordsUserListService mutate call ...

2019-02-12 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Tom,

The usual reason for having the invalid_grant issue is due to an expired
refreshToken. However, I would like to recommend that you regenerate all
your OAuth2 credentials
  
including

the client_id and client_secret and retry your request. Should the issue
persist, kindly reply to me privately (via *Reply privately to author*) the
logs along with the email address you used when generating your OAuth2
credentials so I can further investigate.

Thanks and regards,
Peter
AdWords API Team


On 02/12/19 12:33:08 t...@v1.com.au wrote:

I have read through the variety of "invalid_grant" questions on this board,
but unfortunately didn't find anything that helped resolve my particular
issue.

I am trying to get the samples working with the following config in my
googleads.yaml:

*  # This token has been approved and has Access level "Basic Access"*
*  developer_token: ""*

*  # We are only interested in automating tasks to our single ad account.
The MCC with our developer token manages that account.*

*  client_customer_id: ""*

*
#*
*  # The following values configure the client for the installed
application*
*  # flow.*

*  # The account I use to manage the credentials is not the same as the one
with the MCC account, is this significant? *
*  # (I did try creating the credentials on the MCC account and had the
same issue, so I think not).*
*  client_id: "http://console.developers.google.com> (type
Other)>"*
*  client_secret: "http://console.developers.google.com> credentials entry>"*

*  # When I generated this token I authenticated as the MCC account (which
has access to the managed google ads account -> client_customer_id above).*
*  refresh_token: ""*

When I check https://myaccount.google.com/permissions I can see the details
specified in the "OAuth consent screen" as having access to "Manage your
AdWords campaigns".

When I use:

*curl https://www.googleapis.com/oauth2/v4/token
 \*
*-d refresh_token= \*
*-d client_id= \*
*-d client_secret= \*
*-d access_type=offline \*
*-d grant_type=refresh_token*

I get back:

*{*
*  "access_token": "",*
*  "expires_in": 3600,*
*  "scope": "https://www.googleapis.com/auth/adwords
",*
*  "token_type": "Bearer"*
*}*

Which seems healthy.

When I run the sample code from here ->
https://developers.google.com/adwords/api/docs/samples/python/remarketing
"Create and populate a user list"

It fails on this line (presumably the first time it tries to authenticate):

*result = user_list_service.mutate(operations)*

with:

*google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n
"error": "invalid_grant",\n  "error_description": "Bad Request"\n}')*

I have tried regenerating a refresh tokens (authenticated on other accounts
who have access to the ad account I need to manage) with little success.

I have noticed on similar questions you have asked for a private reply with
account details to investigate further and I would be happy to do that.

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/25881df7-dafb-4a47-8d28-e36d9c6f84b5%40googlegroups.com

.
For more options, visit https://groups.google.com/d/optout.

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

'invalid_grant: Bad Request' for AdwordsUserListService mutate call ...

2019-02-12 Thread tom
I have read through the variety of "invalid_grant" questions on this board, 
but unfortunately didn't find anything that helped resolve my particular 
issue.

I am trying to get the samples working with the following config in my 
googleads.yaml:

*  # This token has been approved and has Access level "Basic Access"*
*  developer_token: ""*

*  # We are only interested in automating tasks to our single ad account. 
The MCC with our developer token manages that account.*

*  client_customer_id: ""*

*  
#*
*  # The following values configure the client for the installed 
application*
*  # flow.*

*  # The account I use to manage the credentials is not the same as the one 
with the MCC account, is this significant? *
*  # (I did try creating the credentials on the MCC account and had the 
same issue, so I think not).*
*  client_id: ""*
*  client_secret: ""*

*  # When I generated this token I authenticated as the MCC account (which 
has access to the managed google ads account -> client_customer_id above).*
*  refresh_token: ""*

When I check https://myaccount.google.com/permissions I can see the details 
specified in the "OAuth consent screen" as having access to "Manage your 
AdWords campaigns".

When I use:

*curl https://www.googleapis.com/oauth2/v4/token \*
*-d refresh_token= \*
*-d client_id= \*
*-d client_secret= \*
*-d access_type=offline \*
*-d grant_type=refresh_token*

I get back:

*{*
*  "access_token": "",*
*  "expires_in": 3600,*
*  "scope": "https://www.googleapis.com/auth/adwords",*
*  "token_type": "Bearer"*
*}*

Which seems healthy.

When I run the sample code from here 
-> https://developers.google.com/adwords/api/docs/samples/python/remarketing 
"Create and populate a user list"

It fails on this line (presumably the first time it tries to authenticate):

*result = user_list_service.mutate(operations)*

with:

*google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n  
"error": "invalid_grant",\n  "error_description": "Bad Request"\n}')*

I have tried regenerating a refresh tokens (authenticated on other accounts 
who have access to the ad account I need to manage) with little success.

I have noticed on similar questions you have asked for a private reply with 
account details to investigate further and I would be happy to do that.

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/25881df7-dafb-4a47-8d28-e36d9c6f84b5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How to get Campaign Goals through Google Ads API

2019-02-12 Thread Trần Tâm
Hi,

As far as I know, Campaign Goals are not supported through the AdWords API, 
but can we get Campaign Goals through Google Ads API?

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/8a3059ef-476e-4676-9ad5-0c122dbbeaa8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


"invalid_grant" for the AdwordsUserListService mutate call.

2019-02-12 Thread tom
I have read through the variety of "invalid_grant" questions on this board, 
but unfortunately didn't find anything that helped resolve my particular 
issue.

I am trying to get the samples working with the following config in my 
googleads.yaml:

  # This token has been approved and has Access level "Basic Access"
  developer_token: ""

  # We are only interested in automating tasks to our single ad account. 
The MCC with our developer token manages that account.
  client_customer_id: ""

  
#
  # The following values configure the client for the installed application
  # flow.

  # The account I use to manage the credentials is not the same as the one 
with the MCC account, is this significant? 
  # (I did try creating the credentials on the MCC account and had the same 
issue, so I think not).
  client_id: ""
  client_secret: ""

  # When I generated this token I authenticated as the MCC account (which 
has access to the managed google ads account -> client_customer_id above).
  refresh_token: ""

When I check https://myaccount.google.com/permissions I can see the details 
specified in the "OAuth consent screen" as having access to "Manage your 
AdWords campaigns".

When I use:

curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token= \
-d client_id= \
-d client_secret= \
-d access_type=offline \
-d grant_type=refresh_token

I get back:

{
  "access_token": "",
  "expires_in": 3600,
  "scope": "https://www.googleapis.com/auth/adwords;,
  "token_type": "Bearer"
}

Which seems healthy.

When I run the sample code from here -> 
https://developers.google.com/adwords/api/docs/samples/python/remarketing 
"Create and populate a user list"

It fails on this line (presumably the first time it tries to authenticate):

result = user_list_service.mutate(operations)

with:

google.auth.exceptions.RefreshError: ('invalid_grant: Bad Request', '{\n  
"error": "invalid_grant",\n  "error_description": "Bad Request"\n}')

I have tried regenerating a refresh tokens (authenticated on other accounts 
who have access to the ad account I need to manage) with little success.

I have noticed on similar questions you have asked for a private reply with 
account details to investigate further and I would be happy to do that.

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.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/fe77103f-6208-4771-9ee5-154cedf11bce%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.