RE: How to move account with Google Ads API

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Wei,

Instead of using the customer_client_link resource, what you can do is
download the sample GAQL below in your client account to retrieve the
manager_link_id. You will be able to retrieve the manager_link_id and the
manager account id the account is connected to. Can you give this a try a
let me know if this resolves your question?

GAQL: SELECT customer_manager_link.manager_customer,
customer_manager_link.manager_link_id FROM customer_manager_link

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 05/16/19 22:01:26 ghostwolf20190...@gmail.com wrote:

Hi Dannison,

Gotcha, the case is I am creating the client account from root MCC with the
below example code:

try (CustomerServiceClient client =
  
googleAdsClient.getLatestVersion().createCustomerServiceClient()) {

CreateCustomerClientResponse response =
client.createCustomerClient(rootMcc, customer);


So the only thing I can get out of the response is the client resource name.

Or in another word, is there a way to get either manager_link_id  or  
CustomerClientLink with this approach?




Thank you!


Regards,



Wei



On Thursday, May 16, 2019 at 3:11:34 AM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Wei,

To retrieve the account linked to the root MCC along with the
manager_link_id. Query the GoogleAdsService in the root manager account
level to find the manager_link_id of the CustomerClientLink you created.
You may refer to the sample GAQL below.

GAQL: SELECT customer_client_link.manager_link_id,  
customer_client_link.client_customer

FROM customer_client_link

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

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 05/15/19 22:00:30 ghostwol...@gmail.com wrote:

Hi Dannison,


Thank you for the explanation.
My further question will be we have the client account directly linked to
the root MCC account. How do we retrieve the manager_link_id from the root
MCC account that linked to this client account?


Thank you!

Regards,


Wei

On Tuesday, May 14, 2019 at 10:41:52 PM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Jason,

Thank you for clarifying your concern. If your client account is not
directly linked to the root MCC account, there will be no manager_link_id.
The manager_link_id can only be retrieved with MCC accounts that are
directly linked to their child accounts.

Hope this answers your concern.

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

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 05/14/19 21:16:15 ghostwol...@gmail.com wrote:

Hi Dannison,

I am totally agree with you.
I think my question should be more specific.
I understand that we can get the retrieve the CustomerManagerLink

 object with CustomerManagerLinkService.GetCustomerManagerLink
,
but the issue is the how do we get the manager_link_id for the link between
the client account and root mcc. I think this link was initialized between
them while creating the client account from root mcc.
Is there way to retrieve the manager_link_id for this kind of link?


Thank you!

Regards,


Jason

On Tuesday, May 14, 2019 at 3:49:12 AM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Jason,

I am a 

RE: DatabaseError.CONCURRENT_MODIFICATION

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Aaron,

Thank you for providing a detailed description about the issue you
encountered. So I can further investigate, could you also provide the
complete SOAP request and response logs that were generated when the error
occurred? You may send your reply via the *Reply privately to author*
 option.

Best regards,
Peter
Google Ads API Team

On 05/17/19 00:26:47 achesh...@roirevolution.com wrote:

Hello,

I'm having a strange issue. I'm trying to upload bid changes using the
AdWords API and the API is responding with the CONCURRENT_MODIFICATION
error. However, I have verified the following things:

   - My request does not contain any duplicate entities. There are
   duplicate criterionIds, but they have different adGroupIds.
   - POST parallelization shouldn't be an issue because our chunk size of
   2000 and there are only about 1800 changes in the request.
   - Based on the Change History in the AdWords interface, there are no
   other changes being made to the account at the time of the request.

I experimented with this a bit to try to find the cause, but was
unsuccessful. However, I will report my findings here in case they help:

   - I've tried making this request at different times of the day and saw
   the same result.
   - If I try to make the same changes, but through a manual tsv file
   upload instead of through the API, the upload is successful.
   - I changed my chunk size to 10 and all ~180 requests were successful.
   - I changed my chunk size to 1000 and the first request was successful,
   but the last one was not.
  - I have the request id for the failed request in this case, not sure
  if that's something safe to share publicly.

Any ideas? Please let me know if you need more information.

Thank you,
Aaron Cheshire


P.S. I tried to undo the successful 1000 bid changes that I made during my
experimentation (the UNDO button is present) and I get the message that
"These changes can't be undone." I would also like to know why these can't
be undone (I tried only seconds after the changes were made). Maybe this is
related? Not sure.

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/39063454-b453-460d-91f6-83a70d9027ad%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/1btflug0oi8j9e000mj76ow6omjedpg6go30c1g68r36d9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: Reporting issues

2019-05-16 Thread aishvarya ananth
What is the latest update on this? It has been almost 15 days since the 
issue was reported.
We have all ur clients enquiring about the fix almost everyday.
Please advise.



On Monday, May 6, 2019 at 4:11:45 PM UTC+5:30, aishvarya ananth wrote:
>
>
> https://ads-developers.googleblog.com/2019/05/reporting-issues-april-30-and-may-1-2019.html
> When do we expect the issue to be fixed for May 1st / May 2nd?
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6d1adf5f-1b3e-4e6b-be4b-c187d1dc0e17%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Demographical report (AgeRanges + Gender)

2019-05-16 Thread Adam Smith

Bharani,

Any update on when this might be included in the new Google Ads API? 

This issue has been up for almost 4 years, surely there's an API method you 
could release that mimics the UI demographic report (Age x Gender x 
Parental Status)

Thanks,

Adam

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/c073e4fb-4b81-426c-b152-f08d4fb15e2b%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


test 2

2019-05-16 Thread 'Jon Weisbaum' via AdWords API and Google Ads API Forum
test

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/edc2bfac-3ed4-47e2-8d6d-321f874670a4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


test

2019-05-16 Thread Jon Weisbaum
test

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/9755765b-9ff2-42a5-8163-eafd80105b14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Test post #1

2019-05-16 Thread Google Ads API Forum Advisor Prod
Test reply
ref:_00D1U1174p._5001UAprnH:ref

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
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/ZAeCD0PRMBEL00hmJRclI2QWKvyCF8PxBryQ%40sfdc.net.
For more options, visit https://groups.google.com/d/optout.


Test post #1

2019-05-16 Thread JR MCC test
Test post. Please ignore.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/3ff0a8bb-1469-4f69-a012-ef3a1531baeb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: GAQL Queries with Time Ranges Before Unix Epoch Cause "Internal error encountered."

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Dorian,

Thank you for taking time to share the feedback. I have shared these
details with the team. Please keep an eye on our blog for more updates.

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/1a0qs1o00fqugg000q5v5kw6cmj6d9g68o30c1g68r38chj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: PRODUCT_PARTITION_DOES_NOT_EXIST when setCaseValue(new ProductBrand())

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Bala,

Please find the attached code snippet which creates the Product partition
tree based on ProductBrand. Could you please give this a try and let us
know if you have any questions?

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/1a0sc20106r6da000lc2muw6kmj4cpm68o30c1g68r3cchp%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

namespace Google\AdsApi\Examples\AdWords\v201809\ShoppingCampaigns;

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

use Google\AdsApi\AdWords\AdWordsServices;
use Google\AdsApi\AdWords\AdWordsSession;
use Google\AdsApi\AdWords\AdWordsSessionBuilder;
use Google\AdsApi\AdWords\Shopping\v201809\ProductPartitions;
use Google\AdsApi\AdWords\v201809\cm\AdGroupCriterionService;
use Google\AdsApi\AdWords\v201809\cm\ProductBiddingCategory;
use Google\AdsApi\AdWords\v201809\cm\ProductBrand;
use Google\AdsApi\AdWords\v201809\cm\ProductPartition;
use Google\AdsApi\AdWords\v201809\cm\ProductPartitionType;
use Google\AdsApi\AdWords\v201809\cm\ProductCanonicalCondition;
use Google\AdsApi\AdWords\v201809\cm\ProductCanonicalConditionCondition;
use Google\AdsApi\AdWords\v201809\cm\ProductDimensionType;
use Google\AdsApi\Common\OAuth2TokenBuilder;

/**
 * This example creates a product partition tree.
 */
class AddProductPartitionTree
{

	const AD_GROUP_ID = '68397208294';

public static function runExample(
AdWordsServices $adWordsServices,
AdWordsSession $session,
$adGroupId
) {
// The most trivial partition tree has only a unit node as the root:
//   $productPartitions->createBiddableUnit(null, null, 10);

		$operations = [];
		
		$root = ProductPartitions::createSubdivision();
		$criterion = ProductPartitions::asBiddableAdGroupCriterion($adGroupId, $root);
		$operation = ProductPartitions::createAddOperation($criterion);
		$operations[] = $operation;
		
		$coolBrand = new ProductBrand();
		$coolBrand->setValue('CoolBrand');
		$coolBrandUnit = ProductPartitions::createUnit($root, $coolBrand);
		$criterion = ProductPartitions::asBiddableAdGroupCriterion($adGroupId,$coolBrandUnit,20);
		$operation = ProductPartitions::createAddOperation($criterion);
		$operations[] = $operation;
		
		
		$cheapBrand = new ProductBrand();
		$cheapBrand->setValue('CheapBrand');
		$cheapBrandUnit = ProductPartitions::createUnit($root, $cheapBrand);
		$criterion = ProductPartitions::asBiddableAdGroupCriterion(
   $adGroupId,
   $cheapBrandUnit,
   10
   );
		$operation = ProductPartitions::createAddOperation($criterion);
		$operations[] = $operation;
		
		$otherCondition = ProductPartitions::createUnit($root, new ProductBrand());
		$criterion = ProductPartitions::asBiddableAdGroupCriterion($adGroupId,$otherCondition, 10);
		$operation = ProductPartitions::createAddOperation($criterion);
		$operations[] = $operation;
		
		$adGroupCriterionService = $adWordsServices->get($session, AdGroupCriterionService::class);
		$result = $adGroupCriterionService->mutate($operations);
		print_r($result);

}

public static function main()
{
// Generate a refreshable OAuth2 credential for authentication.
$oAuth2Credential = (new OAuth2TokenBuilder())->fromFile()->build();

// Construct an API session configured from a properties file and the
// OAuth2 credentials above.
  

RE: BudgetOrderService::getBillingAccounts returns null

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello,

Seems like you are following the right process. Could you please share the
complete SOAP logs using reply privately to the author option to
investigate further?

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

On 05/16/19 08:25:49 api.fwmoc...@gmail.com wrote:

Hello.

I'm trying to receive Billing Accounts by calling
BudgetOrderService::getBillingAccounts. It returns null.

Steps undertaken:
- I open an AdwordsSession for an MCC customer id.
- That MCC is connected to a Billing Customer and is set to monthly invoice.
- The email address used for the api session is listed in the Billing
Customer.
- The email address used for the api session is an administrator for the
MCC.

Are we missing something?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/28f56cd7-6d68-4c2e-9387-89b542a111bf%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/ug1g8nl6vo00gea2sm000tcoq8z6omj6e9l60o30c1g68r34d1l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Can Ads API search result transform to pandas with correctly type ?

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Jayce,

If you take the entire googleAdsRow, it will result everything into the
string format. If you use functions like  
googleAdsRow.getCampaign().getId().getValue()

to get individual elements you will get the actual primitive types instead.

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/1a0r31o182m20i0005s1b0z6cmj2e9o68o30c1g68r38cpk%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: ListAccessibleCustomers fails for one specific account

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Marc,

I am Anthony's team member, responding on this thread as he is not
available. The error "the customer is not enabled" means that the account
is not yet ready. I see that the account:8770719274 is still in draft, they
yet to complete the process.

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/ijlio4udlg010cv4ju0005s16my70mj2chm6ko30c1g68r3gd1n%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Received message larger than max (8665164 vs. 4194304) - Google Ads V1

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Rajesh,

The ResourceExhaused error will occur if you are sending too many requests
in a short period of time. 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?

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/1a0qo7o0ore22g000t9i5gw64mjechi68o30c1g68r3acpn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `401 Unauthorized` response

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Brijesh,

The error usually occurs when you're using the incorrect set of OAuth
credentials. Could you check if you have provided the correct client
credentials (client Id, client secret) and the OAuth token? If you are not
sure, you could try generating a new refresh token by following the
instructions provided here

.

To validate the credentials that you're using, you could also try the CURL
request provided below and see if you are able to generate the access
tokens. If the credentials are correct, you should get an access token for
the below request.
curl https://www.googleapis.com/oauth2/v4/token \
-d refresh_token=MCC_refresh_token \
-d client_id=your-client-id \
-d client_secret=your-client-secret \
-d grant_type=refresh_token

Please give this a try and let me know how it goes.

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/ug1g8nreqo0080bt0m0011u4sox74mj8dpi60o30c1g68r3cchn%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


DatabaseError.CONCURRENT_MODIFICATION

2019-05-16 Thread Aaron Cheshire
Hello,

I'm having a strange issue. I'm trying to upload bid changes using the 
AdWords API and the API is responding with the CONCURRENT_MODIFICATION 
error. However, I have verified the following things:

   - My request does not contain any duplicate entities. There are 
   duplicate criterionIds, but they have different adGroupIds.
   - POST parallelization shouldn't be an issue because our chunk size of 
   2000 and there are only about 1800 changes in the request.
   - Based on the Change History in the AdWords interface, there are no 
   other changes being made to the account at the time of the request.

I experimented with this a bit to try to find the cause, but was 
unsuccessful. However, I will report my findings here in case they help:

   - I've tried making this request at different times of the day and saw 
   the same result.
   - If I try to make the same changes, but through a manual tsv file 
   upload instead of through the API, the upload is successful.
   - I changed my chunk size to 10 and all ~180 requests were successful.
   - I changed my chunk size to 1000 and the first request was successful, 
   but the last one was not.
  - I have the request id for the failed request in this case, not sure 
  if that's something safe to share publicly.
   
Any ideas? Please let me know if you need more information.

Thank you,
Aaron Cheshire


P.S. I tried to undo the successful 1000 bid changes that I made during my 
experimentation (the UNDO button is present) and I get the message that 
"These changes can't be undone." I would also like to know why these can't 
be undone (I tried only seconds after the changes were made). Maybe this is 
related? Not sure.

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/39063454-b453-460d-91f6-83a70d9027ad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i read that guide, but it is not clear where i should get actual value for 
conversion_action.

Once again, under each managed account i created a conversion action and 
gave it name "Offline Conversions".

here is what i mean:

[image: ConversionActions.jpg]


in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
object and set conversion name attribute to "Offline Conversions". Then, i 
used managing account to upload the feed, and it was automatically put 
under correct managed account under this conversion action "Offline 
Conversions", and all works fine.

where can i get correct name for conversion action which i need to set in 
the new library? Can i see it anywhere in Google Ads portal under account 
settings or properties?
To me, "Offline Conversions" is correct name as per screenshot.

On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> 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 05/16/19 06:55:16 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i am using this library https://github.com/googleads/google-ads-dotnet.
> i enabled logging as specified in the documentation, and here is the 
> request details:
>
> Method Name: 
> /google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
> Host: https://googleads.googleapis.com
> Headers: {
>   "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
> grpc/1.20.1",
>   "developer-token": "REDACTED"
> }
>
> { "customerId": "REDACTED", "conversions": [ { "gclid": 
> "EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
> "orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
> "CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
> "orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
> "CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
> "orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
> "EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
> 134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
> "orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }
>
> And, here is the response:
> Headers: {
>   "content-disposition": "attachment",
>   "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
>   "date": "Wed, 15 May 2019 22:52:31 GMT",
>   "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
> }
>
> { "partialFailureError": { "code": 3, "message": "Multiple errors in 
> ‘details’. First error: Resource name 'Offline Conversions' is malformed: 
> expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
>  
> at conversions[0].conversion_action", "details": [ { "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
> "@value": 
> 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i read that guide, but it is not clear where i should get actual value for 
conversion_action.

Once again, under each managed account i created a conversion action and 
gave it name "Offline Conversions".

here is what i mean:

[image: ConversionActions.jpg]


in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
object and set conversion name attribute to "Offline Conversions". Then, i 
used managing account to upload the feed, and it was automatically put 
under correct managed account under this conversion action "Offline 
Conversions", and all works fine.

where can i get correct name for conversion action which i need to set in 
the new library? Can i see it anywhere in Google Ads portal under account 
settings or properties?
To me, "Offline Conversions" is correct name as per screenshot.

On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> 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 05/16/19 06:55:16 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i am using this library https://github.com/googleads/google-ads-dotnet.
> i enabled logging as specified in the documentation, and here is the 
> request details:
>
> Method Name: 
> /google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
> Host: https://googleads.googleapis.com
> Headers: {
>   "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
> grpc/1.20.1",
>   "developer-token": "REDACTED"
> }
>
> { "customerId": "REDACTED", "conversions": [ { "gclid": 
> "EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
> "orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
> "CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
> "orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
> "CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
> "orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
> "EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
> 134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
> "orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }
>
> And, here is the response:
> Headers: {
>   "content-disposition": "attachment",
>   "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
>   "date": "Wed, 15 May 2019 22:52:31 GMT",
>   "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
> }
>
> { "partialFailureError": { "code": 3, "message": "Multiple errors in 
> ‘details’. First error: Resource name 'Offline Conversions' is malformed: 
> expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
>  
> at conversions[0].conversion_action", "details": [ { "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
> "@value": 
> 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i read that guide, but it is not clear where i should get actual value for 
conversion_action.

Once again, under each managed account i created a conversion action and 
gave it name "Offline Conversions".

here is what i mean:

[image: ConversionActions.jpg]


in old  Google.Api.Ads.AdWords.v201809 C# library i used conversion feed 
object and set conversion name attribute to "Offline Conversions". Then, i 
used managing account to upload the feed, and it was automatically put 
under correct managed account under this conversion action "Offline 
Conversions", and all works fine.

where can i get correct name for conversion action which i need to set in 
the new library? Can i see it anywhere in Google Ads portal under account 
settings or properties?
To me, "Offline Conversions" is correct name as per screenshot.



On Thursday, May 16, 2019 at 10:39:42 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for providing the complete logs. Upon checking, you are passing 
> an incorrect value to the field conversion_action which is Offline 
> Conversions. As stated on this guide 
> ,
>  
> conversion_action is the resource name of the conversion action associated 
> with this conversion. This being said, can you try to pass the correct 
> resource name and then try to make the API call again?
>
> Regards,
>
> Dave
>
> 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 05/16/19 06:55:16 dikl...@gmail.com  wrote:
>
> Hi Dave,
>
> i am using this library https://github.com/googleads/google-ads-dotnet.
> i enabled logging as specified in the documentation, and here is the 
> request details:
>
> Method Name: 
> /google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
> Host: https://googleads.googleapis.com
> Headers: {
>   "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
> grpc/1.20.1",
>   "developer-token": "REDACTED"
> }
>
> { "customerId": "REDACTED", "conversions": [ { "gclid": 
> "EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
> "orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
> "CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
> "orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
> "CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
>  
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
> 094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
> "orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
> "EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
> "conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
> 134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
> "orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }
>
> And, here is the response:
> Headers: {
>   "content-disposition": "attachment",
>   "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
>   "date": "Wed, 15 May 2019 22:52:31 GMT",
>   "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
> }
>
> { "partialFailureError": { "code": 3, "message": "Multiple errors in 
> ‘details’. First error: Resource name 'Offline Conversions' is malformed: 
> expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
>  
> at conversions[0].conversion_action", "details": [ { "@type": "
> type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
> "@value": 
> 

GAQL Queries with Time Ranges Before Unix Epoch Cause "Internal error encountered."

2019-05-16 Thread Dorian Kind
Hi,

I've been playing around with the GoogleAdsService a bit, and noticed that 
sending a query for dates before 1970-01-01 will reliably cause a 
StatusCode.INTERNAL 
/ Internal error encountered error.

Not that this matters for any real purposes, but maybe the error message 
could be more specific.

Regards,
Dorian

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/d1987945-3e94-42be-886f-08e040c114a2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PRODUCT_PARTITION_DOES_NOT_EXIST when setCaseValue(new ProductBrand())

2019-05-16 Thread Bala Murugan
Hi

Thanks for you support. I want to edit or exclude the brand and include 
another one brand in the product group through API.

Can you please suggest how to do this? i find a remove keyword coding in 
php. but could not convert for brand. getting this error  

PRODUCT_PARTITION_SUBDIVISION_REQUIRES_OTHERS_CASE 



On Wednesday, May 8, 2019 at 12:28:03 AM UTC+5:30, 
googleadsapi-forumadvisor wrote:
>
> Hello Bala, 
>
> Could you please share the SOAP request and response logs to investigate 
> this further? You can share the details privately 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/8c1a1319-61f9-4c23-94de-a1dbecd99cd7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: campaign performance report with location problem using new ads api

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Liren,

You may use the location_view
 to
pull the campaign level location criteria metrics. This is equivalent to
the Geo Performance Report in the AdWords API. Could you please give this a
try with this resource and let me know if you have any questions?

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/1a0r31o18octeo0005erl2w6cmjgd9m6ko30c1g68r32c1p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Campaign Insights breakdown

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Zied,

That's right. You will need to include the Date and Device in the SELECT
query. This will segment the data split into different rows based on the
Device and Date.

Let me know if you have any 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/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/1a0qu380ga4g2s000vti1oy6smj0d9n6so30c1g68r3adpk%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Device enum inconsistency in new ads api vs UI.

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hello Darshan,

This issue has been fixed and it will be available in the upcoming
releases. Please keep an eye on our release notes
 for more
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/1a0r6288tu000b5uhey6cmjed1p6oo30c1g68qjedhh%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How to move account with Google Ads API

2019-05-16 Thread Jason f
Hi Dannison,

Gotcha, the case is I am creating the client account from root MCC with the 
below example code:

try (CustomerServiceClient client =
 googleAdsClient.getLatestVersion().createCustomerServiceClient()) {
CreateCustomerClientResponse response =
client.createCustomerClient(rootMcc, customer);


So the only thing I can get out of the response is the client resource name.

Or in another word, is there a way to get either manager_link_id  or 
CustomerClientLink with this approach?



Thank you!


Regards,



Wei



On Thursday, May 16, 2019 at 3:11:34 AM UTC-4, googleadsapi-forumadvisor 
wrote:
>
> Hi Wei,
>
> To retrieve the account linked to the root MCC along with the 
> manager_link_id. Query the GoogleAdsService in the root manager account 
> level to find the manager_link_id of the CustomerClientLink you created. 
> You may refer to the sample GAQL below.
>
> GAQL: SELECT customer_client_link.manager_link_id, 
> customer_client_link.client_customer 
> FROM customer_client_link
>
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 05/15/19 22:00:30 ghostwol...@gmail.com  wrote:
>
> Hi Dannison,
>
>
> Thank you for the explanation.
> My further question will be we have the client account directly linked to 
> the root MCC account. How do we retrieve the manager_link_id from the root 
> MCC account that linked to this client account?
>
>
> Thank you!
>
> Regards,
>
>
> Wei
>
> On Tuesday, May 14, 2019 at 10:41:52 PM UTC-4, googleadsapi-forumadvisor 
> wrote:
>
> Hi Jason,
>
> Thank you for clarifying your concern. If your client account is not 
> directly linked to the root MCC account, there will be no manager_link_id. 
> The manager_link_id can only be retrieved with MCC accounts that are 
> directly linked to their child accounts. 
>
> Hope this answers your concern.
>
> 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/
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
>
> 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 05/14/19 21:16:15 ghostwol...@gmail.com wrote:
>
> Hi Dannison,
>
> I am totally agree with you.
> I think my question should be more specific. 
> I understand that we can get the retrieve the CustomerManagerLink 
> 
>  object with CustomerManagerLinkService.GetCustomerManagerLink 
> ,
>  
> but the issue is the how do we get the manager_link_id for the link between 
> the client account and root mcc. I think this link was initialized between 
> them while creating the client account from root mcc.
> Is there way to retrieve the manager_link_id for this kind of link?
>
>
> Thank you!
>
> Regards,
>
>
> Jason 
>
> On Tuesday, May 14, 2019 at 3:49:12 AM UTC-4, googleadsapi-forumadvisor 
> wrote:
>
> Hi Jason,
>
> I am a colleague of Dave, allow me to provide support for your concern. 
> Getting the ManagerLink will not matter if you used the Google Ads UI or 
> the Google Ads API services to link the accounts. You can use the 
> CustomerManagerLinkService.GetCustomerManagerLink 
> 
>  
> method to retrieve the CustomerManagerLink 
> 
>  
> object. Specifically, you would 

Re: How do I use the next_page_token in cURL?

2019-05-16 Thread Jarrod Thuener
Thanks. I got it to work by adding the page_token to the Body. I was 
previously adding it to the header, which obviously wasn't working. Thanks 
for the help!!

So all things equal, the only change was the body WAS:
{"query":"my query here"}

and now it is 
{
"query":"same query as above",
"page_token":"the nextPageToken value from the initial response"
}

Thanks!!


On Thursday, May 16, 2019 at 3:23:18 AM UTC-4, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> My apologies if I couldn't provide an actual cURL example. You would need 
> to add the page token after the page size. See below:
>
> {
>   "customer_id": ,
>   "query" : "insert_query_string_here",
>   "page_size": "insert_page_size_here",
>   "page_token": "inser_page_token_here"
> }
>
> Let me know if this helps.
>
> Regards,
> Dave
> 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 05/16/19 00:51:40 jarrod...@gmail.com  wrote:
>
> Let me rephrase my question for clarity.
>
> Can someone provide a cURL example for pulling the "next_token"?
>
> Thanks!
>
> On Wednesday, May 15, 2019 at 6:26:27 AM UTC-4, Jarrod Thuener wrote:
>
> From what I understand, the caveat here is that a library it's used... I 
> have to use curl, so the first call returns the first 1 results then it 
> provides a next page token. How to I push that token through again to get 
> the next set of results?
>
> On Tuesday, May 14, 2019 at 11:18:42 PM UTC-4, googleadsapi-forumadvisor 
> wrote:
>
> Hi,
>
> Thank you for reaching out. In Google Ads API perspective, page_token and 
> next_page_token doesn't have to be specified. These two are automatically 
> generated when you execute your request. So for example, you have 300 ads 
> and you set the page_size to 100, when you execute the request, the API 
> will generate a response with the next_page_token together with the first 
> 100 results. Then, the API will automatically make an API call until it 
> retrieves all the results. 
>
> Feel free to write back if you have further clarifications.
>
> Regards,
> Dave
> 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 05/15/19 03:45:29 jarrod...@gmail.com wrote:
>
> I've seen the obvious response to paging issues "use a library", but I 
> don't have that ability. I have to use cURL.
>
> Here's what the documentation states about paging:
> Making a request
>
> The search method requires a SearchGoogleAdsRequest 
> ,
>  
> which consists of the following attributes:
>
>- A customer_id.
>- A Google Ads Query Language query that indicates which resource to 
>query, the attributes, segments, and metrics to retrieve, and the 
>conditions to use to restrict which objects are returned.
>- A page_size to indicate how many objects to return in a single 
>response when using paging 
>
> 
>.
>- An optional page_token to retrieve the next batch of results when 
>using paging 
>
> 
>.
>
> For more information on the Google Ads Query Language, check out the Google 
> Ads Query Language guide 
> .
>
>
> and on paging:
> Paging through results
>
> Whenever you are retrieving a large number of objects, you'll want to 
> 

Re: ListAccessibleCustomers fails for one specific account

2019-05-16 Thread Marc Selman
Hi Anthony,

The customer has finished setting up his account but now I still receive an 
error:

{ "errors": [ { "errorCode": { "authorizationError": "CUSTOMER_NOT_ENABLED" 
}, "message": "The customer can't be used because it isn't enabled." } ] }

What does "the customer is not enabled" mean?
And how can he or we fix it?

Best regards

Op donderdag 9 mei 2019 19:41:46 UTC+2 schreef googleadsapi-forumadvisor:
>
> Hi Marc,
>
> Your account is in DRAFT. You can't call the API against an account that 
> is not set up. Once you finishing setting it up, you should be able to make 
> API calls.
>
> 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 05/09/19 06:47:40 marc@gmail.com  wrote:
>
> I am trying to retrieve a list of customers for a specific google account 
> but the request throws an exception.
>
> Failure:
> { "errors": [ { "errorCode": { "authenticationError": 
> "AUTHENTICATION_ERROR" }, "message": "Authentication of the request 
> failed." } ] }
>
> Message:
> Status(StatusCode=Unauthenticated, Detail="Request is missing required 
> authentication credential. Expected OAuth 2 access token, login cookie or 
> other valid authentication credential. See 
> https://developers.google.com/identity/sign-in/web/devconsole-project.;)
>
> RequestId: 4c2d61SBEvXfIxwb123Wyw
>
> For other google accounts it works without problems.
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/d99a96d3-ce0e-4780-b91e-ca8fc751a7ad%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/2024cf9c-3db3-4e74-bcc2-bc3ef7da0364%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


BudgetOrderService::getBillingAccounts returns null

2019-05-16 Thread FW API
Hello.

I'm trying to receive Billing Accounts by calling 
BudgetOrderService::getBillingAccounts. It returns null.

Steps undertaken:
- I open an AdwordsSession for an MCC customer id.
- That MCC is connected to a Billing Customer and is set to monthly invoice.
- The email address used for the api session is listed in the Billing 
Customer. 
- The email address used for the api session is an administrator for the 
MCC.

Are we missing something?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/28f56cd7-6d68-4c2e-9387-89b542a111bf%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: AD Name on Google ADS API

2019-05-16 Thread Sergi Alà Pla
We are looking to hearing from your team to confirm if we can use this 
field. 

Thanks for the quick answer.

Regards
Sergi Alà 

On Wednesday, May 15, 2019 at 2:54:13 PM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi Sergi,
>
> I've raised this question with the team that manages the ad creation 
> service. In addition to what Dave mentioned below, it appears that the 
> *name* field is also supported for image ads, but I've asked the team to 
> confirm. I'll get back to you once I have more information from them.
>
> Best regards,
> 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 05/14/19 23:16:11 googleadsapi...@google.com  wrote:
>
> Hi Sergi,
>
> Thank you for reaching out. Upon investigating, I've observed that ad.name 
> 
>  is 
> only returned if the Ad type is a video ad. However, I will need to check 
> this with the team to confirm if this is an expected behavior. I will 
> update you once there are information available.
>
> Regards,
> Dave
> 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 and discussion group:
> http://googleadsdeveloper.blogspot.com/search/label/adwords_api
> https://developers.google.com/adwords/api/community/
> On 05/14/19 22:52:49 sergi@tees-agency.co.uk wrote:
>
> Hi
>
> I'm trying to create and AD, using the following field provided in the 
> documentation:
>
> name 
>
> StringValue 
> 
>
> The name of the ad. This is only used to be able to identify the ad. It 
> does not need to be unique and does not affect the served ad.
>
> Example: ad_group_ad.ad.name.value = "Ad - Name"
>
>
> When we fill this field and execute the mutate operation, we have no problems 
> to create the new AD, but when we try to recover this field using the query: 
> *SELECT ad_group_ad.ad.name  FROM ad_group_ad* 
> the name of the AD is always empty.
>
>
> Are we doing something wrong? or this field is not implemented yet?
>
>
> Regards,
> Sergi Alà 
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/359fee59-5049-4a25-a176-a30bf43e7235%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/2f5df1b7-4a61-4e6d-84ba-0f2990265ca3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client error: `POST https://oauth2.googleapis.com/token` resulted in a `401 Unauthorized` response

2019-05-16 Thread Brijesh Kumar


Hi,
When executing php examples/BasicOperations/GetCampaigns.php
getting an error
PHP Fatal error: Uncaught GuzzleHttp\Exception\ClientException: Client 
error: POST https://oauth2.googleapis.com/token resulted in a 401 
Unauthorized response:
{
"error": "unauthorized_client",
"error_description": "Unauthorized"
}
in 
/home/buzzyears/Downloads/google-ads-php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113
Stack trace:
#0 
/home/buzzyears/Downloads/google-ads-php/vendor/guzzlehttp/guzzle/src/Middleware.php(66):
 
GuzzleHttp\Exception\RequestException::create(Object(GuzzleHttp\Psr7\Request), 
Object(GuzzleHttp\Psr7\Response))
#1  
/home/buzzyears/Downloads/google-ads-php/vendor/guzzlehttp/promises/src/Promise.php(203):
 
GuzzleHttp\Middleware::GuzzleHttp{closure}(Object(GuzzleHttp\Psr7\Response))
#2  
/home/buzzyears/Downloads/google-ads-php/vendor/guzzlehttp/promises/src/Promise.php(156):
 
GuzzleHttp\Promise\Promise::callHandler(1, 
Object(GuzzleHttp\Psr7\Response), Array)
#3  
/home/buzzyears/Downloads/google-ads-php/vendor/guzzlehttp/promises/src/TaskQueue.php(47):
 
GuzzleHttp\Promise\Promise::Guz in 
/home/buzzyears/Downloads/google-ads-php/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php
 
on line 11

Please suggest the correct solution

Thanks
Brijesh

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/65bf9be6-d018-4105-b348-ebb145e4c138%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Received message larger than max (8665164 vs. 4194304) - Google Ads V1

2019-05-16 Thread Rajesh Naveen
Hi,
I am getting exception while retrieving Price Feed Items

Status(StatusCode=ResourceExhausted, Detail="Received message larger than 
max (8665164 vs. 4194304)") 

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/40ec5298-a5f6-4eea-a4d6-f9fe273ed272%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


campaign performance report with location problem using new ads api

2019-05-16 Thread li liren
Hi,

I'm trying to get the breakdown of campaign level costs by country via API, 
using googleads-python-lib. 

but I couldn't  find any fields about it in campaign resource at 
https://developers.google.com/google-ads/api/docs/query/interactive-gaql-builder
 .

how to resolve it, 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/5f89bc94-a3ca-4f20-90f5-9282b3c66c65%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can Ads API search result transform to pandas with correctly type ?

2019-05-16 Thread Jayce Li
I want to try move data from Google Ads API to bigquery by myself,  but I 
find out I have a big issue about data schema.

When I through GoogleAdsService to get GoogleAdsRow, then use 
google.protobuf.json_format.MessageToJson to create json to batch load into 
bigquery.
All integer would become string and date become string...
Any suggestion?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/01f4ad6d-d023-4a38-92ed-11f2ede9a283%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Bid Goal Performance Report TargetROAS not historically accurate

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Stephen,

The TargetRoas
  
field

is of behavior type ATTRIBUTE. This means that only the current value will
be displayed or returned through the reports. As for its historical values,
I'm afraid that there is currently no way via the AdWords API to retrieve
them. For now, you may have to keep record of these manually.

As for the historical values support in the new Google Ads API, I would not
be able to comment further as I also have no information if it will be
supported. For now, you may follow our blog
 for updates.

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 05/16/19 17:48:07 sh...@crealytics.de wrote:

Hi,

I am attempting to analyze the performance of a target ROAS bid strategy
over time. The target ROAS value was changed several times over the last
few months, and I can see this in the Ads interface in the bid strategies
report (Tools > Bid strategies > my bid strategy).

However, when I query the BID_GOAL_PERFORMANCE_REPORT
,
with Date as a segment, the 'Target ROAS
'
column only shows the *current* target ROAS value across all dates. This
behavior is not documented, as far as I can see, so I found it quite
misleading.

My question is, is there any way to pull historical target ROAS values for
a bid strategy through the AdWords API? As far as I know, these entities
are not included in the change history, please correct me if I'm wrong.

If not, will this be possible using the new Ads API?

Thanks
Stephen

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/edc4fbef-62f0-4cb7-8bb4-d05b4b92012d%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/18i5ti810cmu6m00047tgow60mjgdpk60o30c1g68r36e9l%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads query function does return INTERNAL SERVER ERROR

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Thank you for reaching out. To further investigate, could you provide the
complete JSON request and response logs when you encountered the error? If
you haven't enabled logging yet, you could refer to the README
 section of
your client library for detailed instructions on how to enable it. Please
use the *reply privately to author* option.

Regards,
Dave
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 05/16/19 16:43:46 apple930...@gmail.com wrote:

Greetings Ads Team!


I have used Google Ads PHP library v0 and it was worked well.


Since version 0 is deprecated a few days ago, I have upgraded version to v1.


After that, all Google ads query function does not work and always return
following exception and can't find specific issue related to this one.


{↵ "message": "Internal error encountered.",↵ "code": 13,↵ "status":
"INTERNAL",↵ "details": []↵}


Is this Ads API internal issue or something wrong on my side?


Please help me Ads Team!


Thanks in advance!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
---
You received this message because you are subscribed to the Google Groups
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit
https://groups.google.com/d/msgid/adwords-api/723d4b36-744f-4ca7-96bc-0b4f94085100%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/18vg1l0087gqli0008365iw6kmjicph6go30c1g68r3ec1j%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Bid Goal Performance Report TargetROAS not historically accurate

2019-05-16 Thread Stephen Howe
Hi,

I am attempting to analyze the performance of a target ROAS bid strategy 
over time. The target ROAS value was changed several times over the last 
few months, and I can see this in the Ads interface in the bid strategies 
report (Tools > Bid strategies > my bid strategy).

However, when I query the BID_GOAL_PERFORMANCE_REPORT 
,
 
with Date as a segment, the 'Target ROAS 
'
 
column only shows the *current* target ROAS value across all dates. This 
behavior is not documented, as far as I can see, so I found it quite 
misleading.

My question is, is there any way to pull historical target ROAS values for 
a bid strategy through the AdWords API? As far as I know, these entities 
are not included in the change history, please correct me if I'm wrong.

If not, will this be possible using the new Ads API?

Thanks
Stephen

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/edc4fbef-62f0-4cb7-8bb4-d05b4b92012d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Google Ads API - Placement Detail Incomplete data

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Jessie,

Currently, the only available metrics that can be retrieved from the
detail_placement_view
  
are

the ones included in the link's *metrics* dropdown. For now, you may follow
our blog  for updates.

Thanks and regards,
Peter
Google Ads API Team

On 05/16/19 07:28:07 jessie.laba...@3qdigital.com wrote:

Hi,

I'm building an application (using Google ads library) that will retrieve
data from detail_placement_view table. Unfortunately, the api doesn't
return all the columns data for View rate, Avg. CPV and Cost (screenshot
below) which opposite to UI that does return the required information. Is
there a way on how to retrieve the data for the columns below?

[image: cols.JPG]





Thanks,
Jessie

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f78a60bf-576f-44e5-94b9-a256e91c6cb2%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/ujqug246dg010sgb6i000t52cqw68mjcdpj74o30c1g68rj0c9g%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Google Ads query function does return INTERNAL SERVER ERROR

2019-05-16 Thread Best Dev


Greetings Ads Team!


I have used Google Ads PHP library v0 and it was worked well.


Since version 0 is deprecated a few days ago, I have upgraded version to v1.


After that, all Google ads query function does not work and always return 
following exception and can't find specific issue related to this one.


{↵ "message": "Internal error encountered.",↵ "code": 13,↵ "status": 
"INTERNAL",↵ "details": []↵}


Is this Ads API internal issue or something wrong on my side?


Please help me Ads Team!


Thanks in advance!

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to adwords-api@googlegroups.com
To unsubscribe from this group, send email to
adwords-api+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/adwords-api?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"AdWords API and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to adwords-api+unsubscr...@googlegroups.com.
Visit this group at https://groups.google.com/group/adwords-api.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/723d4b36-744f-4ca7-96bc-0b4f94085100%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum



Hi,

Thank you for providing the complete logs. Upon checking, you are passing
an incorrect value to the field conversion_action which is Offline
Conversions. As stated on this guide
,
conversion_action is the resource name of the conversion action associated
with this conversion. This being said, can you try to pass the correct
resource name and then try to make the API call again?

Regards,

Dave

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 05/16/19 06:55:16 diklev...@gmail.com wrote:

Hi Dave,

i am using this library https://github.com/googleads/google-ads-dotnet.
i enabled logging as specified in the documentation, and here is the
request details:

Method Name:
/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
Host: https://googleads.googleapis.com
Headers: {
  "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0
grpc/1.20.1",
  "developer-token": "REDACTED"
}

{ "customerId": "REDACTED", "conversions": [ { "gclid":
"EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE",
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513
204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK",
"orderId": "SE13.05.19.19.52.15-96189" }, { "gclid":
"CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513
152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK",
"orderId": "DK13.05.19.15.27.53-81128" }, { "gclid":
"CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513
094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK",
"orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid":
"EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE",
"conversionAction": "Offline Conversions", "conversionDateTime": "20190510
134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR",
"orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }

And, here is the response:
Headers: {
  "content-disposition": "attachment",
  "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
  "date": "Wed, 15 May 2019 22:52:31 GMT",
  "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}

{ "partialFailureError": { "code": 3, "message": "Multiple errors in
‘details’. First error: Resource name 'Offline Conversions' is malformed:
expected
'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
at conversions[0].conversion_action", "details": [ { "@type": "
type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure",
"@value":
"CtEBCgIIBBKLAVJlc291cmNlIG5hbWUgJ09mZmxpbmUgQ29udmVyc2lvbnMnIGlzIG1hbGZvcm1lZDogZXhwZWN0ZWQgJ2N1c3RvbWVycy97Y3VzdG9tZXJfaWR9L2NvbnZlcnNpb25BY3Rpb25zL3tDb252ZXJzaW9uVHlwZS5jb252ZXJzaW9uX3R5cGVfaWR9Jy4aFSoTT2ZmbGluZSBDb252ZXJzaW9ucyImEg8KC2NvbnZlcnNpb25zEgASEwoRY29udmVyc2lvbl9hY3Rpb24K0wEKAggEEosBUmVzb3VyY2UgbmFtZSAnT2ZmbGluZSBDb252ZXJzaW9ucycgaXMgbWFsZm9ybWVkOiBleHBlY3RlZCAnY3VzdG9tZXJzL3tjdXN0b21lcl9pZH0vY29udmVyc2lvbkFjdGlvbnMve0NvbnZlcnNpb25UeXBlLmNvbnZlcnNpb25fdHlwZV9pZH0nLhoVKhNPZmZsaW5lIENvbnZlcnNpb25zIigSEQoLY29udmVyc2lvbnMSAggBEhMKEWNvbnZlcnNpb25fYWN0aW9uCtMBCgIIBBKLAVJlc291cmNlIG5hbWUgJ09mZmxpbmUgQ29udmVyc2lvbnMnIGlzIG1hbGZvcm1lZDogZXhwZWN0ZWQgJ2N1c3RvbWVycy97Y3VzdG9tZXJfaWR9L2NvbnZlcnNpb25BY3Rpb25zL3tDb252ZXJzaW9uVHlwZS5jb252ZXJzaW9uX3R5cGVfaWR9Jy4aFSoTT2ZmbGluZSBDb252ZXJzaW9ucyIoEhEKC2NvbnZlcnNpb25zEgIIAhITChFjb252ZXJzaW9uX2FjdGlvbgrTAQoCCAQSiwFSZXNvdXJjZSBuYW1lICdPZmZsaW5lIENvbnZlcnNpb25zJyBpcyBtYWxmb3JtZWQ6IGV4cGVjdGVkICdjdXN0b21lcnMve2N1c3RvbWVyX2lkfS9jb252ZXJzaW9uQWN0aW9ucy97Q29udmVyc2lvblR5cGUuY29udmVyc2lvbl90eXBlX2lkfScuGhUqE09mZmxpbmUgQ29udmVyc2lvbnMiKBIRCgtjb252ZXJzaW9ucxICCAMSEwoRY29udmVyc2lvbl9hY3Rpb24="
} ] }, "results": [ { }, { }, { }, { } ] }

On Wednesday, May 15, 2019 at 5:19:30 AM UTC+2, googleadsapi-forumadvisor
wrote:

Hi,

Thank you for reaching out. RESOURCE_NAME_MALFORMED occurs when the
resource name provided in the request is incorrect. To further investigate
this, could you provide the complete JSON request and response logs when
you encountered this error? If you haven't enabled logging yet, kindly tell
me what client library you are using so I could help you enable it.

Regards,
Dave
Google Ads API Team


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

Google Ads API - Placement Detail Incomplete data

2019-05-16 Thread 'Jessie' via AdWords API and Google Ads API Forum
Hi,

I'm building an application (using Google ads library) that will retrieve 
data from detail_placement_view table. Unfortunately, the api doesn't 
return all the columns data for View rate, Avg. CPV and Cost (screenshot 
below) which opposite to UI that does return the required information. Is 
there a way on how to retrieve the data for the columns below?

[image: cols.JPG] 





Thanks,
Jessie

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/f78a60bf-576f-44e5-94b9-a256e91c6cb2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Campaign Insights breakdown

2019-05-16 Thread Zied Chaari
Hi Bharani,
>
>
Should I put the Device and Date attributes in the select element, like 
bellow?
.Select("CampaignId", "CampaignName", "Clicks", "Impressions", "Amount", 
"Cost", "Ctr", "AverageCpc", "AverageCpm", "Device", "Date")

I ask you this question because I sill use my Test Ad Account, so all my 
created campaign return zero metrics.

Thanks,
Zied

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/11aa0143-061a-4bec-b425-56bb63cfae07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Targeting Idea Service "You've exceeded a limit"

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Curtis,

Unfortunately, this is a known limitation in the server with regards to
TargetingIdeaService. The server counts all of the accounts making this API
service call. I would suggest to just retry the service call if ever you
encounter the error again.

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 05/15/19 23:15:20 curtis.b...@gmail.com wrote:

Thanks for the response Dannison.

Are you saying that:

   - even though I interleave accounts to try and avoid being rate limited
   - and if an account is rate limited it is pulled from the interleaving
   for at least the specified retryAfterSeconds duration given in the error


just the sheer number of times I encounter being rate limited across all
accounts is a limiting factor too?

On Tuesday, May 14, 2019 at 10:48:49 PM UTC-7, googleadsapi-forumadvisor
wrote:

Hi Curtis,

The rate limits for the TargetingIdeaService
  
are

significantly more strict than for other services that can be used for
managing campaigns. The rate limits can vary based on time of day, overall
volume of API usage by all users, and other factors. Our team does not
publish specific allowable QPS numbers to allow for this variance, and
instead use rate limit errors and require that integrations against the API
adhere to the timeouts as they encounter rate limit errors.

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

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 05/15/19 05:07:20 curti...@gmail.com wrote:

How do I determine what limit I've exceeded?

We are performing a large number of queries to the targeting idea service
and have started receiving a new error that I cannot determine what the
limit is.

The logs from a single process contains this error:

WARNING:googleads.soap:2019-05-10 11:55:45,976 Error summary:
{'responseTime': '59', 'requestId': '000588873f33b0f20abfba8a180bbb76',
'serviceName': 'TargetingIdeaService', 'operations': '1', 'faultMessage':
'[RateExceededError ]', 'methodName': 'get'}

followed by this very generic one a 15 seconds later.

WARNING:googleads.soap:2019-05-10 11:56:02,244 Error summary:
{'serviceName': 'TargetingIdeaService', 'faultMessage': "You've exceeded a
limit for this service.", 'methodName': 'get'}

The RateExceededError makes sense to me and is expected. For the throughput
we are trying to obtain, I handle this by switching accounts.

I'm familiar with and designed for the service limiting as discussed in:

https://developers.google.com/adwords/api/docs/appendix/
limits#targeting-idea

I'm also familiar with and designed for the rate limiting as discussed in:

https://developers.google.com/adwords/api/docs/guides/rate-limits

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/2932b5e9-22af-48cf-9c07-8a3550214945%40googlegroups.com

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

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:

RE: How can I get start date and end date of the ads already ended or will start?

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

Both the StartDate

 and EndDate
  
fields

are available only at the Campaign Performance Report
.
For the Ad Performance Report
,
I'm afraid that these fields are not supported since start and end date
fields are also not supported in the AdGroupAd

 and Ad
  
objects

of the AdWords API. 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 05/16/19 15:05:33 chai.adwo...@gmail.com wrote:

Hi,

How can I get start date and end date of the ads?
I'm trying to get the report of the ads but there is only DATE, YEAR,
MONTH, etc.. columns.

I'm using PHP library, and call the downloadReport of the ReportDownloader.
Please let me know where can I earn the start and end dates where the ad
actually appeared,

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/4eac353c-398c-428e-b7d9-f9d6f9de9b5a%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/ijlio115i000ol0i0k0005t2ucy6kmjgc1h6co30c1g68r36chl%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: breakdown of campaign level costs by country via ads API

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Yang,

Currently, the segments.get_target_country is not selectable when
generating a Campaign
 report.
The only ones available are those contained under the Campaign's segments
dropdown. For now, you may follow our blog
 for updates.

As for generating a report using the Google Ads API, you can refer to this
guide  
 and

to these sample codes
. 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 05/16/19 12:16:11 hotyoung...@gmail.com wrote:

Hi,

I want to pull report about breakdown of campaign level costs by country
via ads API, how to implement it, 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/0bf167c1-e65c-47b1-93c6-1fc68d99bb40%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/12f0gcd0p000o5s3g50ohgw68mj2d9j68o30c1g68r3cd1h%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: Targeting a hotel campaign by device.

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Ben,

Thank you for reaching out. To further investigate this, could you provide
the complete JSON request and response logs when you encountered the error?
If you haven't enabled logging yet, you could refer to the README
 section of
your client library for detailed instructions on how to enable it. Please
use the *reply privately to author* option.

Regards,
Dave
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 05/15/19 21:29:50 benc...@gmail.com wrote:

Hello,

I am trying to target a campaign on a particular device in a similar way
targeting is done in this example:
https://developers.google.com/google-ads/api/docs/samples/add-campaign-targeting-criteria

I am able to target a campaign on a location using a similar approach to
what is done in this example and in the code below.

However, I am getting the following error when trying to target a device:

errors {

 error_code {

   operator_error: OPERATOR_NOT_SUPPORTED

 }

 message: "Operator not supported."

 trigger {

   string_value: "CriterionId{id=3}"

 }

 location {

   field_path_elements {

 field_name: "operations"

 index {

 }

   }

   field_path_elements {

 field_name: "create"

   }

   field_path_elements {

 field_name: "device"

   }

 }

}


Here is the api client library usage that is causing this error:

public String targetCampaignDevice(Long customerId, Long campaignId,
DeviceEnum.Device device)
{
GoogleAdsClient googleAdsClient = getGoogleAdsClient();

String campaignResourceName = ResourceNames.campaign(customerId,
campaignId);
ArrayList ops = new ArrayList<>();

// Set device criteria
CampaignCriterion.Builder criterionBuilder =
CampaignCriterion.newBuilder()

.setCampaign(StringValue.newBuilder().setValue(campaignResourceName).build())
.setDevice(DeviceInfo.newBuilder().setType(device).build());

CampaignCriterion criterion = criterionBuilder.build();

ops.add(CampaignCriterionOperation.newBuilder()
.setCreate(criterion)
.build());

try (CampaignCriterionServiceClient campaignCriterionServiceClient =

googleAdsClient.getLatestVersion().createCampaignCriterionServiceClient()) {
MutateCampaignCriteriaResponse response =
campaignCriterionServiceClient.mutateCampaignCriteria(
Long.toString(customerId), ops);
}
return campaignResourceName;
}


Device.Enum is imported from *com.google.ads.googleads.v1.enums.DeviceEnum*.


Any suggestions for this issue? Could someone provide an example of this
being done correctly?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/479749f2-a116-4e8f-ae60-802ec64df624%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 

RE: [1-8644000026237] Bug in Ads API? UNAUTHENTICATED Exception started popping up when making call to Google Ads CustomerServiceClient.GetCustomer

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Darshan,

We've filed a request to either not return canceled or drafted accounts OR
having a way to determine if a given customer is canceled or drafted.
It'd take a while before any of them to happen.

So, unfortunately, the only workaround would be a try-catch.
I've heard that this doesn't work well in some client libraries, so I'll
let the client library owners check and provide help as much as possible
for now.

Cheers,
Thanet, 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 05/16/19 04:07:26 dars...@companionlabs.com wrote:

Thanks Thanet!

Please keep us posted.

Thanks,
Darshan Pradhan
Senior Application Architect
CompanionLabs
dars...@companionlabs.com
LinkedIn: https://www.linkedin.com/in/darshan-pradhan-07918070/

Start advertising smarter on Facebook. Sign up for your free 7 day trial at
www.companionlabs.com.


On Wed, May 15, 2019 at 4:32 AM 
wrote:

Hello Darshan,

Let me sync with the engineering team.
Sorry for this back-and-forth.

Best,
Thanet, 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 05/14/19 23:11:52 dars...@companionlabs.com wrote:

Hi Ads API Support,

This is very frustrating. It has been a long time since I opened this
support request and it is unfortunate that the Support Team is not
understanding the issue. I understand that the accounts that are erroring
on getCustomer call are not completely setup but that is not the issue.
Please try and understand the main issue here and please do not respond
with the same comment about the account not being setup properly.

For the readers convenience I will summarize and reiterate the issue in
this entry.

 ListAccessibleCustomers
  
only

returns the resource name of the accounts and does not provide the status
of an account. So programmatically I cannot tell if I am ok to make the
follow up getCustomer call. But the main problem is  ListAccessibleCustomers
  
should

not return a partially setup account or if it did the customerServiceClient.
getCustomer
call
should not fail when trying to retrieve a partially setup customer account.

The whole reason behind this call is because listAccessibleCustomers call
only return resourcenames of the account and I need name of the account, so
we make follow up call to get the name of the accounts.

Also, I repeat, the customerServiceClient.getCustomer
  
call

were working for partially setup account before and it should not be
failing with code=UNAUTHENTICATED since my user has access to that account
which i can see in my google Ads UI.

Please have these bounce off of the engineering team for a possible fix or
a proper resolution.

Thanks,
Darshan.



On Tuesday, May 14, 2019 at 1:29:12 AM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Darshan,

Kindly use the *reply privately to author* option when providing the
clientCustomerIds.

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

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 05/11/19 04:51:36 dar...@companionlabs.com wrote:

Hi,

These accounts are accessible via the api, partially though, since they are
returned from the ListAccessibleCustomers

Re: Impossible to add Google Ads Library to my app

2019-05-16 Thread Alex
Hi,

You are right, it was due to my ad blocker!
Many thanks for the assistance!

Best
Alex

Le mercredi 15 mai 2019 18:06:49 UTC+2, Alex a écrit :
>
> Hi,
>
> When trying to add Google Ads api on my project through 
> console.developers.google.com > API & Services > Library I get the 
> following error : API solution not found with service name: 
> googleads.googleapis.com.
> Besides, I don't find Adwords API neither.
>
> Could you please help me with this?
>
> Thanks in advance
> Best
> Alex
>
>
>
>
>
>
> 
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>
>
> 
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/aaf3d0f5-64ec-48ce-ba61-bb56f0fdb901%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: How do I use the next_page_token in cURL?

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi,

My apologies if I couldn't provide an actual cURL example. You would need
to add the page token after the page size. See below:

{
  "customer_id": ,
  "query" : "insert_query_string_here",
  "page_size": "insert_page_size_here",
  "page_token": "inser_page_token_here"
}

Let me know if this helps.

Regards,
Dave
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 05/16/19 00:51:40 jarrodthue...@gmail.com wrote:

Let me rephrase my question for clarity.

Can someone provide a cURL example for pulling the "next_token"?

Thanks!

On Wednesday, May 15, 2019 at 6:26:27 AM UTC-4, Jarrod Thuener wrote:

From what I understand, the caveat here is that a library it's used... I
have to use curl, so the first call returns the first 1 results then it
provides a next page token. How to I push that token through again to get
the next set of results?

On Tuesday, May 14, 2019 at 11:18:42 PM UTC-4, googleadsapi-forumadvisor
wrote:

Hi,

Thank you for reaching out. In Google Ads API perspective, page_token and
next_page_token doesn't have to be specified. These two are automatically
generated when you execute your request. So for example, you have 300 ads
and you set the page_size to 100, when you execute the request, the API
will generate a response with the next_page_token together with the first
100 results. Then, the API will automatically make an API call until it
retrieves all the results.

Feel free to write back if you have further clarifications.

Regards,
Dave
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 05/15/19 03:45:29 jarrod...@gmail.com wrote:

I've seen the obvious response to paging issues "use a library", but I
don't have that ability. I have to use cURL.

Here's what the documentation states about paging:
Making a request

The search method requires a SearchGoogleAdsRequest
,
which consists of the following attributes:

   - A customer_id.
   - A Google Ads Query Language query that indicates which resource to
   query, the attributes, segments, and metrics to retrieve, and the
   conditions to use to restrict which objects are returned.
   - A page_size to indicate how many objects to return in a single
   response when using paging



   .
   - An optional page_token to retrieve the next batch of results when
   using paging



   .

For more information on the Google Ads Query Language, check out the Google
Ads Query Language guide
.


and on paging:
Paging through results

Whenever you are retrieving a large number of objects, you'll want to
specify the page_size in your request. This will break up the result set of
the query into multiple responses that each contain up to page_size objects.

For example, if your account contains 50,000 keywords, the result set for
the following query will contain 50,000 GoogleAdsRow objects:

SELECT ad_group.id, ad_group_criterion.type,  
ad_group_criterion.criterion_id,
   ad_group_criterion.keyword.text,  
ad_group_criterion.keyword.match_type

FROM ad_group_criterion
WHERE ad_group_criterion.type = KEYWORD

To avoid receiving a single response containing all rows in the result set,
you can specify a page_size of 1000 so that the Google Ads API will return
only the first one thousand rows in the first response, along with a
next_page_token. To retrieve the next one thousand rows, simply send the
request again, but update the request's page_token to the response's
next_page_token.

So my question is where do I specify the page_token?

Thanks!

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~


RE: Interacting with Google Ads in an idempotent way.

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Ben,

Thank you for reaching out. I would suggest you to check out this sample
code
  
on

how you could handle partial failures. For partial failures, all failed
requests will be recorded while all successful requests will pass through.
This said, you could just run the batch operation again excluding the ones
that are successful.

Let me know if this helps. Feel free to write back if you have further
clarifications.

Regards,
Dave
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 05/15/19 21:55:11 benc...@gmail.com wrote:

Hello,

I have a more general design question for making changes to a Google Ads
account through the API.

Does anyone have any advice on how to retry sweeping account changes or
write code that interacts with the API in an idempotent way?

For example, if I was trying to create several campaigns and ad groups, I
can batch up the create operations into two api requests (one for executing
all the create campaign operations and one for all the create ad group
operations). However, if something goes wrong in the middle of creating ad
groups, as far as I can tell there is no way to easily re-run these changes
in an idempotent way because the campaigns have already been created and I
cannot recreate campaigns with the same names (even after removing the old
campaigns, the names must be unique among all removed and active campaigns).

The closest thing I can think is to check (before every create operation)
if an object already exists with a similar name, and if so, skip creating
the new object. However, this would require an API call to check on Google
Ads for the existence of an object for every creation operation and would
kind of mute the entire point of batching create operations into one API
request.

Would be nice to have COMMIT and ROLLBACK operations in the API.

Advice?

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/7f90b95d-dc11-41dc-8950-2049f4223fae%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/18vg1l008ug0om0007q164y6kmjedhk74o30c1g68r3adhj%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


RE: How to move account with Google Ads API

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Wei,

To retrieve the account linked to the root MCC along with the
manager_link_id. Query the GoogleAdsService in the root manager account
level to find the manager_link_id of the CustomerClientLink you created.
You may refer to the sample GAQL below.

GAQL: SELECT customer_client_link.manager_link_id,  
customer_client_link.client_customer

FROM customer_client_link

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 05/15/19 22:00:30 ghostwolf20190...@gmail.com wrote:

Hi Dannison,


Thank you for the explanation.
My further question will be we have the client account directly linked to
the root MCC account. How do we retrieve the manager_link_id from the root
MCC account that linked to this client account?


Thank you!

Regards,


Wei

On Tuesday, May 14, 2019 at 10:41:52 PM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Jason,

Thank you for clarifying your concern. If your client account is not
directly linked to the root MCC account, there will be no manager_link_id.
The manager_link_id can only be retrieved with MCC accounts that are
directly linked to their child accounts.

Hope this answers your concern.

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

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 05/14/19 21:16:15 ghostwol...@gmail.com wrote:

Hi Dannison,

I am totally agree with you.
I think my question should be more specific.
I understand that we can get the retrieve the CustomerManagerLink

 object with CustomerManagerLinkService.GetCustomerManagerLink
,
but the issue is the how do we get the manager_link_id for the link between
the client account and root mcc. I think this link was initialized between
them while creating the client account from root mcc.
Is there way to retrieve the manager_link_id for this kind of link?


Thank you!

Regards,


Jason

On Tuesday, May 14, 2019 at 3:49:12 AM UTC-4, googleadsapi-forumadvisor
wrote:

Hi Jason,

I am a colleague of Dave, allow me to provide support for your concern.
Getting the ManagerLink will not matter if you used the Google Ads UI or
the Google Ads API services to link the accounts. You can use the
CustomerManagerLinkService.GetCustomerManagerLink

method to retrieve the CustomerManagerLink

object. Specifically, you would need the manager_link_id to change the
status of your link.

If I misunderstood your concern, kindly let me know by further elaborating
your concern.

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

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 05/14/19 06:41:00 ghostwol...@gmail.com wrote:

Hi Dave,

That makes sense.
I understand once we get the ManagerLink of them then we can use either
methods to mark the existing link as INACTIVE.
The only question is how can we get the ManagerLink between the client
account and root MCC, since they are linked together while creating the
client account from our root MCC instead of using the

How can I get start date and end date of the ads already ended or will start?

2019-05-16 Thread 윤성원
Hi,

How can I get start date and end date of the ads?
I'm trying to get the report of the ads but there is only DATE, YEAR, 
MONTH, etc.. columns.

I'm using PHP library, and call the downloadReport of the ReportDownloader.
Please let me know where can I earn the start and end dates where the ad 
actually appeared,

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/4eac353c-398c-428e-b7d9-f9d6f9de9b5a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Keep Getting [AuthorizationError.SERVICE_ACCESS_DENIED @ ]

2019-05-16 Thread googleadsapi-forumadvisor via AdWords API and Google Ads API Forum


Hi Steven,

To further investigate the issue, could you provide the complete SOAP
request and response logs together with the customer ID that is having the
developer token to see if the developer token is approved for AdWords API.
Please use *Reply privately to the author* option while sharing the
requested information.

If you have not enabled the SOAP logging, you may refer to this guide
  
for

PHP library on how to do so.

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 05/15/19 18:56:23 steven5...@marvelmedia.com wrote:

I have one google ads account that bind to my manager account with
developer token (basic access)
the API that i m using is google adwords API.

and the error keep throw out when i start testing with GetCampaigns.php
 AW_SOAP.WARNING: clientCustomerId=7721789876 operations=1
service=CampaignService method=get responseTime=253
requestId=000588ead8036d4f0a6275086f0d2b7c server=adwords.google.com
isFault=1 faultMessage=[AuthorizationError.SERVICE_ACCESS_DENIED @ ]

Anyone can help on this? stuck for one month... :(

--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/bf1c873c-e49a-46a2-b11e-2fe2e918c3f7%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/180mb1o18qepng000peqa4z6smj8chl64o30c1g68r38e1p%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


breakdown of campaign level costs by country via ads API

2019-05-16 Thread yang huan
Hi,

I want to pull report about breakdown of campaign level costs by country 
via ads API, how to implement it, 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/0bf167c1-e65c-47b1-93c6-1fc68d99bb40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i am using this library https://github.com/googleads/google-ads-dotnet.
i enabled logging as specified in the documentation, and here is the 
request details:

Method Name: 
/google.ads.googleads.v1.services.ConversionUploadService/UploadClickConversions
Host: https://googleads.googleapis.com
Headers: {
  "x-goog-api-client": "gl-dotnet/4.6.1 gccl/2.0.0 gapic/2.0.0 gax/2.7.0 
grpc/1.20.1",
  "developer-token": "REDACTED"
}

{ "customerId": "REDACTED", "conversions": [ { "gclid": 
"EAIaIQobChMIpeat28qY4gIVyU0YCh16EQ5MEAAYASAAEgIeevD_BwE", 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
204034 Europe/Stockholm", "conversionValue": 100, "currencyCode": "SEK", 
"orderId": "SE13.05.19.19.52.15-96189" }, { "gclid": 
"CjwKCAjwq-TmBRBdEiwAaO1enwbj3yTP2XJUWlFlPJtPc9EYVsNahq2vssD8rTvUfI_o2XMYKpUYahoCki8QAvD_BwE",
 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
152224 Europe/Copenhagen", "conversionValue": 100, "currencyCode": "DKK", 
"orderId": "DK13.05.19.15.27.53-81128" }, { "gclid": 
"CjwKCAjwiN_mBRBBEiwA9N-e_lR60gH04Cl6k4Q-E1-H6-wRjfid4sZOFuJ7SU59IZg3k_6ZJ0sCThoCYMUQAvD_BwE",
 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190513 
094811 Europe/Prague", "conversionValue": 100, "currencyCode": "CZK", 
"orderId": "CZ12.05.19.18.59.17-34482" }, { "gclid": 
"EAIaIQobChMI59HJ0uOR4gIVzuR3Ch1PRA4sEAAYASAAEgKIMvD_BwE", 
"conversionAction": "Offline Conversions", "conversionDateTime": "20190510 
134211 Europe/Amsterdam", "conversionValue": 100, "currencyCode": "EUR", 
"orderId": "NL10.05.19.22.18.04-23966" } ], "partialFailure": true }

And, here is the response:
Headers: {
  "content-disposition": "attachment",
  "request-id": "7lXeBIFyPB0TmRNx8k50NQ",
  "date": "Wed, 15 May 2019 22:52:31 GMT",
  "alt-svc": "quic=\":443\"; ma=2592000; v=\"46,44,43,39\""
}

{ "partialFailureError": { "code": 3, "message": "Multiple errors in 
‘details’. First error: Resource name 'Offline Conversions' is malformed: 
expected 
'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.,
 
at conversions[0].conversion_action", "details": [ { "@type": 
"type.googleapis.com/google.ads.googleads.v1.errors.GoogleAdsFailure", 
"@value": 
"CtEBCgIIBBKLAVJlc291cmNlIG5hbWUgJ09mZmxpbmUgQ29udmVyc2lvbnMnIGlzIG1hbGZvcm1lZDogZXhwZWN0ZWQgJ2N1c3RvbWVycy97Y3VzdG9tZXJfaWR9L2NvbnZlcnNpb25BY3Rpb25zL3tDb252ZXJzaW9uVHlwZS5jb252ZXJzaW9uX3R5cGVfaWR9Jy4aFSoTT2ZmbGluZSBDb252ZXJzaW9ucyImEg8KC2NvbnZlcnNpb25zEgASEwoRY29udmVyc2lvbl9hY3Rpb24K0wEKAggEEosBUmVzb3VyY2UgbmFtZSAnT2ZmbGluZSBDb252ZXJzaW9ucycgaXMgbWFsZm9ybWVkOiBleHBlY3RlZCAnY3VzdG9tZXJzL3tjdXN0b21lcl9pZH0vY29udmVyc2lvbkFjdGlvbnMve0NvbnZlcnNpb25UeXBlLmNvbnZlcnNpb25fdHlwZV9pZH0nLhoVKhNPZmZsaW5lIENvbnZlcnNpb25zIigSEQoLY29udmVyc2lvbnMSAggBEhMKEWNvbnZlcnNpb25fYWN0aW9uCtMBCgIIBBKLAVJlc291cmNlIG5hbWUgJ09mZmxpbmUgQ29udmVyc2lvbnMnIGlzIG1hbGZvcm1lZDogZXhwZWN0ZWQgJ2N1c3RvbWVycy97Y3VzdG9tZXJfaWR9L2NvbnZlcnNpb25BY3Rpb25zL3tDb252ZXJzaW9uVHlwZS5jb252ZXJzaW9uX3R5cGVfaWR9Jy4aFSoTT2ZmbGluZSBDb252ZXJzaW9ucyIoEhEKC2NvbnZlcnNpb25zEgIIAhITChFjb252ZXJzaW9uX2FjdGlvbgrTAQoCCAQSiwFSZXNvdXJjZSBuYW1lICdPZmZsaW5lIENvbnZlcnNpb25zJyBpcyBtYWxmb3JtZWQ6IGV4cGVjdGVkICdjdXN0b21lcnMve2N1c3RvbWVyX2lkfS9jb252ZXJzaW9uQWN0aW9ucy97Q29udmVyc2lvblR5cGUuY29udmVyc2lvbl90eXBlX2lkfScuGhUqE09mZmxpbmUgQ29udmVyc2lvbnMiKBIRCgtjb252ZXJzaW9ucxICCAMSEwoRY29udmVyc2lvbl9hY3Rpb24="
 
} ] }, "results": [ { }, { }, { }, { } ] }

On Wednesday, May 15, 2019 at 5:19:30 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for reaching out. RESOURCE_NAME_MALFORMED occurs when the 
> resource name provided in the request is incorrect. To further investigate 
> this, could you provide the complete JSON request and response logs when 
> you encountered this error? If you haven't enabled logging yet, kindly tell 
> me what client library you are using so I could help you enable it.
>
> Regards,
> Dave
> 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 05/15/19 00:14:18 dikl...@gmail.com  wrote:
>
> Hi,
>
>
> Currently, I am doing migration from Google.Api.Ads.AdWords.v201809 C# 
> library to new Google.Ads.GoogleAds for Offline Click Conversions Upload.
>
> I am using a managing account which has access to about 20 client 
> accounts, all belong to 

Re: new AdWords API, ClickConversion conversion_action how to specify?

2019-05-16 Thread Oleksandr Dyklevych
Hi Dave,

i am using https://github.com/googleads/googleads-dotnet-lib.
so, the JSON is composed by the library, i presume.

How can i capture it?

On Wednesday, May 15, 2019 at 5:19:30 AM UTC+2, googleadsapi-forumadvisor 
wrote:
>
> Hi,
>
> Thank you for reaching out. RESOURCE_NAME_MALFORMED occurs when the 
> resource name provided in the request is incorrect. To further investigate 
> this, could you provide the complete JSON request and response logs when 
> you encountered this error? If you haven't enabled logging yet, kindly tell 
> me what client library you are using so I could help you enable it.
>
> Regards,
> Dave
> 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 05/15/19 00:14:18 dikl...@gmail.com  wrote:
>
> Hi,
>
>
> Currently, I am doing migration from Google.Api.Ads.AdWords.v201809 C# 
> library to new Google.Ads.GoogleAds for Offline Click Conversions Upload.
>
> I am using a managing account which has access to about 20 client 
> accounts, all belong to the same company.
>
> in V20189, everything works like this.
> in every managed account, i created "Offline Conversions" action, like on 
> the screenshot:
>
> [image: ConversionAction.jpg]
> Then, when creating conversion feed, i use "Offline Conversions" as 
> conversion name for a feed entry.
> All work fine.
>
> Now, in the new GoogleAds API, i want to upload offline conversions, so i 
> do per documentation, like authenticate client, create service, get list of 
> conversions to upload, and for every conversion i set ConversionAction to 
> "Offline Conversions" name.
>
> However, in the upload response i get errors for all conversions saying:
>
> { "errorCode": { "requestError": "RESOURCE_NAME_MALFORMED" }, "message": 
> "Resource name 'Offline Conversions' is malformed: expected 
> 'customers/{customer_id}/conversionActions/{ConversionType.conversion_type_id}'.",
>  
> "trigger": { "stringValue": "Offline Conversions" }, "location": { 
> "fieldPathElements": [ { "fieldName": "conversions", "index": "0" }, { 
> "fieldName": "conversion_action" } ] } }.
>
>
> Question - how do i specify correctly conversion action in the new 
> GoogleAds API?
>
> i could not find any example online.
>
> Any help is appreciated.
>
> Best regards,
> Oleksandr
>
> -- 
> -- 
> =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
> 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/cd486bde-722b-4b08-b42b-f0f4460da39c%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