RE: [0-7203000025673] Manage the relationship between accounts

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

To further investigate this, could you confirm if you will still encounter
the error when you try to run other Google Ads API service? If yes, could
you provide the complete JSON request and response logs when you
encountered the error? If you haven't enabled logging yet, you could enable
it by following this guide
.

Moving forward, I may not provide you a sample code in PHP. I can only
point you to the documentation that you might be able to use regarding your
concern.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/09/19 16:16:35 aleks.nep1...@gmail.com wrote:

Hello,
thank you for answer. Very little information. Could you point to a sample
code?

среда, 27 марта 2019 г., 8:57:36 UTC+1 пользователь
googleadsapi-forumadvisor написал:

Hi,

Thank you for reaching out. To be able to manage relationship between
accounts, you could check CustomerManagerLinkService
  
and

use MutateCustomerManagerLink method in managing the relationship between
manager and customer.

Let me know if this answers your concern. Should you have further
clarifications, feel free to write back.


Regards,
Dave Paurillo
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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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 03/26/19 21:39:20 aleks@gmail.com wrote:

Hi,
How to do it in the new version of google ads api v1 (Client library php) ?
No information in the documentation or I looked bad. It is necessary to
allow the Google account manager account to make changes to the account of
another user.
So, I need to manage the relationship between accounts. Please help with
this question.  Thank

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/a3a00fa9-42c1-497e-add7-1d12f9cb33da%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/208e5d54-c710-45ab-859e-cb9612e2068c%40googlegroups.com

RE: How To Select Existing Product Partitions

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

You may refer to this section
  
of

our shopping campaigns
 guide and
also to this example code
  
(PHP)

on how to create subdivision using ProductBrand
.
I hope this helps.

Thanks and regards,
Peter
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/09/19 22:29:54 101ode...@gmail.com wrote:

Hi. I'm struggeling with making a subdivision to a brand. Can you provide
full example of you code? It seems you found a solution to what I'm trying
to do.

mandag den 4. marts 2019 kl. 12.18.32 UTC+1 skrev ry...@n-i-e.co.uk:

thanks for the support, I tried your solution of setting the ID but I was
getting issues because of *new ProductPartition(); *I was creating the
partition using *$root = ProductPartitions::createSubdivision(); *so having  
*use

Google\AdsApi\AdWords\v201806\cm\ProductPartition; *caused conflicts.

I got around this by reading the response *e.g *$all_ids =
ProductPartitions::showAdGroupTree($adWordsServices,$session,$adGroupId);

I then did explode to get the ID of the partition I needed.

I had another issue as *ProductPartitions::createUnit *only allows for an
object to be passed not a partition ID so I created an almost identical
function which could read the ID not Object.

I now have 2 functions in my API code (ProductPartitions.php) for Creating
Units.


public static function createUnit(
ProductPartition $parent = null,
ProductDimension $value = null
) {
$unit = new ProductPartition();
$unit->setPartitionType(ProductPartitionType::UNIT);

// The root node has neither a parent nor a value
if ($parent !== null) {
$unit->setParentCriterionId($parent->getId());
$unit->setCaseValue($value);
}

return $unit;
}
public static function createUnit2($parent,$value) {
$unit = new ProductPartition();
$unit->setPartitionType(ProductPartitionType::UNIT);

// The root node has neither a parent nor a value
$unit->setParentCriterionId($parent);
$unit->setCaseValue($value);

return $unit;
}





On Friday, 1 March 2019 19:34:41 UTC, ry...@n-i-e.co.uk wrote:

Hi,

I am currently trying to update our Shopping campaign through the Google
Ad's API and so far so good.

I have a bit of an issue when hitting over 5000 requests. I am aware that
there is a 5000 limit per request and I'm not too far off we have 5,600ish
products in the shopping that I want on the Ad Campaign.


Problem is I create the Ad Group and Partitions at the top of my script
with this code:


$operations = [];
$root = *ProductPartitions::createSubdivision(); ///This is what I think is
causing the problem,*
$criterion = ProductPartitions::asBiddableAdGroupCriterion($adGroupId,
$root);
$operation = ProductPartitions::createAddOperation($criterion);
$operations[] = $operation;
$otherCondition = ProductPartitions::createSubdivision(
$root,
new ProductCanonicalCondition()
);
$criterion = ProductPartitions::asBiddableAdGroupCriterion(
$adGroupId,
$otherCondition
);
$operation = ProductPartitions::createAddOperation($criterion);
$operations[] = $operation;

$otherBrand = ProductPartitions::createSubdivision(
$otherCondition,
new ProductOfferId()
);
$criterion = ProductPartitions::asBiddableAdGroupCriterion(
$adGroupId,
$otherBrand
);
$operation = ProductPartitions::createAddOperation($criterion);
$operations[] = $operation;
$productBiddingCategory = new ProductBiddingCategory();
$productBiddingCategory->setType(ProductDimensionType::BIDDING_CATEGORY_L1);
$productBiddingCategoryUnit = ProductPartitions::createUnit($otherBrand,
$productBiddingCategory);
$criterion = ProductPartitions::asBiddableAdGroupCriterion(
$adGroupId,
$productBiddingCategoryUnit,
1
);
$operation = ProductPartitions::createAddOperation($criterion);
$operations[] = $operation;



After I send the first 5000 operations I try to do another loop to send
another 1400ish, the problem is where I run this code


$cheapBrand = new ProductOfferId();
$cheapBrand->setValue($sku);
$cheapBrandUnit = ProductPartitions::createUnit(*$root*, $cheapBrand);  
*///Where

this line says $root I think it's trying to re-create $root rather than get
the previously created.*
$criterion = ProductPartitions::asBiddableAdGroupCriterion(
$adGroupId,
$cheapBrandUnit,

RE: Google Ads API Batch Question

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Jack,

When Google Ads API v1 was released, the MutateJobService

was introduced. You could refer to this guide

for the list of operations supported in the MutateJobService. However, this
is only available for whitelisted customers only. You could contact your
Google representative or your TAM to assist you with the whitelisting if
you wish to use this service.

Let me know if you have further clarifications.

Regards,
Dannison
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/09/19 22:44:06 jack.pe...@metrictheory.com wrote:

Hello,

I have a quick question regarding Google Ads API Batch uploads.

Specifically, I need to send up thousands of Keyword bid changes through
the API daily. Without using all of my account's mutate calls, would I just
compile the requests into an operations block and then post that up with a
single request (only be charged a single request)? Or is there a batch
process being developed currently, similar to AdWords API batch process?

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/f5f19867-e11d-4425-bb55-fd0e51c831a6%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/18icqhg00a5jke002ac6cox70mj2e1n6co30c1g68r32dhg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: [3-4581000025939] Downloading XML and CSV reports using the new Ads API

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Adam,

It means that you could implement this on your end by using the tools and
libraries that are available in the language(Java, Python, Ruby, etc).
Should you have further clarifications, feel free to write back.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/08/19 23:52:52 accuenanalytic...@accuenmedia.com wrote:

Hi Dave,

Could you please clarify what you mean by "it can be done using the
languages utility functions"?

Thanks,
Adam

On Monday, April 8, 2019 at 4:20:09 AM UTC+1, googleadsapi-forumadvisor
wrote:

Hi Stepanian,

Upon checking with the team, this feature will not be supported in Google
Ads API as it can be done using the languages utility functions. This said,
you would have to implement this on your end using the tools provided in
the client library.

Should you have any other concerns, feel free to write back and we'll be
happy to assist you.

Regards,
Dave Paurillo
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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 04/04/19 02:30:45 ra...@spinneret.com wrote:

Thank you very much for the response. I realize that you may not know the
answer to this, but should we count on this functionality eventually be
available in the Ads API before the AdWords API is deprecated? Or should we
change our business logic to work around this limitation? Thanks.

On Sunday, March 31, 2019 at 11:11:25 PM UTC-7, Stepanian wrote:

Is it possible to download XML and/or CSV reports using the new Ads API
Java client (or any other client or raw endpoints)? I couldn't find an
example or an API reference. It is currently possible to do that using the
AdWords API Java client. 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/93b3c08b-1a45-4334-ab59-b9717ba89467%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/ef6e41d3-6ce0-4bdb-a677-2f3269267e21%40googlegroups.com

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

--
--

Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-09 Thread cv
Thanks for the answer,

But I was looking for loginCustomerId, that will give me whose refreshtoken 
I was using it when someone authorised throughoAuth.


Thanks,


On Wednesday, 10 April 2019 00:38:41 UTC+5:30, googleadsapi-forumadvisor 
wrote:
>
> Hello,
>
> The manager 
> 
>  field 
> will give you a value to whether or not an account is a manager account.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/09/19 04:49:19 chirag@gmail.com  wrote:
>
> Hi,
>
> But how I can get the Linked account(When user authorised through oAuth 
> where I am not know he has linked with manager or normal account ) is 
> Manager account or Normal account when user authorised my app with which 
> clientCustomerId he has authorised?
>
> Thanks
>
>
>
> On Friday, 5 April 2019 02:30:24 UTC+5:30, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> You can have a look at the resources 
> 
>  page 
> to get a description between Customer, CustomerClient and 
> CustomerClientLink. Your response should return in this format 
> .
>  
> I'd recommend enabling logs 
> 
>  in 
> your client library. I'd recommend reaching out to the client library 
> owners  for your 
> concern regarding pagination since they will be better suited to respond to 
> this. 
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/04/19 10:33:43 dju...@gmail.com wrote:
>
> Hi there,
> Im having similar issue,
> this would get me list of all accounts, including mcc.
>
> For example if we have tree-like structure with master MCC and multiple 
> level MCCs under it, what would be the best way to get a list of all 
> non MCC account under master MCC?
> This is in order to collect reporting data for all our accounts.
>
> Thanks,
> Alex
>
>
>
> On Wednesday, 3 April 2019 21:26:36 UTC+1, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> You can try using the GoogleAdsService 
> 
>  and 
> set the query to the one that I provided earlier. You can find a similar 
> API call here 
> 
> .
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/03/19 12:21:39 marce...@d1-solutions.com wrote:
>
> Hi Anthony
>
> Thanks for getting back. I've tried the CustomerClientService with Python
>
> service = client.get_service('CustomerClientService')
> query = ('SELECT customer_client.resource_name,'
> 'customer_client.client_customer,'
> 'customer_client.level, customer_client.hidden,'
> 'customer_client.level'
> 'FROM customer_client');
> response = service.search(root_account_id, query=query, page_size=100)
>
> Where root_account_id is the ID of the root level MCC account. But I get
>
> AttributeError: 'CustomerClientServiceClient' object has no attribute 
> 'search'
>
> Is this the right service? If not, what service should be used?
>
> Regards Marcel
>
> On Monday, 1 April 2019 23:24:05 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> To get the account hierarchy via Google Ads API, you could use the 
> customer_client 
>  
> resource. 
> Through which you can get only the resource name, level, Boolean value of 
> hidden status and Client_customer details of the accounts under your 
> manager account. To get these details the OAuth credentials used to make 
> the API call should be of manager account and the ClientCustomerId passing 
> in the header should be of manager account. Below is the sample query for 
> your 

Google Ads Api giving 401 unauthenticated

2019-04-09 Thread gunjit khera
I am trying to access customerService.listAccessibleCustomers through 
google ads api from one of my accounts.

I am testing the scenario currently through oauth playground, and using my 
own client id and client secret for the same.
Along with this i am giving the scope as: 
https://www.googleapis.com/auth/adwords
https://www.googleapis.com/auth/userinfo.profile
and trying to access the url: 

https://googleads.googleapis.com/v1/customers:listAccessibleCustomers


but it is continuously giving me unauthenticated, missing oauth credential 
error.

Am i missing any scope which needs to be added for this to work ??

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c36e45f1-92e0-4000-819e-eccc0d421d63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Quality History Scores (Ad level)

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Bala,

I'm afraid that the QualityScore
  
field

is currently not available at the ad level and can only be retrieved in the
report types listed in the link. You may follow our blog
 for
updates.

Best regards,
Peter
Google Ads API Team

On 04/10/19 05:35:46 balachandhar...@gmail.com wrote:


Currently, is there any option in API service/reports that will return the
historic quality scores at ad level.
How can we fetch the quality scores at ad level instead of keyword level
for adwords using keyword or criteria performance report?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9c0fa1ac-b637-4599-8a5a-5dec59b20d28%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/00d12gsqug008r6i50001g9alqx6gmj6c9g74o30c1g68qjid9j%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: ADGROUP_PERFORMANCE_REPORT does not display the metric SearchRankLostImpressionShare correctly

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Juliana,

With regards to your issue about the *SearchRankLostImpressionShare* metric,
there is a known bug about this which our team is currently looking. Rest
assured that I will provide updates when I receive any.

Regards,
Ejay
Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/09/19 23:11:06 contato.automatizamarket...@gmail.com wrote:

Hello! I am trying to extract the SearchRankLostImpressionShare metric from
my ad groups using the ADGROUP_PERFORMANCE_REPORT report type, but the data
returned in the report does not match what is displayed in the Google Ads
interface. It always displays: "-" or 0, unlike what is displayed inside
the ADS platform.

I use the v201809 version of the AdWords API.

Can someone help me?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b161b19f-a41b-498e-aa36-ef1a70a2c2b0%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/12f0gcc16g01g538g4001kvr7ew6gmj6d1l6co30c1g68qjccpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: [パスワード][Password] About ImpressionShare Values

2019-04-09 Thread 井上剛志
Hi,

I received a reply that this was a problem under investigation, but what is 
the status of the investigation after that?


Regards,

Tsuyoshi Inoue

2019年4月3日水曜日 23時58分45秒 UTC+9 井上剛志:
>
> Hi, Hiroyuki
>
> Thank you for reply. 
>
> We will wait for your reply as soon as we know the details.
>
> Best regards,
> Tsuyoshi Inoue
>
> 2019年4月3日水曜日 17時43分12秒 UTC+9 googleadsapi-forumadvisor:
>>
>> Hi Tsuyoshi,
>>
>> It seems that the issue you are encountering is an ongoing issue that we 
>> are currently investigating. As soon as we have more information on the 
>> issue, I will provide updates to you on this thread.
>>
>> Regards,
>> Hiroyuki
>> Google Ads API Team
>>
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>> Also find us on our blog and discussion group:
>> https://ads-developers.googleblog.com/search/label/google_ads_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 04/03/19 16:00:52 in...@brainpad.co.jp wrote:
>>
>> ※本通知はシステムにより自動で送信されています。 
>>
>> 先ほどお送りしたメール件名「About ImpressionShare Values」に添付されている 
>> 添付ファイルのパスワードをお知らせします。 
>>
>> *this message is sent from system automatically 
>> Password to decrypt the attached file is listed below. 
>>
>> 【Information】 
>> Subject: About ImpressionShare Values 
>> Sent Time: Wed, 3 Apr 2019 00:50:30 -0700 (PDT) 
>>
>> 【Password】 
>> %TAW43PhJc!RB4H! 
>>
>> -- 
>> -- 
>> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 
>> 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/ea0a0205-29e0-4b2d-9445-3abf2528acbe%40notif.mo.hdems.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/48500bf0-4124-43ce-9866-e0fd66a2cae3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't get account spend data through Adwords API (v201809)

2019-04-09 Thread lzjblinker
Hi all,
 Recently, I find that i can't get the account spend data 
which occurred in March. This account is used to create UACe ads and has 
spend on 3.20\3.21\3.30\3.31 four days. I can find these spend data in 
Google Ads Backstage, but I can't get them through Adwords API(v201809). 
Until 4.1-13p the API can get the spend data again, but still can't get the 
data which occurred in March. What issue happened?

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/406e01e9-148f-4d13-9cb4-bc9e2d3aa067%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API Batch Question

2019-04-09 Thread Jack Perry
Hello,

I have a quick question regarding Google Ads API Batch uploads.

Specifically, I need to send up thousands of Keyword bid changes through 
the API daily. Without using all of my account's mutate calls, would I just 
compile the requests into an operations block and then post that up with a 
single request (only be charged a single request)? Or is there a batch 
process being developed currently, similar to AdWords API batch process?

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/f5f19867-e11d-4425-bb55-fd0e51c831a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [0-7203000025673] Manage the relationship between accounts

2019-04-09 Thread Непомнющий Александр
Hello,
thank you for answer. Very little information. Could you point to a sample 
code?

среда, 27 марта 2019 г., 8:57:36 UTC+1 пользователь 
googleadsapi-forumadvisor написал:
>
> Hi,
>
> Thank you for reaching out. To be able to manage relationship between 
> accounts, you could check CustomerManagerLinkService 
> 
>  and 
> use MutateCustomerManagerLink method in managing the relationship between 
> manager and customer.
>
> Let me know if this answers your concern. Should you have further 
> clarifications, feel free to write back.
>
>
> Regards,
> Dave Paurillo
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 03/26/19 21:39:20 aleks@gmail.com  wrote:
>
> Hi,
> How to do it in the new version of google ads api v1 (Client library php) 
> ? No information in the documentation or I looked bad. It is necessary to 
> allow the Google account manager account to make changes to the account of 
> another user. 
> So, I need to manage the relationship between accounts. Please help with 
> this question.  Thank
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/a3a00fa9-42c1-497e-add7-1d12f9cb33da%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/208e5d54-c710-45ab-859e-cb9612e2068c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads API: Migrating ManagedCustomerService to CustomerClientService

2019-04-09 Thread michael . xue
Hi,

I've followed the Google Ads API migration guide and we are in the process 
of migrating functionality related to *ManagedCustomerService* in AdWords 
to *CustomerClientService* in the new API. Our current use case is to use a 
manager account to fetch a list of client accounts. However I'm unsure as 
to how to fetch the metadata for the list of customers returned by 
CustomerClientService. In ManagedCustomerService 
,
 
I would get back a list of ManagedCustomer 

 
objects type. In the new API, the CustomerClientService does not seem to 
have all the fields. However I did notice that CustomerService 
 in new 
API did have similar set of fields to ManagedCustomer. How can I get fields 
for client accounts in the new API? Thanks in advance.

Best,
Michael Xue

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c0e86712-d62f-4ef9-ad37-29ee9bf7c09c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Quality History Scores (Ad level)

2019-04-09 Thread Bala Chandhar

Currently, is there any option in API service/reports that will return the 
historic quality scores at ad level. 
How can we fetch the quality scores at ad level instead of keyword level 
for adwords using keyword or criteria performance report?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9c0fa1ac-b637-4599-8a5a-5dec59b20d28%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How To Select Existing Product Partitions

2019-04-09 Thread Hans Henrik Søllested
Hi. I'm struggeling with making a subdivision to a brand. Can you provide 
full example of you code? It seems you found a solution to what I'm trying 
to do. 

mandag den 4. marts 2019 kl. 12.18.32 UTC+1 skrev ry...@n-i-e.co.uk:
>
> thanks for the support, I tried your solution of setting the ID but I was 
> getting issues because of *new ProductPartition(); *I was creating the 
> partition using *$root = ProductPartitions::createSubdivision(); *so 
> having *use Google\AdsApi\AdWords\v201806\cm\ProductPartition; *caused 
> conflicts. 
>
> I got around this by reading the response *e.g *$all_ids = 
> ProductPartitions::showAdGroupTree($adWordsServices,$session,$adGroupId);
>
> I then did explode to get the ID of the partition I needed. 
>
> I had another issue as *ProductPartitions::createUnit *only allows for an 
> object to be passed not a partition ID so I created an almost identical 
> function which could read the ID not Object.
>
> I now have 2 functions in my API code (ProductPartitions.php) for Creating 
> Units. 
>
> 
> public static function createUnit(
> ProductPartition $parent = null,
> ProductDimension $value = null
> ) {
> $unit = new ProductPartition();
> $unit->setPartitionType(ProductPartitionType::UNIT);
>
> // The root node has neither a parent nor a value
> if ($parent !== null) {
> $unit->setParentCriterionId($parent->getId());
> $unit->setCaseValue($value);
> }
>
> return $unit;
> }
> public static function createUnit2($parent,$value) {
> $unit = new ProductPartition();
> $unit->setPartitionType(ProductPartitionType::UNIT);
>
> // The root node has neither a parent nor a value
> $unit->setParentCriterionId($parent);
> $unit->setCaseValue($value);
>
> return $unit;
> }
>
>
>
>
>
> On Friday, 1 March 2019 19:34:41 UTC, ry...@n-i-e.co.uk wrote:
>>
>> Hi, 
>>
>> I am currently trying to update our Shopping campaign through the Google 
>> Ad's API and so far so good. 
>>
>> I have a bit of an issue when hitting over 5000 requests. I am aware that 
>> there is a 5000 limit per request and I'm not too far off we have 5,600ish 
>> products in the shopping that I want on the Ad Campaign. 
>>
>>
>> Problem is I create the Ad Group and Partitions at the top of my script 
>> with this code: 
>>
>> 
>> $operations = [];
>> $root = *ProductPartitions::createSubdivision(); ///This is what I think 
>> is causing the problem,*
>> $criterion = ProductPartitions::asBiddableAdGroupCriterion($adGroupId, 
>> $root);
>> $operation = ProductPartitions::createAddOperation($criterion);
>> $operations[] = $operation;
>> $otherCondition = ProductPartitions::createSubdivision(
>> $root,
>> new ProductCanonicalCondition()
>> );
>> $criterion = ProductPartitions::asBiddableAdGroupCriterion(
>> $adGroupId,
>> $otherCondition
>> );
>> $operation = ProductPartitions::createAddOperation($criterion);
>> $operations[] = $operation;
>>   
>> $otherBrand = ProductPartitions::createSubdivision(
>> $otherCondition,
>> new ProductOfferId()
>> );
>> $criterion = ProductPartitions::asBiddableAdGroupCriterion(
>> $adGroupId,
>> $otherBrand
>> );
>> $operation = ProductPartitions::createAddOperation($criterion);
>> $operations[] = $operation;
>> $productBiddingCategory = new ProductBiddingCategory();
>>
>> $productBiddingCategory->setType(ProductDimensionType::BIDDING_CATEGORY_L1);
>> $productBiddingCategoryUnit = ProductPartitions::createUnit($otherBrand, 
>> $productBiddingCategory);
>> $criterion = ProductPartitions::asBiddableAdGroupCriterion(
>> $adGroupId,
>> $productBiddingCategoryUnit,
>> 1
>> );
>> $operation = ProductPartitions::createAddOperation($criterion);
>> $operations[] = $operation;
>>
>>
>>
>> After I send the first 5000 operations I try to do another loop to send 
>> another 1400ish, the problem is where I run this code
>>
>>
>> $cheapBrand = new ProductOfferId(); 
>> $cheapBrand->setValue($sku); 
>> $cheapBrandUnit = ProductPartitions::createUnit(*$root*, $cheapBrand); 
>> *///Where 
>> this line says $root I think it's trying to re-create $root rather than get 
>> the previously created.*
>> $criterion = ProductPartitions::asBiddableAdGroupCriterion(
>> $adGroupId,
>> $cheapBrandUnit,
>> $bid_trans
>> );
>> $operation = ProductPartitions::createAddOperation($criterion);
>> $operations[] = $operation; 
>>  
>>
>> It seems because I don't store the $root object the code tries to 
>> re-create and then fails with error: 
>>
>>
>>  AdGroupCriterionError.PRODUCT_PARTITION_DOES_NOT_EXIST @ 
>> operations[1].operand.criterion.parentCriterionId; 
>>  
>>
>> I can't delete and rebuild the Root partition as I just want to add to 
>> the existing 5000 request so in total there are 2 requests to build the 
>> partitions. 
>>
>>
>>
>>

-- 
-- 

Re: Query campaigns and metrics, segmented by the Geographic location

2019-04-09 Thread Karam Bowidany
All what I want to achieve is 

*How much did we spend on each country in each campaign at a certain day*

(according to the geographic location of the users, not the targeted 
locations of the campaigns)
(of course I need all the metrics, not only the cost)


thanks in advanced

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/abec6675-3432-4379-8c4c-d85928742472%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


ADGROUP_PERFORMANCE_REPORT does not display the metric SearchRankLostImpressionShare correctly

2019-04-09 Thread Juliana Cota
Hello! I am trying to extract the SearchRankLostImpressionShare metric from 
my ad groups using the ADGROUP_PERFORMANCE_REPORT report type, but the data 
returned in the report does not match what is displayed in the Google Ads 
interface. It always displays: "-" or 0, unlike what is displayed inside 
the ADS platform.

I use the v201809 version of the AdWords API.

Can someone help me?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b161b19f-a41b-498e-aa36-ef1a70a2c2b0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [1-1567000026135] Adwords' CRITERIA_PERFORMANCE_REPORT mapping in Google Ads API

2019-04-09 Thread michael . xue
Hi Dave,

Anash was able to provide me with the following answer, and it works!

YOUTUBE_CHANNEL is a placement criterion, so managed_placement_view should 
give you the data you need. The following query should work.

SELECT metrics.active_view_viewability, metrics.average_cpm, " +
"metrics.average_cpv, metrics.cost_micros, 
metrics.impressions, " +
"metrics.video_quartile_25_rate, 
metrics.video_quartile_50_rate, " +
"metrics.video_quartile_75_rate, 
metrics.video_quartile_100_rate, " +
"metrics.video_view_rate, metrics.video_views FROM 
managed_placement_view " +
"WHERE ad_group_criterion.type = 'YOUTUBE_CHANNEL' and 
ad_group.id = 61856865793

Best,
Michael Xue

On Thursday, April 4, 2019 at 4:34:05 AM UTC-4, googleadsapi-forumadvisor 
wrote:
>
> Hi Michael,
>
> Thank you for reaching out. Unfortunately, The CRITERIA_PERFORMANCE_REPORT 
> from AdWords API has no exact equivalent in Google Ads API. For your 
> concern about the GAQL returning 0 rows as opposed to the AWQL returning 
> 3800 rows, I would need to check this with the team. I will get back to you 
> as soon as we gather all the information needed to help you with this 
> concern.
>
> Regards,
> Dave Paurillo
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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 04/04/19 00:14:44 micha...@openslate.com  wrote:
>
> Hi,
>
> We're in the process of migrating from Adwords API to Google Ads API. One 
> issue we had was mapping the CRITERIA_PERFORMANCE_REPORT query to its 
> equivalent in Google Ads query. Here's a sample query we run in AWQL:
> SELECT ActiveViewViewability, AverageCpm, AverageCpv, Cost, Impressions, 
> VideoQuartile25Rate, VideoQuartile50Rate, VideoQuartile75Rate, 
> VideoQuartile100Rate, VideoViewRate, VideoViews 
> FROM CRITERIA_PERFORMANCE_REPORT
> WHERE CriteriaType='YOUTUBE_CHANNEL' AND AdGroupId=61856865793
>
> This is our best guess at the equivalent query in Google Ads:
> SELECT metrics.active_view_viewability, metrics.average_cpm, metrics.
> average_cpv, metrics.cost_micros, metrics.impressions, metrics.
> video_quartile_25_rate, metrics.video_quartile_50_rate, metrics.
> video_quartile_75_rate, metrics.video_quartile_100_rate, metrics.
> video_view_rate, metrics.video_views
> FROM ad_group_audience_view
> WHERE ad_group_criterion.type='YOUTUBE_CHANNEL' 
> AND ad_group.id=61856865793
>
> However, the original AWQL returns around 3800 rows, but the new GAQL 
> query returns 0 rows. Can you confirm that this is indeed the correct 
> mapping? Thanks in advance.
>
> Best,
> Michael Xue
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/4f256271-7025-472a-b924-3c1d007e8840%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

Re: [PHP] Google Ads - How to link an existing Google Adwords (or Ads) Account to my Google Ads MCC ?

2019-04-09 Thread Непомнющий Александр
Hello Ludoviс,
can you me help? I'm trying to use your code to link Adwords accounts,  but 
in the code section with  
$customerClientLink = new CustomerClientLink([
"client_customer" => new StringValue(['value' => $customerId]),
"status"   => ManagerLinkStatus::PENDING
]);

I get 500 error from server.  I think the problem is with new 
CustomerClientLink. 
Could you please show this section of your code?

require __DIR__ . '/vendor/autoload.php';

use GetOpt\GetOpt;
use Google\Auth\CredentialsLoader;
use Google\Auth\OAuth2;
use Psr\Http\Message\ServerRequestInterface;
use React\EventLoop\Factory;
use React\Http\Response;
use React\Http\Server;
use UnexpectedValueException;

use Google\Ads\GoogleAds\Examples\Utils\ArgumentNames;
use Google\Ads\GoogleAds\Examples\Utils\ArgumentParser;
use Google\Ads\GoogleAds\Lib\V1\GoogleAdsClient;
use Google\Ads\GoogleAds\Lib\V1\GoogleAdsClientBuilder;
use Google\Ads\GoogleAds\Lib\V1\GoogleAdsException;
use Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder;
use Google\Ads\GoogleAds\V1\Errors\GoogleAdsError;
use Google\Ads\GoogleAds\V1\Services\GoogleAdsRow;
use Google\ApiCore\ApiException;
use Google\Ads\GoogleAds\V1\Resources\Customer;
use Google\Ads\GoogleAds\V1\Resources\CustomerManagerLink;



среда, 6 марта 2019 г., 17:01:10 UTC+1 пользователь ludovic...@gmail.com 
написал:
>
> Yes ! It's ok to generate the manager_link_id to ask one customer to link 
> his account to the manager.
> So now, i try to do the last action "accept the request".
> I think i'm ok with my code, but when i try to do the change in cURL, they 
> told me about this : "FIELD_MASK_MISSING".
>
> This i my code below.
>
> $customerManagerLinkServiceClient = 
> $sessionCustomer->getCustomerManagerLinkServiceClient();
> $customerManagerLink = new CustomerManagerLink([
> "resource_name" => new StringValue(['value' => 
> 'customers/1xxx1/customerClientLinks/1xx1_1xxx1']),
>
> "manager_customer" => new StringValue(['value' => 'customers/1xxx1']),
> "manager_link_id" => new Int64Value(['value' => 1xxx1]),
> "status" => 2
> ]);
>
> $operationM = new CustomerManagerLinkOperation();
> $operationM->setUpdate($customerManagerLink);
>
> $responseM = 
> $customerManagerLinkServiceClient->mutateCustomerManagerLink(2xxx2, 
> [$operationM]);
> $result = $responseM->getResults();
>
>
> Cheers.
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/92d7d3b2-50f5-4dba-979f-6edd94c4f27c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Quotas?

2019-04-09 Thread F B
Hi Bharani,

I did all that while trying to troubleshoot:

   - bundle a lot of operations (~2500) into a single request 
   

   - changed all calls from get to AdService 
   

   - set random sleeps between requests 
   


Even applied for standard access token. But to no avail. This is really 
very hard to debug as I have no idea what rate limit I am actually 
exceeding. Feels like I am fishing in the dark here ...

Cheers
Fabian

On Tuesday, 9 April 2019 20:22:42 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hi Fabian, 
>
> The QuotaCheckError.RESOURCE_EXHAUSTED 
> 
>  will 
> occur if you are sending too many requests in a short period of time. There 
> is no scope for this error but rather the server will throw this error once 
> it detects that your request has exceeded the system frequency limit. The 
> best solution to this is to set up short delays between requests or combine 
> more operations in fewer requests. Please refer to the Best practices 
> guide  to 
> optimize the performance. If you're still facing an issue, could you please 
> share the API request and response logs to check this further?
>
> Thanks,
> Bharani, Google Ads 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/ca8ac7e8-e2f4-4f02-9599-6d3fce3c3d96%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: "No status received" Error

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Fabian,

I replied to the other thread
  
regarding

the last issue. Please continue the discussion on that thread to avoid
duplicates.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/00d12jdu3o0102ps92002doa7cz6omj6cpp6oo30c1g68qjedpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

The manager
  
field

will give you a value to whether or not an account is a manager account.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/09/19 04:49:19 chirag.erepo...@gmail.com wrote:

Hi,

But how I can get the Linked account(When user authorised through oAuth
where I am not know he has linked with manager or normal account ) is
Manager account or Normal account when user authorised my app with which
clientCustomerId he has authorised?

Thanks



On Friday, 5 April 2019 02:30:24 UTC+5:30, googleadsapi-forumadvisor wrote:

Hi Marcel,

You can have a look at the resources
  
page
to get a description between Customer, CustomerClient and  
CustomerClientLink.

Your response should return in this format
.
I'd recommend enabling logs
  
in

your client library. I'd recommend reaching out to the client library owners
 for your concern
regarding pagination since they will be better suited to respond to this.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/04/19 10:33:43 dju...@gmail.com wrote:

Hi there,
Im having similar issue,
this would get me list of all accounts, including mcc.

For example if we have tree-like structure with master MCC and multiple
level MCCs under it, what would be the best way to get a list of all
non MCC account under master MCC?
This is in order to collect reporting data for all our accounts.

Thanks,
Alex



On Wednesday, 3 April 2019 21:26:36 UTC+1, googleadsapi-forumadvisor wrote:

Hi Marcel,

You can try using the GoogleAdsService
  
and

set the query to the one that I provided earlier. You can find a similar
API call here

.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/03/19 12:21:39 marce...@d1-solutions.com wrote:

Hi Anthony

Thanks for getting back. I've tried the CustomerClientService with Python

service = client.get_service('CustomerClientService')
query = ('SELECT customer_client.resource_name,'
'customer_client.client_customer,'
'customer_client.level, customer_client.hidden,'
'customer_client.level'
'FROM customer_client');
response = service.search(root_account_id, query=query, page_size=100)

Where root_account_id is the ID of the root level MCC account. But I get

AttributeError: 'CustomerClientServiceClient' object has no attribute
'search'

Is this the right service? If not, what service should be used?

Regards Marcel

On Monday, 1 April 2019 23:24:05 UTC+2, googleadsapi-forumadvisor wrote:

Hi Marcel,

To get the account hierarchy via Google Ads API, you could use the
customer_client
  
resource.

Through which you can get only the resource name, level, Boolean value of
hidden status and Client_customer details of the accounts under your
manager account. To get these details the OAuth credentials used to make
the API call should be of manager account and the ClientCustomerId passing
in the header should be of manager account. Below is the sample query for
your reference.

Please note that, you have to iterate through all the customers to get the
descriptive_name.

query = ('SELECT customer_client.resource_name,
customer_client.client_customer,
customer_client.level, customer_client.hidden,
customer_client.level
FROM customer_client');

Please let me know if you have any further questions.

Regards,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on 

RE: PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE for conversion_last_conversion_date

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

As I mentioned:

To determine what metrics are selectable with a given entity type, we
actually need to look at that entity type's documentation. For example, for
customer, look here:
https://developers.google.com/google-ads/api/docs/fields/customer#customer


The "selectable with" drop down lists what other entities can be selected
in the same query, *not* what entities can be used in the FROM clause with
that field. So you can select customer fields along with this field if they
are both example in the same report type, but you can't select this field
from the customer report type.

We are working on improving this documentation.

Regards,
Mike, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/09/19 14:14:39 a.tis...@pa.ag wrote:

Thank you.

According to

https://developers.google.com/google-ads/api/docs/fields/metrics#metricsconversion_last_conversion_date

it should be selectable with customer (no other resource is in the
"selectable with" list). So if it is not selectable with customer, is it
selectable at all?


--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0bb96cdc-bea5-4715-b89e-3af992366e2d%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/ijlio2sf3801gbs0dq000ehvjoz70mjccpg6go30c1g68qjcdph%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: What status is required to have CustomerService.getCustomers return data

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Chuck,

The CustomerService.getCustomers() will return the details of all the
customers directly accessible by the user authenticating the call. If the
user does not have access to the account, this will not be returned.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/1a0mt200o9286u000vo80my64mjee1k6oo30c1g68qjidpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: GAQL: Filter CustomerClients by Impressions

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Michael,

Your approach is correct. The customer_client
  
resource

does not support any metrics. You will need to use the customer
 to
check if the impressions are available. I have passed on the feedback you
have shared with the team. Please keep an eye on our blog
 for any
future updates.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/00d12ia72gbeae0029prosx6omjcdpk6ko30c1g68qjic9h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Quotas?

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Fabian,

The QuotaCheckError.RESOURCE_EXHAUSTED
  
will

occur if you are sending too many requests in a short period of time. There
is no scope for this error but rather the server will throw this error once
it detects that your request has exceeded the system frequency limit. The
best solution to this is to set up short delays between requests or combine
more operations in fewer requests. Please refer to the Best practices guide
 to
optimize the performance. If you're still facing an issue, could you please
share the API request and response logs to check this further?

Thanks,
Bharani, Google Ads 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/00d12jo6ig018pnlbg000edd7cw6cmj6c1m6go30c1g68qjgchh%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE for conversion_last_conversion_date

2019-04-09 Thread Alexander
Thank you.

According to 

https://developers.google.com/google-ads/api/docs/fields/metrics#metricsconversion_last_conversion_date

it should be selectable with customer (no other resource is in the 
"selectable with" list). So if it is not selectable with customer, is it 
selectable at all?


-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/0bb96cdc-bea5-4715-b89e-3af992366e2d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: "No status received" Error

2019-04-09 Thread F B
Hi Bharani,

no worries. I managed to get that error resolved by checking the individual 
operations. Turns out a couple of them were invalid for other reasons.

Anyway, now I keep running into RESOURCE_EXHAUSTED errors and really have 
no idea why. I switched out all get requests for queries and it really 
seems unlikely that I have exceeded the 15k requests per day.

Is it possible to get more information as to which limit I am exceeding?

Cheers
Fabian

On Tuesday, 9 April 2019 17:54:37 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hello, 
>
> Regret the delay. This could be related to the error codes listed here 
> . Could you 
> try making another request? If it fails, please share the grpc logs for the 
> respective client library? You can reply back via Reply privately to author 
> option.
>
> Regards,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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/191ad3ff-cd63-4e42-9c49-e14ffe5ff3a0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Get descriptive_name Customer

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Could you please share the email address of the user authenticating the API
call? Also, could you please share the customerId you are passing in the
*forcustomer* function to fetch the customer data? Please use reply
privately to the user option while sharing the information requested.

Regards,
Sai Teja, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/ijlio23svo008evjds002humukz60mjgd9g60o30c1g68r36c9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: USER_PERMISSION_DENIED with Google Ads API V1 and no errors with AdWords API V201809

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Sergei,

It is not possible to get the manager account Id via API.

@Chirag,

As per the blog post mentioned here
,
you have to pass login-customer-id and client-customer-id in your API call.
The login-customer-id should be of the manager account that is
authenticating the API call on behalf of the client and the
client-customer-id should be of the account id from which you are trying to
pull the data. The login-customer-id is necessary and the OAuth credentials
must be of the user having access to that manager account when making calls
to the client account on behalf of their manager account.

Regards,
Sai Teja, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/ijlio2sf3801g4ofps000ebcj0z6smjadpn6co30c1g68qjgdpo%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: "No status received" Error

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Regret the delay. This could be related to the error codes listed here
. Could you
try making another request? If it fails, please share the grpc logs for the
respective client library? You can reply back via Reply privately to author
option.

Regards,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/00d12jo6ig018vqveu000e54fqy6omj6cpp6oo30c1g68qjedpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Change Campaigns Target-ROAS

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Michael,

That's right. Please refer to this code sample
  
to

update an Ad group.

Thanks,
Bharani, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_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/ijlio2sf3801grbv8g000e7g34y6omjid1j64o30c1g68r32chn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Changing campaign targeting settings through Google Ads API: immutable fields

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Ernst,

The fix went live yesterday. Please try your request again and let me know
if you still encounter issues with the updates.

Thanks,
Bharani, Google Ads 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/00d12i8cr0010oktjm001cdnsgz60mj4e1l6ko30c1g68qjcd9m%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Quality Score History

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Bala,

If you are using AdWords API, you can use the field HistoricalQualityScore
.
If you are using Google Ads API, you can use the field
metrics.historical_quality_score

.

Cheers,
Anthony
Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/08/19 15:39:13 balachandhar...@gmail.com wrote:

 Currently, is there any option in API service/reports that will return the
historic quality scores.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/922e799a-aa97-4e4e-bc84-1dc7bc00cc43%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/ijlio2sf3801gb71l8000e0e78w6cmjgd1m68o30c1g68qjce9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED with Google Ads API V1 and no errors with AdWords API V201809

2019-04-09 Thread Sergei Kim
Is it possible to get original manager account id if we have only client 
tokens and id?



On Monday, April 8, 2019 at 5:19:34 PM UTC+3, Sergei Kim wrote:
>
> Hello Team,
>
> We have a client with strange behavior. All requests against new API are 
> failing with the error. But V201809 works as usual.
>
>
> Request
>
> GET https://googleads.googleapis.com/v1/customers/4062295870/
> Content-Type: application/json
> Authorization: Bearer {{access_token}}
> developer-token: {{developer_token}}
> login-customer-id: 4062295870
>
>
> Error response
>
> HTTP/1.1 403 Forbidden
> Request-Id: p-cqwN8p86IMSINGahjbhw
> Vary: Origin, X-Origin, Referer
> Content-Type: application/json; charset=UTF-8
> Content-Encoding: gzip
> Date: Mon, 08 Apr 2019 13:18:58 GMT
> Server: ESF
> Cache-Control: private
> X-XSS-Protection: 1; mode=block
> X-Frame-Options: SAMEORIGIN
> X-Content-Type-Options: nosniff
> Alt-Svc: quic=":443"; ma=2592000; v="46,44,43,39"
> Connection: close
> Transfer-Encoding: chunked
>
> {
>   "error": {
> "code": 403,
> "message": "The caller does not have permission",
> "status": "PERMISSION_DENIED",
> "details": [
>   {
> "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure",
> "errors": [
>   {
> "errorCode": {
>   "authorizationError": "USER_PERMISSION_DENIED"
> },
> "message": "User doesn't have permission to access customer."
>   }
> ]
>   }
> ]
>   }
> }
>
>
> How to debug this?
>
> Thanks in advance,
> Sergei Kim
>
> CoMagic
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/67a2af21-d5b6-4670-82c3-08985170d81b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Get descriptive_name Customer

2019-04-09 Thread Непомнющий Александр
Hello,
Thank you for answer.

namespace Google\AdsApi\Examples\Authentication;

require __DIR__ . '/vendor/autoload.php';

use GetOpt\GetOpt;
use Google\Auth\CredentialsLoader;
use Google\Auth\OAuth2;
use Psr\Http\Message\ServerRequestInterface;
use React\EventLoop\Factory;
use React\Http\Response;
use React\Http\Server;
use UnexpectedValueException;
use Google\Ads\GoogleAds\Examples\Utils\ArgumentNames;
use Google\Ads\GoogleAds\Examples\Utils\ArgumentParser;
use Google\Ads\GoogleAds\Lib\V1\GoogleAdsClient;
use Google\Ads\GoogleAds\Lib\V1\GoogleAdsClientBuilder;
use Google\Ads\GoogleAds\Lib\V1\GoogleAdsException;
use Google\Ads\GoogleAds\Lib\OAuth2TokenBuilder;
use Google\Ads\GoogleAds\V1\Errors\GoogleAdsError;
use Google\Ads\GoogleAds\V1\Services\GoogleAdsRow;
use Google\ApiCore\ApiException;
use Google\Ads\GoogleAds\V1\Resources\Customer;
use Google\Ads\GoogleAds\Util\V1\ResourceNames;


session_start();

define("PAGE_SIZE", 100);


$oauth2 = new OAuth2([
'authorizationUri' => 'https://accounts.google.com/o/oauth2/v2/auth',
'tokenCredentialUri' => 'https://www.googleapis.com/oauth2/v4/token',
'redirectUri' => 'https://xx', 
'clientId' => '.apps.googleusercontent.com',
'clientSecret' => 'xx',
'scope' => array('https://www.googleapis.com/auth/adwords',
'https://www.googleapis.com/auth/content',
'https://www.googleapis.com/auth/siteverification')
]);


if (!isset($_GET['code'])) {
  // Create a 'state' token to prevent request forgery.
  // Store it in the session for later validation.
  $oauth2->setState(sha1(openssl_random_pseudo_bytes(1024)));
  $_SESSION['oauth2state'] = $oauth2->getState();

  // Redirect the user to the authorization URL.
  $config = [
// Set to 'offline' if you require offline access.
'prompt' => 'consent',
'access_type' => 'offline'
  ];
  header('Location: ' . $oauth2->buildFullAuthorizationUri($config));
  exit;
}elseif (empty($_GET['state'])
|| ($_GET['state'] !== $_SESSION['oauth2state'])) {  // Check given 
state against previously stored one to mitigate CSRF attack.
  unset($_SESSION['oauth2state']);
  exit('Invalid state.');
} else {
  $oauth2->setCode($_GET['code']);
  $authToken = $oauth2->fetchAuthToken();
  
  $refreshToken = $authToken['refresh_token'];
  
  //print_r($refreshToken);
  
  $_SESSION["refresh_token"] = $refreshToken;
 
 
 $googleAdsClient = (new GoogleAdsClientBuilder())->fromFile()
->withOAuth2Credential($oauth2)
->build();
 $customerServiceClient = 
$googleAdsClient->getCustomerServiceClient();

// Issues a request for listing all accessible customers.
$accessibleCustomers = 
$customerServiceClient->listAccessibleCustomers();
print 'Total results: ' . count($accessibleCustomers) . PHP_EOL;
// Iterates over all accessible customers' resource names and 
prints them.
foreach ($accessibleCustomers->getResourceNames() as $resourceName) 
{
/** @var string $resourceName */
  //  printf("Customer resource name: '%s'%s", $resourceName, 
PHP_EOL); 
$customerId = explode("/", $resourceName);
$customerId = $customerId[1]; 

}



/*  This returns an empty result. */
$customer = 
$customerServiceClient->getCustomer(ResourceNames::forCustomer('x'));

// Print information about the account.
printf(
"Customer with ID %d, descriptive name '%s', currency code 
'%s', timezone '%s', "
. "tracking URL template '%s' and auto tagging enabled '%s' was 
retrieved.%s",
$customer->getId()->getValue(),
$customer->getDescriptiveName()->getValue(),
$customer->getCurrencyCode()->getValue(),
$customer->getTimeZone()->getValue(),
$customer->getTrackingUrlTemplate()->getValue(),
$customer->getAutoTaggingEnabled()->getValue() ? 'true' : 
'false',
PHP_EOL
);




понедельник, 8 апреля 2019 г., 20:53:52 UTC+2 пользователь Непомнющий 
Александр написал:
>
> Введите код...
>
> Hi,
>
> when we create a Customer, we specify a 'descriptive_name'. How to get 
> this field, knowing Client Id?
>
> // Iterates over all accessible customers' resource names and 
> prints them.
> foreach ($accessibleCustomers->getResourceNames() as 
> $resourceName) {
> /** @var string $resourceName */
>   //  printf("Customer resource name: '%s'%s", $resourceName, 
> PHP_EOL);
> $customerId = explode("/", $resourceName);
> $customerId = $customerId[1];
>
> }
>
>
>

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

Re: Accept an invitation for linking client accounts

2019-04-09 Thread Непомнющий Александр
Hello,
Thank you for help. All is okay.

понедельник, 8 апреля 2019 г., 22:45:51 UTC+2 пользователь 
googleadsapi-forumadvisor написал:
>
> Hello,
>
> You could use the customerService.getCustomers 
> 
>  operation 
> without specifying the client customer id in the request using the 
> credentials acquired, which returns details of all the customers directly 
> accessible by the user authenticating the call. If they have more than one 
> account, you can let them select the Id they want to access. Please let me 
> know if you have any further questions.
>
> Regards,
> Sai Teja, Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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/cd21646b-3ead-40f9-9aa0-a8510a54728d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Quotas?

2019-04-09 Thread F B
I am trying to upload roughly 15000 keywords (aka adgroupcriteria).

However, I keep getting an "google.api_core.exceptions.ResourceExhausted: 
429 Resource has been exhausted (e.g. check quota)" error. I tried chunking 
the number of operations and upload them in chunks of 1000 or 500, but keep 
getting the same error.
Where can I find more details about which kind of quota I actually 
exhausted?

Cheers
Fabian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9d8c8e37-3987-4440-8418-7df746a1e228%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Conservative Targeting in AdWords API

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Joe,

Don't worry about being *that* guy -- it's a perfectly reasonable question!
:)

I'm following up with the targeting team and will post back when I have
more details on the plans for this setting in the new Google Ads API.

Thanks,
Josh, Google Ads API Team

=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/05/19 10:36:39 joe.sted...@searchlaboratory.com wrote:

I hate to be *that *guy but, is this still not available through the
AdWords or Ads APIs?
I couldn't see anything in the change history but i'm kinda hoping you'd
expose it in the new ads API at least.

Joe

On Tuesday, January 16, 2018 at 9:58:23 PM UTC, Josh Radcliff (AdWords API
Team) wrote:

Hi,

There have not been any changes since my previous post, but if this
functionality is added to the AdWords API, we'll announce it on our blog
 or in the  
release

notes
.

Thanks,
Josh, AdWords API Team

On Tuesday, January 16, 2018 at 11:59:53 AM UTC-5, juch...@ppcguru.cz wrote:

Hello,

is there still no way to distinguish Disabled Targeting optimization and
Conservative mode via API?

Thank you.

On Friday, September 29, 2017 at 2:30:31 PM UTC+2, Josh Radcliff (AdWords
API Team) wrote:

Hi Tim,

Unfortunately, the AdWords API doesn't expose the "conservative" setting,
so this information will have to be retrieved using the UI.

Thanks,
Josh, AdWords API Team

On Thursday, September 28, 2017 at 2:48:44 PM UTC-4, Tim Tsai wrote:

Hi there,

Is it possible to use the API to determine of a campaign has checked
"conservative targeting?"

I know that we can use the ExplorerAutoOptimizerSetting
  
field

to find if a campaign has "aggressive targeting" set, but what about
conservative?


Thanks,
Tim

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/eb5a336f-d63f-4e8b-8212-03e0b034def9%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/00d12i8cr0010tvjmk001c5r20z64mjccpl6co30c1g64sj0e9i%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE for conversion_last_conversion_date

2019-04-09 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

To determine what metrics are selectable with a given entity type, we
actually need to look at that entity type's documentation. For example, for
customer, look here:
https://developers.google.com/google-ads/api/docs/fields/customer#customer

And then expand the "Metrics" section. You'll see that
conversion_last_conversion_date doesn't actually appear in that list, which
means it is not selectable from a report using "FROM customer".

We are going to work on improving the documentation for the "selectable
with" section to try to avoid this kind of confusion in the future.

Regards,
Mike, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/08/19 08:26:45 googleadsapi-forumadvi...@google.com wrote:

Hello,

Thanks for reporting this issue. Our documentation also states that this
field should be selectable with customer, so it looks like this is
unintended. I am investigating and will post here again when I have any
information to share.

Regards,
Mike, Google Ads API Team


=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog and discussion group:
https://ads-developers.googleblog.com/search/label/google_ads_api
https://developers.google.com/adwords/api/community/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

On 04/05/19 09:26:19 lade...@exito.de wrote:

similar issue here.

Am Freitag, 5. April 2019 13:26:27 UTC+2 schrieb Alexander:

The query builder (https://developers.google.com/google-ads/api/docs/query/
interactive-gaql-builder) gave me following output:



SELECT
 metrics.conversion_last_conversion_date
FROM
customer
LIMIT
100


But the java-client-library gives me following error: query_error:
PROHIBITED_METRIC_IN_SELECT_OR_WHERE_CLAUSE
  message: "Cannot select or filter on the following metrics:
\'conversion_last_conversion_date\'(could not support requested resources:
\'CUSTOMER\'), since metric is incompatible with the resource in the FROM
clause or other selected segmenting resources."

How can I select metrics.conversion_last_conversion_date?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6e081237-28c0-4d53-a53b-d000c6202873%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/ijlio2sf3801gunt3i000dq25kw70mjccpg6go30c1g68qjcdph%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


GAQL: Filter CustomerClients by Impressions

2019-04-09 Thread Michael Ladewig
Hi guys,

we are an agency and under our agency-account, there are a lot of 
CustomerClients. our API Scripts have to iterate over these Accounts. To 
only address active used accounts we want to Filter CustomerClients by 
their Impression during the last 30 days. So I tried to use a GAQL query to 
get a list of Account-IDs with at least 1 Impression during the last 30 
days:

query = ('SELECT customer_client.client_customer, 
customer_client.resource_name, metrics.impressions FROM customer_client 
WHERE segments.date DURING LAST_30_DAYS AND metrics.impressions > 0')


Unfortunately, it seems, that customer_client is not able to work with 
metrics.impressions. The Script returns:

Request made: ClientCustomerId: 5896XX, Host: 
>> googleads.googleapis.com:443, Method: 
>> /google.ads.googleads.v1.services.GoogleAdsService/Search, RequestId: 
>> FXimew-dKfaGgBFv_BfUgQ, IsFault: True, FaultMessage: Cannot select or 
>> filter on the following metrics: 'impressions'(could not support requested 
>> resources: 'CUSTOMER_CLIENT', 'CUSTOMER_CLIENT'), since metric is 
>> incompatible with the resource in the FROM clause or other selected 
>> segmenting resources.
>
>
>
 Fetching a List with all CustmerClients and than iterating over each of 
them manually, seems to work, as a request on Customer can handle 
metrics.impressions. But i think, this is much more time consuming and not 
a best practice.

So my question is, if i made any mistake, requesting the CustomerClients or 
if there is really no Feature of filtering by Metrics.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/35d34737-0333-486b-a4e7-a68ace14845c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Migration to Google Ads API - Get list of all accounts under MCC

2019-04-09 Thread cv
Hi,

But how I can get the Linked account(When user authorised through oAuth 
where I am not know he has linked with manager or normal account ) is 
Manager account or Normal account when user authorised my app with which 
clientCustomerId he has authorised?

Thanks



On Friday, 5 April 2019 02:30:24 UTC+5:30, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> You can have a look at the resources 
> 
>  page 
> to get a description between Customer, CustomerClient and 
> CustomerClientLink. Your response should return in this format 
> .
>  
> I'd recommend enabling logs 
> 
>  in 
> your client library. I'd recommend reaching out to the client library 
> owners  for your 
> concern regarding pagination since they will be better suited to respond to 
> this. 
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/04/19 10:33:43 dju...@gmail.com  wrote:
>
> Hi there,
> Im having similar issue,
> this would get me list of all accounts, including mcc.
>
> For example if we have tree-like structure with master MCC and multiple 
> level MCCs under it, what would be the best way to get a list of all 
> non MCC account under master MCC?
> This is in order to collect reporting data for all our accounts.
>
> Thanks,
> Alex
>
>
>
> On Wednesday, 3 April 2019 21:26:36 UTC+1, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> You can try using the GoogleAdsService 
> 
>  and 
> set the query to the one that I provided earlier. You can find a similar 
> API call here 
> 
> .
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/03/19 12:21:39 marce...@d1-solutions.com wrote:
>
> Hi Anthony
>
> Thanks for getting back. I've tried the CustomerClientService with Python
>
> service = client.get_service('CustomerClientService')
> query = ('SELECT customer_client.resource_name,'
> 'customer_client.client_customer,'
> 'customer_client.level, customer_client.hidden,'
> 'customer_client.level'
> 'FROM customer_client');
> response = service.search(root_account_id, query=query, page_size=100)
>
> Where root_account_id is the ID of the root level MCC account. But I get
>
> AttributeError: 'CustomerClientServiceClient' object has no attribute 
> 'search'
>
> Is this the right service? If not, what service should be used?
>
> Regards Marcel
>
> On Monday, 1 April 2019 23:24:05 UTC+2, googleadsapi-forumadvisor wrote:
>
> Hi Marcel,
>
> To get the account hierarchy via Google Ads API, you could use the 
> customer_client 
>  
> resource. 
> Through which you can get only the resource name, level, Boolean value of 
> hidden status and Client_customer details of the accounts under your 
> manager account. To get these details the OAuth credentials used to make 
> the API call should be of manager account and the ClientCustomerId passing 
> in the header should be of manager account. Below is the sample query for 
> your reference. 
>
> Please note that, you have to iterate through all the customers to get the 
> descriptive_name.
>
> query = ('SELECT customer_client.resource_name,
> customer_client.client_customer,
> customer_client.level, customer_client.hidden,
> customer_client.level
> FROM customer_client');
>
> Please let me know if you have any further questions.
>
> Regards,
> Anthony
> Google Ads API Team
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_api
> https://developers.google.com/adwords/api/community/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> On 04/01/19 10:55:22 marce...@d1-solutions.com wrote:
>
> Hi
>
> We're in the process of migrating 

Re: Automatic placements report

2019-04-09 Thread Vasanth Prabhu Sundara
Hi Bharani,

  Thanks. Will check this.

Thanks,
*VASANTH PRABHU* SUNDARARAJ

Senior Technologist



*CtrlShift*



M +6591550444

T +6567794506

vasant...@ctrlshift.com

ctrlshift.com




On Fri, Apr 5, 2019 at 10:27 PM googleadsapi-forumadvisor via AdWords API
and Google Ads API Forum  wrote:

> Hello Vasanth,
>
> Regret the delay as I was checking this internally with the team. The
> Automatic Placements Report in the AdWords API maps to the
> group_placement_view in the Google Ads API. Please refer to this guide
> 
>  on
> how the report mapping is one between AdWords API and Google Ads API. You
> will be able to use the group_placement_view to pull the metrics data too.
>
> Let me know if you have any other questions.
>
> Regards,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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/00d12ia72g000cjj7i001vanegx6cmjie9m74o30c1g68qj8e1k%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 


Disclaimer The information in this email and any attachments may contain 
proprietary and confidential information that is intended for the 
addressee(s) only. If you are not the intended recipient, you are hereby 
notified that any disclosure, copying, distribution, retention or use of 
the contents of this information is prohibited. When addressed to our 
clients or vendors, any information contained in this e-mail or any 
attachments is subject to the terms and conditions in any governing 
contract. If you have received this e-mail in error, please immediately 
contact the sender and delete the e-mail.

-- 


Disclaimer The information in this email and any attachments may contain 
proprietary and confidential information that is intended for the 
addressee(s) only. If you are not the intended recipient, you are hereby 
notified that any disclosure, copying, distribution, retention or use of 
the contents of this information is prohibited. When addressed to our 
clients or vendors, any information contained in this e-mail or any 
attachments is subject to the terms and conditions in any governing 
contract. If you have received this e-mail in error, please immediately 
contact the sender and delete the e-mail.

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

Re: Change Campaigns Target-ROAS

2019-04-09 Thread Michael Ladewig
Hello Bharani,

thank you very much. That worked fine. To understand the point of field 
mask, to i only have to reference the resource, i want to mutate? In my 
case, it was "campaign". If i want to update an AdGroup, the field mask is 
fm = protobuf_helpers.field_mask(None, ad_group) ?

Thanks
Michael

Am Freitag, 5. April 2019 20:41:03 UTC+2 schrieb googleadsapi-forumadvisor:
>
> Hello Michael, 
>
> Regret the delay. I was checking with the team regarding this. The 
> FIELD_NOT_FOUND error is because the field mask is incorrect. You can also 
> calculate this using fm = protobuf_helpers.field_mask(None, campaign) 
> Please refer to our code sample 
> 
>  as 
> a reference. 
>
> Can you try fixing the field mask and setting the value as 
> campaign.target_roas.target_roas.value = 10.0? If you're facing an issue, 
> could you share the request Id so I can check this internally?
>
> Let me know if you are facing an issue.
>
> Thanks,
> Bharani, Google Ads API Team
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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/6eeda328-4a79-4611-bd54-d4ccc64fca27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: USER_PERMISSION_DENIED with Google Ads API V1 and no errors with AdWords API V201809

2019-04-09 Thread cv
Hello Sai,

I am exactly facing same issue.
The api calls works fine with same credentials on Adwords API v201809 but 
fails with Google Ads API.

In my case I have authorised the MCC account and I am trying to fetch 
details for account under manager account.

Which login-customer-id I need to pass? I am passing customerId under MCC.

If I need to pass managerId which I authenticate, how I can fetch its 
manage client data?

Thanks,

On Tuesday, 9 April 2019 01:40:56 UTC+5:30, googleadsapi-forumadvisor wrote:
>
> Hello Sergei,
>
> As per the blog post mentioned here 
> ,
>  
> It is required to mention the login-customer-id 
> 
>  in 
> your API call as the manager account Id of the account to which you are 
> making the API call along with the *CUSTOMER_ID* of client. Also, the 
> Oauth credentials used to make API calls to account must be created with 
> the user having access to the account. If you are facing the problem even 
> after setting the login-customer-id and customer_id, please share the email 
> address of the user authenticating the API call and the customer_id you are 
> setting along with the code snippet you are trying. Please use *reply 
> privately to the author* option while sharing the information requested.
>
> Regards,
> Sai Teja, Google Ads API Teama
>
>
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> Also find us on our blog and discussion group:
> https://ads-developers.googleblog.com/search/label/google_ads_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/c337ba24-45af-4492-a324-fb0ed32dc4c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.